![]() |
TW7S - [ Information - Tip - Note - Warning ] BBCode
1 Attachment(s)
** 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 { Replace with: Code:
.restore td { 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 |
First one !
Great job , thank you : ) |
Thanks, why does mine have black line border inside the image?
Okay you added step 3 , thanks. |
Quote:
*Click Install |
|
Quote:
|
that looks really great - is there a possibilty that only some usergroups can use this ?! for example - admins, super mods ?!
|
Can we have a tweak to only allow mods/super mods and admins to see and use this?
|
These are great, I wonder if you might know how to make these behave like [code] tags so I can create an .nfo option same as the [code] tags but with the nice table backgrounds ect. Or do you know were I can edit the existing code tags to have the borders ect.
|
Quote:
|
reserved,this looks very cool
|
Thank you
how to install for3.8? |
What I mean is to only allow mods and up to be able to use it and see the bbcode but when used all can see this. Not sure if I was clear the last time I asked if it is possible and another member seems to want this feature too.
|
Quote:
(However it loks like its all "your" code and not a reuse of mine, just a basic copy of the idea. so w/e lol) Please throw me a bone next time guys if your gonna make a(n) "inspired" version, thankyou. p.s. looks good :) |
please can you add one for download section with a nice button please
|
Really, it is a superb set of BB codes. But I join the mates that want these to be exclusively used by mods/admins. How can this be done?
Anyways, thank you very much for these, great great job. |
well a way of doing this I would imagine is edit the file that does the bbc and whatnot, and make it so if use is not of a specific user group, then dont include the tags and just continue the text itself.. I dont dont know much about vb's coding to be able to do this sry.
|
Quote:
|
i hope the coder will help us soon with this point that only admins or supermods can use this
|
the issue is, you have the make a mod entirley its own. There was a mod in vb 3.7 that was for custom bbc permissions for usergroups, it seems to work for 4.0, other than the random error thats displayed in the user group editor. You can find this mod in my 3.7 alert bbc thread.
heres the link to the advanced bbc permissions mod. if you can get passed that 1 error in the usergroupd editor where you edit the permissions it should work 100% on vb4 https://vborg.vbsupport.ru/showthrea...de+Permissions |
http://maimaitinhban.com/upanh/image...iovxsla7fc.jpg
problem with Internet Explore 8 |
This is a posting bbcode yours isn't so how is it an issue?
|
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. |
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 :) |
Quote:
Quote:
|
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 :D
Might try it later on the test site though :) |
Quote:
Quote:
Any ideas on how to make that happen? |
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.
|
Quote:
|
Quote:
|
but errors ?!
can somebody make a full mode with this functions !? ;) |
Nice these looks great! :D
|
Quote:
|
Quote:
|
Quote:
I get no errors using this mod with the one posted here. |
There is 1 error that i have noticed in that script for version 4.x.x and it shows in the usergroup permissions page.
|
Quote:
|
thank installed prefect
|
Quote:
All the shouts show the BBcode even when there usergroup has permission to use them. Tagged to see if this mod will have usergroup permissions added. |
Extra Nice!!!!
|
All times are GMT. The time now is 06:20 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|