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 a software developer, aviation student and reclusive cave-dweller. In his spare time he enjoys taking long hikes and reading. Some of his friends have come up with the funny notion that he wants to live on locusts and wild honey. Go figure.