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 15th, 2008, 05:16 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2007
Location: Washington
Posts: 15
Banners on certain pages

I would like to place banners on the index, showgallery, and showphoto pages, in the locations shown below, respectively.

Do I need to place the banner script directly in above mentioned PHP files? If so, where? Or do I need to edit some templates?

Thanks a lot, and sorry if this has been addressed before.
Attached Images
File Type: png banner1.png (18.2 KB, 12 views)
File Type: png banner2.png (40.1 KB, 13 views)
File Type: png banner3.png (47.2 KB, 8 views)
detonate is offline   Reply With Quote
Old April 15th, 2008, 07:49 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
well not really thinking you would need to place it it any php files you would just respectively place the code you want in each of those template files where you wish it to print.
__________________
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 16th, 2008, 11:17 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2007
Location: Washington
Posts: 15
Thanks Chuck!

Would you be able to show me/point me in the right direction of where in the templates I would add the banner script? I'm having a bit of difficulty interpreting the template code to determine where things are located.
detonate is offline   Reply With Quote
Old April 16th, 2008, 11:41 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Well the categories template towards the bottom before the closing PPPRINT;

The showgallery template maybe somewhere below the <br/> tag here

Code:
Content visible to verified customers only.
In your showphoto template maybe above the PPPRINT; statement

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 16th, 2008, 09:38 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2007
Location: Washington
Posts: 15
Worked perfectly, Chuck - thank you!
detonate is offline   Reply With Quote
Old April 17th, 2008, 08:00 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Not a problem
__________________
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 January 22nd, 2010, 02:27 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2007
Location: Washington
Posts: 15
Hey,

Sorry to bump an old thread, but I'm having the exact same question again. I'd like to place banners in the same places mentioned in the original post, but since I'm running Photopost 7 now, the template locations you gave me no longer seem to exist in the current version's templates (or rather, they've been renamed). Can you tell me where would be the appropriate places to put the banner code?
detonate is offline   Reply With Quote
Old January 22nd, 2010, 03:29 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Sorry no those locations are still in the templates and valid.
__________________
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 January 22nd, 2010, 03:57 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2007
Location: Washington
Posts: 15
For some reason I can't find them, though....it's puzzling me. I've copied and pasted the entirety of both the "showgallery" and "showphoto" templates into notepad and tried to use the "find" feature to find any instance of "$ppclose" (to find the locations you mentioned), but it comes up with nothing. This is exactly what I did before and it worked great, so I'm not sure why I'm having so much trouble.
detonate is offline   Reply With Quote
Old January 22nd, 2010, 06:35 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
well what type of install are you doing. For instance on showphoto search for the filmstrip

vb template sets may not use ppclose
__________________
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 January 22nd, 2010, 10:46 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2007
Location: Washington
Posts: 15
I have it integrated with vbulletin 4.0. Is that what you mean?
detonate is offline   Reply With Quote
Old January 23rd, 2010, 04:46 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
correct your code will not be the same. Try downloading a free program called beyond compare and compare the regular template and the vb4 ones.
__________________
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 January 25th, 2010, 03:07 PM   #13 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2007
Location: Washington
Posts: 15
Ok Chuck, I downloaded that and found where to put the code, but now I get the following error whenever I try to save changes to the template:


Warning: fopen(..../public_html/gallery2/templates/vb4enhanced/categories.tmpl) [function.fopen]: failed to open stream: Permission denied in /home/detonate/public_html/gallery2/adm-misc.php on line 2419

Unable to write changes, permissions on categories.tmpl are not set properly.

I've tried setting the templates to 777 and 666 (just to experiment), but none seem to work.
detonate is offline   Reply With Quote
Old January 25th, 2010, 03:43 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Is the actual template 666 as it would appear it is not.

You can always ftp to your template and edit it directly.
__________________
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 January 31st, 2010, 07:36 PM   #15 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2007
Location: Washington
Posts: 15
Quote:
Originally Posted by Chuck S View Post
The showgallery template maybe somewhere below the <br/> tag here
Code:
Content visible to verified customers only.
Hi Chuck,

I got Beyond Compare and successfully used it to add the banners to the "categories" and "showphoto" templates, but I'm still having trouble with the one in the "showgallery" template, which you mentioned the fix for above. I use BC to find the appropriate place in showgallery (that corresponds to what you wrote above), which seems to be write after the last <br> and before PPPRINT:

Code:
Content visible to verified customers only.
However when I save it and try to view a page in my gallery that uses that template, I keep getting this error

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/detonate/public_html/gallery2/templates/vb4enhanced/showgallery.tmpl on line 305

Like I said, I got the exact same banner code to work in categories and showphoto, but this one just isn't working.

Thanks again for your time and patience!
detonate is offline   Reply With Quote
Old January 31st, 2010, 08:16 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
try by the break tags
__________________
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 January 31st, 2010, 10:02 PM   #17 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2007
Location: Washington
Posts: 15
I tried putting it between and before before the <br> tags, but it gives me the same error.
detonate is offline   Reply With Quote
Old February 1st, 2010, 09:16 AM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
You need to make sure before you try editing the templates through the admin that you have correctly set the tmpl files on the server to 666 permissions which is writable.
__________________
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 February 1st, 2010, 02:16 PM   #19 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2007
Location: Washington
Posts: 15
The permissions on all the templates are 666. When I add the banner code, the change actually gets made (I can see this if I go back and try to edit it again). The I view a page with the showgallery template, everything on the page BELOW where I inserted the code is replaced by that error. It doesn't seem to like where I'm putting that code.
detonate 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
Flash Banners... doc1975 Classifieds How do I...? 7 January 24th, 2008 01:02 PM
Banners in vBulletin vs. PhotoPost ryansmith83 Photopost Pro How Do I...? 4 March 8th, 2006 12:46 AM
Adding banners chavalo Photopost Pro How Do I...? 5 May 12th, 2005 03:31 PM
implementing ad banners in pp layouts tribedude General Discussion 1 November 29th, 2004 12:51 PM


All times are GMT -5. The time now is 07:51 AM.

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