![]() |
Using PHP in VBulletin
Right, I am wanting to use some php code using the VB notices system. Here is the PHP code I am wanting to use.
PHP Code:
PHP Code:
All ideas and help is greatly appreciated. Thank you. --------------- Added [DATE]1225555222[/DATE] at [TIME]1225555222[/TIME] --------------- I seen the VB manual and it just doesnt seem to work the method shown there. I have added a new plugin name quotegenerator and used HTML Code:
ob_start(); HTML Code:
Warning: include(/mascot/random.php) [function.include]: failed to open stream: No such file or directory in [path]/global.php(404) : eval()'d code on line 722 ________ MILF PORN |
Your path is wrong unless you are running Apache in chrooted environment. You need to fix it.
|
We might be able to suggest the hook location for your plugin if you tell us a bit more about the code - like where are you wanting to post the results?
|
I am wanting to post the results within a div, floated to the right of a white background, next to an image on the left.
I havent tried the $quotegen within a div as of yet only on its own to test it. I tried it within a web template created using the logicians web templates mod and with a new notice on its own. Am I supposed to use the full path? Like blah/home/public_html/etc --------------- Added [DATE]1225578254[/DATE] at [TIME]1225578254[/TIME] --------------- Thank you, it is now working after changing the path to the full path /home/Blah/public_html/ :D Lets hope I can get this the way I want it too :) Very happy ;) |
All times are GMT. The time now is 02:30 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:
|