As it turns out, my customer did not want only one imported page modified by vBulletin before it was displayed. He wanted all imported pages to be condensed if the user was not logged in, and he wanted to add or remove pages at will.
Again, minimal documentation. To do this, I modified my polls-process.php file to work as a plugin via the “vba_cmps_print_output” hook. “var_dump(get_defined_vars())” was very useful for finding the proper PHP variables to modify. vBulletin had not one or two, but three copies of the page loaded in memory. I needed to change “$home[‘leftblocks’]” for my modifications to show on the output page.
Add new comment
Chris is an ideologue who acknowledges Murphy’s existence.