The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
datastore cache to XCache - boost your vBulletin Details »» | |||||||||||||||||||||||||||
datastore cache to XCache - boost your vBulletin
Developer Last Online: Mar 2008
(note: do not apply this patch on vBulletin 3.7 as it's included already) This patch allow you to use XCache as a datastore cache in vBulletin. This is definitely your choice if you have installed and enabled XCache on you server already. Take care that this is a beta version and was not heavily tested. And i'm not familiar with vBulletin source code as i just started reading it today, but i don't have any difficulty reading it thanks to my years of php skill Take aware that some vB plugin is not compatible with vB_datastore_*, not just vB_datastore_XCache. So, in case you find vB_datastore_XCache won't work, you'd better try datastore to file or memcache. If one of the others works but not vB_datastore_XCache, do report it to me so i can fix it. Pre-requirement
Install the modification for those of you who can't run "patch", u may patch the file manually
example class_datastore.php after modification: PHP Code:
PHP Code:
q. i have multiple vBulletin instance installed, the seems to mix data after install this plugin a. this applies to apc too because, if you wanna fix it, try open class_core.php, look for: $this->prefix =& $this->registry->config['Datastore']['prefix']; and modify to: $this->prefix = $this->registry->config['Datastore']['prefix'] . $_SERVER['SERVER_NAME']; // or HTTP_HOST q. Warning: unserialize() expects parameter 1 to be string, array given in $a.php on line $b a. upgrade your plugin/hack that $a.php belongs to, e.g. vbjournal/vbgallery etc. OR open $a.php and locate at line $b, remove unserialize call, e.g.: replace $var = unserialize($this->data); with $var = $this->data; be careful do not remove the whole line, just the unseralize( and ) Supporters / CoAuthors Show Your Support
|
Comments |
#52
|
|||
|
|||
Ah... Bummer... vbGallery stops working when this is activated (just as with the memcache datastore). I wish they'd get around to fixing their code...
|
#53
|
||||
|
||||
Quote:
coz this too kool modification needed to be perfect(as much possible) 1. vBGallery 2. Geek Article System 3. vBShout plz continue |
#54
|
||||
|
||||
VBlogetin is working fine here.
|
#55
|
|||
|
|||
Quote:
thanks for your confirmation. |
#56
|
||||
|
||||
I have not installed this but I have fixed PhotoPost vBgallery to work with Memcache.
- I think it will support other external cache programs also. The problem was the way the original scripts are designed. I do not have a full list but I am changing old calls to datastore items for vBgalery 2.2. EX: New: Code:
$categorycache =& $vbulletin->gallery_c_cache; $galleryoptions =& $vbulletin->adv_gallery_opt; $gallery_permissions =& $vbulletin->gallery_ugroups; Code:
$categorycache = unserialize($vbulletin->gallery_c_cache); $galleryoptions = unserialize($vbulletin->adv_gallery_opt); $gallery_permissions = unserialize($vbulletin->gallery_ugroups); I will also change the code to build datastore. New: Code:
build_datastore('name',serialize($field),1); Code:
build_datastore('name',serialize($field)); Changes as these may also fix other scripts out there. |
#57
|
|||
|
|||
I applied the patch, and all I get is a blank page when accessing the forum.
|
#58
|
||||
|
||||
yet no errors...
its working... confused why wont work for u :S |
#60
|
|||
|
|||
So if you have a big board going on, it's recommended to run something like this? I have many plugins installed, what plugins will it intefere with?
|
#61
|
|||
|
|||
you'd better check if all your plugins works when vb_datastore is enabled (vb_datastore_xcache is only one of the datastores). may other vbulletin professional users give you advice
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|