phpBB2 by Przemo
Support forów phpBB2 modified by Przemo

FAQFAQ - PIERWSZA POMOC!!  regulaminREGULAMIN  SzukajSZUKAJ  UżytkownicyUżytkownicy  GrupyGrupy  StatystykiStatystyki
RejestracjaRejestracja  ZalogujZaloguj  DownloadDownload  katalog Forów DyskusyjnychKatalog Forów   FAQ Video tutoriale

Poprzedni temat «» Następny temat
BBCode Youtuber Mod v1.0
Autor Wiadomość
riverkqj

Posty: 115
Wysłany: 09-05-2007, 16:12   BBCode Youtuber Mod v1.0

Anyone got a Youtube Mod that works ? When i installed the one posted here a couple of months ago , you do not get the YOUTUBE BBcode button and when you do a system check in the Admin pannel it says them files are now corrupt...

Can anyone help me ?

The only other Mod i have is Spider Friendly and im running 1.12.5

oh and Inline ad Mod
_________________
Hawaii weddings | Joomla Templates | Tottenham | Steel Buildings
Ostatnio zmieniony przez arcy 15-04-2008, 14:22, w całości zmieniany 1 raz  
 
     
Gadatliwa Kasia 

   
maniek.a


Pomógł: 14 razy
Posty: 303
Wysłany: 09-05-2007, 18:04   

Try this http://mody.lastinn.info/...utube-t968.html or http://www.przemo.org/php...t=34154,start,0
 
     
riverkqj

Posty: 115
Wysłany: 10-05-2007, 15:09   

Thats great thanks , but is there any in English im affraid i can not read Polish :oops:
_________________
Hawaii weddings | Joomla Templates | Tottenham | Steel Buildings
 
     
zuraw2006


Pomógł: 94 razy
Posty: 697
Wysłany: 10-05-2007, 15:21   

riverkqj, hello ;) do you remember me :?:

Translate:

Kod:
Otwórz/Zamknij => Open/Close
Zapisz => Save
Dodaj => Add
Zamień => Replace with
Dodaj za/pa => After Add
Dodaj przed => Add before
 
     
maniek.a


Pomógł: 14 razy
Posty: 303
Wysłany: 10-05-2007, 15:31   

Ok i translate 1st
Kod:
##############################################################
## MOD name : BBCode Youtuber Mod v1.0, modified and tested on Phpbb2, ver. '1.12.5 by Przemo'.
## Author MOD : michaeltripp < iamdrscience@hotmail.com > (Mike) http://itsbeenconfirmed.com
## Modified by: zuarw2006 < zuraw2006@gmail.com> (Mariusz Ż.) http://phpmg.bee.pl
## MOD Description:  It add new bbCode. With this mod you can watching youtube at forum.
## MOD Version:1.5.0
##############################################################
## Installation Level: Easy
## Installation Time: 8 minutes
## Files To Edit:
## - templates/template/bbcode.tpl
## - templates/template/posting_body.tpl
## - includes/bbcode.php
## - images/jsscripts.js
## - posting.php
## - privmsg.php
## - language/lang_polish/lang_main.php
## - language/lang_english/lang_main.php
##
## Included Files: None
#
#-----[ OPEN ]---------------------------------
#
includes/bbcode.php

#
#-----[ FIND ]--------------------------------------------------
#   
          $bbcode_tpl['code_open'] = str_replace('{L_CODE}', $lang['Code'], $bbcode_tpl['code_open']);

#
#-----[ AFTER ADD ]-------------------------------------------
#
          $bbcode_tpl['youtube_open'] = str_replace('{L_YouTube}', $lang['youtube_link'], $bbcode_tpl['youtube_open']); // youtube tag

#
#-----[ FIND ]------------------------------------------
#

$bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']);

#
#-----[ AFTER ADD ]------------------------------------------
#

$bbcode_tpl['youtube'] = str_replace('{YOUTUBEID}', '\\1', $bbcode_tpl['youtube']); //YouTube Tag
$bbcode_tpl['youtube'] = str_replace('{YOUTUBELINK}', $lang['youtube_link'], $bbcode_tpl['youtube']); //YouTube Tag

#
#-----[ FIND ]------------------------------------------
#

$replacements[] = $bbcode_tpl['email'];

#
#-----[ AFTER ADD ]------------------------------------------
#

$patterns[] = "#\[youtube\]http://(?:www\.)?youtube.com/watch\?v=([0-9A-Za-z-_]{11})[^[]*\[/youtube\]#is"; //YouTube Tag
$replacements[] = $bbcode_tpl['youtube']; //YouTube Tag

 
#
#-----[ OPEN ]------------------------------------------
#

templates/NAME SKIN/bbcode.tpl

#
#-----[ FIND ]------------------------------------------
#

<!-- BEGIN email --><a href="mailto:{EMAIL}">{EMAIL}</a><!-- END email -->

#
#-----[ AFTER ADD ]------------------------------------------
#

<!-- BEGIN youtube -->
<object width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/{YOUTUBEID}"></param>
<embed src="http://www.youtube.com/v/{YOUTUBEID}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed>
</object>
<!-- END youtube -->

 
#
#-----[ OPEN ]---------------------------------
#

images/jsscripts.js

#
#-----[ FIND ]---------------------------------
#

bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[img]','[/img]','[url]','[/url]','[stream]','[/stream]','[fade]','[/fade]','[scroll]','[/scroll]','[swf width= height=]','[/swf]','[center]','[/center]','[hide]','[/hide]'

#
#-----[ DODAJ ZA ]---------------------------------
#

,'[youtube]','[/youtube]'

 
#
#-----[ OPEN ]---------------------------------
#
 
 templates/template/posting_body.tpl

#
#-----[ FIND ]------------------------------------------

var f_help = '{L_BBCODE_F_HELP}';

#
#-----[ AFTER ADD ]---------------------------------
#

var yt_help = '{L_BBCODE_YT_HELP}'; <!-- YouTube tag -->

#-----[ FIND ]------------------------------------------

{BUTTON_B}{BUTTON_I}{BUTTON_U}{BUTTON_Q}{BUTTON_C}

#
#-----[ AFTER ADD ]---------------------------------
#

{BUTTON_YT}

#-----[ FIND ]------------------------------------------

<select class="post" name="addbbcode30" onChange="bbfontstyle('[color=' + this.form.addbbcode30.options[this.form.addbbcode30.selectedIndex].value + ']', '[/color]'); this.form.addbbcode30.value='444444';" onMouseOver="helpline('s')">

#
#-----[ REPLACE WITH ]---------------------------------
#

<select class="post" name="addbbcode32" onChange="bbfontstyle('[color=' + this.form.addbbcode32.options[this.form.addbbcode32.selectedIndex].value + ']', '[/color]'); this.form.addbbcode32.value='444444';" onMouseOver="helpline('s')">

#
#-----[ FIND ]------------------------------------------

<select name="addbbcode32" onChange="bbfontstyle('[size=' + this.form.addbbcode32.options[this.form.addbbcode32.selectedIndex].value + ']', '[/size]'); this.form.addbbcode32.value='12';" onMouseOver="helpline('f')">

#
#-----[ REPLACE WITH ]---------------------------------
#

<select name="addbbcode36" onChange="bbfontstyle('[size=' + this.form.addbbcode36.options[this.form.addbbcode36.selectedIndex].value + ']', '[/size]'); this.form.addbbcode36.value='12';" onMouseOver="helpline('f')">

#-----[ OPEN ]---------------------------------
#

posting.php

#
#-----[ FIND ]------------------------------------------
#

'L_BBCODE_F_HELP' => $lang['bbcode_f_help'],

#
#-----[ AFTER ADD ]------------------------------------------
#

'L_BBCODE_YT_HELP' => $lang['bbcode_yt_help'], // YouTube Tag

#-----[ FIND ]-------------------------------------------------
#
    'BUTTON_Q' => ($board_config['button_q']) ? '<input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onClick="bbstyle(6)" onMouseOver="helpline(\'q\')" /> ' : '',

#
#-----[ AFTER ADD ]------------------------------------------
#
    'BUTTON_YT' => '<input type="button" class="button" accesskey="yt" name="addbbcode30" value="YouTube" style="width: 60px" onClick="bbstyle(30)" onMouseOver="helpline(\'yt\')" /> ',


#-----[ OPEN ]---------------------------------
#

privmsg.php

#
#-----[ FIND ]------------------------------------------
#

'L_BBCODE_F_HELP' => $lang['bbcode_f_help'],

#
#-----[ AFTER ADD ]------------------------------------------
#

'L_BBCODE_YT_HELP' => $lang['bbcode_yt_help'], // YouTube Tag

#-----[ FIND ]-------------------------------------------------
#
    'BUTTON_Q' => ($board_config['button_q']) ? '<input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onClick="bbstyle(6)" onMouseOver="helpline(\'q\')" /> ' : '',

#
#-----[ AFTER ADD ]------------------------------------------
#
    'BUTTON_YT' => '<input type="button" class="button" accesskey="yt" name="addbbcode30" value="YouTube" style="width: 60px" onClick="bbstyle(30)" onMouseOver="helpline(\'yt\')" /> ',

#-----[ Open ]-------------
#

language/lang_polish/lang_main.php

#-----[ FIND ]-------------------------------------------------
#
$lang['Code'] = 'Kod';

#
#-----[ AFTER ADD ]------------------------------------------
#
$lang['youtube_link'] = "YouTube"; // YouTube Tag

#
#-----[ FIND ]-------------------------------------------------
#
$lang['bbcode_f_help'] = 'Rozmiar czcionki: [size=x-small]mały tekst[/size] Rada: zaznacz tekst i wybierz rozmiar';

#
#-----[ AFTER ADD ]------------------------------------------
#
$lang['bbcode_yt_help'] = "Umie&#182;ć link do filmiku między tagami: [youtube][/youtube]"; // YouTube Tag

#-----[ Open ]-------------
#

language/lang_english/lang_main.php

#-----[ FIND ]-------------------------------------------------
#
$lang['Code'] = 'Code'; // comes before bbcode code output.

#
#-----[ AFTER ADD ]------------------------------------------
#
$lang['youtube_link'] = "YouTube"; // YouTube Tag

#
#-----[ FIND ]-------------------------------------------------
#
$lang['bbcode_f_help'] = 'Font size: [size=x-small]small text[/size]';

#
#-----[ AFTER ADD ]------------------------------------------
#
$lang['bbcode_yt_help'] = Add link at tag: [youtube][/youtube]"; // YouTube Tag

#-----[ SAVE/CLOSE ]------------------------------------------
#
# EoM
I'm late :(
 
     
riverkqj

Posty: 115
Wysłany: 10-05-2007, 15:59   

That's fantastic thanks to both of you :mrgreen:
_________________
Hawaii weddings | Joomla Templates | Tottenham | Steel Buildings
 
     
lvzifer

Posty: 5
Wysłany: 25-02-2008, 01:06   

after these instalation I got this error msg ? what could be wrong ??

Parse error: syntax error, unexpected T_STRING in /home/enterwar/public_html/forum/language/lang_english/lang_main.php on line 371
 
     
koziolek



Pomógł: 675 razy
Posty: 1925
Wysłany: 25-02-2008, 08:42   

lvzifer, show me 5 lines before and 5 lines after line 371 from file language/lang_english/lang_main.php ;)
_________________
#4 /xg.xrybvmbx.jjj//:cggu
 
     
lvzifer

Posty: 5
Wysłany: 25-02-2008, 15:36   

I have to revert this mode .. becaus my forum was down at a moment .. I' ll post it tonite ..
 
     
evilmc


Posty: 289
Wysłany: 28-06-2008, 11:23   

I want same thing but for this new version 1.12.6?
_________________
Looptroop - Bandit Queen
 
     
Gadatliwa Kasia 

   
Tavaro

Pomógł: 242 razy
Posty: 1135
Wysłany: 28-06-2008, 11:44   

evilmc, it works with 1.12.6 as well as with .5 :)
 
     
Wyświetl posty z ostatnich:   
Odpowiedz do tematu
Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Możesz załączać pliki na tym forum
Możesz ściągać załączniki na tym forum
Dodaj temat do Ulubionych
Wersja do druku

Skocz do:  

Kopiowanie wszelkich treści zawartych na forum, modyfikacji oraz instrukcji bez zgody administracji i autorów tematów/postów zabronione!

Powered by phpBB modified by Przemo © 2003 phpBB
Strona wygenerowana w 0,07 sekundy. Zapytań do SQL: 13
Polecane serwisy

Najlepsze oprogramowanie do prowadzenia sklepu internetowegoNajlepszy program do sklepu firmowany przez Przem'a

Sklep z gadżetami

Design Cart - Tworzenie sklepu internetowego

www.polsystem.pl

www.bidcar.pl

iRonin.IT

• Zamów reklamę