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:	2292
Size:	72.5 KB
ID:	133931   Click image for larger version

Name:	registerv2.png
Views:	1557
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:	1692
Size:	67.6 KB
ID:	133937  

Click image for larger version

Name:	registerV5.png
Views:	1350
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.
  #286  
Old 24 Apr 2013, 02:22
JohnnieOO JohnnieOO is offline
 
Join Date: Sep 2007
This mod is awesome! However, on my site it works IE but not Chrome. With Chrome, the image does not rotate? It does rotate in IE.

Thanks,
Johnnie
Reply With Quote
  #287  
Old 24 Apr 2013, 13:41
blackie58 blackie58 is offline
 
Join Date: Mar 2012
Just managed to install this & its ace

Got a big Rossi

www.desmocorse.net
Reply With Quote
  #288  
Old 26 Apr 2013, 00:52
smile2me smile2me is offline
 
Join Date: Jun 2007
I'm running vb 4.2.1 and i have done the instruction as written above and nothing showed up in any webpage in my forum viewed as guest ?!! any help please
Reply With Quote
  #289  
Old 26 Apr 2013, 02:37
JohnnieOO JohnnieOO is offline
 
Join Date: Sep 2007
^ make sure you've added the images to the appropriate images folder for the template you are using, I fell into that one.
Reply With Quote
  #290  
Old 26 Apr 2013, 07:50
secondeye secondeye is offline
 
Join Date: Nov 2012
HEllo,
I want to show this Image to those Visitors who haven't confirmed their Email address..
Is there any way?
Reply With Quote
  #291  
Old 26 Apr 2013, 14:00
astrid1 astrid1 is offline
 
Join Date: Mar 2008
this also works with vb5?
Reply With Quote
  #292  
Old 01 May 2013, 01:21
ggrimes620 ggrimes620 is offline
 
Join Date: Feb 2013
Works great! Thanks, dszuecs!

www.thelocclan.com
Reply With Quote
  #293  
Old 06 May 2013, 08:50
dszuecs's Avatar
dszuecs dszuecs is offline
 
Join Date: Oct 2011
Originally Posted by secondeye View Post
HEllo,
I want to show this Image to those Visitors who haven't confirmed their Email address..
Is there any way?
Hello Secondeye

You can do this by adding 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, maybi you have another ID than '3'
Let me know if it works

Cheers
Reply With Quote
  #294  
Old 09 May 2013, 10:13
kartheekb kartheekb is offline
 
Join Date: May 2010
well done..

but one suggestion , add text ," if registered already .. loggin to board "'
Reply With Quote
  #295  
Old 03 Jun 2013, 12:00
t-j t-j is offline
 
Join Date: May 2013
Installed and loving it

If you are handy with photoshop you can create your own, you just need to change the size to what you want in the additional.css

This is our custom one and can be seen here

Reply With Quote
  #296  
Old 07 Jun 2013, 11:04
NoMatt3r NoMatt3r is offline
 
Join Date: Dec 2012
Using 4.2.1

This mod is fantastic!!! Thanks a lot. Marked, nominated and liked
Reply With Quote
  #297  
Old 12 Jun 2013, 21:19
ravenfaust ravenfaust is offline
 
Join Date: Aug 2009
More icons?

Would someone be kind enough to make generic images??
Reply With Quote
  #298  
Old 14 Jun 2013, 07:54
dszuecs's Avatar
dszuecs dszuecs is offline
 
Join Date: Oct 2011
Originally Posted by ravenfaust View Post
Would someone be kind enough to make generic images??
Could you please explain a bit further? What do you need exactly?
Cheers - Dennis
Reply With Quote
  #299  
Old 19 Jun 2013, 12:31
HerbToken HerbToken is offline
 
Join Date: Jun 2013
Installed, I love it! Thanks
Reply With Quote
  #300  
Old 04 Aug 2013, 16:16
stevieb stevieb is offline
 
Join Date: Apr 2005
Looks good
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:10.

Layout Options | Width: Wide Color: