Previous Thread
Next Thread
Print Thread
Rate Thread
#257635 08/26/2003 7:19 PM
Joined: Jan 2003
Posts: 141
Journeyman
Journeyman
Offline
Joined: Jan 2003
Posts: 141
I was blindsided this morning again with some trouble that happened on my forum last night about a thread that was deleted by one of the mods. This is not the first time this has happened. The mods delete the thread instead of moving it to a deleted threads forum that I set up so I know who said what. What file(s)exactly do I have to edit to get rid of the "delete this thread" button so they will be forced to move it instead?

I'm sorry, ver 6.2.

Last edited by dman; 08/26/2003 7:30 PM.
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
You can look for this:

<input type="submit" name="peditdelete" value="{$ubbt_lang['PEDIT_DELETE']}" class="buttons">


In the /templates/default/editpost_nopoll.tmpl and edtipost_withpoll.tmpl template files. That's the button.

Joined: Jan 2003
Posts: 141
Journeyman
Journeyman
Offline
Joined: Jan 2003
Posts: 141
Thanks man! Always a help.
BTW I sent some business your way and I see you helped them out!

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Thanks.

Joined: Jan 2003
Posts: 141
Journeyman
Journeyman
Offline
Joined: Jan 2003
Posts: 141
LOL it worked like a charm. The "delete this post" button is gone but I wanted to get rid of the "delete this thread" button.

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Doah -

In the edipost_manage_finish.tmpl file.... remove or comment out this:

Code
 <br /><td> <br /><form method="post" action="{$config['phpurl']}/modifypost.php"> <br /><input type="hidden" name="Main" value="$Main" /> <br /><input type="hidden" name="Option" value="single" /> <br /><input type="hidden" name="Board" value="$Board" /> <br /><input type="hidden" name="page" value="$page" /> <br /><input type="hidden" name="view" value="$view" /> <br /><input type="hidden" name="what" value="$what" /> <br /><input type="hidden" name="sb" value="$sb" /> <br /><input type="hidden" name="o" value="$o" /> <br /><input type="hidden" name="fpart" value="$fpart" /> <br /><input type="hidden" name="vc" value="$vc" /> <br /><input type="hidden" name="from" value="thread" /> <br /><input type="submit" name="deletethread" value="{$ubbt_lang['DELETE_THREAD']}" class="buttons" /> <br /></form> <br /></td> <br />



Joined: Jan 2003
Posts: 141
Journeyman
Journeyman
Offline
Joined: Jan 2003
Posts: 141
You are the man! Thanks!


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:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)