![]() |
|
Thread Tools |
#1
|
|||
|
|||
php templates
Is there any way, to get PHP code in the templates, as I need to integrate a script with the rest of my site.
If not, what solution would you recommend? Is it possible to build a php powered page, without the use of templates, that you can enter the php code in manually? solutions would be much appreciated No members have liked this post.
|
#2
|
|||
|
|||
Re: php templates
place your php in the php_include start template.
__________________
Duplicate IP tracker Prevent shouting in usernames Prevent certain users appearing in forum leaders. No members have liked this post.
|
#3
|
|||
|
|||
Re: php templates
Surely if I did that though, it would be included on all pages, and not the one specific page I want. And how would I get that to appear where I want on the specific page?
No members have liked this post.
|
#4
|
||||
|
||||
Re: php templates
Well, you'd need to create a variable in the phpinclude template, for a specific template if you wish, and then place it where you want it to show.
No members have liked this post.
|
#5
|
|||
|
|||
Re: php templates
sounds pretty complicated. I'd have thought that there would have been mods for doing something like this though?
No members have liked this post.
|
#6
|
||||
|
||||
Re: php templates
There are mods that use the phpinclude template, but no mod telling you how to make a phpinclude mod, sorry. If you have a specific mod you want, request it and be more specific.
![]() No members have liked this post.
|
#7
|
|||
|
|||
Re: php templates
Ok then - THIS IS MY SPECIFIC MOD REQUEST
What I want is to be able to use php within templates. Not just includes, but whole chunks of code within the templates. Would anybody be able to make this possible. ![]() No members have liked this post.
|
#8
|
||||
|
||||
Re: php templates
Like I said, no modification will tell you how to make a modification. It will do it for you, and that's it. When I am referring to specific, I mean, what modification you want to make to your forum, what function you want to add, etc.
No members have liked this post.
|
#9
|
|||
|
|||
Re: php templates
Surely the function I want to add is php in the templates system
No members have liked this post.
|
#10
|
|||
|
|||
Re: php templates
Open your specific vbulletin php pages and add the php you want to those files then alter your html in the template to correspond with your added PHP.
__________________
Duplicate IP tracker Prevent shouting in usernames Prevent certain users appearing in forum leaders. No members have liked this post.
|
#11
|
||||
|
||||
Re: php templates
Originally Posted by blueuniverse
phpinclude is already there. It only has limited features though. For more extensive modifications, you will need to edit the core files.
That's why I need to know what you intend to install through the templates. No members have liked this post.
|
#12
|
|||
|
|||
Re: php templates
Originally Posted by blueuniverse
This requires hacking the .php files, you should try asking over at vBulletin.org
No members have liked this post.
|
#13
|
|||
|
|||
Re: php templates
Ok then. Done that now, not getting much response just yet though. Thanks
No members have liked this post.
|
#14
|
|||
|
|||
Re: php templates
Well it is the early morning (6 am) here on the east coast of the united states, activity will pick up alot over the next few hours on all three sister sites
![]() No members have liked this post.
|
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Advanced Templates: Dynamic Templates Changing according to different conditions | Logician | vBulletin 2.x Full Releases | 312 | 24 Apr 2005 20:20 |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 20:12.