The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Including a PHP file in a widget
Okay I've been playing with this for a few of my mods to update them from 3.X to 4.X and I'm having issues with the CMS. I'm trying to include PHP files (Local to the forum) in the widget. I've been doing some searching and some copy/pasting.
I'm getting tired, so a break from the PC may be what I need, but I figured I would post and see if some wonderful person would stop by and help me. Here's what I've tried. I've tried flat out includes: http://www.vbulletin.com/forum/showt...-php-in-Widget Code:
// UNTESTED ob_start(); include("path/to/your.php"); echo "<br />\n"; $output .= ob_get_contents(); ob_end_clean(); Quote:
https://vborg.vbsupport.ru/showthread.php?t=242454 :P (Thanks for approving it Lynne) and this article: https://vborg.vbsupport.ru/showthread.php?t=236245 I'm getting the same error. Quote:
I'm going to take a break and play some Halo Reach and get some frustration out. If anyone would be so kind as to drop me a tidbit to work from; that would be great. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|