Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Ignore lists
#1
Not Solved
Is there a way for me (admin) to see members' ignore list?
#2
Not Solved
Each user's ignore list is stored in the $mybb->user['ignorelist'] variable as a comma-separated list of uid's.

To see a particular user's ignorelist, you could use this snippet:

$uid = 1; // user's UID;

$this_user = get_user($uid);

$ignore_array = explode(",", $this_user['ignorelist']);

echo("{$this_user['username']}'s ignore list:<br /><br />");

foreach($ignore_array as $ig_uid)
{
	$ig_user = get_user($ig_uid);
	echo($sep . $ig_user['username']);
	$sep = ", ";
}
[retired]
#3
Not Solved
So am I supposed to run that script in the SQL tab in phpmyadmin?
#4
Not Solved
No, no. That is something you could run from a Pagemanager page or in a script with MyBB loaded (global.php)

If you have Page Manager I can make you a little page to enter a UID and see the ignore list of that user.
[retired]


Forum Jump:


Users browsing this thread: