The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I need some help with embedding PHP in templates
filburt1 gave me permission to ask if any of you could look over the excellent mod that he wrote for vB 2.xx that allowed you to embed PHP into a template. I need this ported over to 3.5 if any of you can. He doesn't have the time to write any extra code at this time.
His code is located in this thread. Thanks in advance. Parker Clack |
#2
|
||||
|
||||
Wow... It would be easier if they simply started from scratch. The code in 3.5 is nothing like anything found in the 2.X series.
|
#3
|
|||
|
|||
Wanye Luke:
So do you think this could be ported over or would it be too much of a hassle? |
#4
|
||||
|
||||
Quote:
|
#5
|
|||
|
|||
I looked into using hooks but if I do that I am trying to incorporate an include in the template and the page that is linked to in the include shows up that page at the top of the page that is written. If I put that include in the body of the template within a table it still shows up at the top of the page.
How would you write something to use in a hook that makes it more of a conditional? What hook would you use on a remote php page? The great thing about filburt's code is that it works with any php file that you have in that directory. Thanks, Parker |
#6
|
|||
|
|||
Could a person use hooks to add fields for a user to input, have them submitted, stored in the databse and retrieved from another form?
-Sokol |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|