Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Forumdisplay Warning Message Details »»
Forumdisplay Warning Message
Version: 1.04, by Kirk Y Kirk Y is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.8 Rating:
Released: 12-15-2007 Last Update: 12-30-2007 Installs: 151
DB Changes Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

Forumdisplay Warning Message

What does this do?
This modifications adds the ability to give specific forums "warning messages" that are shown to the user before he/she enters the forum. For example: the user enters a forum that is intended for adults; the user enters this forum, is presented with the warning message explaining as much, and he/she can then choose to proceed into the forum or return back to where they were.

Installation
1. Import the Product XML and upload the two images to your /images/misc folder.
2. Configure the Warning Message through the Forum Manager.
3. Setup the Global Options through the vBulletin Options menu.

Features
-Customizable message per forum
-Control background color of pop-up
-Control opacity of background layer behind pop-up
-Cookie options allow you to enable users to permanently disable messages or show them once per session
-Exclude specific Usergroups from having to view pop-ups
-Control dimensions (height and width) and coordinate position of pop-up

Version History
1.00 - Initial Release
1.01 - Added table prefixes
1.02 - Added option for cookie control
1.03 - Fixed session cookie bug; added ability to exclude usergroups from warning pop-ups; changed data type for better compatibility
1.04 - Added option for height/width and position control of pop-up

Please click Install if you use this modification

Show Your Support

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

Comments
  #62  
Old 12-19-2007, 10:58 PM
Doctor Death Doctor Death is offline
 
Join Date: Dec 2005
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dacho View Post
So this is my FORUMDISPLAY template (by Attachment)
Did you turn on the Modification under OPTIONS as well??
Reply With Quote
  #63  
Old 12-20-2007, 04:27 AM
dacho's Avatar
dacho dacho is offline
 
Join Date: Dec 2004
Location: Tell-Aviv
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kirk Y View Post
I'll have a look at it this evening.
Everything looks fine... can't see anything wrong off-hand that'd mess up the template replacement. If you want to set up an admin login for me, I can troubleshoot it for you.
I send you Private Messages
Quote:
Originally Posted by Doctor Death View Post
Did you turn on the Modification under OPTIONS as well??
clear
Reply With Quote
  #64  
Old 12-21-2007, 12:10 AM
Doctor Death Doctor Death is offline
 
Join Date: Dec 2005
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any progress on figuring out how to make it to the top of the stack on windows and content?
Reply With Quote
  #65  
Old 12-21-2007, 03:48 AM
Bflat5 Bflat5 is offline
 
Join Date: May 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting the database error too. So it doesn't install. Would be a cool add-on though.
Reply With Quote
  #66  
Old 12-21-2007, 04:27 AM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bflat5 View Post
I'm getting the database error too. So it doesn't install. Would be a cool add-on though.
The table prefixes issue was fixed. What's the exact error you're getting?
Reply With Quote
  #67  
Old 12-21-2007, 03:33 PM
Bflat5 Bflat5 is offline
 
Join Date: May 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's the error I'm getting.

Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE `forum` ADD `kirky_splash` VARCHAR( 1500 ) NOT NULL;

MySQL Error : Too big column length for column 'kirky_splash' (max = 255). Use BLOB instead
Error Number : 1074
Date : Friday, December 21st 2007 @ 12:30:37 PM
Script : http://www.mydomain.com/forums/admin...=productimport
Referrer : http://www.mydomain.com/forums/admin...?do=productadd
IP Address :
Username :
Classname : vb_database
Reply With Quote
  #68  
Old 12-21-2007, 08:10 PM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bflat5 View Post
Here's the error I'm getting.

Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE `forum` ADD `kirky_splash` VARCHAR( 1500 ) NOT NULL;

MySQL Error : Too big column length for column 'kirky_splash' (max = 255). Use BLOB instead
Error Number : 1074
Date : Friday, December 21st 2007 @ 12:30:37 PM
Script : http://www.mydomain.com/forums/admin...=productimport
Referrer : http://www.mydomain.com/forums/admin...?do=productadd
IP Address :
Username :
Classname : vb_database
I'll post an updated version later tonight.
Reply With Quote
  #69  
Old 12-21-2007, 09:00 PM
Spika's Avatar
Spika Spika is offline
 
Join Date: Jun 2006
Location: Marbella - Spain
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello! Excellent job!
One question... Can I put into warnig message a link (to another thread or post)?
code '[url]' don´t work
Thanks
Reply With Quote
  #70  
Old 12-21-2007, 09:17 PM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spika View Post
Hello! Excellent job!
One question... Can I put into warnig message a link (to another thread or post)?
code '[url]' don?t work
Thanks
No, you can't use BBCode; use HTML instead.

Code:
<a href="http://path/to/forum/showthread.php?t=1234"></a>
Reply With Quote
  #71  
Old 12-21-2007, 10:00 PM
cnredd cnredd is offline
 
Join Date: Aug 2006
Location: Philadelphia
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way this could be reconfigured to where...

A) Only guests can see it?...and...

B) Instead of a warning, make it something like "Thank you for entering this thread, We'd like you to register and join our conversation." and then they don't see it again when they close it?
Reply With Quote
Reply

Thread Tools

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 04:57 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.04590 seconds
  • Memory Usage 2,312KB
  • 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
  • (1)bbcode_code
  • (6)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