Bine ai venit pe forum!
Te rugam sa te inregistrezi daca nu ai cont!

Nu sunteti conectat. Conectati-va sau inregistrati-va

Phpbb3 - Custom BBCodes - Coduri BB perso

Vezi subiectul anterior Vezi subiectul urmator In jos  Mesaj [Pagina 1 din 1]

1 Phpbb3 - Custom BBCodes - Coduri BB perso la data de Vin Mai 06, 2011 4:41 pm

Matrix

avatar
Membru
Membru
O serie de coduri BB (youtube, etc) utile pentru forumurile phpbb3:

INSTALARE:
Mergeti in ACP la Posting => BBCodes si dati click pe "Add a new BBCode". Adaugati in campurile "BBCode usage" si "HTML replacement" codurile dorite, conform celor de mai jos: (daca vreti sa apara butoanele si la mesaje, bifati casuta "show in message")

Youtube (embed video in mesaj)

BBCode usage:
Cod:
[youtube]http://www.youtube.com/watch?v={SIMPLETEXT}[/youtube]

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

Folosirea video ID-ului

BBCode usage:
Cod:
[youtube]{SIMPLETEXT}[/youtube]
HTML Replacement:
Cod:
    <object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{SIMPLETEXT}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{SIMPLETEXT}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

Google Video (embed Google Video in mesaj) - Full URL

BBCode usage:
Cod:
[googlevid]http://video.google.com/videoplay?docid=-{NUMBER}[/googlevid]
HTML Replacement:
Cod:
<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId={NUMBER}&hl=en" flashvars=""></embed>


Google Video (embed Google Video in mesaj) - video ID

BBCode usage:
Cod:
[googlevid]{NUMBER}[/googlevid]

HTML Replacement:
Cod:
<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId={NUMBER}&hl=en" flashvars=""></embed>

http://www.cs-gothic.ro/

Alinieri text (left, center, right)

Center
BBCode usage:
Cod:
[center]{TEXT}[/center]
HTML Replacement:
Cod:
<div align="center">{TEXT}</div>

Right
BBCode usage:
Cod:
[right]{TEXT}[/right]
HTML Replacement:
Cod:
<div align="right">{TEXT}</div>

Left
BBCode usage:
Cod:
[left]{TEXT}[/left]
HTML Replacement:
Cod:
<div align="left">{TEXT}</div>

Spoiler
BBCode usage:
Cod:
[spoiler]{TEXT}[/spoiler]

HTML Replacement:
Cod:
<span style="background:#000000">{TEXT}</span>



Sper sa va fie utile. Daca aveti neclaritati, postati aici!

Vezi profilul utilizatorului

Vezi subiectul anterior Vezi subiectul urmator Sus  Mesaj [Pagina 1 din 1]

Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum

 


Creati un forum gratuit | © PunBB | Forum gratuit de suport | Contact | Semnaleaza un abuz | Blogratuit.ro