![]() |
New way to force guests to register
1 Attachment(s)
If you want me to do the setup for you and create a unique character for your site please check my fiverr.com Gig and spend those 5 bucks :)
http://fiverr.com/dszuecs/create-a-c...d-implement-it ABOUT THIS MOD My idea was to place a fix characater on the bottom right, which 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 4.X.X CHECK THIS THREAD IF YOU RUN VBULLETIN 3.X.X CHECK THIS THREAD 1. Upload your desired image to "/images/misc/register.png" (if you want my samples, feel free to use them, they are all attached below) 2. Open your "css_additional.css" and add the following lines: Quote:
To show it on every page add this on bottom right before the </body> tag in footer: Quote:
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 "css_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! |
You spelled wich like this should be which
|
Great trick!
I cant find the css_additional.css file, would I need to create one? |
Quote:
Please perform a template search for 'additional.css' via admincp, you should be able to see it there. Cheers Dennis |
Quote:
|
Hello again!
Is there any way to remove the image on the registration page? The image covers the "Complete Signup" button, when viewed on a mobile device, and stops users from registering! EDIT: Never mind, I changed the size of the image. But still something to look at. |
Change this
Code:
<vb:if condition="$bbuserinfo['userid'] == 0"><a href="/register"><div class="forcetoregister"></div></a></vb:if> Code:
<vb:if condition="$bbuserinfo['userid'] == 0 && THIS_SCRIPT != 'register'"><a href="/register"><div class="forcetoregister"></div></a></vb:if> |
Thank you
|
WOW this is so nice i only have one problem i Use vBulletin 4.2.1 and i get a error every time i click on the photo ??
Edit: what i can see the problem is my forum is in a Folder call forum so the link should be /forum/register but every time i try to cheance it nothin happen it still try to open Homepage.dk/register but it should be Homepage.dk/forum/register know anyhow to chence that i was looking around in FTP and found out it was call register.php so i chence The PHP Code:
PHP Code:
|
Quote:
|
All times are GMT. The time now is 02:10 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:
|