Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
CES Intelligent Dot-Threads Details »»
CES Intelligent Dot-Threads
Version: 1.0.1, by thincom2000 thincom2000 is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.x Rating:
Released: 03-29-2007 Last Update: 03-30-2007 Installs: 11
Uses Plugins
Code Changes  
No support by the author.

CES Intelligent Dot-Threads
Version: 1.0.1

Requires: CES Pre-Process Hooks v1.2.0+
Recommend: MySQL 5

What It Does:
This modifies vBulletin's behavior if the following setting is enabled on your forum.

Highlight Threads in Which User Has Posted
When this feature is enabled, a logged in user will see an 'arrow' (or whatever graphic you choose) on the folder icons (hot folders, new folders, etc.) next to the threads that they have posted in.

vBulletin normally accomplishes this by adding another query to Forumdisplay. This hack removes that query.

*** NEWS ***
3/30/2007 - v1.0.0, v1.0.1 released

Known Issues:
- none

Products to Install: 1
Plugins Included: 2
Files to Upload: 0
Files to Edit: 1
New Templates: 0
Template Edits: 0

Mod Features:
- removes 1 query from Forumdisplay

*** Changelog ***
As of Version 1.0.1:
- safer file edit

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-31-2007, 01:54 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fastforward View Post
Have you compared the execution plan of the modified query with the original? Remember, MySQL versions prior to 5.0 can only use one index per query.
In that sense it's unfortunate that I'm running 5.0. I have checked the EXPLAIN for the query and the possible keys are postid, userid, threadid. The join uses userid and threadid, so it just depends on which has fewer results, but most likely it will end up using userid, which is okay for MySQL 5.0 people, but others will have to look at their query speeds to see if this is actually an improvement.
Reply With Quote
  #13  
Old 03-31-2007, 04:48 AM
BigJimTheLug BigJimTheLug is offline
 
Join Date: Nov 2006
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Those that ask for screenshots are probably people who are not fluent in vbulletin.com talk.
Reply With Quote
  #14  
Old 03-31-2007, 04:49 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I strongly suggest anyone to not use this hack!vBulletin staff though of every performance possibility and if there would be one,I think they would use it.
Reply With Quote
  #15  
Old 03-31-2007, 06:35 PM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Although I would have to agree with you that Jelsoft did an excellent job with performance in vBulletin (compare MediaWiki), I must also say that at least running MySQL 5.0.27, having developed a number of hacks using the Pre-Process hooks...

I have tested the page on my server (your server will definitely have different results) with the hooks enabled and disabled, only running this particular hack.

Processing times at average peak performance for each has revealed the following:

disabled ~ 0.002 + enabled

With the hooks disabled, times have been known to dip (extremely rarely) to the following results:

disabled + 0.001 ~ enabled

The difference as you can see is minimal in terms of time efficiency. In terms of server load:

disabled ~ 0.50 + enabled

and there is not the rare occasion where disabled dips lower than enabled.
Reply With Quote
Reply


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


All times are GMT. The time now is 06:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07582 seconds
  • Memory Usage 2,239KB
  • Queries Executed 19 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete