![]() |
Template Variable Issue - class_core.php
While debugging a problem where the variables cannot be accessed from the header template, I have narrowed this down to class_core.php.
On one forum where I'm able to access a variable (say $ForumMenu) in the header template, in around line 4074 of class_core.php I added the following code. $template_name = preg_replace('#[^a-z0-9_]#i', '', $this->template); if ($template_name == "header") { var_dump($template_code); } Here, I can see this for example "misc html $ForumHome misc html" as an example. On the forum where it does not work, I see "$final_rendered = misc html $ForumHome misc html". Any ideas why the same header on one forum would show up as with the $final_rendered and the other would not? Have I missed a step in the upgrade? Please, I do need this resolved... spent dozens of hours trying to resolve this and am about to abandon 4.0 and move back to 3.8 for our new platform. I assume I cannot ask vb support as they do not support mods or code related issues?? Any recommendations on how I might be able to get through to someone who could help? |
All times are GMT. The time now is 06:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|