Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #92  
Old 12-26-2007, 08:29 AM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

YEAH! its...really nice now...voted for MOTM!....


maybe we can add also this rating image....
attach image for those interested...
Reply With Quote
  #93  
Old 12-26-2007, 09:26 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 consider putting it in.

If you'd like to modify it yourself; the following is the relevant area of the splashwarn_js template:
Code:
document.write('<div id="slashpage" style="position: absolute; z-index: 100; bottom:90px; left:275px; color: gray; background-color:$vboptions[splashbgcolor]; border: solid 1px black;">') //Main splashpage container
document.write('<div style="color:white;width:700px;height:150px;padding:5px;" class="splashtext" align="center">')
Red = Location of Pop-up
Blue = Dimensions of Pop-up
Take a look
http://forums.dacho.co.il/test.htm
The problem in IE it's not in the div position
if it's static, it's working fine... it's something with the Dinamic definition
Reply With Quote
  #94  
Old 12-27-2007, 08:09 PM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi bro kirk...

is it normal that this will work only to forum section title when you clicked....but not to the last post title at the right side??? or did i missed something...and how can i make this work???

please view attachment

Attachment 73865

thanks and best regards...

Reply With Quote
  #95  
Old 12-29-2007, 04:01 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 princeedward View Post
hi bro kirk...

is it normal that this will work only to forum section title when you clicked....but not to the last post title at the right side??? or did i missed something...and how can i make this work???

please view attachment

Attachment 73865

thanks and best regards...

No, this modification wasn't intended to show a warning message for threads within the forum - only on the forum itself. If there is a high enough demand for such an option, I'll look into adding one.
Reply With Quote
  #96  
Old 12-29-2007, 04:02 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

v1.04 Released
- Added control for dimensions (height and width) of the warning pop-up
- Added control for position of the warning pop-up via X,Y coordinates
Reply With Quote
  #97  
Old 12-29-2007, 07:00 AM
shaynehammy shaynehammy is offline
 
Join Date: Jan 2006
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd defintely need it for a particular forum section rather than the forum home. Please can you add this option?

What would be even better is any thread that disaplys in recent posts that falls under any R18 forum that the hack is enabled for would display the warning. How possible is this?
Reply With Quote
  #98  
Old 12-29-2007, 11:30 AM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kirk Y View Post
No, this modification wasn't intended to show a warning message for threads within the forum - only on the forum itself. If there is a high enough demand for such an option, I'll look into adding one.
i guess it would be better to have this option...coz' it will be useless then...if someone click to the last post...seen at the right side..they can auto-get inside without having that warning sign...right?...i hope you can add this one...
...this is really a nice mod in deed...anyway thanks for the new update too...

thanks and best regards...

Reply With Quote
  #99  
Old 12-29-2007, 01:20 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 shaynehammy View Post
I'd defintely need it for a particular forum section rather than the forum home. Please can you add this option?
The modification already does this... it's never shown a warning on the forum home; hence the name Forumdisplay Warning Message. :erm:
Reply With Quote
  #100  
Old 12-31-2007, 03:44 PM
Doctor Death Doctor Death is offline
 
Join Date: Dec 2005
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod and I really appreciate how developer listens to users.

Issue: Latest mod has x,y position options as well as x,y box dimension options.

Those options are NOT used in the plugin -- the original values are hard coded in the plugin.
Here is the plugin sourcecode to show that:

Quote:
document.write('<div id="slashpage" style="position: absolute; z-index: 100; bottom:90px; left:275px; color: gray; background-color:$vboptions[splashbgcolor]; border: solid 1px black;">') //Main splashpage container
document.write(this.defineheader) //header portion of splashpage
document.write('<div style="color:white;width:700px;height:350px;padding:5px;" class="splashtext" align="center">')
Reply With Quote
  #101  
Old 12-31-2007, 05:35 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

Fixed, try now.
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:29 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.05541 seconds
  • Memory Usage 2,322KB
  • 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
  • (5)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