![]() |
PHP in the Forum SideBar
Hi,
I was wondering if it is possible to include some PHP code in the templates for VB. Basically I have some logic that I would like to do for displaying different things in the sidebar - I would like to add a file_get_contents() function then display the result in the sidebar. I hope this makes sense - Does this sound possible? Thank you. |
Quote:
Process the PHP logic in a plugin (if it is on a forum sidebar that appears on every page, you'd probably want to go with global_complete) and then store the contents in a variable to display in the template. |
Thanks for this thread...
I want to include a PHP include on my navbar (to display a random quote on each page), so can you tell me a little bit more about how to include my code in the right plug in? Thank you for your help :) |
<a href="http://www.vbulletin.com/docs/html/templates_externalfiles" target="_blank">http://www.vbulletin.com/docs/html/t..._externalfiles</a>
|
Thank you SO much. I didn't realize that part of the help file even existed.
THANKS! |
All times are GMT. The time now is 02:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|