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

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

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

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

Click image for larger version

Name:	registerV5.png
Views:	1342
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.
  #211  
Old 08 Sep 2012, 01:26
Dr Aj642's Avatar
Dr Aj642 Dr Aj642 is offline
 
Join Date: Apr 2009
This is cool. Got it up and running.

http://abasketballjones.com/forum/forum.php

I'll give the rotate a go at some time. Just gotta find the right images.
Reply With Quote
  #212  
Old 09 Sep 2012, 04:45
cooljeba cooljeba is offline
 
Join Date: Jan 2006
wow.. thank you Installed!
Reply With Quote
  #213  
Old 12 Sep 2012, 11:27
dszuecs's Avatar
dszuecs dszuecs is offline
 
Join Date: Oct 2011
Originally Posted by ehd View Post
Has anyone seen a notable increase in user-registrations with the modification?
I've definitly had some additional registrations after implementing this little mod.
But registrations are still based on good content. nothing else
Reply With Quote
  #214  
Old 12 Sep 2012, 12:48
saqib_jutt's Avatar
saqib_jutt saqib_jutt is offline
 
Join Date: Oct 2006
lol nice pictures btw
__________________
Join Us...! HumPaki
Reply With Quote
  #215  
Old 13 Sep 2012, 09:27
haiduongbk haiduongbk is offline
 
Join Date: Oct 2009
It work with style vbb default

Last edited by haiduongbk; 13 Sep 2012 at 16:00.
Reply With Quote
  #216  
Old 13 Sep 2012, 12:51
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
Add


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

to the additional.css

Copy/Paste code again from above into your additional.css and make sure you upload the register.png pic into your images/misc
__________________
Alibass
Reply With Quote
  #217  
Old 13 Sep 2012, 15:28
haiduongbk haiduongbk is offline
 
Join Date: Oct 2009
It work with Style vbb default. But with my style ít nó work. additional.css of style windows 3.3


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

I don't know why it have few line ???.

my 4rum windowsz.net -> And you can try style vbb default (work) and style Windows 3.3 (not work)

Sr my english
Reply With Quote
  #218  
Old 14 Sep 2012, 11:47
haiduongbk haiduongbk is offline
 
Join Date: Oct 2009
Who can help me ??/
Reply With Quote
  #219  
Old 23 Sep 2012, 18:17
Subieforums Subieforums is offline
 
Join Date: Sep 2012
And this won't show up for members that are logged in correct? Great mod, gonna install now!
Reply With Quote
  #220  
Old 14 Oct 2012, 14:52
thedvs thedvs is offline
 
Join Date: May 2002
fantastic, many thanks, installed.
Reply With Quote
  #221  
Old 19 Oct 2012, 08:55
jaffaman jaffaman is offline
 
Join Date: Nov 2004
Originally Posted by Nochek View Post
Installed, awesome hack! Here's a demo and the pic if anyone wants to use it:

Z-Day

Thanks for sharing
Reply With Quote
  #222  
Old 27 Nov 2012, 19:28
zombiemau5 zombiemau5 is offline
 
Join Date: Mar 2012
Thank you!
Reply With Quote
  #223  
Old 27 Nov 2012, 20:09
Neptun Neptun is offline
 
Join Date: Aug 2003
simple but great idea - thank you very much for this !

maybe there will be some more pics soon
Reply With Quote
  #224  
Old 29 Nov 2012, 18:08
Bob_R Bob_R is offline
 
Join Date: Jun 2009
Does anyone have a music image? My niche is classic rock.

Thanks!!
Reply With Quote
  #225  
Old 29 Nov 2012, 19:31
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Aug 2010
Real name: Jerry
I'm not really sure what you are going for exactly? Can you provide a little more detail on what you want?

I put the psd in there as well. You can change it.
Attached Images
File Type: png rock.png (25.9 KB, 8 views)
Attached Files
File Type: zip rock.zip (57.7 KB, 4 views)
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 14:09.

Layout Options | Width: Wide Color: