Version: 1.8, by MarkFL
Developer Last Online: Jun 2020
Category: Profile Enhancements -
Version: 4.x.x
Rating:
Released: 06-13-2015
Last Update: 09-30-2015
Installs: 14
Uses Plugins Auto-Templates
Translations
No support by the author.
This product allows you to choose which usergroups are allowed to view the ignored user data for users on their profile, under the "About Me" tab in the section labeled "Statistics." The information for the users that are being ignored by that user as well as the users who have chosen to ignore that user is diplayed. If there are no users in either list, then "None" is shown. You may also choose to allow your moderating staff to see a list of all ignored users, sorted by the number of users ignoring them, in the "What's Going On?" block on the home page.
This is what you will see on user profiles:
This is what you will see in the "What's Going On?" block:
Update version 1.1:
Force text within usergroup elements in AdminCP to be standard color for good contrast.
Update version 1.2:
Replaced checkboxes for usergroups chosen to see ignored user data on user profiles with select element.
You now have the option for your moderating staff to see a list of all ignored users, sorted by the number of users ignoring them, in the "What's Going On?" block on the home page.
Update version 1.3:
Username HTML markup is pulled from cache rather than database.
Added the option to limit the number of users displayed in WGO.
Update version 1.3a:
Fixed bug involving deleted users on ignored lists.
Update version 1.4:
Fixed bug caused by deleted users remaining in ignored userlists for user profiles.
Users listed in ignored lists on user profiles now link to their profile and use HTML markup for their usergroups.
WGO listing shows how many users are listed.
Update version 1.5:
The "can_moderate()" query is replaced with selected usergroup(s) in the product settings to determine if a user can view the ignored users in the WGO element.
The "user" table is now queried only once rather than for each ignored user.
Update version 1.6:
The ignored users displayed in the WGO block are now stored in a datafile (./ignoredusers.txt) that is updated once an hour (if applicable) rather than querying the database. When the product is installed/updated (ver. 1.6 or higher) the datafile is initially built, and if the product is uninstalled the datafile is deleted.
Update version 1.7:
Replaced db query for retrieval of ignored users on profile page with manipulation of string already in memory.
Update version 1.8:
Fixed faulty db query issue when there are no ignored users to report.
Hi Mark,
the Second Issue is the User profile.
The first Image here in the Addondescription.
Only th First User in the WGO List have the Entry in the User Profile
Hi Mark,
the Second Issue is the User profile.
The first Image here in the Addondescription.
Only th First User in the WGO List have the Entry in the User Profile
Do you happen to have any plugins hooked at "member_profileblock_fetch_unwrapped"?
Taking a quick look at your code, this could really send the query count up. It would be a very good idea to cache the data for 15-60 min at least. Each time you call can moderate (every page load) it also adds a query's worth of overhead. Plus on a forum with a lot of ignored users you'd really rack up a huge query list.
Additionally, it would be a good idea to query for all of the users in one shot. Then let php or the template system deal with formatting the users data from the array that got returned.
Taking a quick look at your code, this could really send the query count up. It would be a very good idea to cache the data for 15-60 min at least. Each time you call can moderate (every page load) it also adds a query's worth of overhead. Plus on a forum with a lot of ignored users you'd really rack up a huge query list.
Additionally, it would be a good idea to query for all of the users in one shot. Then let php or the template system deal with formatting the users data from the array that got returned.
You should still cache that data some how though.
Thank you for you useful suggestions! :up:
Update version 1.5:
The "can_moderate()" query is replaced with selected usergroup(s) in the product settings to determine if a user can view the ignored users in the WGO element.
The "user" table is now queried only once rather than for each ignored user.
Once I learn how to cache data, I will implement it for this product.
The ignored users displayed in the WGO block are now stored in a datafile (./ignoredusers.txt) that is updated once an hour rather than querying the database. When the product is installed/updated (ver. 1.6 or higher) the datafile is initially built, and if the product is uninstalled the datafile is deleted.
Yes, under the "About Me" tab. It still works for me...you must have some other add-on interfering.
The only recent mod I installed was thumbs up (which also adds something to the about me tab), however I disabled that and this mod still didn't display it.
Could you add an option in the admin CP, so users can see those stats elsewhere (like on another tab/create another tab on a users profile)?