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
  #2  
Old 02-08-2010, 05:33 PM
nextslit's Avatar
nextslit nextslit is offline
 
Join Date: May 2009
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First one !
Great job , thank you : )
Reply With Quote
  #3  
Old 02-08-2010, 06:05 PM
vb4newb vb4newb is offline
 
Join Date: Feb 2010
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, why does mine have black line border inside the image?

Okay you added step 3 , thanks.
Reply With Quote
  #4  
Old 02-08-2010, 06:08 PM
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 vb4newb View Post
Thanks, why does mine have black line border inside the image?
You must perform the template edit I posted in Step 3)

*Click Install
Reply With Quote
  #5  
Old 02-08-2010, 06:13 PM
cory_booth cory_booth is offline
 
Join Date: Jul 2006
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look a lot like:
https://vborg.vbsupport.ru/showthread.php?t=232468

I ain't sayin - just sayin.
Reply With Quote
  #6  
Old 02-08-2010, 06:16 PM
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 cory_booth View Post
Look a lot like:
https://vborg.vbsupport.ru/showthread.php?t=232468

I ain't sayin - just sayin.
My mod was inspired by that mod. I have redesigned it, and made it look nicer. (IMO)
Reply With Quote
  #7  
Old 02-08-2010, 06:34 PM
Neptun Neptun is offline
 
Join Date: Aug 2003
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that looks really great - is there a possibilty that only some usergroups can use this ?! for example - admins, super mods ?!
Reply With Quote
  #8  
Old 02-08-2010, 08:06 PM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can we have a tweak to only allow mods/super mods and admins to see and use this?
Reply With Quote
  #9  
Old 02-08-2010, 09:08 PM
Cableguy69 Cableguy69 is offline
 
Join Date: Apr 2008
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 02-09-2010, 04:24 PM
iguano iguano is offline
 
Join Date: May 2009
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Charlie98902 View Post
Can we have a tweak to only allow mods/super mods and admins to see and use this?
Yes i'd like this too
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 02:11 PM.


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.05190 seconds
  • Memory Usage 2,339KB
  • Queries Executed 24 (?)
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
  • (3)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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