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.
Happy hacking.
Add new comment
I expect to pass through this world but once. Any good, therefore, that I can do or any kindness I can show to any fellow creature, let me do it now. Let me not defer or neglect it for I shall not pass this way again.
Recent Comments