The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
CoffeeLovesYou How to include PHP in a... 09-22-2012, 12:37 AM
Lynne Have you tried just copying... 09-22-2012, 01:52 AM
CoffeeLovesYou Yes but I'm not sure where to... 09-22-2012, 01:32 PM
Lynne All you would need is:
php... 09-22-2012, 02:40 PM
CoffeeLovesYou how would I attach that to my... 09-22-2012, 03:17 PM
kh99 I think it's the second... 09-22-2012, 04:15 PM
CoffeeLovesYou I've tried the second... 09-22-2012, 07:48 PM
kh99 OK, if this works:... 09-22-2012, 09:34 PM
CoffeeLovesYou I get this when I try to put... 09-23-2012, 03:51 AM
kh99 Hmm...the error looks like... 09-23-2012, 10:37 AM
CoffeeLovesYou I will PM you my table.php... 09-23-2012, 03:07 PM
kh99 As I mentioned in the PM I... 09-23-2012, 03:18 PM
CoffeeLovesYou Oh wow, that did work!! ... 09-23-2012, 03:30 PM
|
#1
|
|||
|
|||
How to include PHP in a template via Plugins
Hi,
Currently, I have this. PHP Code:
How can I - instead of using table.php, put the PHP code that is already IN table.php in the actual plugin and still use $includedphp in the template? If someone gets the link to table.php, they will be able to see info I don't want them to see -- the table.php is literally just PHP/MySQL table code, I have it calling it to a template to look nicer and in the template, I have it so only Staff usergroup ids can see it, but I can't make it that way for the table.php, since it isn't part of vBulletin. Hope this was clear. Just trying to put the PHP code inside of the Plugin instead of using include('table.php') |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|