Epic Voyage logo

Epic Voyage

The Wanderer's Journal

Main menu

  • Home

Geek Stuff: vBulletin Follow-Up

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.

Overheard at the Tavern

To pass lightly from old laws to new ones is a certain means to weakening the inmost essence of all law whatever. — Aristotle
Another »

Since This Page Loaded...

0 million dollars have been spent by Washington.
0.00 dollars per person in the US.

And that is only Federal spending...

0 babies have died worldwide in an abortion.
0 babies were in the United States.

0 Americans have contracted an STD.

About Me

{author}
Chris is probably out getting lost somewhere. He has a tendency to do that. Please don't worry unless he fails to show up again sometime in the next week.

Copyright 2024. All rights reserved.