Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
New way to force guests to register Details »
New way to force guests to register
Mod Version: 2.00, by dszuecs (Designer) dszuecs is offline
Developer Last Online: Mar 2018 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (63 votes - 4.83 average) Installs: 391
Released: 18 Oct 2011 Last Update: 05 Jan 2012 Downloads: 742
Not Supported Template Edits Additional Files  

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:

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. Open your "header" template and add the following line on top:

To show it on EVERY PAGE add this:
<vb:if condition="$show['guest']"><a href="/register.php"><div class="forcetoregister"></div></a></vb:if>
To show it only on FIRST PAGE (forum home) add this (thx @ Whity):
<vb:if condition="THIS_SCRIPT == 'index'">
<vb:if condition="$show['guest']"><a href="/register.php"><div class="forcetoregister"></div></a></vb:if>
</vb:if>
To show it on every page EXCEP THE REGISTER PAGE, add this code:
<vb:if condition="THIS_SCRIPT != 'register'">
<vb:if condition="$show['guest']"><a href="/register.php"><div class="forcetoregister"></div></a></vb:if>
</vb:if>
If you want the image to show up only for SPECIFIC USERGROUP(S), for example User who need to verify their e-mail adress - use this code:
<vb:if condition="is_member_of($bbuserinfo, 3)"><a href="/register.php"><div class="forcetoregister"></div></a></vb:if>
Make sure to check your Usergroup ID in the ADMINCP as these may differ!



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:

div.forcetoregister {
background:url(rotate.php);
background-repeat: no-repeat;
width:300px;
height:200px;
position:fixed;
right:1px;
bottom:0px;
z-index:1;
}
2. Download the file "rotate.php" wich is attached below

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

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	register.png
Views:	2293
Size:	72.5 KB
ID:	133931   Click image for larger version

Name:	registerv2.png
Views:	1558
Size:	60.9 KB
ID:	133935   Click image for larger version

Name:	registerV3.png
Views:	2055
Size:	40.7 KB
ID:	133936   Click image for larger version

Name:	registerV4.png
Views:	1693
Size:	67.6 KB
ID:	133937  

Click image for larger version

Name:	registerV5.png
Views:	1351
Size:	64.5 KB
ID:	133938  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #181  
Old 16 Apr 2012, 21:02
Da-Vinci Da-Vinci is offline
 
Join Date: Mar 2010
Working great for me on 4.1.11 PL1

Attached Images
File Type: png register screen.png (472.4 KB, 398 views)
Reply With Quote
  #182  
Old 19 Apr 2012, 20:14
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Real name: Sara
Freebie images for people who like us on Facebook: http://cafeotaku.net/forum
More will come if I'd feel some lovu lovu~






I noticed that it cuts of the images a bit and that the perfect height would be 200px.
__________________

Last edited by Emeralda; 19 Apr 2012 at 20:27.
Reply With Quote
  #183  
Old 19 Apr 2012, 23:01
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
nice mod only one thing does not force any quest to register I looked over your forums with no problems you need to put it in a place that is there way a place that will make them click it
Reply With Quote
  #184  
Old 20 Apr 2012, 07:41
David_R David_R is offline
 
Join Date: Mar 2005
Real name: David RutherFord
Hey you can add some car images in or someother pics for member to register bcoz my website is related to automobile niche So i require the pics from the same niche.
Reply With Quote
  #185  
Old 20 Apr 2012, 12:30
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Real name: Sara
Originally Posted by David_R View Post
Hey you can add some car images in or someother pics for member to register bcoz my website is related to automobile niche So i require the pics from the same niche.
For the above mentioned "price," I could make you couple~
You'd also want to provide me with what text you'd like to see or some preferences for cars, because yeah, I don't know much about those >.>
__________________
Reply With Quote
  #186  
Old 20 Apr 2012, 15:10
UKCE_Hitman UKCE_Hitman is offline
 
Join Date: Jan 2008
also works great on 4.1.12 great job....
Reply With Quote
  #187  
Old 25 Apr 2012, 19:57
dszuecs's Avatar
dszuecs dszuecs is offline
 
Join Date: Oct 2011
Originally Posted by ForceHSS View Post
nice mod only one thing does not force any quest to register I looked over your forums with no problems you need to put it in a place that is there way a place that will make them click it
It's not my goal to enforce senseless registrations - if someone is interested in the topics that your forum provides, there will be a registration
Reply With Quote
  #188  
Old 24 May 2012, 23:56
marccap's Avatar
marccap marccap is offline
 
Join Date: Feb 2012
works nicely on my site and amended it to sonic the hedgehog
Reply With Quote
  #189  
Old 07 Jun 2012, 11:28
marccap's Avatar
marccap marccap is offline
 
Join Date: Feb 2012
Any idea on how to have two different images at once on the page having one on the right and one of the left? I copied the code twice amending one to "left" but still only shows one. Any ideas?
Reply With Quote
  #190  
Old 10 Jun 2012, 03:36
Disco_Stu's Avatar
Disco_Stu Disco_Stu is offline
 
Join Date: Apr 2012
Very cool. Marked installed.

Thanks
Reply With Quote
  #191  
Old 16 Jun 2012, 23:36
shayanr shayanr is offline
 
Join Date: May 2009
I've done this like 10 times step by step and still can't get it to work :/
Reply With Quote
  #192  
Old 17 Jun 2012, 00:18
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
I don't know what to say mate, I'm using it on a 4.2.0 site and it works fine.
__________________
Alibass
Reply With Quote
  #193  
Old 22 Jun 2012, 00:17
brianvb brianvb is offline
 
Join Date: Oct 2010
Just Awesome! Very cool...thanks!
Reply With Quote
  #194  
Old 22 Jun 2012, 06:36
T.P.'s Avatar
T.P. T.P. is offline
 
Join Date: May 2012
Does not work by me !!!
Reply With Quote
  #195  
Old 23 Jun 2012, 11:48
rhody401's Avatar
rhody401 rhody401 is offline
 
Join Date: Feb 2012
It works fine but covers up the CONTACT US and other buttons at the bottom, which is bad if someone needs help registering.

I had to remove it. But liked the idea and incorporated the same type of thing with RBS (rotating banner system), just for unregistered users to see the same type of thing in an area that doesnt cover anything.

Thanks for inspiring the idea
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:49.

Layout Options | Width: Wide Color: