|
|
Joined: Mar 2001
Posts: 27
User
|
User
Joined: Mar 2001
Posts: 27 |
Guys, Here is my hack for UBB threads 7.0 This mod gives the admin the option of the radio button to edit ANY message and tick off the 'edited by'. It can easily be scripted to allow mods to do this as well. Enjoy! MOD START ***** Admin No Edit hack mod 1.0 - UBB 7 beta 2 by aus-city http://www.aus-city.com/ubbthreads/ubbthreads.phpfiles modified (1): /scripts/editpost.inc.php Find:
// Signature added to this post? $addsigcheck = ""; if ($addsig) { $addsigcheck = "checked = \"checked\""; } $iconselect = $html -> icon_select($Icon); if ( $user['USER_ID'] == $Postedby ) { $markeditselect = "<input type=\"checkbox\" value=\"1\" name=\"markedit\" checked=\"checked\" class=\"form-checkbox\" /> {$ubbt_lang['MARK_EDIT']} "; Replace with:
// Signature added to this post? $addsigcheck = ""; if ($addsig) { $addsigcheck = "checked = \"checked\""; } $iconselect = $html -> icon_select($Icon); if ( $user['USER_ID'] == $Postedby || $user['USER_MEMBERSHIP_LEVEL'] == "Administrator") { $markeditselect = "<input type=\"checkbox\" value=\"1\" name=\"markedit\" checked=\"checked\" class=\"form-checkbox\" /> {$ubbt_lang['MARK_EDIT']} ";
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Edited post to add code tags
|
|
|
|
Joined: Mar 2001
Posts: 27
User
|
User
Joined: Mar 2001
Posts: 27 |
With beta 2 released they changed stuff, so did I so it still works, but use this now: Admin No Edit hack mod 1.0 - UBB 7 beta 2 by aus-city http://www.aus-city.com/ubbthreads/ubbthreads.phpfiles modified (1): /scripts/editpost.inc.php
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
I've updated the original post to reflect this change - I would move it to the version 7 forum, but the post move is not working at the moment Hopefully this will be fixed in b3 Thanks for the update.
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: Mar 2001
Posts: 27
User
|
User
Joined: Mar 2001
Posts: 27 |
Hi Ian! No problems can leave it here until beta 3 comes out I probably have to do a beta 3 revision then anyway!
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Bug is fixed
|
|
|
|
Joined: Mar 2001
Posts: 27
User
|
User
Joined: Mar 2001
Posts: 27 |
Allen,
Any chance of the fixes required for beta2 for the moving bug? I would like to apply to my forums as I don't know how long to beta3.
Thanks!
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I posted it in the announcements forum
|
|
|
|
Joined: Mar 2001
Posts: 27
User
|
User
Joined: Mar 2001
Posts: 27 |
Guys,
I upgraded my boards to beta 3 and just to let you know the hack I did for beta 2 holds exactly the same for beta 3.
Cheers!
|
|
|
|
Joined: Jul 2011
Posts: 11
Newbie
|
Newbie
Joined: Jul 2011
Posts: 11 |
As of 7.5 this mod no longer works nor can you add it. I will however find another method to use this mod and post an update.
Mythotical Mods - Custom add-ons for XenForo, MyBB, and vBulletin (UBB.Threads custom work coming soon)
|
|
|
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: 5,833
Joined: January 2000
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|