vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - Redirect Unregistered Users to Register page in X seconds {more members proven!} (https://vborg.vbsupport.ru/showthread.php?t=203853)

DanTHEGREAT 01-31-2009 10:00 PM

Redirect Unregistered Users to Register page in X seconds {more members proven!}
 
1 Attachment(s)
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.......
Code:

<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 02-01-2009 08:04 PM

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

Quote:

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 02-01-2009 08:58 PM

Quote:

Originally Posted by sebil (Post 1731272)
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:
Code:

<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 02-01-2009 10:29 PM

It's because the script uses the Userid of 1 rather than the Usergroup of 1...

Change the script to:

Code:

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


Phaedrus 02-01-2009 10:54 PM

Quote:

Originally Posted by F0xy (Post 1731325)
this will work:
Code:

<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-01-2009 11:17 PM

Quote:

Originally Posted by sebil (Post 1731272)
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-01-2009 11:35 PM

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-02-2009 02:02 AM

Quote:

Originally Posted by Trip (Post 1731433)
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-02-2009 05:50 AM

does is show a warning or message like " you are being redirect to register page..."

Stubbed 02-02-2009 04:53 PM

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.


All times are GMT. The time now is 02:30 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01521 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete