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)
-   -   New Posting Features - [DBTech] Advanced User Tagging v3 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=242733)

Zighinno 10-22-2012 04:02 PM

Quote:

Originally Posted by Makaveli007 (Post 2374910)
I have been using this mod on my forum for a long time. It works great, however of the past couple weeks/months I have noticed a steady increase in the amount of time it takes to load a users profile, or when loading a users own profile through notifications.

I have traced the issue down to being this mod. If I disable the mod, profile speeds go back to normal.

I should point out that the usertag tables in the database are huge. The mod is very popular on my site and has been used extensively. It is not uncommon to have a profile page that shows over 1000 pages of mentions.

Is there any way I can speed profile/notification page loads besides clearing out old mentions?

Some problem for me :(

Makaveli007 10-26-2012 05:22 PM

Had an issue with this mod, that I was able to fix on my site, but wanted to bring to your attention. The issue also affected Advanced Post Thanks. I am running the latest version of both, and vb 4.2.0.

The problem is in the profile tabs. Whenever clicking on any of the pages to view previous mentions/quotes/thanks an error would be received by the browser "Too Many Redirects"

I narrowed the issue down to being the "perpage=20" part of the link. If that part is removed, the error doesn't happen.

I fixed it by editing the php files to remove all instances of "&perpage=$perpage" from the class_profileblock.php file.

andy_mcguire 11-05-2012 03:17 PM

Hi DBTech, I installed the plugin as a trial, but found when a tagged post had been soft-deleted, the user could still see the mention/tag in their "notifications" tab, and also on their profile. When the thread was moved to a hidden forum, the mention/tag disappeared from their view (from their profile, and from their notifications drop-down). Is there a way to make if the post is soft-deleted, it too hides the mention/tag?

(System is vBulletin 4.1.x)

EDIT: Submitted a ticket on your forum DBTech.

Jackchan 11-30-2012 11:29 PM

Well, I want to disable the statistics next to username, it does not display properly.

There have any options or trick to do that?

Thanks.

Found answer on forum anyway.

DragonByte Tech 12-01-2012 08:23 PM

For the sake of posterity: It's the "Manual Postbit Deployment" setting - turning it off without performing manual edits will effectively disable the stats :)


Fillip

furnival 12-02-2012 11:32 PM

Very useful post -- thanks. Found the solution for those of us with standard member profile URLs posted on DBTech's ecellent site: http://www.dragonbyte-tech.com/f51/p...187/#post46344 On edit: actually that DBTech htaccess change didn't work for me. I had to set VBSEO to not rewrite my member profiles and that has worked.
Quote:

Originally Posted by RedTurtle (Post 2374050)
Update: Got it working with my vBSEO setup.

For my member profiles I am using the following URL rewrite format:

members/[user_name]-[user_id].html

Therefore the notifications links that this plugin generates need to be changed.

In upload/dbtech/usertag/hooks/notifications_list.php, make the following changes:

On line 14, change:
Code:

'link'  => $vbulletin->options['bburl'] . '/usertag.php?' . $vbulletin->session->vars['sessionurl'] . 'do=profilenotif&tab=mentions',
To:
Code:

'link'  => $vbulletin->options['bburl'] . '/members/' . strtolower($vbulletin->userinfo['username']) . '-' . $vbulletin->userinfo[userid] . '.html' . '?tab=mentions#mentions',
On line 23, change:
Code:

'link'  => $vbulletin->options['bburl'] . '/usertag.php?' . $vbulletin->session->vars['sessionurl'] . 'do=profilenotif&tab=usertags',
To:
Code:

'link'  => $vbulletin->options['bburl'] . '/members/' . strtolower($vbulletin->userinfo['username']) . '-' . $vbulletin->userinfo[userid] . '.html' . '?tab=usertags#usertags',
On line 32, change:
Code:

'link'  => $vbulletin->options['bburl'] . '/usertag.php?' . $vbulletin->session->vars['sessionurl'] . 'do=profilenotif&tab=quotes',
To:
Code:

'link'  => $vbulletin->options['bburl'] . '/members/' . strtolower($vbulletin->userinfo['username']) . '-' . $vbulletin->userinfo[userid] . '.html' . '?tab=quotes#quotes',
This is for my specific vBSEO URL rewrite format. If you're using a different format, you'll have to modify the code to be compatible.

Hope this helps someone else out.


DragonByte Tech 12-02-2012 11:55 PM

Problem is, I've not been able to come up with a way to do that that doesn't also break for non-vBSEO users :(


Fillip

CountRock 12-03-2012 03:53 PM

Quote:

Originally Posted by DragonByte Tech (Post 2387863)
Problem is, I've not been able to come up with a way to do that that doesn't also break for non-vBSEO users :(


Fillip

Just a thought, what about an option in the settings menu to check if vbseo is installed, if it is write a URL in one way, if not the regular way.

DragonByte Tech 12-03-2012 04:00 PM

The problem is the "one way" for vBSEO. I cannot figure out how to get URLs to specific tabs to work in vBSEO.

Fillip

g00gl3r 12-04-2012 05:14 PM

Any way to get the landing tab on the profile to be ?tab=mentions instead of hashMentions?

Doesn't work otherwise on mine by the looks of it.


All times are GMT. The time now is 06:19 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.01995 seconds
  • Memory Usage 1,747KB
  • 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
  • (6)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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