Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Alert Box Details »»
Alert Box
Version: 4.00, by ti07shadow ti07shadow is offline
Developer Last Online: Jan 2013 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.7.x Rating:
Released: 05-30-2008 Last Update: 02-19-2009 Installs: 186
 
No support by the author.

NEW ALERT BBC v3.5 RELEASED!
These create different types of alert boxes in the forum, its a good way to display your rules or warns to the members within a post.

(Optional)To make this a staff only bb code, please refer to this modification.
Advanced BBCode Permissions

Screenshots:






PLEASE REPORT ANY BUGS IN THIS THREAD

PLEASE MARK AS INSTALLED!

PLEASE NOMINATE FOR MOTM

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 09-27-2008, 09:34 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for sticking with this, all i get for the Information box is the Gif and the text formatting, no background colour, border or underline (using ver3.5) here's the code:
PHP Code:
.warning-box,
.
attention-box,
.
notice-box,
.
help-box,
.
information-box
{
    
color#000;
    
border1px solid #000;
    
-moz-border-radius5px;
    
background-color#FCF8C7;
    
padding6px;
    
text-align:left;
}

.
warning-box img,
.
attention-box img,
.
help-box img,
.
notice-box img,
.
information-box img
{
    
float:left;
    
margin-top10px;
    
margin-right5px;
    
vertical-align:middle;
    
border0px;
}

.
warning-box h2,
.
warning-box p,
.
notice-box h2,
.
notice-box p,
.
attention-box h2,
.
attention-box p,
.
help-box h2,
.
help-box p,
.
information-box h2,
.
information-box p
{
    
padding0px;
    
margin:  0px;
    
margin-left60px;
}

.
warning-box h2,
.
attention-box h2,
.
notice-box h2,
.
help-box h2,
.
information-box h2
{
    
padding-bottom4px;
    
font-size14px;
    
border-bottom1px solid #000;
}

.
warning-box h1,
.
attention-box h1,
.
notice-box h1,
.
help-box h1,
.
information-box h1
{
    
padding0px;
    
margin:  0px;
    
margin-left60px;
    
font-size12px;
        
font-weight:normal;
}

.
warning-box h6,
.
attention-box h6,
.
notice-box h6,
.
help-box h6,
.
information-box h6
{

    
margin:  20px;
    
padding0px;
    
margin-left60px;
    
font-size12px;
        
font-weight:normal;
}

.
warning-box
{
    
background-color#FFCCCC;
}

.
help-box
{
    
background-color#d5eeb6;
}

.
warning-box ul,
.
attention-box ul,
.
notice-box ul,
.
help-box ul,
.
information-box ul
{
    
margin-left30px;

Reply With Quote
  #53  
Old 09-28-2008, 12:44 AM
ti07shadow ti07shadow is offline
 
Join Date: Apr 2008
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm thats wierd, why is yours doing that..? Hey does your information box bbc replacement code look like this?

Code:
<div class='information-box'>
 <img src='images/misc/information.gif' alt='information' />
 <h2><strong>Information</strong></h2>
<h1><font color="#000000">{param}</font></h1>
<br /><br /></div>
also did you place the CSS code into the second box? thats where its suppose to be.
Reply With Quote
  #54  
Old 09-28-2008, 04:16 AM
Pirat3 Pirat3 is offline
 
Join Date: Dec 2007
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Advanced BBCode Permissions 3.0 does not work with 3.7.x please make this for staff only
Reply With Quote
  #55  
Old 09-28-2008, 04:26 AM
Pirat3 Pirat3 is offline
 
Join Date: Dec 2007
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone know how to make only stAFF use bbcode? i am on latest vb adn the advanced vb mod apparently does not work on recent vb
Reply With Quote
  #56  
Old 09-28-2008, 05:19 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ti07shadow View Post
hmm thats wierd, why is yours doing that..? Hey does your information box bbc replacement code look like this?

Code:
<div class='information-box'>
 <img src='images/misc/information.gif' alt='information' />
 <h2><strong>Information</strong></h2>
<h1><font color="#000000">{param}</font></h1>
<br /><br /></div>
also did you place the CSS code into the second box? thats where its suppose to be.
Directly from my custom BB:
PHP Code:
<div class='Information-box'>
<
img src='images/misc/information.gif' alt='Information' />
<
h2><strong>Information</strong></h2>
<
h1><font color="#000000">{param}</font></h1>
<
br /><br /></div
and yes the CSS code is in the second box, its strange i have other mods none of which use custom bbcode (i have the permissions mod but this problem was there prior to that), like i said its no real problem as i can deny its use, it's just a little annoying when you have gone to so much trouble to provide something!
Reply With Quote
  #57  
Old 09-28-2008, 05:25 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Haha just sorted it!!!, it seems that the CSS code is case sensitive, .information-box should read .Information-box except for the .information-box img that stays the same!

I now have the information icon in a bordered yellowish box with the underline running through the center!!

Thanks for looking at it anyway, nice mod
Reply With Quote
  #58  
Old 09-28-2008, 08:23 PM
ti07shadow ti07shadow is offline
 
Join Date: Apr 2008
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow the simplest thigns seem to be the most annoying to find, good find and thankyou for letting us know how you fixed the problem. Hmm as for the permissions thing, I donot have any issue with it on the latest version of vbulletin, maybe perhaps its because I had the mod installed prior to the last 2 updates... However this bb code does work on all versions of vbulletin along withs seevral different forums, it works with phpbb 2 &3, invision power board, mybb, and several others lol. tested on alkl, just have to make minor changes nad thats the {param} thing lol.

yea nad guys thats why I made it in its box, just copy and paste it, if you decided to retype it make sure you get it down to the correct casing! lol. Enjoy.
Reply With Quote
  #59  
Old 09-28-2008, 08:55 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah there was another minor typo like that too but i cant remember what it was, it's a great mod and the custom permissions thing worked perfect but also needed a little tweak!

Thanks for sharing!
Reply With Quote
  #60  
Old 10-01-2008, 11:15 PM
kiFF kiFF is offline
 
Join Date: Apr 2007
Location: US
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll install this when there's an option for staff permission only.

I'm not going to install the Advanced BB Permissions mod. It doesn't work well.
Reply With Quote
  #61  
Old 10-02-2008, 05:03 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kiFF View Post
I'll install this when there's an option for staff permission only.

I'm not going to install the Advanced BB Permissions mod. It doesn't work well.
I've installed it and it works perfect!, you have to set the permissions for each usergroup otherwise they can't use any BB code but other than that it works perfect, so i have that installed and i have this mod installed and only available to staff!
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 01:06 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.05794 seconds
  • Memory Usage 2,346KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete