Previous Thread
Next Thread
Print Thread
Hop To
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD
Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
/scripts/showprofile.inc.php

find:

PHP Code
	 // ---------------------------------------------------
		// Only logged in users can ignore / unignore people
		if ($user['USER_DISPLAY_NAME']) {
			if ($Userstatus != "Administrator" && !preg_match("/Moderator/",$user['USER_MEMBERSHIP_LEVEL']) && $user['USER_ID'] != $User) { 

replace:

PHP Code
	 // ---------------------------------------------------
		// Only logged in users can ignore / unignore people
		if ($user['USER_DISPLAY_NAME']) {
			if ($Userstatus != "Administrator" && !preg_match("/Moderator/",$Userstatus) && $user['USER_ID'] != $User) { 

severity: subtle


Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Hmm, bug or feature? Do you want mods to be able to ignore people?

Better fix would be a control panel option laugh

"Allow mods to ignore people"
"Show posts from ignored people in forums you moderate"

that kind of stuff.


[Linked Image from siemons.org]
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD
Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
well... have at it then laugh

admins can ignore users, soooooo whateva.. wink

i'm perty sure that the code was written with a different intent than how it came out wink

Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
hmm, you're right. I remembered wrong, users can't ignore admins/mods, the other way around isn't forced.


[Linked Image from siemons.org]

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
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
2 members (Gizmo, 1 invisible), 732 guests, and 158 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 20240501)