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;
vs. old way
Code:
$categorycache = unserialize($vbulletin->gallery_c_cache);
$galleryoptions = unserialize($vbulletin->adv_gallery_opt);
$gallery_permissions = unserialize($vbulletin->gallery_ugroups);
I have a windows system w/ memcache enabled and the gallery working with the new changes. With the current code in the gallery APC, Memcached setting stop the gallery from working.
I will also change the code to build datastore.
New:
Code:
build_datastore('name',serialize($field),1);
Old:
Code:
build_datastore('name',serialize($field));
Changes as these may also fix other scripts out there.