PDA

View Full Version : Forum Home Enhancements - Redirect Unregistered Users to Register page in X seconds {more members proven!}


DanTHEGREAT
01 Feb 2009, 19:08
Redirect Unregistered Users to Register page in X seconds
v.2.00

What does this template mod do?
Basically, this will increase registration rates by letting your guests view the forum posts, threads, etc for X amount of seconds until they get redirected to the registration page. I use this on my forum is works great! It has increased the registrations by a long shot. The key to this is that most users who join vBulletin forums cannot find the register link sometimes and often are confused. With this, they immediately get sent there and register!

How do I install this modification?
Installing is the simple part. Here we go:

simple steps into installing!

Go to admin cp>style manager>all style options>place in your header.......
<if condition="$bbuserinfo['usergroupid'] == 1" AND "THIS_SCRIPT != 'register'">
<meta HTTP-EQUIV="REFRESH" content="X; url=http://www.yourforum.com/register.php">
</if>

Replace X with how many seconds you want the unregistered to view your board.
Replace "yourforum" with your site name.

Press Save.

Next, go into your FTPs and replace your register.php with the one below.

You are all finished :D.

I will not be giving support to people who do not mark as installed and I do not accept help pms.

Thanks!


History:

March 1st - Initial Release
Introduction to experiment

April 19th - Register.php Addition
- Fixed Refreshing While in Registration
Thanks AllOutVB

sebil
01 Feb 2009, 21:04
I liked the concept..
But there is a problem

I m loged with my username and password but after 10 seconds itz going to the register page
and showing this message

vBulletin Message
Our records show that you have already registered under the name of MalluDreams. If you have lost your password, click here. If you would like to modify your profile, click here.

It would be so great if it only happenes to guests

F0xy
01 Feb 2009, 21:58
I liked the concept..
But there is a problem

I m loged with my username and password but after 10 seconds itz going to the register page
and showing this message



It would be so great if it only happenes to guests

this will work:

<if condition="$show['guest']">
<meta HTTP-EQUIV="REFRESH" content="X; url=http://www.yourforum.com/register.php">
</if>





surely this would effect googlebots on your site? and you said it was proven but I don't see any proof?

Phaedrus
01 Feb 2009, 23:29
It's because the script uses the Userid of 1 rather than the Usergroup of 1...

Change the script to:


<if condition="$bbuserinfo['usergroupid'] == 1">
<meta HTTP-EQUIV="REFRESH" content="X; url=http://www.yourforumurl.com/register.php">
</if>

Phaedrus
01 Feb 2009, 23:54
this will work:

<if condition="$show['guest']">
<meta HTTP-EQUIV="REFRESH" content="X; url=http://www.yourforum.com/register.php">
</if>





surely this would effect googlebots on your site? and you said it was proven but I don't see any proof?

Yes, this would work also.

Phaedrus
02 Feb 2009, 00:17
I liked the concept..
But there is a problem

I m loged with my username and password but after 10 seconds itz going to the register page
and showing this message



It would be so great if it only happenes to guests
Another suggestion. Give your users enough time to log in before it is redirected. Some hunt-and-peckers are going to take longer than 10 seconds.

Trip
02 Feb 2009, 00:35
Looks like a great idea. I'm also curious if this will affect how your forum is "spidered". Don't quite follow the relationship between Userid of 1 rather than the Usergroup of 1.

TheInsaneManiac
02 Feb 2009, 03:02
Looks like a great idea. I'm also curious if this will affect how your forum is "spidered". Don't quite follow the relationship between Userid of 1 rather than the Usergroup of 1.
Google doesn't follow meta tags.

tafreeh
02 Feb 2009, 06:50
does is show a warning or message like " you are being redirect to register page..."

Stubbed
02 Feb 2009, 17:53
No.

Pretty poorly coded IMHO, if it wasn't for the input of the other people in this thread it wouldn't even work.

This will just annoy guest users more than anything.

DanTHEGREAT
02 Feb 2009, 19:26
It's because the script uses the Userid of 1 rather than the Usergroup of 1...

Change the script to:


<if condition="$bbuserinfo['usergroupid'] == 1">
<meta HTTP-EQUIV="REFRESH" content="X; url=http://www.yourforumurl.com/register.php">
</if>


Thanks wrote my code wrong.
No.

Pretty poorly coded IMHO, if it wasn't for the input of the other people in this thread it wouldn't even work.

This will just annoy guest users more than anything.

I respect your opinion.

guys, if you give your guests enough time, you can implement this real easy. I made it wait every five minutes. It works great.

I will update a newer version soon with better coding.

TheInsaneManiac
02 Feb 2009, 19:33
Thanks wrote my code wrong.


I respect your opinion.

guys, if you give your guests enough time, you can implement this real easy. I made it wait every five minutes. It works great.

I will update a newer version soon with better coding.

The problem with that is who remains on a page for five minutes? The counter will refresh after the page changes.

dreads
02 Feb 2009, 19:57
Google does follow meta tags -_-
they dont follow javascript lol

I am going to release my own hold up

thea1masta
03 Feb 2009, 20:58
thank you. i was able to install this very quickly with no problems. Very good idea.

medusa1
08 Feb 2009, 16:46
a other good solution without automatic redirect is disable the search for guests and add the follow code to your header where your navbar is located

<if condition="$bbuserinfo['usergroupid'] == 1">


<td id="navbar_search" width="50" height="55"><a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/nav_search.gif" width="50" height="55" border="0" alt=""/></a>

</if>

now they can see the searchbutton but he open the registerpage early or later they will register to be able use the searchfunktion

ckusmez
08 Feb 2009, 21:41
Affects Google Bots ?

Phaedrus
08 Feb 2009, 23:38
One thing to keep in mind. If you don't allow enough time, they will be unable to register as they will be redirected back to the start of the register page every X seconds (whatever you select).

luan7749
10 Feb 2009, 02:47
How about SpiderBot ( google, yahoo ) ? Will They redirect ? I don't want so !

ForumsMods
10 Feb 2009, 02:54
Yes, they will be redirected.

luan7749
11 Feb 2009, 19:49
Yes, they will be redirected.
This's bad :eek:

itsheinz
18 Feb 2009, 08:59
its working with me ..nice one

Tommy8x
18 Feb 2009, 09:52
No need for me

MarkFoster
10 Mar 2009, 00:13
Hmm... Some of my guests take lots of time on the register page, I don't want them to keep getting redirected.

alloutvb
26 Mar 2009, 20:19
For everyone thats having the issue with it refreshing on the register.php page this is a simple fix that will allow your members to register without it booting them off, please add the following into your register.php file

//Added by AllOutVB so that we can redirect to register page without redirecting the register page
if(strpos($_SERVER["REQUEST_URI"], 'register.php') !== false){
$is_register_page = 1;
}

uprentiss
09 Apr 2009, 04:55
where is the register php at

i think this idea is genius

but it keeps refreshin on register page

so could u explain exactly what i need to do to make this work proper please?

uprentiss
09 Apr 2009, 05:07
and a guest toldf me even after he registered it kept refrshing n bring him to the page

uprentiss
09 Apr 2009, 15:36
someone pleassee help

uprentiss
12 Apr 2009, 21:54
or not '''

lmmfao

solidstate
13 Apr 2009, 13:41
nice concept man.

jgruberman
13 Apr 2009, 14:46
Hey people.... before bashing on this guy for releasing this... keep something in mind:

This is BASIC HTML CODE! All he did was put it all together with the correct vbcode in it. This isn't a "crappy mod" that he built... it's just a simple solution that automatically redirects someone to a different page similar to when you go to a webpage and it says "We are closed, you are being redirected to our new site" or something like that.

Don't bash on the guy for just throwing some HTML in that might help out others.

TheLastSuperman
13 Apr 2009, 15:30
Hey people.... before bashing on this guy for releasing this... keep something in mind:

This is BASIC HTML CODE! All he did was put it all together with the correct vbcode in it. This isn't a "crappy mod" that he built... it's just a simple solution that automatically redirects someone to a different page similar to when you go to a webpage and it says "We are closed, you are being redirected to our new site" or something like that.

Don't bash on the guy for just throwing some HTML in that might help out others.

BINGO :D

DanTHEGREAT
19 Apr 2009, 20:00
Updated to version 1.30!

uprentiss
20 Apr 2009, 04:58
well i think it is genius

uprentiss
20 Apr 2009, 05:03
but dan, it is still refreshing when there tryin to register in mid registration it refreshes n takes it back to the front of registration

nomoreturn
20 Apr 2009, 05:33
installed on 3.8.2 and works great thanks

DanTHEGREAT
20 Apr 2009, 23:23
but dan, it is still refreshing when there tryin to register in mid registration it refreshes n takes it back to the front of registration


What version of vbulletin are you using?

uprentiss
29 Apr 2009, 04:05
3.8.1

as i was sayin dont let there complaining stop you

i think this is a great add-on n very much appreciate it

saifullah7
30 Apr 2009, 04:34
Hi,

I have set up this script and like it. I had to modify to tell it that it was not yourdomain.com/register.php but yourdomain.com/forums/register.php and then it started working fine.

However, after my users get to the registration page (the one where they have to put their username, password, email, etc.), its still refreshing there. Is there any way i can tell it to not do that (besides just giving the user more time to register). If i just give them more time, it defeats the purpose of the script.

uprentiss
04 May 2009, 21:02
Hi,

I have set up this script and like it. I had to modify to tell it that it was not yourdomain.com/register.php but yourdomain.com/forums/register.php and then it started working fine.

However, after my users get to the registration page (the one where they have to put their username, password, email, etc.), its still refreshing there. Is there any way i can tell it to not do that (besides just giving the user more time to register). If i just give them more time, it defeats the purpose of the script.


thats my problem

kent_lkc
18 Jun 2009, 23:51
not working in 3.8.3, ie 8.

mmllc
30 Jun 2010, 01:51
yea oddly, it just refreshes my page, whatever page the guest is on. I've used this code elsewhere and its right, it just wont work. strange...

BirdOPrey5
03 Jul 2010, 17:10
Although I don't plan on using this script because I'm still unsure how it would affect all indexing bots, besides google- though that is obviously the most important- this change should stop it from refreshing when people go to register...


<if condition="$bbuserinfo['usergroupid'] == 1" AND "THIS_SCRIPT != 'register'">
<meta HTTP-EQUIV="REFRESH" content="X; url=http://www.yourforum.com/register.php">
</if>


That will make sure it doesn't refresh while viewing register.php.