Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
TW7S - [ Information - Tip - Note - Warning ] BBCode Details »»
TW7S - [ Information - Tip - Note - Warning ] BBCode
Version: 1.2, by LifesGreatestGift LifesGreatestGift is offline
Developer Last Online: Apr 2015 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.0.x Rating:
Released: 02-07-2010 Last Update: 02-07-2010 Installs: 203
Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

** images removed since the links expired **


Installation
  • Upload files
  • Add custom BBCodes
  • Edit Template (CSS)

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

File Type: zip UPLOAD.zip (22.1 KB, 927 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
nacaruncr

Comments
  #72  
Old 09-10-2010, 01:56 AM
LordMike LordMike is offline
 
Join Date: Jul 2007
Location: Belgium
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just curious :-)

Tip & Information are not capslock and WARNING and NOTE are capslocked.. is there any reason for this?
Reply With Quote
  #73  
Old 09-10-2010, 10:43 AM
Twikitero Twikitero is offline
 
Join Date: Aug 2010
Location: LONDON
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks TheWindows7Site, installed and working.
Also thanks to this modification of vbulletin.ccs eliminate borders could remove the tables you couple thousand thanks

Marked As Installed
Reply With Quote
  #74  
Old 09-15-2010, 04:46 AM
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
Location: Louisville, KY USA
Posts: 885
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brew View Post
I can't seem to get the borders to go away.

I've tried border="0" and a few other tricks but nothing is working.

You see the problem in the attachment.

Thanks for your help
I really wish you guys would read. Refer to step 3 to resolve this issue.

Quote:
Originally Posted by LordMike View Post
Just curious :-)

Tip & Information are not capslock and WARNING and NOTE are capslocked.. is there any reason for this?
No reason. Just preference
Reply With Quote
  #75  
Old 09-17-2010, 06:02 AM
sulasno sulasno is offline
 
Join Date: Feb 2010
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will you entertain any requests for additional BBCodes ?

sure would like two more;

QUESTIONS & ANSWERS

or may I DIY ?
Reply With Quote
  #76  
Old 09-17-2010, 09:12 AM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not a clue about css and if you look here - http://www.nextgenerationgamers.co.u...ll=1#post23457

You can see, Wee hardly see the text,lol on the punt...

But how do i change the font to make it easier to read or even remove the white background and just have the top tip,warning,etc image and box ?

Cheers in advance
Reply With Quote
  #77  
Old 09-17-2010, 09:21 AM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Found it, cheers
Reply With Quote
  #78  
Old 09-21-2010, 10:52 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love it =) Thanks
Reply With Quote
  #79  
Old 09-21-2010, 03:15 PM
Laughingbird's Avatar
Laughingbird Laughingbird is offline
 
Join Date: Oct 2005
Location: Southern California
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This was great. Nice instructions!
Reply With Quote
  #80  
Old 09-21-2010, 10:17 PM
blue7's Avatar
blue7 blue7 is offline
 
Join Date: Aug 2007
Location: Turkey/Ankara
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have problem with borders.

i removed "border: {vb:stylevar restore};" code in vbulletin.css but have same problem.

can you show different way?

Reply With Quote
  #81  
Old 09-23-2010, 07:59 AM
rouvio's Avatar
rouvio rouvio is offline
 
Join Date: Nov 2008
Location: Beachwood OH
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for a wonderful mod!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05375 seconds
  • Memory Usage 2,352KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (10)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete