 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
March 20th, 2006, 03:50 AM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
| Most Viewed Link
I would like to create a link in my gallery drop down menu on my navbar to my most viewed pics. What would be the url I need to link to?
Also, I would like to create one to take the user to their member gallery. What would the link be to that.
And finally, what would the link need to be to take a user to the proper upload page.
I know i can link directly to the pho files but I have a feeling there is some syntax that needs to follow the links to make it correct.
Can anyone help me out. I know this is simple but I'm a newbie.
Thanks,
Joey
Last edited by Get Bent; March 20th, 2006 at 04:25 AM.
|
| |
March 20th, 2006, 09:11 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
The upload page link would simply be the url to your gallery with uploadphoto.php at the end.
As far as a most viewed url possibly this would do Code: Content visible to verified customers only.
|
| |
March 20th, 2006, 10:32 AM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
|
Thanks Chuck,
How bout the link to the user's gallery. When I link directly to showgallery.php, the user gets more than just his/her own gallery showing up.
|
| |
March 20th, 2006, 10:43 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
I guess that would matter where your linking it. You would need to find out in whatever script or template your in what variable is the user's userid and put it where I note below in the link Code: Content visible to verified customers only.
|
| |
March 20th, 2006, 11:36 AM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
|
I'm guessing it's going to be $user
I'm just putting some links in the navbar template.
But when I create the link: /gallery/showgallery.php?cat=500&ppuser=$user
It takes me to the member gallery listing, not the users member gallery.
What am I doing wrong here?
|
| |
March 20th, 2006, 11:39 AM
|
#6 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
| Quote: |
Originally Posted by Chuck S The upload page link would simply be the url to your gallery with uploadphoto.php at the end.
As far as a most viewed url possibly this would do Code: Content visible to verified customers only.
|
Also, this does not take me to a page sorted by most viewed. Images are in random viewed order still.
|
| |
March 20th, 2006, 11:49 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
well there is no way to do it then. I was taking the url from the sort box at bottom but that must require a post command not get
|
| |
March 20th, 2006, 12:31 PM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
|
OK I guess I'll have to skip that feature then, what about the answer to post #5?
|
| |
March 20th, 2006, 01:34 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
I can not be sure of that since that deals with your vbulletin but my guess would be maybe this
$bbuserinfo['userid']
|
| |
March 20th, 2006, 01:53 PM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 24
|
Almost.
For those that are looking for this, here is your answer:
http://www.domain.com/gallery/showgallery.php?cat=500&ppuser=$bbuserinfo[userid]
Thanks for your help Chuck.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 08:18 PM. | |