<? DEW-CODE.COM  

Downloads

Assorted scripts  (1)
DewNewPHPLinks  (9)





Lost Password?
No account yet? Register

Dew-Code Newsfeed

Resources


 USdigitalcable.com

Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Disable Site Reviews (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Disable Site Reviews
#54
avpservicesnet (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Disable Site Reviews 4 Years, 1 Month ago Karma: 0  
Greetings:

I've been running the software for about a year now with few problems. It's a list of local links in Grand Rapids, Michigan http://grandrapidslinks.com

I've been getting some spam site review submissions that have nothing to do with the local links. Is there a way to disable the submission of site reviews?

Thanks,
AVP Services Net
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#55
Dewed (Admin)
Admin
Posts: 605
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:Disable Site Reviews 4 Years, 1 Month ago Karma: 9  
Edit /include/review_add.php

Near the top, locate

Code:

$html = $table2 . "<tr><td class=\"whatText\">" . $review_add_24; $html .= "</td></tr></table>"; echo whattable("100%","center","",$html); unset($html);
and change to .. well, adjust as desired
Code:

$html = $table2 . "<tr><td class=\"whatText\">" . $review_add_24; $html .= "</td></tr></table>"; $html .= "<h1>Review function disabled</h1><p>Due to the repeated attempts of incredibly stupid spammers I've had to disable the review feature. While I did read every review, and there was never any chance of spam getting published, it wasted a ridiculous amount of my time.</p>"; echo whattable("100%","center","",$html); unset($html); exit;
You may also want to remove the link in the featured sites you have, to do that edit /include/review_inc.php Near the bottom, simply remove this block of code
Code:

$html = $table2 . "<tr><td class=\"regularText\"><a class=\"regularText\" "; $html .= "href=\"./directory/review_add.html?"; if($usesession=="yes"){$html .="" . session_name() . "=" . session_id() ."&";} $html .= "SiteID=" . $SiteID . "\">" . $review_11; $html .= "$get_sites[1]</a></td></tr></table>";
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/04/16 07:09 By Dewed.
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
Outsource your projects to thousands of programmers at
ScriptLance.com
Newsflash
Interested in
advertising?

This space for rent!

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008