How do I make this code work?
I want to make this code work in the custom2.tpl file do I need some type of variale to make it work if so what is the code that I need to insert in additon to this code?
<?php include_once("/msa/mysimpleads.php");show_ad_group(1); ?>
I would have no idea what else you would need to make your code work. This would depend on your code. You would include the file you need to and then any variable(s) needed to print the output.
Is the show_ad_group your variable used to print the output of the mysimpleads script?
yes this is a script that will geo target my ad campaign and when it is added to my html pages outside of vbulletin it works great but for some reason it will not register at all. In other words it does not show my ads in header as it should.
Does the header register php coding or only html.
I am so confused by why it just doesn't work inside thest templates.
I need some help b/c I am not very experienced in this area.
I would simply try this
Edit your custompal template in admin template editor
Place this in there
I added the above line of code and it is still not working. What else do I need to do?
I need very specific direction as I don't normally work with php.
Thank you in advance for your help.
Sorry but this issue does not involve a support issue with our software. You would need to debug or ask for support from that software's manufacturer you are trying to get working.
The software works just not in my photo gallery Help
I'm confused here. This software works perfectly on html sites but with the templates in ppp it is not working the developer said that will depend on how to make ppp execute the code so it seems as if there must be some way to make this php code work on my photo gallery.
Otherwise if this continues not to work since this is dealing with a software that is not manufacturered by us any support on that code or why it would not print would come from the manufacturer of that specific software. They would probally be able to tell you why it would not work if this continues to be an issue.
I just am wondering that since both gallery and msa are subdir of the root.
Do I need to instruct pp to look ouside of its dir gallery to make the php work?
I asked b/c u mentioned correct path.
Yes you would apply the correct path to the file.
|All times are GMT -5. The time now is 05:04 PM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0