vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - [DBTech] Advanced User Tagging v3 (vB3) (https://vborg.vbsupport.ru/showthread.php?t=242734)

DragonByte Tech 06-27-2011 12:03 PM

Added a fix for a MySQL 4.1.x issue.

Fillip

Dave84311 07-23-2011 05:45 PM

If you have a large forum, I would suggest not using this plugin. Why? Because it can be used to DDOS your forum. Apparently some smart ass spammed mentions or viewed mentions with a bot, and completely took down my forum. Not only that, but deleting mentions also makes my mysql go ape shit.

Quote:

| 11020 | forum | localhost | forum | Query | 1 | Copying to tmp table | SELECT
post.pagetext AS message,
post.title AS posttitle,
thread.title AS threadtitle,
mention.dateline,
mention.postid,
mention.type,
user.userid,
user.username,
user.usergroupid,
user.infractiongroupid,
user.displaygroupid,
mentioned.userid AS mentioneduserid,
mentioned.username AS mentionedusername,
mentioned.usergroupid AS mentionedusergroupid,
mentioned.infractiongroupid AS mentionedinfractiongroupid,
mentioned.displaygroupid AS mentioneddisplaygroupid
FROM dbtech_usertag_mention AS mention
LEFT JOIN post AS post ON (post.postid = mention.postid)
LEFT JOIN thread AS thread ON (thread.threadid = post.threadid)
LEFT JOIN user AS user ON (user.userid = mention.userid)
LEFT JOIN user AS mentioned ON (mentioned.userid = mention.mentionedid)
WHERE (mention.userid = 512784
OR mention.mentionedid = 512784)
AND thread.forumid IN(55,57,56,336,339,337,340,338,342,341,1,12,7,104 ,2,195,345,72,42,88,89,117,145,90,91,315,316,67,73 ,303,48,8,380,148,38,196,379,40,86,344,68,314,192, 354,313,180,226,440,39,6,10,70,76,170,37,118,259,7 4,75,166,270,147,201,282,283,284,289,285,216,450,1 41,217,214,318,364,169,360,174,190,468,460,142,381 ,171,191,227,228,269,279,281,482,308,323,286,229,2 45,352,355,356,368,361,373,357,304,404,395,418,419 ,420,164,197,506,183,305,500,186,484,184,207,334,4 44,210,319,211,266,293,403,292,288,416,172,223,302 ,224,225,295,271,263,359,375,376,397,409,515,476,2 65,199,175,232,504,182,306,309,296,243,212,242,443 ,194,290,287,256,320,254,324,366,388,387,499,389,3 99,321,28,189,126,136,159,262,442,291,365,129,61,4 61,105,453,426,433,474,132,168,29,297,173,298,127, 299,187,300,137,301,239,513,273,119,400,431,435,43 6,456,457,458,466,471,486,493,494,495,505,507,510, 278,370,383,390,312,394,153,274,483,294,398,204,41 3,414,428,462,434,200,261,351,202,246,429,177,176, 264,208,146,116,218,219,220,222,221,258,377,98,329 ,346,514,472,347,335,421,384,439,386,411,385,422,4 17,454,120,276,488,489,452,501,267,423,396,438,437 ,455,209,139,247,35,36,59,131,46,62,358,363,371,37 2,374,391,392,401,402,412,415,448,424,425,427,432, 441,445,446,447,449,451,459,463,464,465,467,213,46 9,473,477,478,479,480,481,485,487,496,497,498,508, 509,311,178,343,249,154,43,328,331,206,215,121,330 ,325,327,158,326,152,179,307,203,406,408,407,503,2 48,14,27,31,33,161,162,19,512,106,53,160,280,32,34 ,310,378,198,250,511,268,47,3,140,251,252,253,151, 17,193,24,233,234,237,238,362,236,348,349,350,235, 255,240,241,230,367,231,4,277,322,122,275,382,125, 490,123,124,143,165,393,475,18,20,26,21,22,25,41,5 8,60,69,87,78,81,50,82,103,51,110,111,112,113,115, 13,369,244,114,83,84,133,85,130,49,272,92,94,95,96 ,260,257,93,97,0)
AND mention.type = 'post'
ORDER BY dateline DESC, userid
LIMIT 0, 20 |
I saw this with "SHOW FULL PROCESSLIST;" about thirty times...

Wonksta 07-24-2011 01:08 AM

^ Hmm any ideas on how to prevent such thing from happening? Hopefully Dragon comes up with a solution :)

SBlueman 07-24-2011 02:19 AM

A question to the fine folks at DBTech......

Will having the ability to use the auto-fill feature when entering in usernames to invite to a thread be a feature we could look forward to seeing in the future? And if yes, would this feature be available to 3.8 users? How about the ability to invite entire usergroups to a thread?

DragonByte Tech 07-24-2011 07:10 PM

Quote:

Originally Posted by Dave84311 (Post 2224000)
If you have a large forum, I would suggest not using this plugin. Why? Because it can be used to DDOS your forum. Apparently some smart ass spammed mentions or viewed mentions with a bot, and completely took down my forum. Not only that, but deleting mentions also makes my mysql go ape shit.


I saw this with "SHOW FULL PROCESSLIST;" about thirty times...

Such is, unfortunately, the case with any mod that adds new functionality. For the time being I don't think there's anything I'm able to do about that :(

Quote:

Originally Posted by SBlueman (Post 2224158)
A question to the fine folks at DBTech......

Will having the ability to use the auto-fill feature when entering in usernames to invite to a thread be a feature we could look forward to seeing in the future? And if yes, would this feature be available to 3.8 users? How about the ability to invite entire usergroups to a thread?

If you mean thread tags, then it's something we'll take into consideration for future versions :)


Fillip

Dave84311 08-01-2011 03:43 PM

Quote:

Originally Posted by DragonByte Tech (Post 2224446)
Such is, unfortunately, the case with any mod that adds new functionality. For the time being I don't think there's anything I'm able to do about that :(

Fillip

If I have a little more information about it, maybe I can optimize it a bit myself: Where is that query coming from and why does it take so long to delete mentions?

Also, if you would implement something that limits how many mentions a user could post, it would plugin performance. Perhaps limit mentions per post and per day, so it can't be abused. I've noticed that deleting a full page of mentions takes me like 30 tries, most of the time it times out.

DragonByte Tech 08-01-2011 03:53 PM

It's in /dbtech/usertag/includes/class_profileblock.php :)

Deleting mentions isn't a feature, unless I'm misunderstanding you.


Fillip

Dave84311 08-01-2011 04:08 PM

Quote:

Originally Posted by DragonByte Tech (Post 2227745)
It's in /dbtech/usertag/includes/class_profileblock.php :)

Deleting mentions isn't a feature, unless I'm misunderstanding you.


Fillip

Deleting posts with 200+ mentions seems to have a negative effect on performance (Assuming that mentions are deleted while doing that which accounts for the negative performance).

Disabling mentions for self (at least notifications), auto mark mentions as read after x days and limiting the number of mentions per post or per day will definitely help plugin performance.

DragonByte Tech 08-01-2011 04:17 PM

Mentions do not get removed when a post is deleted.

You have single posts on your forums with over two hundred mentions per post? O.O

Nothing wrong with that per say, just that it hasn't been tested under those conditions :p


Fillip

Dave84311 08-01-2011 05:01 PM

Quote:

Originally Posted by DragonByte Tech (Post 2227758)
Mentions do not get removed when a post is deleted.

You have single posts on your forums with over two hundred mentions per post? O.O

Nothing wrong with that per say, just that it hasn't been tested under those conditions :p


Fillip

Not by choice, of course. That reminds me, users get mentions when a mention has been quoted. It creates issues when deleting posts where mentions have been spammed 100's of times (the lag issue).


All times are GMT. The time now is 11:02 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.01359 seconds
  • Memory Usage 1,757KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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