Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2000
Posts: 21,080
Likes: 3
I type like Navaho
I type like Navaho
Joined: Mar 2000
Posts: 21,080
Likes: 3
Quote
Originally posted by Graeme:

OK, I'll bite here..

(HOW LONG has it been since I posted at UBBDev??? smile )

Try:
in ubb_new_reply.cgi (circa line 403 in 6.3.1)
# grab last post
@rev_this_topic = reverse(@this_topic);
@last_post = split (/||/, $rev_this_topic[0]);
$last_post_num = $last_post[1];
$last_post_num++;

ADD right AFTER it:
if ($username eq $lastpost[2]) {
&StandardHTML("You cannot reply to this thread again until someone else does.");
}

Should be all you need. (NOTE: StandardHTML calls exit internally so you don't need it again)

(I tried to make it obvious enough over at community without spelling it out.. smile )

Graeme
Any idea why this wouldn't work in 6.7.x?


- Allen wavey
- What Drives You?
Sponsored Links
Entire Thread
Subject Posted By Posted
[6.3.x] [beta] Preventing Users to Reply to Their Own Posts Gladius 07/28/2002 9:41 PM
Re: [6.3.x] [beta] Preventing Users to Reply to Their Own Posts Graeme 07/28/2002 11:08 PM
Re: [6.3.x] [beta] Preventing Users to Reply to Their Own Posts Gladius 07/29/2002 12:10 AM
Re: [6.3.x] [beta] Preventing Users to Reply to Their Own Posts Gladius 07/29/2002 10:09 PM
Re: [6.3.x] [beta] Preventing Users to Reply to Their Own Posts AllenAyres 07/29/2002 10:56 PM
Re: [6.3.x] [beta] Preventing Users to Reply to Their Own Posts AllenAyres 01/30/2005 6:03 AM
Re: [6.3.x] [beta] Preventing Users to Reply to Their Own Posts 1QuickSI 01/31/2005 2:02 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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,834
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 704
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 16
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)