The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PHP in vBulletin posts
Hi everyone,
I have a manga viewer script that I wish to include in my forums. It works by calling a php script however. I have uploaded this script to my database. However, I have been told by the admins at vBulletin.com forums that PHP in posts are not allowed and have been re-directed here. I have searched but cannot find anything related ... I would like to request a modification for PHP in vBulletin posts ... or if there is one already I would appreciate a link. Thanks! |
#2
|
||||
|
||||
All you want to do is include the php in your showthread pages? You can just write a plugin to include the file.
|
#3
|
|||
|
|||
How would I do this? Could anyone help please, I have no experience in coding at all.
|
#4
|
||||
|
||||
You could write a plugin that has the code (example stolen from the manual here - Optimizing Plugin Memory Usage):
PHP Code:
(And do you really mean you upload the script to your database? That doesn't really make sense to me so I'm not sure what to make of that.) |
#5
|
|||
|
|||
May help: Including External Files
|
#6
|
|||
|
|||
Sorry if I have been a little unclear,
Basically I have this script: Code:
<?php> include("mangaviewer/script.php"); ?> I will take a look now at the links you've given me. Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|