The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
New way to force guests to register Details »» | |||||||||||||||||||||||||||||||||||||||||||
ABOUT THIS MOD
My idea was to place a fix characater on the bottom right, wich forces guests to register an account, because i was sick of those standard "hello guest, register" mods. So with this little modification, you are able to display a nice and flashy character to all guests - forcing them to register All examples on the bottom are free to use. ----------------------------------------------------------------------------------------------------------------- LIVE-DEMO: http://www.srowned.org ----------------------------------------------------------------------------------------------------------------- IF YOU RUN VBULLETIN 3.X.X CHECK THIS THREAD 1. Upload your desired image to "/images/misc/register.png" (if you want my symples, feel free to use them, they are all attached below) 2. Open your "additional.css" and add the following lines: Quote:
To show it on EVERY PAGE add this: Quote:
Quote:
Quote:
Quote:
4. Mark as installed 5. You are done! ----------------------------------------------------------------------------------------------------------------- NEW FEATURE: RANDOM IMAGE ON EVERY PAGERELOAD Since some one at the forum came up with the wish, to have random images on every pagereload, i can now provide you a solution: 1. Add this code to your "additional.css" instead of the code provided on top: Quote:
3. Upload the file "rotate.php" to your FORUMROOT 4. Open "images/misc" via FTP and create a new folder called "ftr" (Complete path should look like this: /images/misc/ftr) 5. Upload your desired images to the "ftr" folder (supported file extensions are: PNG, GIF & JPG) 6. Your done! SPEND ME A BUCK If you like my Mod feel free to check my fiverr.com gig: http://fiverr.com/dszuecs/create-a-c...d-implement-it Download Now
Screenshots
Show Your Support
|
21 благодарности(ей) от: | ||
ajhalls, alhidaya, crazyboy1661, Da-Vinci, dandanch, Digital Jedi, doctorsexy, jaffaman, livenetc, Macgiber, Mopar1973Man, Mдяc, NoMatt3r, Ohmer, Savage Circuits, socialteenz, steve1966, SWSUSA, t-j, vijayninel, Worgen |
Comments |
#312
|
||||
|
||||
That's because you did not add any conditionals to it, tha was in the OP.
|
#313
|
||||
|
||||
i see...
now, i use this one: Code:
<script type="text/javascript"> <!-- // When page loads ... window.addEventListener("load", function() { // Run in 5 seconds setTimeout(function() { // Put div into variable and show it var div = window.document.querySelector("#forcetoregister"); div.style.display = "block"; // Run in 5 seconds setTimeout(function() { // Hide div div.style.display = "none"; }, 5000); }, 5000); }, false); //--> </script> <vb:if condition="is_member_of($bbuserinfo, 1)"><a href="/register.php"><div class="forcetoregister"></div></a></vb:if> Thanks, |
#314
|
||||
|
||||
I'll try it on my dev site, when I get home.
|
#315
|
||||
|
||||
You had a chance to test it?
Thanks, |
#316
|
||||
|
||||
No not yet, been busy with support after the release of 4.2.2
|
#317
|
||||
|
||||
O i see... i am still on 4.2.1, not sure if i will update to the new 4.2.2
|
#318
|
|||
|
|||
Thanks for this mod dszuecs. It's working on both IE and Mozilla fine.
www.telugudosti.com |
#319
|
|||
|
|||
Thank you
|
#320
|
||||
|
||||
How would I get this to align to the left?
|
#321
|
|||
|
|||
Change the CSS like this
div.forcetoregister { background:url(rotate.php); background-repeat: no-repeat; width:300px; height:200px; position:fixed; left:1px; bottom:0px; z-index:1; } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|