Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Ignored User Data Details »
Ignored User Data
Mod Version: 1.8, by MarkFL (Coder) MarkFL is online now
Developer Last Online: Oct 2018 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (3 votes - 5.00 average) Installs: 9
Released: 14 Jun 2015 Last Update: 01 Oct 2015 Downloads: 51
Not Supported Uses Plugins Auto-Template Translations  

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.

To Install:

Download and extract the attached .zip file.

Follow:

AdminCP ► Plugins & Products ► Manage Products ► Add/Import Product

Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.

Click "Import"

You MUST set your settings to enable the mod. Each setting has an explanation of its use.



Support for this product can be found here:

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	ignored_profile.png
Views:	271
Size:	6.0 KB
ID:	153056   Click image for larger version

Name:	ignored_wgo.png
Views:	272
Size:	20.8 KB
ID:	153057   Click image for larger version

Name:	iudacp.png
Views:	243
Size:	47.3 KB
ID:	153068  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 05 Jul 2015, 16:58
BrettC Frontier BrettC Frontier is offline
 
Join Date: Jun 2015
Real name: Brett
Hi Mark,

Very nice addon, my moderators do enjoy this little tool addition!

I was about to request for it being moved into it's own tab, along with the date/time that said user was ignored. However when i looked up the SQL table information, the userlist SQL table doesn't have log for a date/time field.

Maybe a future addition at some point?


---

Edit;

Slight issue with the coloring of your addon in the Admin CP.

2015-07-05_12-07-44.png

Possible to set the color of the yellow bubbles to something that flows to the currently-selected AdminCP theme?

Last edited by BrettC Frontier; 05 Jul 2015 at 17:10.
Reply With Quote
  #3  
Old 06 Jul 2015, 04:01
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
I have added a color to the style attribute of the label elements so that the text within will be the standard color for better contrast for those who are using a custom them in their AdminCP.

I will consider adding the code for tracking the date/time when users are ignored for a future update.
Reply With Quote
  #4  
Old 24 Jul 2015, 05:30
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
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.
Reply With Quote
  #5  
Old 27 Jul 2015, 11:25
BrettC Frontier BrettC Frontier is offline
 
Join Date: Jun 2015
Real name: Brett
Slight issue to report of: It would appear that this addon and Previous Usernames in about me are conflicting with one another. It's either or on which addon can be active at any given time. Changing execution order does not change the outcome.
Reply With Quote
  #6  
Old 28 Jul 2015, 18:17
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by BrettC Frontier View Post
Slight issue to report of: It would appear that this addon and Previous Usernames in about me are conflicting with one another. It's either or on which addon can be active at any given time. Changing execution order does not change the outcome.
I suspect both add-ons are using a template replacement. I will see if I can change this add-on such that a template replacement is not used and post an update soon.

edit: I was wrong...my add-on is not using a template replacement. It is simply rendering a custom template at a hook location within the "memberinfo_block_statistics" template." I will download the other add-on and see if I can get them to play nicely with one another.

edit 2: Okay, I found the issue...change the hook location for the plugin of the other product to "member_build_blocks_start".

Last edited by MarkFL; 28 Jul 2015 at 19:00.
Reply With Quote
  #7  
Old 01 Aug 2015, 03:33
BrettC Frontier BrettC Frontier is offline
 
Join Date: Jun 2015
Real name: Brett
One small QOL request. While I disabled the setting on my rather active discussion board... could a value setting be added in on how many usernames are listed on the WGO block? Text input probably would work out best rather a drop down, default to 50 or something.

I enabled it the other day and ended up with about 10 screens of ignored user data on the forums index - chrome didn't like that massive amount of text.
Reply With Quote
  #8  
Old 01 Aug 2015, 04:25
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
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.

Originally Posted by BrettC Frontier View Post
One small QOL request. While I disabled the setting on my rather active discussion board... could a value setting be added in on how many usernames are listed on the WGO block? Text input probably would work out best rather a drop down, default to 50 or something.

I enabled it the other day and ended up with about 10 screens of ignored user data on the forums index - chrome didn't like that massive amount of text.
Thank you once again for finding an issue/circumstance I simply did not think of and letting me know about it, thereby allowing me to make this add-on more robust.
Reply With Quote
  #9  
Old 01 Aug 2015, 12:53
MrD's Avatar
MrD MrD is offline
 
Join Date: Aug 2003
Real name: Marcus
Hi,
i have following Errors.
1. There are many entries after the username (x). eg Name (2),(1,),(5)
i see, that this Entries from deleted User came, there are in the Tabele Userlist too after deleting
2. only the first User have the Ignored Information on the Profil. All other have nothing.

its VB 4.2.3
Attached Images
File Type: jpg Ohne Titel.jpg (24.2 KB, 2 views)
__________________
Greetz from Dortmund/Germany
Marcus

Last edited by MrD; 01 Aug 2015 at 13:16.
Reply With Quote
  #10  
Old 01 Aug 2015, 14:03
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by MrD View Post
Hi,
i have following Errors.
1. There are many entries after the username (x). eg Name (2),(1,),(5)
i see, that this Entries from deleted User came, there are in the Tabele Userlist too after deleting
2. only the first User have the Ignored Information on the Profil. All other have nothing.

its VB 4.2.3
This first issue should be resolved now with version 1.3a. I'm not clear on what the second issue is.
Reply With Quote
  #11  
Old 01 Aug 2015, 16:13
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
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.
Reply With Quote
  #12  
Old 01 Aug 2015, 16:52
MrD's Avatar
MrD MrD is offline
 
Join Date: Aug 2003
Real name: Marcus
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
__________________
Greetz from Dortmund/Germany
Marcus

Last edited by MrD; 01 Aug 2015 at 17:04.
Reply With Quote
  #13  
Old 01 Aug 2015, 16:59
MarkFL's Avatar
MarkFL MarkFL is online now
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by MrD View Post
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"?
Reply With Quote
  #14  
Old 02 Aug 2015, 16:54
MrD's Avatar
MrD MrD is offline
 
Join Date: Aug 2003
Real name: Marcus
Hi,
Downloads II
Vb Project Tools
VB Blog (i use the VB Suite)
VbYellowPages
vbglossary
vblinklist

are the Addons that use the hook
__________________
Greetz from Dortmund/Germany
Marcus
Reply With Quote
  #15  
Old 02 Aug 2015, 17:23
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
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.
__________________
Looking for ImpEx?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 05:56.

Layout Options | Width: Wide Color: