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
  #12  
Old 02-09-2010, 07:15 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

reserved,this looks very cool
Reply With Quote
  #13  
Old 02-09-2010, 08:40 PM
vbkavir vbkavir is offline
 
Join Date: Jan 2010
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you
how to install for3.8?
Reply With Quote
  #14  
Old 02-10-2010, 01:08 AM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #15  
Old 02-10-2010, 02:58 AM
ti07shadow ti07shadow is offline
 
Join Date: Apr 2008
Posts: 218
Благодарил(а): 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.
Yea it does look alot like mine. Oh dang I didnt click "Re-Use" when making the settings for my modfication thread..
(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
Reply With Quote
  #16  
Old 02-10-2010, 04:51 AM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please can you add one for download section with a nice button please
Reply With Quote
  #17  
Old 02-10-2010, 05:40 AM
ryacine ryacine is offline
 
Join Date: May 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #18  
Old 02-11-2010, 02:43 AM
ti07shadow ti07shadow is offline
 
Join Date: Apr 2008
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #19  
Old 02-11-2010, 05:21 AM
mitch84 mitch84 is offline
 
Join Date: Mar 2008
Location: france
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ryacine View Post
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.
I agree with you, this bbcodes are only for admins or modos i think
Reply With Quote
  #20  
Old 02-11-2010, 08:50 AM
Neptun Neptun is offline
 
Join Date: Aug 2003
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i hope the coder will help us soon with this point that only admins or supermods can use this
Reply With Quote
  #21  
Old 02-11-2010, 04:24 PM
ti07shadow ti07shadow is offline
 
Join Date: Apr 2008
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
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 07:07 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.14378 seconds
  • Memory Usage 2,348KB
  • 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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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