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 |
#252
|
|||
|
|||
excellent add on brotha'
|
#253
|
||||
|
||||
Fix this string <a href="/register.php">to point to the root of where your register.php file is located. You can also try to remove the / in front of register.php first and see if that fixes it. Once you get it to working you will need to make the correction in all skins if you're using more than the vb skin.
|
#254
|
|||
|
|||
Quote:
The script is working as expected now. Please check your blog and give me feedback if there are any errors. Cheers |
Благодарность от: | ||
ringnews24 |
#255
|
||||
|
||||
Thanks dszuecs, no current problems with the blog.
Thanks a lot for fixing this for me. |
#256
|
|||
|
|||
|
#257
|
|||
|
|||
Hi there,
I've been looking for something like this, but is there a way to add an 'x' to close the image? Thanks, Spadow |
#258
|
||||
|
||||
Dunno why you would want to close image, the mod was designed to stare your guest in the face with a constant reminder so they will join.
|
#259
|
|||
|
|||
That is correct, but this modification can be used in forum events as well, which I'm sure of that my registered members don't want to see the same image every single time they visit a certain page. Because it might be annoying for them.
|
#260
|
|||
|
|||
It wouldn't be a problem at all to add a close button to the image with jQuery. The problem is, that the image will reappear on every page reload.
|
#261
|
|||
|
|||
OK, I have never claimed to be a "programmer". I have installed VB myself and it works. I am REALLY trying to get this mod in and am having NO luck.
I have done the following... 1. placed my register.png file in the images/misc/ folder 2. placed this code in (what was my empty) additional.css file: div.forcetoregister { background:url(images/misc/register.png); background-repeat: no-repeat; width:300px; height:200px; padding:0 5px 3px; position:fixed; right:1px; bottom:0px; z-index:1; } 3. Included the code in bold to my header file. This is not all of the header file, but just the top part... <vb:if condition="THIS_SCRIPT != 'register'"> <vb:if condition="$show['guest']"><a href="/register.php"><div class="forcetoregister"></div></a></vb:if> </vb:if> <div class="above_body"> <!-- closing tag is in template navbar --> <div id="header" class="floatcontainer doc_header"> <vb:if condition="$stylevar['titleimage']"><div><a name="top" href="{vb:link forumhome}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div></vb:if> <div id="toplinks" class="toplinks"> <vb:if condition="$show['member']"> <ul class="isuser">... . . . . Am I missing something? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|