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 08-01-2015 02:13 PM

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.

MrD 08-01-2015 02:52 PM

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

MarkFL 08-01-2015 02:59 PM

Quote:

Originally Posted by MrD (Post 2551870)
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"?

MrD 08-02-2015 02:54 PM

Hi,
Downloads II
Vb Project Tools
VB Blog (i use the VB Suite)
VbYellowPages
vbglossary
vblinklist

are the Addons that use the hook

Zachery 08-02-2015 03:23 PM

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.

MarkFL 08-04-2015 05:03 AM

Quote:

Originally Posted by Zachery (Post 2551956)
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. :)

MarkFL 08-07-2015 02:59 AM

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

akz645 08-19-2015 05:57 PM

Quote:

Originally Posted by MarkFL (Post 2552056)
Update version 1.5:

https://vborg.vbsupport.ru/external/2015/08/19.png
^That entire section no longer appears (it's supposed to appear on the 'about me' tab, right?).
I'm using version 1.6

The WGO appears correctly though.

MarkFL 08-19-2015 09:47 PM

Yes, under the "About Me" tab. It still works for me...you must have some other add-on interfering.

akz645 08-19-2015 09:58 PM

Quote:

Originally Posted by MarkFL (Post 2553262)
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)?


All times are GMT. The time now is 05:13 PM.

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.01344 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)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