BBCodeBox3

prosilver | subsilver2

Willkommen und Guten Morgen, Guest  Beim nächsten Piep ist es zwischen 7:00 und 8:00 Uhr

It is currently Sun 23. Feb 2025, 08:21

All times are UTC + 1 hour [ DST ]




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
PostPosted: Tue 8. Apr 2008, 15:54 
Administrator
User avatar

Posts: 427

Last 3 Topics:
Tabmenu Test
[Snippet] Avatar Ev...
[DEV] Zero and X-P...

Joined:
Sun 13. Jan 2008, 23:44

Hinzufügen von BBCodes + Buttons: DivX
--------------------------------------------------------------------------------------
-------------------------------------------

1.

Erstelle im ACP den DIVX-BBCode

- BBCode:

Code:
[divx]{URL}[/divx]


- Html-Ersetzung:

Code:
<!--[if IE]>
<div style="text-align:center;">
<object type="video/divx" classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616" codebase="http://download.divx.com/player/DivXBrowserPlugin.cab" width="700" height="450">
<param name="src" value="{URL}" />
<param name="autoplay" value="false" />
<param name="custommode" value="Stage6" />
<param name="showpostplaybackad" value="false" />
<param name="wmode" value="transparent" />
<param name="loop" value="false" />
<param name="pluginspage" value="http://go.divx.com/plugin/download/" />
</object>
</div>
<![endif]-->
<!--[if !IE]><-->
<div style="text-align:center;">
<object type="video/divx" data="{URL}" codebase="http://download.divx.com/player/DivXBrowserPlugin.cab" width="700" height="450">
<param name="src" value="{URL}" />
<param name="autoplay" value="false" />
<param name="custommode" value="Stage6" />
<param name="showpostplaybackad" value="false" />
<param name="wmode" value="transparent" />
<param name="loop" value="false" />
<param name="pluginspage" value="http://go.divx.com/plugin/download/" />
</object>
</div>
<!--><![endif]-->


- Tipp-Anzeige: Nein

- Beim Verfassen eines Beitrags anzeigen: Nein

-------------------------------------------

2.

Den DIVX Button in den Ordner styles/xxxxx/template/imageset/buttons kopieren

Standardbutton (für subsilver2) Image

(zusätzlich für prosilver) das Rollover Image

(Rechte Maustaste > speichern unter...)

-------------------------------------------

3.

Öffne (gilt für beide Styles)

styles/xxxxx/posting_buttons.html "

Hinweis:
Falls zur "Original-BBCodeBox3" schon selbsterstellte Codes + Buttons (damit meine ich keine Custom-Tag- Buttons = Standardbuttons) hinzugefügt wurden, dann ersetze die 78 und zwar wie folgt:

Wenn du schon 1 selbsterstellten Code + Button hast, dann +2, wenn du schon 2 Codes + Buttons hast, dann +4 usw.

Finde

Code:
//76
'[mail=]','[/mail]'
//77 Font - Type
//78 Begin Custom
//79 Font - Color


Ersetze mit

Code:
//76
'[mail=]','[/mail]',
//77 Font - Type
//79 Font - Color
//78
'[divx]','[/divx]'
//80 Begin Custom


-------------------------------------------

4.
Öffne

styles/xxxx/template/posting_buttons.html

für prosilver

Füge an beliebige Stelle zwischen (oder neben) den anderen Buttons ein

Code:
<img src="{T_IMAGESET_PATH}/buttons/divx.png" alt=""
id="divx" onclick="bbstyle(78)"
onmouseover="divx.src='{T_IMAGESET_PATH}/buttons/divx1.png'; helpline('divx')"
onmouseout="divx.src='{T_IMAGESET_PATH}/buttons/divx.png'; helpline('tip')" />


Damit das Rollover im prosilver ge-preloaded werden kann:

Suche

Code:
<img class="hidepics" src="{T_IMAGESET_PATH}/buttons/mail1.gif" alt="" />


Füge dahinter ein

Code:
<img class="hidepics" src="{T_IMAGESET_PATH}/buttons/divx1.png" alt="" />


für subsilver2

Füge an beliebige Stelle zwischen (oder neben) den anderen Buttons ein

Code:
<img src="{T_IMAGESET_PATH}/buttons/divx.png" alt=""
onclick="bbstyle(78)" onmouseover="helpline('divx')" onmouseout="helpline('tip')" />



Finde (gilt für beide Styles)

Code:
  mail: '{LA_BBCODE_mail_HELP}',


Füge dahinter ein

Code:
  divx: '{LA_BBCODE_divx_HELP}',


-------------------------------------------

5.

Öffne

language/de/mods/lang_bbcodebox3.php

Finde

Code:
    'BBCODE_mail_HELP'           => 'Mailadresse einfügen [mail=mailadresse]Text[/url]',


Füge dahinter ein

Code:
    'BBCODE_divx_HELP'                  => 'DIVX- LINK einfügen > markieren > Button anklicken',


-------------------------------------------

6.

Öffne

includes/functions_display.php

Hinweis:
Falls zur "Original-BBCodeBox3" schon selbsterstellte Codes + Buttons (damit meine ich keine Custom-Tag- Buttons = Standardbuttons) hinzugefügt wurden, dann ersetze die 78 und zwar wie folgt:

Wenn du schon 1 selbsterstellten Code + Button hast, dann +2, wenn du schon 2 Codes + Buttons hast, dann +4 usw.


Finde

Code:
   // Start counting from 22 for the bbcode ids (every bbcode takes two ids - opening/closing)
   // note for bbcodebox3 : new start counting from 78 for the bbcode ids (every bbcode takes two ids - opening/closing)
   $num_predefined_bbcodes = 78;


Ersetze mit

Code:
// Start counting from 22 for the bbcode ids (every bbcode takes two ids - opening/closing)
   // note for bbcodebox3 : new start counting from 80 for the bbcode ids (every bbcode takes two ids - opening/closing)
   $num_predefined_bbcodes = 80;


-------------------------------------------

Das wars

lg
4seven


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
POWERED_BY
[ Time : 0.014s | 15 Queries | GZIP : Off | Board-Version: 3.0.7 PL1 ]