Quote:
Originally Posted by ButtKrust
Ignore what i said earlier, and let me put it this way.
When i create a new PHP MODULE with vbadvanced, and in the settings section i set the "Initialize Forum Permissions" to YES, it allows me to use $foruminfo[forumid] in the php file and it works fine. When i copy this exact same file and call it with the TEMPLATE module for this AJAX TABS, (EX: Datasrc: "tabsample1.php") i CAN NOT use $foruminfo[forumid]. It simply doesn't work. Is this because "Initialize Forum Permissions" haven't been allowed for this? Is it because this is a TEMPLATE module rather than a PHP module? Is there a way to set TEMPLATE modules to have this very same setting? Is there a way i can go about getting $foruminfo[forumid] to work when the php files are called through these AJAX tabs? I hope to God in heaven this made sense. I really need this to work.
|
If you are needing to include variables that are created by a specific function, then you need to include that function within the content php file.
Quote:
Originally Posted by kfiasche81
it's work on 3.8.x ?
|
yes