Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2004
Posts: 86
journeyman
journeyman
Joined: Oct 2004
Posts: 86
I've enabled lock topics for certain groups on certain forums to allow users to lock their own topics (it is a support board and we do a lot based on whether a topic is opened or closed.)

The problem is, if the user selects "Lock this topic" from the "Manage Topic" menu, they receive the message "You must be an Administrator or Moderator to access this page!" from doclosethreads, even though permissions are set to allow locking topics.

On the other hand, if a user posts a reply, they are able to check "Lock this topic" and lock the topic in that manner.

This problem was present in the previous version we had installed, but I upgraded to 7.5.3 last night and it still appears to be an issue.

Thanks,
Tim


UBB Since November 07, 2000.
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Quick fix for this one. Edit scripts/doclosethreads.php. Line 41 has this:

"admin_or_mod" => 1,

Change that, to this:

"admin_or_mod" => 0,

Joined: Oct 2004
Posts: 86
journeyman
journeyman
Joined: Oct 2004
Posts: 86
Awesome. Thanks for the quick response!


UBB Since November 07, 2000.

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (ahmed047), 624 guests, and 172 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)