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 |
#2
|
||||
|
||||
w00t . I 'll try this as soon as I'm home . Clicked install .
Edit: Installed. 2 query reduced at forum home. Works like a charm. Screenshot added. |
#3
|
||||
|
||||
Man..what u have done ?
Simply tremendous.......... Xcache rocks............ sure it will work better than others.. Xcache is working simply good......in my vb board...even it works better than eAcc. it reduced my server load more.... can u say how much ram will be needed for using this? min.requirments? Thanx...... |
#4
|
||||
|
||||
Hope to get it with in vb at next release...
i gez after install it we wont need memcache any more ???? |
#5
|
|||
|
|||
Sorry, all this talk is way over my head, can someone explain what this is about in laymans terms please?
Do i need to install this? |
#6
|
||||
|
||||
helo bashy..
like; some of us using eAcc or APC or Xcache for php accleration. If u have Xcache installed on ur box for php cache/optimize u can install it for datastore cache. atm we are on Xcache and it really works nice than eAcc.And it reduce more serverload than eAcc. Xcache is perfectly working with php5.2.* series. http://trac.lighttpd.net/xcache/ Xcache have option to cache php & variable.....to enable datastore cache for vb+xcache. Gonna install this patch for data-store cache. |
#7
|
|||
|
|||
Ah right ok thanks Zia i understand now
|
#8
|
||||
|
||||
Just curious bashy...
which cacher/acclereator do u use? |
#9
|
|||
|
|||
Reserved, thanks.
|
#10
|
|||
|
|||
Sorry if i am sound stupid but i dont know how to apply the patch... i have xcache allready in the box with php 5.2 (2k3 box) and im little confused cause i never applied a patch in my vb.
Can someone explain? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|