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)
-   -   Board Optimization - [DBTech] vB Optimise 2.0.1 (Lite) (https://vborg.vbsupport.ru/showthread.php?t=237325)

Deceptor 03-01-2010 10:00 PM

[DBTech] vB Optimise 2.0.1 (Lite)
 
1 Attachment(s)
vB Optimise Lite

This is ported from my original version released for vBulletin 3.8 located here. In this release I have re-coded vB Optimise from the gound and focused stability over features.

Professional version & feature list available @ www.DragonByte-Tech.com/forum
Priority support for Lite version is handled at the Developers Website.


What does it do?

vB Optimise is intended to optimise vBulletin software by integrating several PHP "cachers" and handling data before vBulletin. This works by encountering and handling data prior to vBulletin in order to skip the arbitary execution that would be more server intensive.

Real-Life Statistics

We've teamed up with some Big Forums to show you the impact of vB Optimise, you can view this public chart which shows both our statistics and theirs:

View Public vB Optimise Resource Statistics

Features - Lite
  • Supported Extensions
    • APC
    • eAccelerator
    • Memcache
    • XCache
    • WinCache
    • Filecache
  • Style Cacher
    Caches style data to globally reduce a query within all vBulletin forum-based pages.
  • Template Cacher
    Caches template data to globally reduce a query within all vBulletin forum-based pages.
  • Datastore Cacher
    Forces custom datastore items from modifications (including those from vB's blogs) to use your configured Datastore Cache method instead of being forced into the database. This reduces page queries by where affected.
  • vB CMS Template Caching
    (Automatic) Corrects many uncached templates within vB CMS to reduce upto 20+ queries on CMS pages (number varies based on content).
  • Optimal Settings Check
    Provides a quick interface to identify possible settings which can be changed on your forum for further optimisation.
  • Self-System Tester
    Provides a relatively straight-forward system check to ensure your vB Optimise installation works fully.
  • Automatic Cache Flusher
    Automatically flushes cache within the Admin CP based on specific triggers to make sure content does not remain stale on your forum.
  • XCache Authentification
    Supports XCache Admin Authentification by allowing you specify the username/password in a configuration if needs be.


Features - Pro
  • Notices Cacher
    Caches users dismissed notices to reduce a near-global query within all vBulletin forum-based pages.
  • Showgroups Cacher
    Caches the showgroups query which becomes more intensive as your user-base grows.
  • Forum Display Query Enhancement
    Enhances a stock vBulletin query within Forum Display to speed up the page.
  • Forum Home WOL Cache
    Caches Forum Home "Who's Online" to remove an intensive query and allow larger sites to display this data without impact.
  • vB Cache Override (Feature not available on vBulletin 3)
    Ability to override vBulletins new built-in database cacher for the CMS / Forum Sidebar Blocks to remove anything from 1 to 20+ queries based on your content.
  • Full Guest Caching
    Ability to cache entire pages and serve them saving not only hundreds of queries but upto 90% of CPU processing towards Guests.
  • Statistical Resource Savings
    Ability to see just exactly how many queries per day vB Optimise has saved your database. You'll be surprised at the numbers.
  • Forum Resource Statistic
    Shows off vB Optimise resource saving statistics directly within forumhome statistics.
  • ....and more!


Release Notes

If you've used vB Optimise before you'll be aware the previous version had phrase caching, however this caused complications with the way phrases are used within vBulletin so it has not been ported over at this time.


Available Translations
v1.6.0 French - Thanks to finereader

Change Log

[>>] Version 2.0.1
No change, just keeping in sync with vB 3.8/Pro

[>>] Version 1.6.1
Automatic Cache Flusher has additional parameters to make sure no data is stale
Resolved Bug: Potential PHP error when using eAccelerator which cannot flush within Admin CP on certain actions

[>>] Version 1.6.0
New OpCode Cacher Support: WinCache

[>>] Version 1.5.0
Resolved Bug: Style cache may have fetched ID 0 instead of correct file
Resolved Bug: Filecache permissions may not have worked
Optimisation: Re-wrote some base code to enhance operations.

[>>] Version 1.0.1
Added XCache Authentification Support
Added Filecache Support

Support

Priority support will be handled at DBTech.

FAQ

Q: I have WinCache installed, but vB Optimise tells me it's not?
A: WinCache only introduced OpCode support in version 1.1, if you're using version 1.0.x you will need to upgrade.

Q: I'm using the XCache method, flushing doesn't work?
A: If you have XCache authentification, turn the admin option on within vB Optimise Settings, then edit ./vboptimise/config.php and specify your XCache username/password. Alternatively you can disable XCache authentification within php.ini:
Code:

xcache.admin.enable_auth = Off
Q: I have eAccelerator installed, but vB Optimise tells me it's not?
A: eAccelerator does not provide the caching extension by default, you will need to recompile PHP with additional flags. For more information read eAccelerator documentation located here: http://eaccelerator.net/wiki/CompileConfiguration (Specifically look at: with-eaccelerator-shared-memory)

Deceptor 03-02-2010 09:08 PM

Reserved

DragonByte Tech 03-02-2010 09:11 PM

Just want to confirm this is a DragonByte Technologies release.

Deceptor is a contributing coder who we are excited to be working with =)

BlackJacket 03-02-2010 09:15 PM

Thanks! Tagged for later.

ProFifaLeagues 03-02-2010 09:23 PM

I know it states 4.0.2 but will it still work on a 4.0.0 vbull install?
Thanks

Deceptor 03-02-2010 09:34 PM

Quote:

Originally Posted by rammieone (Post 1995546)
I know it states 4.0.2 but will it still work on a 4.0.0 vbull install?
Thanks

I've not tested I'm afraid - you can try but should you run into problems you may need to disable hooks through config.php to resolve any errors.

ChopSuey 03-02-2010 09:46 PM

Going to install thanks!

ChopSuey 03-02-2010 10:04 PM

Error after saving settings
Code:

Fatal error: Declaration of vb_optimise_none::get() must be compatible with that of vb_optimise_operator::get() in /home/x/public_html/forum/vboptimise/core/class_operator_none.php  on line 0

cory_booth 03-02-2010 10:09 PM

Interactions with VB4:Supercharged?

gbechtel 03-02-2010 10:10 PM

My site is now offline..... Anyone have a quickfix????? Please

Code:

Fatal error: Declaration of vb_optimise_xcache::get() must be compatible with that of vb_optimise_operator::get() in /home/masscops/public_html/vboptimise/core/class_operator_xcache.php on line 46
 
Fatal error: Declaration of vb_optimise_memcache::get() must be compatible with that of vb_optimise_operator::get() in /home/masscops/public_html/vboptimise/core/class_operator_memcache.php on line 75
 
Fatal error: Declaration of vb_optimise_apc::get() must be compatible with that of vb_optimise_operator::get() in /home/masscops/public_html/vboptimise/core/class_operator_apc.php on line 43
 
Fatal error: Declaration of vb_optimise_eaccelerator::get() must be compatible with that of vb_optimise_operator::get() in /home/masscops/public_html/vboptimise/core/class_operator_eaccelerator.php on line 53

Even None gives an error
 
Fatal error: Declaration of vb_optimise_none::get() must be compatible with that of vb_optimise_operator::get() in /home/masscops/public_html/vboptimise/core/class_operator_none.php on line 28


Deceptor 03-02-2010 10:10 PM

Try re-download and upload, there was a minor package bug when I originally released :)

FYI, what PHP versions are you running?

Edit

I removed the abstraction class definition to resolve compatability issues. Download/upload if you're having an issue :)

Deceptor 03-02-2010 10:21 PM

Quote:

Originally Posted by cory_booth (Post 1995573)
Interactions with VB4:Supercharged?

This is a completely different mod. Supercharged looks to optimise the code delivered to users through browsers to save bandwidth/rendering times.

vB Optimise is still optimisation, but at a server-level.

Sador 03-02-2010 10:21 PM

Nice, thanks. :)

gbechtel 03-02-2010 10:25 PM

Thanks, error is gone but none of the extentions are installed, I will see if they can be added..

Thanks

PHP Code:

vB OptimiseYou have selected a cache method that vB Optimise has detected you cannot use, this may be because the extension required is either not installed or configured correctly on your serverPlease contact your system administrator or hosting provider for more information


Deceptor 03-02-2010 10:27 PM

Quote:

Originally Posted by gbechtel (Post 1995592)
Thanks, error is gone but none of the extentions are installed, I will see if they can be added..

Thanks

PHP Code:

vB OptimiseYou have selected a cache method that vB Optimise has detected you cannot use, this may be because the extension required is either not installed or configured correctly on your serverPlease contact your system administrator or hosting provider for more information


