Back to vBulletin 3.7 Template Modifications

UKBL ~ Admin Notice - Timed Popup for Non-Members
Mod Version: 1.00, by UKBusinessLive

This modification is in the archives.
vB Version: 3.7.5 Rating: (2 votes - 4.00 average) Installs: 5
Released: 02 Feb 2009 Last Update: Never Downloads: 28
Not Supported Template Edits Re-usable Code Translations  

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.



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'
Here we can change the width and the height, at the end of that line to what we want.

3. Find...

Code:
output.document.write(';",10000)');
This is the time that the pop up is on display, remember its in milliseconds so the default 10000 = 10 seconds, feel free to adjust this to your requirements

4. Find...

Code:
output.document.write('<title>Admin Notice</title>');
output.document.write('<BODY bgcolor=#FDF09A text=#FC040D>');
output.document.write('<center><font face=arial size=-1><b>Admin Notice:</b></font>');
Now this is where we change the pop up title, The popup color and the text color, Oh and the font and size (Almost forgot about that )

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>');
if (generateRandomNumber()=="1")
 {output.document.write('<font face=arial size=-1>Competition Time in the Arcade every Monday Night 9pm til 12 Midnight');
And just change "Competition Time in the Arcade every Monday Night 9pm til 12 Midnight" to a notice or message of your choice, remember to keep the same format as the code, just change the wording, nothing else.

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">
When you've finished with the edits, just copy and paste the code to your forums style, header template, right at the end, and save

Log yourself out and try it


As always don't forget to chick the magical Installed Button


Have Fun

Download

This modification is archived, downloads are still allowed.

File Type: %1$s admin notice.zip (70.5 KB, 31 downloads)

Screenshots

Click image for larger version
Name:	am1.png
Views:	36
Size:	73.1 KB
ID:	93932  

Similar Mods

Forum Home Enhancements UKBL ~ Timed Rotating Ad Banners vBulletin 3.7 Template Modifications
Forum Home Enhancements UKBL ~ Timed Rotating Ad Banners vBulletin 3.8 Template Modifications
UKBL ~ Timed Rotating Ad Banners vBulletin 3.5 Template Modifications
Forum Home Enhancements UKBL ~ Admin Notice Timed Popup for Non Members vBulletin 3.8 Template Modifications
Forum Home Enhancements UKBL ~ Timed Rotating Ad Banners vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024