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 |
#22
|
|||
|
|||
problem with Internet Explore 8 |
#23
|
|||
|
|||
This is a posting bbcode yours isn't so how is it an issue?
|
#24
|
|||
|
|||
I need to do 2 things to tweak this to my likings and I hope there is someone here to be able to post the coding to do so.
1. Instead of going from the left to the far right of the post body need to have it stop shortly after the the end of the posting. 2. How to move the gif images from the right to be on the left? Thanks for the help if anyone posts how to. |
#25
|
|||
|
|||
Tagged for now.
Like the others, would love for this to be set so that only Admin/Mods could use it. Would make it an exceptional tool to have then |
#26
|
|||
|
|||
Quote:
|
#27
|
|||
|
|||
Thanks Charlie - it was the mention of the 1 user error that had me shy away from trying it out. Having enough fun with 4.0.1 as it is
Might try it later on the test site though |
#28
|
||||
|
||||
Quote:
Any ideas on how to make that happen? |
#29
|
|||
|
|||
You could always leave the button images and manually type the tags obviously it's not fool proof but if you only tell mods and admins about the tags it would make it harder for members to use them, but like I say not impossible.
|
#30
|
|||
|
|||
Quote:
|
#31
|
|||
|
|||
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|