vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=203967

UKBL ~ Admin Notice - Timed Popup for Non-Members
by UKBusinessLive
02 Feb 2009 18:51

2 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://www.vbulletin.org/forum/exte...009/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...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Here we can change the width and the height, at the end of that line to what we want.

3. Find...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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 :D )

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


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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 :D

Log yourself out and try it :up:


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

Have Fun :D

UKBusinessLive 02 Feb 2009 18:52

:) Reserved :rolleyes:

TheLastSuperman 03 Feb 2009 00:53

A lot of new ones from you UK, I liked them all but had no use for some until now!

/me marks as about to be installed lol :D

UKBusinessLive 03 Feb 2009 07:01

Quote:

Originally Posted by TheLastSuperman (Post 1732470)
A lot of new ones from you UK, I liked them all but had no use for some until now!

* TheLastSuperman marks as about to be installed lol :D

Thanks Mike, Its just a little something made quickly which could be used for a variety of tasks, the key is to experiment. ;)

TheLastSuperman 03 Feb 2009 12:40

Quote:

Originally Posted by UKBusinessLive (Post 1732706)
Thanks Mike, Its just a little something made quickly which could be used for a variety of tasks, the key is to experiment. ;)

Exactly UK!!!!! EXACTLY! I know some of your mods I have tinkered w/ to do what I want, I always try to give hints or even details to options w/ my releases... some do not tinker but not all are coders on here so they are either lost or very cautious too, that is all :D.

Mike

UKBusinessLive 03 Feb 2009 18:51

Thanks Mike,

I try and make everything easy to understand, and support the product 100%, members can always post here if they have problems, and like Fan Mail i will answer them all Personally :D:D:D

Seriously its about having fun and learning new things, don't be frightened by experimenting with the hacks, if you mess up just download another one :D

But please always make sure you back up any files prior to editing, Very Important ;)


All times are GMT. The time now is 16:12.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.