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 November 6th, 2007, 07:41 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: orlando
Posts: 186
inc_features.php

is it possible to call this script separately on multiple pages? Or is it using conflicting statements that will have issues?

i.e. I'm using inc_features.php to do most_views and inc_features.php to see latest.

I asked in the how do i, since the mod section is slow and this is actually an out of the box feature of photopost. If you could just let me know what would be conflicting by pulling these on both pages, assuming I'm using different $photopostfeature to do so? What else needs to be changed in the second script?

thanks
xtremetoonz is offline   Reply With Quote
Old November 6th, 2007, 07:44 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Well this is still a mod question

You can not call the file multiple times since you can only set that file to pull one result. You could create multiple files based on that one file and number them 2 3 4 etc as long as any files put on the same page you would need to remove any functions out of the extra files so you do not get redeclare errors.
__________________
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 November 6th, 2007, 08:33 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: orlando
Posts: 186
Thats what I'm trying to figure out chuck and i appreciate the response. I did rename them as you said, and I renamed the function that is called $whatever on the page, since the cmps im trying to call it on uses an include? of some kind im guessing. So, even after renaming both those things it still fails. I guess i could turn on errors to see whats happening, but i imagine its something simple in there somewhere im missing?
xtremetoonz is offline   Reply With Quote
Old November 6th, 2007, 09:17 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
what I mean by functions is this as thats all you need to remove. You will of course want to change $photopostfeature to say $photopostfeature2 etc for all your files. If you wish to ask further mod questions you may do so in THE MOD CORNER.

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 November 6th, 2007, 09:42 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: orlando
Posts: 186
Ya, that doesnt seem to help, it doesn't want to include 2 on the same page despite removing the function, changing how its called on the page, etc. If you like, move it to the mod corner but I'd like to explore why it wouldn't be working.
xtremetoonz is offline   Reply With Quote
Old November 6th, 2007, 10:20 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
It works fine. If I take a plain PHP file say called test.php and upload it to my main webpage I see photo blocks fine. You take the second file call it inc_features.php remove the functions noted. You set the q_switch to what you want and then make $photopostfeature to say $photopostfeature1.

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 November 6th, 2007, 10:27 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: orlando
Posts: 186
hmm... mine does not. I wonder if its the stuff i added to restrict cats being displayed?
Code:
Content visible to verified customers only.
actually, if i create that same file, adjust my gallery location--and try to include either one it doesnt work
xtremetoonz is offline   Reply With Quote
Old November 6th, 2007, 10:38 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: orlando
Posts: 186
i think i'd need to turn url_include on in php5.ini?
xtremetoonz is offline   Reply With Quote
Old November 6th, 2007, 10:44 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
very well could be you should try regular files and see.
__________________
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 November 6th, 2007, 11:53 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: orlando
Posts: 186
Nope, I can pull that the header.htm stock and i turned on the URL include--still can't pull the standard file (unmodified). Oh well...
xtremetoonz 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
inc_photopost.php and inc_features.php flavoflav Photopost Pro Installation & Upgrades 2 April 5th, 2006 12:52 AM
inc_features.php help s2kinteg916 Photopost Pro How Do I...? 15 December 19th, 2005 11:41 AM
inc_features.php hendri Photopost Pro How Do I...? 2 May 26th, 2005 06:49 PM


All times are GMT -5. The time now is 04:47 PM.

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