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: 390
Released: 18 Oct 2011 Last Update: 05 Jan 2012 Downloads: 738
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:	2274
Size:	72.5 KB
ID:	133931   Click image for larger version

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

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

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

Click image for larger version

Name:	registerV5.png
Views:	1340
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.
  #16  
Old 19 Oct 2011, 21:33
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Apr 2011
Real name: Chris
Originally Posted by stator View Post
Could you add more images to suit various niches ?
+1 for more sorts of images ..looks good ..
__________________
http://sandstormradio.org
Reply With Quote
  #17  
Old 19 Oct 2011, 21:51
sisterhood's Avatar
sisterhood sisterhood is offline
 
Join Date: Nov 2008
extra Nice THX!
__________________
INTERPOL

-The Community-
Reply With Quote
  #18  
Old 20 Oct 2011, 10:23
stator's Avatar
stator stator is offline
 
Join Date: Jan 2009
Real name: Mohammad
Originally Posted by dszuecs View Post
Hi Stator

Could you please explain what you mean? like different images so you could add them also on the top left and so on?
No, I mean images according to forum i.e. ebooks to be a girl carrying a book,
sports to be a girl in sport wear and so on ...
Reply With Quote
  #19  
Old 20 Oct 2011, 12:04
Maledetto Maledetto is offline
 
Join Date: Jan 2010
Excellent. Thank you.
Reply With Quote
  #20  
Old 20 Oct 2011, 12:08
ultimategeek ultimategeek is offline
 
Join Date: Sep 2011
awesome many thanks
you can check mine out here: www.ultimatemovieforum.com
Reply With Quote
  #21  
Old 20 Oct 2011, 16:51
Davey-UK's Avatar
Davey-UK Davey-UK is offline
 
Join Date: Feb 2003
Location: Sheffield-UK
Real name: Dave
Originally Posted by ultimategeek View Post
awesome many thanks
you can check mine out here: www.ultimatemovieforum.com
Its a mile out, i cant even see a message only a transformer.
Here is mine
__________________
==========================================
If it aint broke -------------------- Don't fix it!!
==========================================
Reply With Quote
  #22  
Old 20 Oct 2011, 17:24
ultimategeek ultimategeek is offline
 
Join Date: Sep 2011
Originally Posted by Davey-UK View Post
Its a mile out, i cant even see a message only a transformer.
Here is mine
Thanks for the heads up Dave can i ask what size screen your using?
Reply With Quote
  #23  
Old 20 Oct 2011, 17:32
ultimategeek ultimategeek is offline
 
Join Date: Sep 2011
I have sorted it, i hope
Reply With Quote
  #24  
Old 20 Oct 2011, 19:23
Davey-UK's Avatar
Davey-UK Davey-UK is offline
 
Join Date: Feb 2003
Location: Sheffield-UK
Real name: Dave
1366x768 mate.
Its fine now
__________________
==========================================
If it aint broke -------------------- Don't fix it!!
==========================================
Reply With Quote
  #25  
Old 20 Oct 2011, 19:54
stl7997 stl7997 is offline
 
Join Date: Nov 2009
Simple but oh so cool! Thanks!
Reply With Quote
  #26  
Old 20 Oct 2011, 20:21
ultimategeek ultimategeek is offline
 
Join Date: Sep 2011
Originally Posted by Davey-UK View Post
1366x768 mate.
Its fine now
Thanks Dave
Reply With Quote
  #27  
Old 21 Oct 2011, 18:50
dszuecs's Avatar
dszuecs dszuecs is offline
 
Join Date: Oct 2011
I'll add some more examples as soon as i have time.
I thought about giving you the inspiration to create you're own characters, it wasn't planned to upload a whole set..

Regards
Denis

Last edited by dszuecs; 21 Oct 2011 at 22:47.
Reply With Quote
  #28  
Old 21 Oct 2011, 19:24
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Apr 2011
Real name: Chris
Done installed ..Thank you..

take a look here www.groovie-baby.co.uk
__________________
http://sandstormradio.org
Reply With Quote
  #29  
Old 21 Oct 2011, 22:46
dszuecs's Avatar
dszuecs dszuecs is offline
 
Join Date: Oct 2011
Originally Posted by doctorsexy View Post
Done installed ..Thank you..

take a look here www.groovie-baby.co.uk
Nice one!
Reply With Quote
  #30  
Old 22 Oct 2011, 10:09
stator's Avatar
stator stator is offline
 
Join Date: Jan 2009
Real name: Mohammad
Installed + 5 stars

Last edited by stator; 22 Oct 2011 at 10:34.
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 05:49.

Layout Options | Width: Wide Color: