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.
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
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.
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
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?
Also, this does not take me to a page sorted by most viewed. Images are in random viewed order still.
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
OK I guess I'll have to skip that feature then, what about the answer to post #5?
I can not be sure of that since that deals with your vbulletin but my guess would be maybe this
For those that are looking for this, here is your answer:
Thanks for your help Chuck.
|All times are GMT -5. The time now is 09:00 PM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0