PDA

View Full Version : [BUG] Phrasegroup adv_dyna called on all pages


mhc1576
02-22-2008, 04:05 PM
Phrasegroup adv_dyna is called on all pages and not only dynamics pages or pages that uses dynamics addons.
This destroys the translations for other products and install of dynamics since there is no specific prefix used for dynamics on all phrases.

Brian
02-25-2008, 01:24 PM
The phrase groups are called from the dyna_global.php file, so there's no way they would be included with your forum pages on a default install.

Our Sponsors
 

mhc1576
02-25-2008, 03:49 PM
It seems to be the addon vBa Dynamics CMPS Module for displaying latest Dynamics on CMPS that caused this problem. I changed init_startup hook to only work on CMPS index and then the problem dissapeared.

if(THIS_SCRIPT=='adv_index')
{
$datastore_fetch[] = "'adv_dyna_rand'";
$datastore_fetch[] = "'adv_dyna_cats'";
$datastore_fetch[] = "'adv_dyna_perms'";
$datastore_fetch[] = "'adv_dyna_opts'";

$phrasegroups[] = 'adv_dyna';
}