Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Big Issue [Required Registration]
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

aspwiz
Junior Member

250 Posts

Posted - 31 October 2003 :  07:39:39  Show Profile  Visit aspwiz's Homepage
Hi,

I want to turn on the 'require registration' mode which would prevent people from seeing the forum unless they were members.

The only thing with this however is that it would also prevent search engines from accessing the valuable content. We've now got some very good listings under some good key phrases as a direct result of some lengthy threads.

Where in the code does it perform this check? What I want to do is bypass this checking for specific user agents, ie... googlebot

Any help would be more than appreciated.

Cheers,

Edited by - aspwiz on 01 November 2003 04:10:26

aspwiz
Junior Member

250 Posts

Posted - 01 November 2003 :  04:07:19  Show Profile  Visit aspwiz's Homepage
anyone? anyone at all...

which pages need changing and where?
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 01 November 2003 :  04:20:16  Show Profile
look on line #167 of inc_header.asp

if strRequireReg = "1" and strDBNTUserName = "" then
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 01 November 2003 :  15:23:26  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
You could just do this....

if strRequireReg = "1" and strDBNTUserName = "" and Request.ServerVariables("HTTP_USER_AGENT")<>"google" then

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 02 November 2003 :  09:31:46  Show Profile  Visit aspwiz's Homepage
I've just been advised that this is a very BIG 'no no'. It is very similar to 'cloaking' and could lead to becoming banned at google.
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 02 November 2003 :  09:34:51  Show Profile
allowing a search engine to crawl your forum is a no-no?

<edit>
Ah, I see what you are saying. I looked at Googles terms. You could make a separate page that everyone has access to that highlights some more popular topics and has a disclaimer like, "to join in the discussion, register now"

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~

Edited by - Nikkol on 02 November 2003 09:38:39
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07