View Single Post
Old March 17th, 2011, 04:50 PM   #4 (permalink)
Luciano
Registered User
 
Join Date: Aug 2005
Posts: 1,229
well i can see it in your script

this a a copy and paste of the script you pasted above with the line colored red:
Quote:
if (PP_SCRIPT != 'vBGallery')
{
$datastore_fetch[] = "'ppg_stats'";
global $phrasegroups;
$phrasegroups[] = 'adv_gallery_int';
}
else
{
$vbulletin->options['keywords'] = '|||VBGMETAKW|||';
$vbulletin->options['description'] = '|||VBGMETADESC|||';
}

$vbulletin->options['gallery_url'] = 'debug:gallery_url';
$datastore_fetch[] = "'adv_gallery_opt'";
$ppg_options =& $vbulletin->adv_gallery_opt;

$usescripts = array('index', 'member', 'usercp', 'profile', 'moderation','calendar','subscription','private', 'adv_index', 'vbcms', 'blog');
if (in_array(THIS_SCRIPT, $usescripts))
{
$datastore_fetch[] = "'gallery_ugroups'";

$datastore_fetch[] = "'gallery_c_cache'";
if(THIS_SCRIPT == 'index')
{
$datastore_fetch[] = "'gallery_ext_img_cache'";
}
}
unset($usescripts);
just paste the line above the red line... in green below:
Quote:
if (PP_SCRIPT != 'vBGallery')
{
$datastore_fetch[] = "'ppg_stats'";
global $phrasegroups;
$phrasegroups[] = 'adv_gallery_int';
}
else
{
$vbulletin->options['bburl_basepath'] = 0;
$vbulletin->options['keywords'] = '|||VBGMETAKW|||';
$vbulletin->options['description'] = '|||VBGMETADESC|||';
}

$vbulletin->options['gallery_url'] = 'debug:gallery_url';
$datastore_fetch[] = "'adv_gallery_opt'";
$ppg_options =& $vbulletin->adv_gallery_opt;

$usescripts = array('index', 'member', 'usercp', 'profile', 'moderation','calendar','subscription','private', 'adv_index', 'vbcms', 'blog');
if (in_array(THIS_SCRIPT, $usescripts))
{
$datastore_fetch[] = "'gallery_ugroups'";

$datastore_fetch[] = "'gallery_c_cache'";
if(THIS_SCRIPT == 'index')
{
$datastore_fetch[] = "'gallery_ext_img_cache'";
}
}
unset($usescripts);
Luc
Luciano is offline   Reply With Quote