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: 739
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:	2040
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.
  #271  
Old 26 Feb 2013, 03:52
Inspector G Inspector G is offline
 
Join Date: Dec 2012
I have this installed and it looked pretty good...
But I wanted animated ones...

I also wanted ones that sounded normal...
Not worded like
I am seeing you dont Own an account yet...
Should be more normal Like
I see you have not registered yet...or something along those lines...
Own account or owning an account do not make sense to me...
So...

I found out by experimenting a bit that you can simply add an animated gif and it too works..
so I have some I am having designed added to my site..
With Custom Text that is specific to my site...

The only problem is they are a bit larger in file size and space...
I need to bump them up in the page a bit and move some from the far right over a bit to the left to allow the larger image to display...

How can I do this?

To add an image as a Gif I simply named it as follows... registerV1 then .gif then I numbered as shown here 1 2 3 4 5 and so on I have ten I have had made for this works like a charm...
SO THANKS...

So now as mentioned I need a way to make the larger sizes display properly...
Thanks to all...
I will attach an examples...
I am working on the text as well...lol

I will try to resize I see it now reading of course...
Attached Images
File Type: gif registerV2.gif (398.9 KB, 13 views)
File Type: gif registerV8.gif (632.9 KB, 13 views)

Last edited by Inspector G; 26 Feb 2013 at 04:05.
Reply With Quote
  #272  
Old 26 Feb 2013, 10:45
dszuecs's Avatar
dszuecs dszuecs is offline
 
Join Date: Oct 2011
Originally Posted by Inspector G View Post
I have this installed and it looked pretty good...
But I wanted animated ones...

I also wanted ones that sounded normal...
Not worded like
I am seeing you dont Own an account yet...
Should be more normal Like
I see you have not registered yet...or something along those lines...
Own account or owning an account do not make sense to me...
So...

I found out by experimenting a bit that you can simply add an animated gif and it too works..
so I have some I am having designed added to my site..
With Custom Text that is specific to my site...

The only problem is they are a bit larger in file size and space...
I need to bump them up in the page a bit and move some from the far right over a bit to the left to allow the larger image to display...

How can I do this?

To add an image as a Gif I simply named it as follows... registerV1 then .gif then I numbered as shown here 1 2 3 4 5 and so on I have ten I have had made for this works like a charm...
SO THANKS...

So now as mentioned I need a way to make the larger sizes display properly...
Thanks to all...
I will attach an examples...
I am working on the text as well...lol

I will try to resize I see it now reading of course...
You can set the image size by editing the the attributes:

div.forcetoregister {
background:url(rotate.php);
background-repeat: no-repeat;
width:300px;
height:200px;

position:fixed;
right:1px;
bottom:0px;
z-index:1;
}
Reply With Quote
  #273  
Old 26 Feb 2013, 18:55
Spangle Spangle is offline
 
Join Date: Jun 2011
I've installed this and love it, now my guests see a picture of Sir Alex Ferguson with a think bubble saying he has to remember to join the forum.
Reply With Quote
  #274  
Old 26 Feb 2013, 22:12
Inspector G Inspector G is offline
 
Join Date: Dec 2012
I cant find the additional Css..I know...
I did find it last night and was able to increase the size without goig crazy but now I want to size it better and Can not find the Css again...lol
Help...
Reply With Quote
  #275  
Old 27 Feb 2013, 06:29
dszuecs's Avatar
dszuecs dszuecs is offline
 
Join Date: Oct 2011
Originally Posted by Inspector G View Post
I cant find the additional Css..I know...
I did find it last night and was able to increase the size without goig crazy but now I want to size it better and Can not find the Css again...lol
Help...
In your ADMINCP expand 'Sytles & Templates' on the left navigation bar
- select 'Search in Templates'
- On top, select your Style
- Search for 'additional.css'
Reply With Quote
  #276  
Old 27 Feb 2013, 16:11
Inspector G Inspector G is offline
 
Join Date: Dec 2012
Thanks I know dumb questions I am Noob to the mod side of Vb, used to think it was great by iself now I realize I was missing a whole world or addons and customizations...
So to all thanks again for understanding.
Thanks for the help also...
Reply With Quote
  #277  
Old 08 Mar 2013, 15:03
tinoco2 tinoco2 is offline
 
Join Date: Jul 2011
Thanks very much, this mode is awesome

http://www.elrincondelcomprador.com
Reply With Quote
  #278  
Old 13 Mar 2013, 16:09
string13 string13 is offline
 
Join Date: Feb 2013
Just a little note that might save someone time. My forum is installed in a sub-directory /players, because I have a WordPress homepage installed in the root-directory. I installed the mod and it did everything that it should except when the image is clicked it sends new registers to the WordPress homepage instead of the form registration form. I scratched my head for about 20 minutes and then I realized that I needed to make a small change in the header code.

If anyone out there has the same issue then you need to add your sub-directory to you header code.

<vb:if condition="$show['guest']"><a href="/subroot/register.php"><div class="forcetoregister"></div></a></vb:if>
Reply With Quote
  #279  
Old 20 Mar 2013, 02:32
White0utDavid White0utDavid is offline
 
Join Date: Mar 2013
May I ask, where is addition.css located?
Reply With Quote
  #280  
Old 20 Mar 2013, 17:26
dszuecs's Avatar
dszuecs dszuecs is offline
 
Join Date: Oct 2011
Originally Posted by White0utDavid View Post
May I ask, where is addition.css located?
Go to your ADMIN-CP, open Styles & Templates, and than search for additional.css
Reply With Quote
  #281  
Old 25 Mar 2013, 07:03
Gary Granaas Gary Granaas is offline
 
Join Date: Sep 2011
very nice and it worked perfect thank you developer
Reply With Quote
  #282  
Old 01 Apr 2013, 02:21
twistah twistah is offline
 
Join Date: Jul 2012
Thanks - now up at www.dykkesiden.com as well
Reply With Quote
  #283  
Old 10 Apr 2013, 15:53
dszuecs's Avatar
dszuecs dszuecs is offline
 
Join Date: Oct 2011
Originally Posted by twistah View Post
Thanks - now up at www.dykkesiden.com as well
Well done, thanks for sharing
Reply With Quote
  #284  
Old 10 Apr 2013, 21:27
manute manute is offline
 
Join Date: Mar 2013
hello when I install this mod does not allow people to register on the web.
thanks
Reply With Quote
  #285  
Old 18 Apr 2013, 21:02
dszuecs's Avatar
dszuecs dszuecs is offline
 
Join Date: Oct 2011
Originally Posted by manute View Post
hello when I install this mod does not allow people to register on the web.
thanks
Hi manute

Could you please explain a bit further?
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 04:58.

Layout Options | Width: Wide Color: