PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 21st, 2006, 08:28 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 5
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); ?>

Thanks
jfreundn is offline   Reply With Quote
Old April 21st, 2006, 09:25 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Hello

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?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 21st, 2006, 11:30 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 5
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.

Thanks
jfreundn is offline   Reply With Quote
Old April 22nd, 2006, 07:57 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
I would simply try this

Edit your custompal template in admin template editor

Place this in there

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 22nd, 2006, 02:43 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 5
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.
jfreundn is offline   Reply With Quote
Old April 22nd, 2006, 06:27 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 22nd, 2006, 08:39 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 5
The software works just not in my photo gallery Help

Hi Chuck,

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.
jfreundn is offline   Reply With Quote
Old April 22nd, 2006, 09:07 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Code:
Content visible to verified customers only.
Based on what your posting as long as the custom template contents are this it should work based on what your telling me as long as the path to the file is correct. The only advise I can give is what I am posting above because based on your html php include thats what the code would look like in our custom template since it is already a php file format. You would want to make sure in the Admin => Sidebar Options the sidebar and custompal are turned on.

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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 23rd, 2006, 01:55 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2005
Posts: 5
Hi Chuck,

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.

Thanks
jfreundn is offline   Reply With Quote
Old April 23rd, 2006, 06:58 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Yes you would apply the correct path to the file.

Maybe this?

include_once("../msa/mysimpleads.php");
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to zip code feature to work? caliman Classifieds Installation & Upgrades 33 March 8th, 2007 05:02 PM
help! cannot make it work with Mambo batmon Photopost Pro Installation & Upgrades 11 August 28th, 2005 12:42 PM
... make standard sessions work with photopost? flint Photopost Pro How Do I...? 3 April 27th, 2005 03:09 PM
Zip Code Does Not Work joe4 Before You Buy 2 December 22nd, 2004 03:23 PM


All times are GMT -5. The time now is 12:02 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0