The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
TW7S - [ Information - Tip - Note - Warning ] BBCode Details »» | |||||||||||||||||||||||||||||
TW7S - [ Information - Tip - Note - Warning ] BBCode
Developer Last Online: Apr 2015
** images removed since the links expired **
Installation
Step 1) Go to AdminCP>Custom BB Codes>Add New BB Code> Step 2) Add the following and save ---------------------------------------- Title Information BB Code Tag Name info Replacement Code:
<div style="margin: 5px 5px;"> <div style="padding-left: 25px; padding-right: 25px;"> <div style=" -moz-border-radius-bottomleft:10px; -moz-border-radius-bottomright:10px; -moz-border-radius-topleft:10px; -moz-border-radius-topright:10px; background:#defee3 none repeat scroll 0 0; border:1px solid #28c25a; margin:5px 10px 0;"> <div style="padding: 0pt 5px; background: #28c25a none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; "> <font color="#defee3"> <b> <em>Information</em> </b> </font> </div> <table width="100%" border="0"> <tbody> <tr> <td width="5%"> </td> <td width="90%">{param}</td> <td width="5%"> <img alt="" src="./images/TW7S/infonotetipwarn/info.png"/> </td> </tr> </tbody> </table> </div> </div> </div> Example [info]Hello[/info] Description Makes information boxes Use {option} No Button Image (Optional) Code:
images/TW7S/infonotetipwarn/info.gif Remove Tag If Empty Yes Disable BB Code Within This BB Code No Disable Smilies Within This BB Code No Disable Word Wrapping Within This BB Code No ---------------------------------------- ---------------------------------------- Title Note BB Code Tag Name note Replacement Code:
<div style="margin: 5px 5px;"> <div style="padding-left: 25px; padding-right: 25px;"> <div style=" -moz-border-radius-bottomleft:10px; -moz-border-radius-bottomright:10px; -moz-border-radius-topleft:10px; -moz-border-radius-topright:10px; background:#e8f3ff none repeat scroll 0 0; border:1px solid #42a1de; margin:5px 10px 0;"> <div style="padding: 0pt 5px; background: #42a1de none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; "> <font color="#e8f3ff"> <b> <em>NOTE</em> </b> </font> </div> <table width="100%" border="0"> <tbody> <tr> <td width="5%"> </td> <td width="90%">{param}</td> <td width="5%"> <img alt="" src="./images/TW7S/infonotetipwarn/note.png"/> </td> </tr> </tbody> </table> </div> </div> </div> Example [note]Hello[/note] Description Makes Note boxes Use {option} No Button Image (Optional) Code:
images/TW7S/infonotetipwarn/note.gif Remove Tag If Empty Yes Disable BB Code Within This BB Code No Disable Smilies Within This BB Code No Disable Word Wrapping Within This BB Code No ---------------------------------------- ---------------------------------------- Title Tip BB Code Tag Name tip Replacement Code:
<div style="margin: 5px 5px;"> <div style="padding-left: 25px; padding-right: 25px;"> <div style=" -moz-border-radius-bottomleft:10px; -moz-border-radius-bottomright:10px; -moz-border-radius-topleft:10px; -moz-border-radius-topright:10px; background:#ffffcc none repeat scroll 0 0; border:1px solid #d5b900; margin:5px 10px 0;"> <div style="padding: 0pt 5px; background: rgb(213, 185, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; "> <font color="#ffffcc"> <b> <em>Tip</em> </b> </font> </div> <table width="100%" border="0"> <tbody> <tr> <td width="5%"> </td> <td width="90%">{param}</td> <td width="5%"> <img alt="" src="./images/TW7S/infonotetipwarn/tip.png"/> </td> </tr> </tbody> </table> </div> </div> </div> Example [tip]Hello[/tip] Description Makes Tip boxes Use {option} No Button Image (Optional) Code:
images/TW7S/infonotetipwarn/tip.gif Remove Tag If Empty Yes Disable BB Code Within This BB Code No Disable Smilies Within This BB Code No Disable Word Wrapping Within This BB Code No ---------------------------------------- ---------------------------------------- Title Warning BB Code Tag Name warning Replacement Code:
<div style="margin: 5px 5px;"> <div style="padding-left: 25px; padding-right: 25px;"> <div style=" -moz-border-radius-bottomleft:10px; -moz-border-radius-bottomright:10px; -moz-border-radius-topleft:10px; -moz-border-radius-topright:10px; background:#fff2f4 none repeat scroll 0 0; border:1px solid #be0000; margin:5px 10px 0;"> <div style="padding: 0pt 5px; background: #be0000 none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; "> <font color="#fff2f4"> <b> <em>WARNING</em> </b> </font> </div> <table width="100%" border="0"> <tbody> <tr> <td width="5%"> </td> <td width="90%">{param}</td> <td width="5%"> <img alt="" src="./images/TW7S/infonotetipwarn/warn.png"/> </td> </tr> </tbody> </table> </div> </div> </div> Example [warning]Hello[/warning] Description Makes Warning boxes Use {option} No Button Image (Optional) Code:
images/TW7S/infonotetipwarn/warn.gif Remove Tag If Empty Yes Disable BB Code Within This BB Code No Disable Smilies Within This BB Code No Disable Word Wrapping Within This BB Code No ---------------------------------------- Step 3) Open Template CSS Templates>vbulletin.css Find: Code:
.restore td { /* Borders and padding to make the table readable. */ border: {vb:stylevar restore}; padding: {vb:stylevar restore_padding}; } Replace with: Code:
.restore td { /* Borders and padding to make the table readable. */ padding: {vb:stylevar restore_padding}; } Enjoy! Demo http://thewindows7site.com/forum/thr...l=1#post141134 Will only support members who mark mod as installed. Changelog 1.00 Initial Release 1.2 Solved issues regarding spacing and links Download Now
Show Your Support
|
Благодарность от: | ||
nacaruncr |
Comments |
#102
|
|||
|
|||
OK im use to when i add a bb code mod , the button image goes in my path /images/editor/???.gif so i get the button image but i do this in the regular images folder , not the themes image folder . so youre telling me that the image folder in this mod goes into the images folder of the specific theme i want it on ? also is there a way to make this so that only owner/admin can see it ?
|
#103
|
|||
|
|||
Quote:
Theme Path /images/editor This mod will help you setup so only Admins / Mods can use this https://vborg.vbsupport.ru/showpost.php?p=2144591 Down side is you'll need to change settings for each new BB code you add. |
#104
|
|||
|
|||
ok so im trying this for the second time with a bit more success , i have the images for the theme i want it in set to images/BP-Black/TW7S/infonotetipwarn/info.gif i also changed that path in the replacement code
Code:
<div style="margin: 5px 5px;"> <div style="padding-left: 25px; padding-right: 25px;"> <div style=" -moz-border-radius-bottomleft:10px; -moz-border-radius-bottomright:10px; -moz-border-radius-topleft:10px; -moz-border-radius-topright:10px; background:#defee3 none repeat scroll 0 0; border:1px solid #28c25a; margin:5px 10px 0;"> <div style="padding: 0pt 5px; background: #28c25a none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; "> <font color="#defee3"> <b> <em>Information</em> </b> </font> </div> <table width="100%" border="0"> <tbody> <tr> <td width="5%"> </td> <td width="90%">{param}</td> <td width="5%"> <img alt="" src="./images/BP-Black/TW7S/infonotetipwarn/info.gif "/> </td> </tr> </tbody> </table> </div> </div> </div> can anyone explain why , or have a clue as to why ? im attaching images |
#105
|
|||
|
|||
i think im just going to give , i tried again by actually putting the folder in my root images folder n changing the paths n still i only see one of them in the editor bar .
|
#106
|
|||
|
|||
hi
why i have 2 box?? i run 4.1.1 when i edit reply i found Code:
[warning] [warning] text [/warning] see attachment plz |
#107
|
|||
|
|||
[warning]
[warning] text [/warning] you have two codes for the bbcode. delete the first or the second line and it should work. maybe you have double-clicked the bbcode button and thats why it appeared |
#108
|
|||
|
|||
Quote:
thanks for reply even when i delete the first it return double !!! edit: resolved now |
#109
|
|||
|
|||
I still only get one image to appear in the editor ?
|
#110
|
|||
|
|||
@ TW7S- can you please look into this , I want to use your mod all installed but i have the images disabled because there appears to be some conflict when using this mod https://vborg.vbsupport.ru/showthread.php?t=235328
With this mod enabled only 1 of those 4 icons show in the editor window even when users have permission to use them. can you please look into this thank you in advance |
#111
|
|||
|
|||
also though im willing to use this anyway , i have all black background skins and i use defualt white font but when trying to create one of these you cant see the text at all cause its white anyway to fix this in the replacement code ?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|