Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro
Author Message
ccac
Hangin' Around


Joined: May 23, 2006
Posts: 40

PostPosted: Fri Sep 08, 2006 1:11 pm Reply with quote

What do I need to add or remove to prevent unregistered users to vote for news articles?

I have searched everywhere and have only found the following:
Only registered users can see links on this board! Get registered or login!


???? I have someone hacking the site by posting negative votes on articles daily.


Thanks!
 
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9449
Location: Arizona

PostPosted: Fri Sep 08, 2006 10:55 pm Reply with quote

Maybe try changing your "Allow Anonymous to Post?" to "No" in the Admin Control Panel --> Preferences to not allow Comments for unregistered users.

That is the only on-line setting that I can think of.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sun Sep 10, 2006 10:10 pm Reply with quote

This hack will stop unregistered users from adding a vote. However it won't give them any special notice or anything... its a quicky

In modules/News/index.php

Code:



FIND

rate_complete($sid, $rated, $score);

REPLACE WITH

if (is_user($user)) rate_complete($sid, $rated, $score);

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©