View Full Version : Style Replacement Variables not parsing with integration

05-20-2007, 04:44 AM
My style's replacement variables are not parsing in the Custom Content module when I try to integrate a vb script with a wrapper page.

My default skin is fine, it has no replacement variables. If I add one, it doesn't parse.

I added a very simple replacement variable as a test, and it didn't parse at all until I removed the integration.

Example: Create replacement variable called "thisisatestofreplacementvariables" which is replaced with "The replacement variable parsed successfully!" in the default template (which has no other variables by default). Then paste that code in the template, FORUMDISPLAY, right above "$footer" at the bottom.

Before integration, my forumdisplay.php pages parse the variable correctly. After integration, it doesn't. This plays havoc with my custom templates.

05-20-2007, 11:16 AM
Thank you for pointing this out. If you'll look in your forum/includes/vba_cmps_include_top.php file for this code:

return $output;

And replace with this:

return process_replacement_vars($output);

Then that should take care of the problem.

Our Sponsors

05-20-2007, 12:53 PM
Yes, that worked! Thanks!

05-20-2007, 01:28 PM
thank you, i was having the same problem. Fixed it right up:D