Log in

View Full Version : Forum Display Enhancements - Forumdisplay Warning Splash Message


nhawk
07-26-2012, 10:00 PM
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
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
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
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
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
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
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
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
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
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
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
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
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
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..
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
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
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
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 :/

nhawk
08-13-2013, 09:36 PM
Thanks, all changed (i think)

Since i changed phrases it hasnt popped up :/

Most likely you accepted the warning so now it won't warn again until you close all browser windows and then go back to it.

M.C.
01-17-2014, 04:08 PM
Thanks! Works fine! Almost what I need... but wish to have global warning text that can be easy applied for several forums instead of adding it for each individual forum... If I have over 100 forums it's pain in ass :(

Also would love to have it applied for FORUMHOME.

Thanks!

crazyboy1661
01-20-2014, 08:47 AM
working fine....

Barcham
01-28-2014, 06:27 PM
Just installed it on 4.2.2 and it's working great. I also would really love it if it could be used on the forum home page.

usHealthy
02-13-2014, 06:58 PM
Will this show on showthread as well? if not can it be twist to work when user open a thread from the forum I selected to work with this mod?

Thanks

nhawk
02-13-2014, 08:52 PM
Will this show on showthread as well? if not can it be twist to work when user open a thread from the forum I selected to work with this mod?

Thanks

It shows the message IF the user uses a direct link to a thread. But once they 'accept' the warning, it will not work with other threads in the forum.

usHealthy
02-13-2014, 10:04 PM
Nice thanks so much
Installed!!!!!!!

IceTech
05-07-2014, 12:13 PM
This is awesome mod but I have one issue...when the warning comes up it goes to the right of the page...anyway to make it centered??

nhawk
05-07-2014, 01:02 PM
This is awesome mod but I have one issue...when the warning comes up it goes to the right of the page...anyway to make it centered??

It should be centered on the page without having to change anything.

You can try editing the style sections in the splashwarn_js template. But I tend to thing it might be a browser problem, or a problem with your style, not a problem with the template.

I would suggest trying it with the default unmodified vB style first. If it displays properly there, then it's a problem with your style.

Nobleman
04-15-2015, 01:07 PM
Nice mod works great

Colossal31
12-02-2015, 01:32 AM
nhawk,
I have been looking everywhere for a splash warning like this but never seemed to come across this until a few days back. I have seen multiple request about making this apply to the Forum Home page. Have you or would you be willing to make that change? I am looking for it to do this because as of right now I have a cms page I want to get rid of and this would be great if applied to the forum home page. Thanks.