vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Profile Enhancements - Ignored User Data (https://vborg.vbsupport.ru/showthread.php?t=319067)

MarkFL 06-13-2015 09:00 PM

Ignored User Data
 
1 Attachment(s)
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:

https://vborg.vbsupport.ru/attachmen...1&d=1438445511

This is what you will see in the "What's Going On?" block:

https://vborg.vbsupport.ru/attachmen...1&d=1438445511

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.

https://vborg.vbsupport.ru/attachmen...1&d=1438671627

Support for this product can be found here:

BrettC Frontier 07-05-2015 02:58 PM

1 Attachment(s)
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.

Attachment 152839

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

MarkFL 07-06-2015 02:01 AM

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.

MarkFL 07-24-2015 03:30 AM

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.

BrettC Frontier 07-27-2015 09:25 AM

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.

MarkFL 07-28-2015 04:17 PM

Quote:

Originally Posted by BrettC Frontier (Post 2551468)
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. :D

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".

BrettC Frontier 08-01-2015 01:33 AM

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. :p

MarkFL 08-01-2015 02:25 AM

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.

Quote:

Originally Posted by BrettC Frontier (Post 2551829)
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. :p

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. :up:

MrD 08-01-2015 10:53 AM

1 Attachment(s)
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

MarkFL 08-01-2015 12:03 PM

Quote:

Originally Posted by MrD (Post 2551855)
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. :D


All times are GMT. The time now is 06:41 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01218 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete