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.

ProFifaLeagues 07-29-2012 08:21 AM

Nice one mate the update Works Superb :)


Is there any plans to expand this at all in Future? Any extras you have planned for it at all? Just wondered.....

nhawk 07-29-2012 08:49 AM

Quote:

Originally Posted by ProFifaLeagues (Post 2352288)
Nice one mate the update Works Superb :)


Is there any plans to expand this at all in Future? Any extras you have planned for it at all? Just wondered.....

One came to mind this morning. That's a timed message for select forums where the message only displayes between xxx and xxx dates. But it will probably be a while before I work on that.

And there will eventually be an update to reset the cookie if the cookie settings are changed.

S@NL - BlackBik 08-13-2012 09:55 PM

Can the splash screen also be shown before entering the forum home?

I ask this with the EU cookie law in mind. It might be a good way to ask people to accept cookies ;)

Zarhym 08-14-2012 03:48 AM

https://vborg.vbsupport.ru/external/2012/08/78.png

How can I fix or change that broken image?

nhawk 08-14-2012 09:48 AM

Quote:

Originally Posted by S@NL - BlackBik (Post 2356730)
Can the splash screen also be shown before entering the forum home?

I ask this with the EU cookie law in mind. It might be a good way to ask people to accept cookies ;)

At this point, no it can't. But thank you for the suggestion. I'll keep it in mind.

nhawk 08-14-2012 09:49 AM

Quote:

Originally Posted by Zarhym (Post 2356799)
How can I fix or change that broken image?

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.

BadgerDog 08-14-2012 10:31 AM

Installed with thanks for testing on vbulletin 4.1.3pl5 ... :)

Regards,
Doug

BadgerDog 08-14-2012 10:41 AM

Quote:

Originally Posted by nhawk (Post 2352276)
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.

I have this setting and I saw the message once. I selected "go foward" and even if I close the browser (FireFox) and then restart it, re-entering the site and the testing forum, I still don't see the message again?

Am I missing something? :confused:

Regards,
Doug

Edit: It appears that the problem is unique to FireFox 14.0.1. I loaded Safari 6.0, entered forum, saw warning, closed Safari browser and re-started it, then re-entered forum again. Warning message appeared agan as designed, so the issue is only on FireFox, at least on my system.

BTW, nice mod.. very clean and professional, plus has some good potential use on our site. :)

nhawk 08-14-2012 11:34 AM

Quote:

Originally Posted by BadgerDog (Post 2356855)
I have this setting and I saw the message once. I selected "go foward" and even if I close the browser (FireFox) and then restart it, re-entering the site and the testing forum, I still don't see the message again?

Am I missing something? :confused:

Regards,
Doug

Edit: It appears that the problem is unique to FireFox 14.0.1. I loaded Safari 6.0, entered forum, saw warning, closed Safari browser and re-started it, then re-entered forum again. Warning message appeared agan as designed, so the issue is only on FireFox, at least on my system.

BTW, nice mod.. very clean and professional, plus has some good potential use on our site. :)

I can't duplicate the problem you're having with a single instance of Firefox 14.0.1 running. Every time I close the browser, the splash page comes back when I re-open the browser.

The only way I can duplicate it is if I have multiple instances of Firefox running. You have to close all firefox windows for sessions to clear.

BadgerDog 08-14-2012 11:45 AM

Quote:

Originally Posted by nhawk (Post 2356866)
I can't duplicate the problem you're having with a single instance of Firefox 14.0.1 running. Every time I close the browser, the splash page comes back when I re-open the browser.

The only way I can duplicate it is if I have multiple instances of Firefox running. You have to close all firefox windows for sessions to clear.

I'm running Mac OSX Mountain Lion, which may be a factor?

If I delete the cookie named "splashpagecookie50_s", then the page appears again once.

Does that help?

Regards,
Doug

nhawk 08-14-2012 12:11 PM

Quote:

Originally Posted by BadgerDog (Post 2356872)
I'm running Mac OSX Mountain Lion, which may be a factor?

If I delete the cookie named "splashpagecookie50_s", then the page appears again once.

Does that help?

Regards,
Doug

The process of killing the session comes from the browser/operating system not the mod, so yes it could be the problem.

Unfortunately, there's no way to re-write the session cookie when the browser closes. Again, that's a function of the browser/operating system. And if it's not deleting the session cookie when the browser is closed, then it's a bug in the browser/operating system.

BadgerDog 08-14-2012 12:23 PM

Quote:

Originally Posted by nhawk (Post 2356876)
The process of killing the session comes from the browser/operating system not the mod, so yes it could be the problem.

Unfortunately, there's no way to re-write the session cookie when the browser closes. Again, that's a function of the browser/operating system. And if it's not deleting the session cookie when the browser is closed, then it's a bug in the browser/operating system.

I agree .... :)

Don't worry about it. It's an anomaly I thought you should be aware of in case others post a similar complaint .. ;)

PayPal for this mod and all the others of yours that I've installed recently, on the way .. :)

Regards,
Doug

nhawk 08-14-2012 12:39 PM

Thank you very much! :D

NTT 08-16-2012 10:19 AM

hi, i want show Warning Splash Message in forumhome when i go to http://domain.com

nhawk 08-16-2012 11:31 AM

Quote:

Originally Posted by NTT (Post 2357334)
hi, i want show Warning Splash Message in forumhome when i go to http://domain.com

At this point, that can't be done with this mod.

xrvel 08-16-2012 05:29 PM

Interesting, tagged..

marccap 02-01-2013 01:51 PM

Thanks - Works nicely on 4.2

BlogTwits 03-13-2013 01:12 PM

Is there any way to get this to show up on the cms/home page? I'd like visitors to see this message when landing on www.xxxxxxxxxxxxx.com only. Working great. Tried to put it into vbcms comments but not showing up on cms

nhawk 03-13-2013 01:45 PM

Sorry, no. It only works with forums.

BlogTwits 03-13-2013 01:54 PM

OK thanks for your reply :)

synseal 03-13-2013 02:46 PM

I don't get what I am missing here, I don't usually struggle with instructions but for the life of me I can not see where to enter the custom message in forum manager?.

I am looking in a forum in my forum manger called 18+, I have gone into edit forum and I can not see the option to add a custom message nor an option to turn it on for that forum....

TIA.

nhawk 03-13-2013 03:30 PM

Quote:

Originally Posted by synseal (Post 2409739)
I don't get what I am missing here, I don't usually struggle with instructions but for the life of me I can not see where to enter the custom message in forum manager?.

I am looking in a forum in my forum manger called 18+, I have gone into edit forum and I can not see the option to add a custom message nor an option to turn it on for that forum....

TIA.

Turn on the system in ACP->Settings->Options->Splash Warning Message Settings.

Once it's turned on, the option add/edit the messages will be at the bottom of your edit forum screen for each forum. (ACP->Forums & Moderators->Forum Manager... edit forum)

EDIT: I added screenshots of the settings page and the part of the forum editor for the splash message.

synseal 03-13-2013 04:48 PM

I thought I had already turned the that option on in splash warning message settings.

Obviously not :o.

Working fine thank you! :up: vb4.2.3 with vbseo.

elfenny 03-14-2013 02:50 AM

users (registered or not) will only appear the first time?
Whenever you want to go see?

I can change the button skip to content. Gif for button Spanish. Mpg?

I am interested in this mod

nhawk 03-14-2013 10:49 AM

Quote:

Originally Posted by elfenny (Post 2409856)
users (registered or not) will only appear the first time?
Whenever you want to go see?

I can change the button skip to content. Gif for button Spanish. Mpg?

I am interested in this mod

You can display it either way..
Quote:

Cookie options allow you to enable users to permanently disable messages or show them once per session
Yes, the button is a GIF and you can change the gif if you want.

elfenny 03-14-2013 04:53 PM

Quote:

Originally Posted by nhawk (Post 2409905)
You can display it either way..


Yes, the button is a GIF and you can change the gif if you want.

Thanks, one idea would be to put advertising under the warning, if there is enough space to take advantage of better

Skivey 08-13-2013 06:02 AM

how do I change the text, for example "Please read before continuing..."

Regards

Matt

Skivey 08-13-2013 06:02 AM

oh and works fine on 4.2.1 :)

nhawk 08-13-2013 09:37 AM

Quote:

Originally Posted by Skivey (Post 2438579)
how do I change the text, for example "Please read before continuing..."

Regards

Matt

That particular text is on the settings page and can be changed there.

All other text may be edited in the phrase manager.

Skivey 08-13-2013 08:58 PM

Quote:

Originally Posted by nhawk (Post 2438609)
That particular text is on the settings page and can be changed there.

All other text may be edited in the phrase manager.

Thanks, all changed (i think)

Since i changed phrases it hasnt popped up :/


All times are GMT. The time now is 06:16 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.01439 seconds
  • Memory Usage 1,839KB
  • 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
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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