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

Reply
 
Thread Tools
Plugin Accelerator Details »»
Plugin Accelerator
Version: 1.2.1, by Trigunflame Trigunflame is offline
Developer Last Online: Nov 2019 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 02-05-2006 Last Update: 03-11-2006 Installs: 171
Code Changes Additional Files  
No support by the author.

Vbulletin Plugin Accelerator
Accelerate Your Forums Plugins



Summary:

If you use the Vbulletin Plugin System (Specially if you use a lot of plugins), this will help improve the performance of the system overall by inlining all of the plugin code into the PHP files themself.

Essentially making it as if you had hacked the files yourself, this will give you better performance on your forum overall.

PS. Use this in conjunction with my Other Hack (Compress Forum Templates) for speeding up your forum even more by compressing templates.
https://vborg.vbsupport.ru/showthread.php?t=107615
PS. Use this in conjunction with my Other Hack (Template Cache System) for speeding up your forum by caching its templates.
https://vborg.vbsupport.ru/showthread.php?t=110144

Install:
  1. Download the zip file.
  2. Open install.txt and Read Instructions

Upgrade:
  1. Download the zip file.
  2. Uninstall Product "Vbulletin Plugin Accelerator"
  3. Open install.txt and Read Instructions to install like usual.

Current Status: (RC2)

Release Candidate 2 Has Been Released.
This code has been deemed acceptable and to be used by all.

Please report any bugs back to this thread.
Thanks.
  • Latest Changes: 02/11/2006
  • Fixed another problem with backslashes, hopefully this will fix some other problems.
  • To upgrade, just replace the includes/class_plugin_accelerator.php with the new one.

Important Notes:

1. While this IS a release candidate, more than likely its not fully bug free so Please backup your files before you install this modification, this system is not yet perfect.

2. When running "Rebuild Hook Cache" and "Rebuild All Plugins" if you ever see a small parse error, or file couldnt be opened error; re-run both again and it should go away.

3. includes/hook_files.php contains locations of all the files the accelerator scans for plugin hooks, if you have any files that have been renamed, moved, etc.. you need to add it to that file on its own line, thanks.


If You Have Problems:

If you incur any parse errors, or pages not displaying after running the steps. Please make a copy of the affect file as well as its original version, zip them and upload somewhere. Send me a link to the file for me to download, review and provide a fix.

Show Your Support

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

Comments
  #42  
Old 02-10-2006, 07:02 AM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reef
This is a great concept Trigunflame, I would love to improve speed any way possible but this killed my board after running Rebuild Hooks + Plugins.

After running those I recieved this error on every page I tried loading

Code:
Parse error: parse error, unexpected ']' in /home/rplace/public_html/board/includes/functions.php on line 4353

I ended up having to replace the php files with backups since I couldn't reload the page to try uninstalling it.
Thanks, ya this is a really tough hack to perfect due to the regexp involved, ive already spent many hours on it.

I know this may be difficult for you, but it would really help me fix this problem. If you could install the hack again and run it; if the problem happens again save that file and rename to .txt and upload it as an attachment here; and also attach your backup copy of the same file that way I can do a Text Diff on it to see whats actually being changed.

I really want to get problems like these solved as this hack has a lot of potential to make the Vbulletin Plugin System Good; ive done lots of test on my own and other forums and while very rare.. problems like yours has occured; so hopefully I can fix it for you.
Reply With Quote
  #43  
Old 02-10-2006, 07:05 AM
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
Location: Canada, AB
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wouldn't know what to look for when you say weird HTML in the source, but no I'm not getting any errors of any sort

Click , it works just fine when placed under navbar just no where else :surprised:
Reply With Quote
  #44  
Old 02-10-2006, 07:10 AM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by eNforce
I wouldn't know what to look for when you say weird HTML in the source, but no I'm not getting any errors of any sort

Click , it works just fine when placed under navbar just no where else :surprised:
Turn the compression hack off, "Uncompress Templates", so I can actually read the HTML.. lol

Then place it under the forums I believe you said; see what we have then..

Hmm the shoutbox appears.. im not registered though, i imagine it gives you someway to input text.
Reply With Quote
  #45  
Old 02-10-2006, 07:14 AM
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
Location: Canada, AB
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I uncompressed and put shoutbox at the bottom, now it's showing

So maybe it's the template compressor's fault not the plugin accel :squareeyed:

Well, I'm just confused now
Reply With Quote
  #46  
Old 02-10-2006, 07:15 AM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by eNforce
Okay, I uncompressed and put shoutbox at the bottom, now it's showing
So let me get this straight, it works fine as long as its uncompressed? But when you compress it, it only works at the top?

Ya this is a template compressor problem -_-, lets go back over there.
Reply With Quote
  #47  
Old 02-10-2006, 07:19 AM
Reef Reef is offline
 
Join Date: May 2003
Location: USA
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol. got your hands full with releasing these 2 at once...

I did the reinstall as requested and recieved the same errors again.. This time I only replaced functions.php with the original and everything is loading so far..

I will zip and PM you a link to those files requested as someone would throw a fit if I posted original vb code here
Reply With Quote
  #48  
Old 02-10-2006, 07:22 AM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reef
lol. got your hands full with releasing these 2 at once...

I did the reinstall as requested and recieved the same errors again.. This time I only replaced functions.php with the original and everything is loading so far..

I will zip and PM you a link to those files requested as someone would throw a fit if I posted original vb code here
Really? I dont see why, you have to be licensed to download an attachment anyway I believe.

But either works, thanks.
Reply With Quote
  #49  
Old 02-10-2006, 07:53 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dear coder...

when we can accept final version will be relase...
i trust this & Compress Forum Templates
together will be a grate things..

thnx
Reply With Quote
  #50  
Old 02-10-2006, 09:04 AM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update

Critical Bug Fix, dealing with code with double backslashes \\ creating parse errors, it was kicking my butt determining the source of the error, but its now fixed; thats gonna solve a LOT of problems for anyone that had trouble in the past.

If you have installed this hack in the past, download the new Release Immediately, just replace the class_plugin_accelerator.php with the new one.
Reply With Quote
  #51  
Old 02-10-2006, 04:43 PM
goyo goyo is offline
 
Join Date: Mar 2002
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank You Trigunflame

This is the biggest Vb optimization for 3.5.x branch! No problems so far...

Combined with template compressor it's accelerated around 15-30% (on reply's and searches more, on showthread, index less but still visible...)
Now with over 500 concurrent users our board actually stays usable...it means you can download a page in less than a minute :nervous: .

Thank You once again...
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 11:32 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.07495 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
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_code
  • (4)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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