vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Display Enhancements - Forumdisplay Warning Splash Message (https://vborg.vbsupport.ru/showthread.php?t=286015)

nhawk 07-26-2012 10:00 PM

Forumdisplay Warning Splash Message
 
THIS ADD-ON IS NO LONGER AVAILABLE AND IS NOT SUPPORTED

* General Information *
------------------------------
This add-on was originally coded by Kirk Y on vbulletin.org for vB version 3.6.8.
With permission, I have adapted it to work with vB versions 4.1.x and 4.2.0.

What does this do?
---------------------
This modification 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.

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)
  • Popup is automatically centered in the browser window.


* INSTALLATION *
---------------------
1) Upload the entire 'images' folder to your forum's root.
(If your forum's location is http://www.example.com/forums/, the root is /forums/)
If your style has a 'misc' folder, also upload the 2 gif files in the images/misc folder to your style's 'misc' folder.

2) Import the product XML file (product-forumsplash.xml) into the Product Manager in AdminCP.

3) Go to ACP->Settings->Options->Splash Warning Message Settings. Turn on the system and set the options.

4) Go to ACP->Forums & Moderators->Forum Manager and set the message you want displayed in each forum you want the message displayed in.

Known working with vB 4.1.11, 4.1.12 and 4.2.0.

* History (Changelog) *
---------------------------
4.0.5 - (August 10, 2012)
Fix - Splash page still showing when multiple usergroups are excluded.

4.0.4 - (August 9, 2012)
Fix - Splash page still showing when mod is turned off.

4.0.3 - (August 9, 2012)
Add - Option to completely hide threads or use alpha transparency (Completely hide by default in settings).

4.0.2 - (August 9, 2012)
Add - Option to allow members to go directly to a thread (NOTE: Contents of the thread will be completely hidden by splash page).

4.0.1 - (July 28, 2012)
Fix - Posts not displaying after proceeding to forum.

4.0.0 - (July 27, 2012)
Initial Release

ProFifaLeagues 07-27-2012 09:48 PM

Works superb 4.2 thanks nhawk

ProFifaLeagues 07-27-2012 10:09 PM

permanently disable messages are turned off and i saw the screen when checking the section first time round but even when logged off now i dont see it at all.
Maybe an error my end so will double check it all.

All seemed set correct and Reinstalled to check,but still not showing after that First time and also Ive noticed that the Forum sections its used on would not open up any threads when clicking them,Had to turn it off to get them working again so maybe something i have already it doesnt work with.

Mr_Running 07-27-2012 11:05 PM

Quote:

Originally Posted by ProFifaLeagues (Post 2352000)
Ive noticed that the Forum sections its used on would not open up any threads when clicking them,Had to turn it off to get them working again

Confirmed...me too.

Krusty1231 07-28-2012 01:30 AM

As me. Did not work on FF or IE. It loads the splash fine, but clicking on the content takes you no where.

Nice tho - I'll use it when it is corrected!

nhawk 07-28-2012 11:06 AM

I'm not sure what happened. I tested this on 3 different sites before releasing. However today it's working on 1 site, but not the other two.

I'll try to have a fix out sometime today.

nhawk 07-28-2012 01:27 PM

Fix posted.

Sorry about that folks!

If you installed version 4.0.0 and still have problems after updating to 4.0.1, clear cookies from your system and that should fix it from here on out.

Krusty1231 07-28-2012 05:44 PM

Works great. Thanks for the fix!

LgsOfChampions 07-29-2012 12:47 AM

Installed thanks.

Seems like after someone has entered the room it stops showing up next time they enter it. Is there away to have it show every time they enter the room?

I wanna kinda use it for a different purpose, I wanna use it if there is a special announcement for that board it pops up. However if it only shows up one time it wont work. Maybe have a rest button lol

Just a suggestion, either way I'll use it just have things going thru my mind on how to use this.... thanks

nhawk 07-29-2012 07:29 AM

Quote:

Originally Posted by LgsOfChampions (Post 2352240)
Installed thanks.

Seems like after someone has entered the room it stops showing up next time they enter it. Is there away to have it show every time they enter the room?

I wanna kinda use it for a different purpose, I wanna use it if there is a special announcement for that board it pops up. However if it only shows up one time it wont work. Maybe have a rest button lol

Just a suggestion, either way I'll use it just have things going thru my mind on how to use this.... thanks

If you have the Popup Cookie Settings set to 'Don't allow users to permanently disable via cookie', the splash message only shows once per forum during that user's session. Once their session changes (close their browser), the splash message is shown again.

So no, at this time it can't be set to show every time they enter a forum during the same user session.

NOTE: If at any time you allow someone to disable the message permanently, it is permanent. If you change it back to 'Don't allow users to permanently disable via cookie' it will have no effect on people that have already permanently disabled it. I do plan an update that will reset the cookie if you change it back like that.


All times are GMT. The time now is 12:21 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01189 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete