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: Mar 2018 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (5 votes - 4.80 average) Installs: 34
Released: 23 Dec 2011 Last Update: 07 Jan 2012 Downloads: 86
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 4.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 AP and open "Styles & Templates" and select "Style Manager". Now select "Main CSS" on te right side. Scroll down to the bottom where you will find "Additional CSS Definitions" 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:
<if condition="$show['guest']"><a href="/register.php"><div class="forcetoregister"></div></a></if>
To show it only on FIRST PAGE (forum home) add this (thx @ Whity):
<if condition="THIS_SCRIPT == 'index'">
<if condition="$show['guest']"><a href="/register.php"><div class="forcetoregister"></div></a></if>
</if>
To show it on every page EXCEP THE REGISTER PAGE, add this code:
<if condition="THIS_SCRIPT != 'register'">
<if condition="$show['guest']"><a href="/register.php"><div class="forcetoregister"></div></a></if>
</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 "Additional CSS Definitions" 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:	233
Size:	72.5 KB
ID:	135235   Click image for larger version

Name:	registerv2.png
Views:	187
Size:	60.9 KB
ID:	135236   Click image for larger version

Name:	registerV3.png
Views:	200
Size:	40.7 KB
ID:	135237   Click image for larger version

Name:	registerV4.png
Views:	181
Size:	67.6 KB
ID:	135238  

Click image for larger version

Name:	registerV5.png
Views:	148
Size:	64.5 KB
ID:	135239  

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 356 04 Nov 2017 01:21
Miscellaneous Hacks Force Intro On Register Aniron vBulletin 3.7 Add-ons 158 08 Aug 2013 04:26

Comments
  #2  
Old 23 Dec 2011, 20:51
duketxboy duketxboy is offline
 
Join Date: Apr 2011
Thank's for writing it for this version works now thanks again
Reply With Quote
  #3  
Old 24 Dec 2011, 00:11
dszuecs's Avatar
dszuecs dszuecs is offline
 
Join Date: Oct 2011
Originally Posted by duketxboy View Post
Thank's for writing it for this version works now thanks again
you're welcome.
Reply With Quote
  #4  
Old 24 Dec 2011, 03:07
v123shine v123shine is offline
 
Join Date: Sep 2008
Nice mod
__________________
filmbor.com
bikinwebsite.com
Reply With Quote
  #5  
Old 25 Dec 2011, 17:18
cykelmyggen's Avatar
cykelmyggen cykelmyggen is offline
 
Join Date: Oct 2006
Looks real nice, but how would this mod affect spiders accessing my site?
__________________
boggnasker.dk
Reply With Quote
  #6  
Old 25 Dec 2011, 18:45
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Made a humorous and theme appropriate image for it and installed, then clicked "installed." Moved it to the left instead of the right though, since my animation is looking right, I don't want eyes being led off the page. I also changed the div to "promptregister" since I don't like the use of the word "force" and this mod really only prompts, it doesn't force. But that's just a quibble.

This is creative and cute.

DEMO: http://usmessageboards.com

Last edited by Max Taxable; 25 Dec 2011 at 18:53.
Reply With Quote
  #7  
Old 26 Dec 2011, 16:38
dszuecs's Avatar
dszuecs dszuecs is offline
 
Join Date: Oct 2011
Originally Posted by cykelmyggen View Post
Looks real nice, but how would this mod affect spiders accessing my site?
Since you don't change any forum permissions with this mod, Spiders / Bots aren't affected at all.
Reply With Quote
  #8  
Old 26 Dec 2011, 19:13
duketxboy duketxboy is offline
 
Join Date: Apr 2011
I want a beavis & butthead 1 lol
Reply With Quote
  #9  
Old 26 Dec 2011, 21:06
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by duketxboy View Post
I want a beavis & butthead 1 lol


he-heh heh-heh heh-heh
Attached Images
File Type: png bbregister.png (10.4 KB, 39 views)

Last edited by Max Taxable; 26 Dec 2011 at 21:25.
Reply With Quote
  #10  
Old 27 Dec 2011, 00:35
duketxboy duketxboy is offline
 
Join Date: Apr 2011
lmfao thanks
Reply With Quote
  #11  
Old 27 Dec 2011, 02:02
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by duketxboy View Post
lmfao thanks
Better version:
Attached Images
File Type: png register.png (17.9 KB, 48 views)
Reply With Quote
  #12  
Old 27 Dec 2011, 16:02
FreeResellers FreeResellers is offline
 
Join Date: Jul 2009
Real name: Sander
Very cool mod, thanks mate!
__________________
Posting for a free VPS on Post2Host.
Reply With Quote
  #13  
Old 29 Dec 2011, 05:58
Kiran-E-Sehar Kiran-E-Sehar is offline
 
Join Date: Jan 2011
i have found Additional CSS Definitions, but there is not any button to submit, save, update or OK.
how to save it
i am using 4.1.7
Reply With Quote
  #14  
Old 29 Dec 2011, 12:58
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by Kiran-E-Sehar View Post
i have found Additional CSS Definitions, but there is not any button to submit, save, update or OK.
how to save it
i am using 4.1.7
At the very bottom of the page.
Reply With Quote
  #15  
Old 06 Jan 2012, 22:02
DoubleU DoubleU is offline
 
Join Date: Jan 2009
this is pretty awesome, thank you
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 07:22.

Layout Options | Width: Wide Color: