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: 1.00, by dszuecs (Designer) dszuecs is offline
Developer Last Online: Nov 2015 I like it Show Printable Version Email this Page

vB Version: 5.0.1 Rating: (2 votes - 5.00 average) Installs: 16
Released: 08 May 2013 Last Update: Never Downloads: 68
Not Supported Template Edits Additional Files  

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:

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 "footer" template and add the following line on top:

To show it on every page add this on bottom right before the </body> tag in footer:
<vb:if condition="$bbuserinfo['userid'] == 0"><a href="/register"><div class="forcetoregister"></div></a></vb:if>
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 "css_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!

Download Now

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

Screenshots

Click image for larger version

Name:	register.png
Views:	237
Size:	72.5 KB
ID:	144883   Click image for larger version

Name:	registerv2.png
Views:	134
Size:	60.9 KB
ID:	144884   Click image for larger version

Name:	registerV3.png
Views:	160
Size:	40.7 KB
ID:	144885   Click image for larger version

Name:	registerV4.png
Views:	149
Size:	67.6 KB
ID:	144886  

Click image for larger version

Name:	registerV5.png
Views:	104
Size:	64.5 KB
ID:	144887  

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.
Similar Mod
Mod Developer Type Replies Last Post
Mini Mods New way to force guests to register dszuecs vBulletin 4.x Template Modifications 355 14 Jan 2017 19:22
Mini Mods New way to force guests to register dszuecs vBulletin 3.8 Template Modifications 20 11 Dec 2012 15:57

Comments
  #2  
Old 08 May 2013, 14:37
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
You spelled wich like this should be which
Reply With Quote
  #3  
Old 31 May 2013, 23:54
newbie2007 newbie2007 is offline
 
Join Date: Jun 2007
Great trick!

I cant find the css_additional.css file, would I need to create one?
Reply With Quote
  #4  
Old 05 Jun 2013, 14:39
dszuecs's Avatar
dszuecs dszuecs is offline
 
Join Date: Oct 2011
Originally Posted by newbie2007 View Post
Great trick!

I cant find the css_additional.css file, would I need to create one?
Hi there

Please perform a template search for 'additional.css' via admincp, you should be able to see it there.

Cheers
Dennis
Reply With Quote
  #5  
Old 06 Jun 2013, 18:35
newbie2007 newbie2007 is offline
 
Join Date: Jun 2007
Originally Posted by dszuecs View Post
Hi there

Please perform a template search for 'additional.css' via admincp, you should be able to see it there.

Cheers
Dennis
Thank You very much!
Reply With Quote
  #6  
Old 25 Jun 2013, 01:01
newbie2007 newbie2007 is offline
 
Join Date: Jun 2007
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.

Last edited by newbie2007; 25 Jun 2013 at 01:11.
Reply With Quote
  #7  
Old 25 Jun 2013, 13:43
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Location: Italy
Real name: Andrea Scanu
Change this

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

to this

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

I haven't tested this on vB5 but it should works
Reply With Quote
  #8  
Old 25 Jun 2013, 22:58
newbie2007 newbie2007 is offline
 
Join Date: Jun 2007
Thank you
Reply With Quote
  #9  
Old 04 Aug 2013, 00:41
kiba snowpaw kiba snowpaw is offline
 
Join Date: Jul 2013
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


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

to

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

and that help now it work

Last edited by kiba snowpaw; 12 Aug 2013 at 14:49.
Reply With Quote
  #10  
Old 10 Oct 2013, 12:11
Jasonspd Jasonspd is offline
 
Join Date: Sep 2013
Originally Posted by Scanu View Post
Change this

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

to this

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

I haven't tested this on vB5 but it should works
I tried this but it doesn't work. Is there another way to not have the mod on the register page?
Reply With Quote
  #11  
Old 10 Oct 2013, 12:12
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Use this.


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

__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #12  
Old 14 Oct 2013, 20:52
Jasonspd Jasonspd is offline
 
Join Date: Sep 2013
Originally Posted by ozzy47 View Post
Use this.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
That's the exact same code
Reply With Quote
  #13  
Old 30 Oct 2013, 01:55
smile2me smile2me is offline
 
Join Date: Jun 2007
<vb:if condition="$bbuserinfo['userid'] == 0 && THIS_SCRIPT != 'register'"><a href="/register"><div class="forcetoregister"></div></a></vb:if>
it's not working at all. anybody else can help please ?!! is there any possible way not to show this picture in the registration page ?!!

Last edited by smile2me; 30 Oct 2013 at 02:01.
Reply With Quote
  #14  
Old 31 Oct 2013, 07:32
bhalkum bhalkum is offline
 
Join Date: May 2013
Works fine on 5.0.5, except the image covers the submit button on the registration page.
Reply With Quote
  #15  
Old 18 Dec 2013, 00:15
Timotimoti Timotimoti is offline
 
Join Date: Dec 2013
Thank you, works fine to me.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 2 (0 members and 2 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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 11:09.

Layout Options | Width: Wide Color: