PDA

View Full Version : Guest can report Link



Parax
12-04-2006, 06:45 AM
Hi,

is their a option that guest can not report a link? I mean spambots can annoy me the whole day... ;)

bye

Brian
12-05-2006, 10:57 AM
We'll be adding some permission settings and image verification options for this in the next version. For now, if you just want to prevent guests from reporting links, look in your links/misc.php file for this code:

$reason = $vbulletin->input->clean_gpc('p', 'reason', TYPE_NOHTML);


Just below that, add:

if (!$vbulletin->userinfo['userid'])
{
print_no_permission();
}

Then just a little below that, find:

$p = $vbulletin->input->clean_gpc('r', 'p', TYPE_INT);


And add this right below:

if (!$vbulletin->userinfo['userid'])
{
print_no_permission();
}

Our Sponsors
 

antivirus
12-15-2006, 11:35 PM
thanks for posting the quickfix Brian, we have been getting bombarded with reported links by spambots lately as well.

funcritter
01-15-2007, 12:00 PM
I tried using this and nothing happened, till I then clicked on the link to us section and it reported one of my links three times. and I got a message saying I didn't have permission to view the page.

Our Sponsors
 

Eagle Graphix
02-14-2007, 07:00 PM
Seems to work fine for me. Thanks Brian.

IndyWebDesign
06-25-2007, 11:30 AM
Worked for me thanks...

Brian
06-25-2007, 12:11 PM
FYI, there are standard permissions settings for this in v2.0.1.