![]() |
UKBL ~ Admin Notice Timed Popup for Non Members
1 Attachment(s)
UKBL ~ Admin Notice - Timed Popup for Non-Members Want to tell non members why they should sign up to your forums, 10 different messages, on a pop up, and its timed so it dissappears after X seconds (adjustable) DEMO : http://www.ukbusinesslive.co.uk/forum A Friend wanted this done on his forum asked me if it could be done, With a basic Popup script and a few add ons we came up with The Admin Notice with a difference. https://vborg.vbsupport.ru/external/2009/02/113.png When a non member views your forum, a popup appears for X seconds and tells the viewer, some reason why they should sign up, Be it a competition in the arcade, to promoting links from your forum. The edititing is very easy and you could even use html to add links in the popup, The key word here is to experiment. The popup is fully sizeable and you can chose the colors of the background and fonts to suit your site, i've just filled my 10 notices with just some ramdom bits but you can be as creative as you want. The great thing about this popup is the fact that it will switch off after so many seconds, and once they've joined, they won't see it at all, so hopefully it may push people to sign up as a result of your offers etc.. So where do we start?? 1. Download the zip file and open it in notepad or any other text editor 2 Find... Code:
config='toolbar=no,location=no,directories=no,status=no,menubar=no,width=350,height=150' 3. Find... Code:
output.document.write(';",10000)'); 4. Find... Code:
output.document.write('<title>Admin Notice</title>'); This is my fave Hex editor http://www.2createawebsite.com/build/hex-colors.html or you can use your sites own hex numbers ;) Finally, we need to edit the Text Notices, So find these at the very end of the code, it really is that simple Code:
output.document.write('<hr><br><p>'); The conditional at the begining takes into account the non-registered usergroup, so no one else will view it only those that havn't registered, But if you want to use it for another purpose you can change the usergroup or delete it here Code:
<if condition="$bbuserinfo['usergroupid'] == 1"> Log yourself out and try it :up: As always don't forget to chick the magical Installed Button :D Have Fun :D |
:) Reserved :p
|
As always, another nice trick. :)
|
Quote:
Code:
<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"></if> |
I just wonder, why u didn't put any link there! I mean for example, "Competition Time in the Arcade every Monday Night 9pm til 12 Midnight" should be click able to direct any link. :)
|
Quote:
If you want you can delete some of them, I only made 10 random notices as an example, you can add more or delete excess ones :D |
Looking good, but have to have more messages, and to pop-up random.
|
Yeah, random msg will be great. :)
|
Quote:
I wonder why you ask?? Its all in the First post ;) |
Quote:
|
All times are GMT. The time now is 03:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|