PDA

View Full Version : Guest Anti-Mooching


DieselMinded
07-09-2007, 12:54 AM
How do i Make links in my Nav BAr to go to the You Must be Loged in or Register page ?

Ive having Guests Use my Search link and my referrals page and members list alot This makes me uneasy , Ive already banned a few ips that keep looking at my referrals page like all day long for weeks I think there Spam Bots trying to farm my members info .

Any way , What Do i need to add to my nav bar template to make the link send guests to the registration page?

Thanks

SCRIPT3R
07-09-2007, 01:26 AM
why not just disable access to those things for the Guests usergroup?

DieselMinded
07-09-2007, 02:07 AM
I want them to know the features are there , just not able to use them if i use the If Conditional guests would only see like 2 links in my nav bar , Being able to Link the nav bar links to guests to the registration page kills 2 birds with 1 stone

SCRIPT3R
07-09-2007, 04:55 AM
I want them to know the features are there , just not able to use them if i use the If Conditional guests would only see like 2 links in my nav bar , Being able to Link the nav bar links to guests to the registration page kills 2 birds with 1 stone
the links will still be there so Guests will know that they have the ability to do such an action, but will require registration to do said action. this is a default ability with vB using the various usergroup permissions.

DieselMinded
07-09-2007, 05:00 AM
BY not allowing the Guests to click on links ? How would they click register?

SCRIPT3R
07-09-2007, 04:22 PM
no, what i mean is that when they click anything that they don't have access to, by default vB gives them the message that they should Register to be able to do that action.

DieselMinded
07-09-2007, 04:35 PM
How do you change Access to each individual Link in the Nav Bar ?

cyberphr
07-09-2007, 05:54 PM
Most guests are probably search spiders.

SCRIPT3R
07-09-2007, 07:03 PM
i give up.

DieselMinded
07-10-2007, 08:51 AM
I know there not search spiders i Run there IP through the WHO IS , One in particular is

82.146.62.66

OrgName: RIPE Network Coordination Centre
OrgID: RIPE
Address: P.O. Box 10096
City: Amsterdam
StateProv:
PostalCode: 1001EB
Country: NL


http://www.ripe.net/info/ncc/

I dont know what this Places deal is but they are on my memberslist for days and days

DM

SDB
07-10-2007, 09:59 AM
The only way I can think of doing this, is to remove the permission for guests, but then alter the navbar template to remove the conditionals which display / hide the link for those with / without permission.

El_Muerte
07-10-2007, 12:16 PM
I know there not search spiders i Run there IP through the WHO IS , One in particular is

82.146.62.66

OrgName: RIPE Network Coordination Centre
[...]

http://www.ripe.net/info/ncc/

I dont know what this Places deal is but they are on my memberslist for days and days

DM

You can't (always) use whois on IP addresses, they will always resolve to RIPE because RIPE is the organisation that assigns IP ranges.
Use the forums on RIPE to find to whom the IP belongs to.
And of course you can try a reverse hostname lookup using the IP.

DieselMinded
07-11-2007, 09:33 AM
Right this second there are 3 82.146.62.66 On my referrals page viewing error screens cause i blocked there IP Address , They still Wont go away and they only go to this page and my memberslist ,

Thanks for the info on RIPE

I thought when i banned the 82.146.62.66 IP adress they couldnt even acess the site at all , But there on my page right now Hows that?

DM

The only way I can think of doing this, is to remove the permission for guests, but then alter the navbar template to remove the conditionals which display / hide the link for those with / without permission.

I wonder if its possible to have a Mod that just links all links in the Nav BAr To the Registration Page/Log In for all Non Loged In Users ,, I want them to see the links and whats available .

DM

ssslippy
07-13-2007, 01:45 AM
How about u turn on CAPTCHA for searching so bots cant run it?

DieselMinded
07-17-2007, 06:35 PM
82.146.62.66

OrgName: RIPE Network Coordination Centre

I cant lose this , How do i keep this off my site I already banned his IP adress thats not working

DieselMinded
07-19-2007, 08:48 AM
Anyone Know How I Can Shake This ?

G0F0RBR0KE
07-19-2007, 08:49 AM
Block them by using the .htaccess.

DieselMinded
07-19-2007, 09:03 AM
Whats the Code for doing that?

G0F0RBR0KE
07-19-2007, 09:31 AM
You should have that in your Control Panel.

DieselMinded
07-21-2007, 07:42 PM
Your Saying I can edit my .htaccess file from my admin CP ?

4x4 Mecca
07-23-2007, 09:28 PM
How about something like this

<if condition="guest">
<a href="linktoregister">Members List</a><else /><a href="linktomemberslist">Members List</a></if>

of course I wrote it wrong, but that would make the links go where ever you want for guests and somewhere else for all registered people, would this do what you want?

DieselMinded
07-25-2007, 09:44 PM
So Ill need to add that to my navbar templates for every link ?

4x4 Mecca
07-26-2007, 01:12 AM
Yeah, or just make a whole list of them for unregistered, something like this

<if condition="guest">
<a href="linktoregister">Members List</a><a href="linktomemberslist">Members List</a>
link 2
link 3
link 4
<else />
Regular link code
</if>

DieselMinded
07-26-2007, 03:04 AM
Can you think of any disadvantages of this ? What about Bots?

Distance
07-26-2007, 03:09 AM
You just said you wanted to ban the bots!

DieselMinded
07-26-2007, 03:11 AM
Your right I was on the wrong thread

Sorry I will add this condition to my members list to force guests who click it to go to the registration page ,

Would be nice for it to go to the page that says your not loged in ect... insted ... Whats the URL for this?

DM

Deepdog009
07-26-2007, 03:20 AM
try allowing all guests, but use your log tables 2 track them 4 a few dias,,, go over your ip logs and look 4 any ips that are trying 2 access areas that concern U. After U have a list of ips that U believe 2 be problem childs, next use software that redirects them or slows down there connections... Or Ban groups at one time...

Remember if somebody wants in they will find a way...> proxies < , but U still can make life hard on those pesky runts...

Use .htaccess it works best...

Good Luck:eek: