PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > General Forums > Show off your PhotoPost site!

Show off your PhotoPost site! Post about your site, get feedback and see how others use our products.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 13th, 2007, 02:10 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Posts: 2
Comment Post robots

hi
i've been hit by Comment / forum Post bots, posting all kind of links to casino etc sites, i know i can switch off posting by ungegistered users but this fix is better, and requires a random number input for the post to be successfull

there are only 2 files to edit:
comments.php
templates/quickcom.tmpl

quickcom.tmpl 1st and 4th line are original 2nd and 3rd are new
<input type="hidden" name="post" value="new" />
<img width=120 height=30 src="/button.php" border="1">
<input MAXLENGTH=5 SIZE=5 name="userdigit" type="text" value="">

<input type="submit" value="{$Globals['pp_lang']['submit']}" />


comments.php very top of php file, just below the copyright comments

include "audit.php";

if (audit()) {
// Visitor entered correct number
} else {
echo "wrong number entered, hit back on browser";
exit;
// Wrong number
}



files attached are in txt format, rename them to php

hope this helps
view the script in action here
http://www.afunnysite.com
try posting a comment with correct and incorrect turing number
(mind they need to be moderated so you won't see the comment right away
but it makes my life easier so i don't have ro remove hundreds of posts)
klaas
Attached Files
File Type: txt audit.txt (258 Bytes, 1 views)
File Type: txt button.txt (855 Bytes, 1 views)
afunnysite is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Single phrase for reply/post - Comment? Oblivion Knight vBGallery Suggestions 1 July 22nd, 2005 06:49 AM
why cannot post comment on show photo ? hendri Photopost Pro Installation & Upgrades 2 March 8th, 2005 08:30 AM
why emotion didn't show up when post comment in photopost ?? hendri Photopost Pro Installation & Upgrades 1 March 7th, 2005 10:01 AM
Your robots.txt techfreak General Discussion 0 January 15th, 2005 03:56 PM


All times are GMT -5. The time now is 08:25 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0