Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2003
Posts: 215
Junior Member
Junior Member
Offline
Joined: Mar 2003
Posts: 215
Ubb threads 6.0.2

I removed this from the addpost.php file:

// ----------------------------------------------------------------
// Now we need to see if this post has already been made, basically
// protects from spamming

$query = "
SELECT B_Number
FROM w3t_Posts
WHERE B_Username = '$Username_q'
AND B_Subject = '$Subject_q'
AND B_Body = '$BodySig'
AND B_Board = '$Board_q'
";
$sth = $dbh -> do_query($query);
list($B_Number) = $dbh -> fetch_array($sth);
if ($B_Number) {
$html -> not_right($ubbt_lang['NO_DUPS'],$Cat);
}


Now this let me post two replies with the same subject and no body...which is what the users want to be able to do. But when I posted 2 new threads it resulted in errors viewing those 2 threads/topics:
"There was a problem looking up the post in our database"

Does anyone have suggestions as to how I can allow users to reply to different topics with the same response they had in another topic in the same forum?

Thanks.

Sponsored Links
Entire Thread
Subject Posted By Posted
How do I remove the anti-spamming duplicate check? RandyJG 12/15/2002 11:31 PM
Re: Attempt 2 RandyJG 12/16/2002 1:20 AM
Re: Attempt 2 Dave_L_dup1 12/16/2002 2:26 AM
Re: Attempt 2 bud 12/16/2002 6:38 PM
Re: Attempt 2 RandyJG 12/17/2002 2:25 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,825
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 29723
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 3
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)