Hi. I know you aren't required to provide support for third party software and I don't expect you to but I was hoping you could help me out.
I'm using
CMSMS (Content Management System Made Simple) and I'm trying to use your hack.
The CMS lets me define php tags to use in the template code so that's no problem. However, when I execute the chdir call, it gives me this:
Code:
Warning: array_keys() [function.array-keys]: The first argument should be an array in /includes/functions.php on line 3291
Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 3291
I think it may be a naming conflict somewhere (between vB and the CMS) but I'm not sure how to proceed. Any ideas?
Line 3291 is
foreach (array_keys($vbulletin->forumcache) AS $forumid) and I don't see how that conflicts with CMSMS...
I'd appreciate your input. Hope to hear a reply from you one way or the other. Thanks.
Edit: For reference, I set up a test.php page on my site (manually, not via the CMS) and it worked perfectly.