|
|
Joined: Jan 2003
Posts: 141
Journeyman
|
Journeyman
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.
|
|
|
|
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
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
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.
|
|
|
|
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: <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
Joined: Jan 2003
Posts: 141 |
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|