Yes you'll need atleast one installed. I have not included the filecache in this release which anyone can use because the impact didn't seem worth it - that said if enough people request it I shall pop it on :)

ChopSuey 03-02-2010 10:29 PM

Quote:

Originally Posted by cory_booth (Post 1995573)
Interactions with VB4:Supercharged?

That mod is completely useless :down: Conflicts with alot of other modifications.

Hopefully this error is fixed ^^

cory_booth 03-02-2010 10:49 PM

Quote:

Originally Posted by ChopSuey (Post 1995599)
That mod is completely useless :down: Conflicts with alot of other modifications.

Hopefully this error is fixed ^^

I have had no issues with it... Regards...

ChopSuey 03-02-2010 10:56 PM

Quote:

Originally Posted by cory_booth (Post 1995610)
I have had no issues with it... Regards...

4.0.2 it doesn't work at all. & It conflicts with vMoods.

cory_booth 03-02-2010 10:57 PM

Installed along with VB4 SuperCharged and see a noticeable speed difference. I am using XCache as well. Have not done any "posting" and stuff yet, but display rendering is much quicker. Running 4.02 and several mods...

Deceptor 03-02-2010 10:58 PM

Quote:

Originally Posted by ChopSuey (Post 1995612)
4.0.2 it doesn't work at all. & It conflicts with vMoods.

Don't really think this is the thread for that really :) I assume the error is resolved?

Deceptor 03-02-2010 10:58 PM

Quote:

Originally Posted by cory_booth (Post 1995613)
Installed along with VB4 SuperCharged and see a noticeable speed difference. I am using XCache as well. Have not done any "posting" and stuff yet, but display rendering is much quicker. Running 4.02 and several mods...

Glad to hear the positive results :)

cory_booth 03-02-2010 11:04 PM

I have installed this hack and here is what I have running:

Auto HTML Emails .9
Automatic Tagger From Content and Title 4.4.0
BBR - Useful Links on Member Action Dropdown. 1.04
BBR - vB Event Forums 1.0.1
BBR - Welcome Thread On Register 2.02
Cel Social Groups Notifications 4.0.006
Farcaster's Event Attendance 3.0.0b
Gameroom 1.1.1
GeekyDesigns Default Avatar 2.0.2
Hasann - Username Html Markup 4.0.1
ibProArcade for vBulletin 2.7.0 ibProArcade
Members who have Visited Today - Widget 4.0.1
PhotoPost Pro 7.0 PhotoPost Pro 7.0
Text Messaging 2.0 - Free Version 2.0
vB Optimise 1.0.0
vB4: SuperCharged 1.3
vBulletin Blog 4.0.2
vBulletin CMS 4.0.2
VSa - Auto Birthday Greeter 2.0.3
VSa - ChatBox 3.1.6
VSa - PayPal Donate 5.0
Yay! Another Facebook Bridge 3.2.1

Kolbi 03-03-2010 04:00 AM

Without any caching system is it then useful, too?

djbaxter 03-03-2010 04:33 AM

Perfect.

I installed this. Realized it wasn't going to be much help. Uninstalled it.

Now my database is trashed and I cannot access either the forum or the Admin CP.

Thanks a lot! :(

ChopSuey 03-03-2010 04:42 AM

Quote:

Originally Posted by Kolbi (Post 1995767)
Without any caching system is it then useful, too?

If you have any of these installed
* APC
* eAccelerator
* Memcache
* XCache

It will work ;)

djbaxter 03-03-2010 04:44 AM

Warning: require_once([path]/vboptimise/core/class_vboptimise.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/init.php(331) : eval()'d code on line 3

Fatal error: require_once() [function.require]: Failed opening required '/home/psychlin/public_html/forum/vboptimise/core/class_vboptimise.php' in ... includes/init.php(331) : eval()'d code on line 3

Where is that information stored? There is no0 reference to the file in init.php.

ChopSuey 03-03-2010 04:51 AM

djbaxter, it looks like you have NOT uploaded all files to their respective directory.

argothiusz 03-03-2010 05:09 AM

Quote:

Q: I'm using the XCache method, flushing doesn't work?
A: This means your XCache is configured to use an admin username/password, you will of specified these in php.ini. You can turn admin authentification off in your php.ini file
How about a field for us to input/define our xCache username and pass instead of disable authorization. People can easily find my xcache directory through google/yahoo inbound link finder and mess with the stuff. >.<

djbaxter 03-03-2010 06:45 AM

Quote:

Originally Posted by ChopSuey (Post 1995790)
djbaxter, it looks like you have NOT uploaded all files to their respective directory.

I uploaded them. Then tried to uninstall from ACP. And then deleted the files. If I reupload the files, it avoids the "no file" error but indicates an unspecified database error.

Either way, I cannot access either the ACP or the forum.

I have never had an add-on do this before. This is a friggin' mess.

If you have installed this add-on, do NOT uninstall it.

Deceptor 03-03-2010 11:28 AM

Quote:

Originally Posted by argothiusz (Post 1995796)
How about a field for us to input/define our xCache username and pass instead of disable authorization. People can easily find my xcache directory through google/yahoo inbound link finder and mess with the stuff. >.<

Coming in the next release :)

@ djbaxter

It says your file is missing, if you uploaded then it probably went to the wrong location. Check the following folder exists: /public_html/forum/vboptimise/core/ - if it does not then you've uploaded the files incorrectly (remember to upload the "contents" of the upload/ folder, not the actual upload/ folder itself).

If you're still having issues accessing ACP, you can disable hooks via config.php:
Code:

define('DISABLE_HOOKS', 1);
You'll then be able to uninstall the mod product XML (which you should always do before deleting files).

Kolbi 03-03-2010 12:45 PM

Quote:

Originally Posted by ChopSuey (Post 1995784)
If you have any of these installed
* APC
* eAccelerator
* Memcache
* XCache

It will work ;)

How to test it? :)

I have currently a webhostingpackage.

Deceptor 03-03-2010 12:46 PM

Quote:

Originally Posted by Kolbi (Post 1996027)
How to test it? :)

I have currently a webhostingpackage.

vB Optimise will automatically test for you, after installation go to the settings and try to select any. If it works vB Optimise will not stop you from selecting the extension, otherwise a message is presented.

If unsure or you need to install an extension, it's best to ask your hosting provider.

ChopSuey 03-03-2010 01:27 PM

I'd rather let your host install XCache cause its faster than others.

sinucello 03-03-2010 02:06 PM

Hi,
Quote:

Originally Posted by cory_booth (Post 1995621)
I have installed this hack and here is what I have running:

thank you very much for the listing. It`s very interesting to see which mods other vB4 users have installed.

all the best,
Sacha

djbaxter 03-03-2010 02:58 PM

Quote:

Originally Posted by Deceptor (Post 1995967)
@ djbaxter

It says your file is missing, if you uploaded then it probably went to the wrong location. Check the following folder exists: /public_html/forum/vboptimise/core/ - if it does not then you've uploaded the files incorrectly (remember to upload the "contents" of the upload/ folder, not the actual upload/ folder itself).

If you're still having issues accessing ACP, you can disable hooks via config.php:
Code:

define('DISABLE_HOOKS', 1);
You'll then be able to uninstall the mod product XML (which you should always do before deleting files).

None of that helped.

I did uninstall the product before removing the files.

Your uninstall script doesn't work properly.

Deceptor 03-03-2010 03:00 PM

Quote:

Originally Posted by djbaxter (Post 1996145)
None of that helped.

I did uninstall the product before removing the files.

Your uninstall script doesn't work properly.

There is no uninstall script. You removed the product files, but you need to remove the product from your vB ACP first.

The same rule applies to any modification with a product XML/files, it would even occur on vBlog.

DragonByte Tech 03-03-2010 03:04 PM

Just confirmed there is no issue with removing/uninstalling the product by testing it several times.

Iain

Deceptor 03-03-2010 03:06 PM

Version 1.0.1 Released

[>>] Version 1.0.1
Added XCache Authentification Support
Added Filecache Support

djbaxter 03-03-2010 03:16 PM

Quote:

Originally Posted by Deceptor (Post 1996147)
There is no uninstall script. You removed the product files, but you need to remove the product from your vB ACP first.

The same rule applies to any modification with a product XML/files, it would even occur on vBlog.

See above. I did that. I'm not new to installing and uninstalling products or plugins. Your add-on left all sorts of crap behind in the database, corrupting my database in the process. I restored the database from a backup but lost some of the data in the process, and now I'm still trying to clean up the mess.

kalisekj 03-03-2010 03:16 PM

Very nice need this one for large sites. Thank You!


All times are GMT. The time now is 05:30 AM.

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.01803 seconds
  • Memory Usage 1,858KB
  • 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
  • (5)bbcode_code_printable
  • (2)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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