PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old February 15th, 2005, 04:49 PM   #1 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
Create a direct to last image in category?

Hi!
One thing I would like to add to my member categories, is a direct link to the last image posted, bypassing the category index page.

Using the demo gallery as example, clicking in the "Food" category link, would automatically take you to the "Halloween pumpkin!" page, which is the last image uploaded (at the time I'm writing this) in the category.

I think a forward page might be the best, i.e.,
- you click the category link pointing to forward.php;
- the category ID is passed along the url;
- forward.php queries the db and gets the last image posted url;
- and finally automatically forwards the visitor there.

Is there a better and simpler way?
Any help is appreciated! =)

Thanks!
Ricardo
rbl is offline   Reply With Quote
Old February 15th, 2005, 06:50 PM   #2 (permalink)
Brian
Guest
 
Posts: n/a
Re: Create a direct to last image in category?

I may not be following you here... Are you just saying that you want the "Food" link to take you to the "Halloween pumpkin!" image as it would if you clicked on the "Halloween pumpkin!" link listed under the 'Last Upload' section? If so, that would just be a simple template modification.
  Reply With Quote
Old February 15th, 2005, 07:17 PM   #3 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
Re: Create a direct to last image in category?

You mean using the code in between the if condition="$cats['lastimageid']" tag in adv_gallery_categorybit_level1?
Didn't thought of that. Neat! =)

But how can I use it in a page? I should have explain it better in the first place but the idea is to create a user page (like mysite.tld/users/rbl/index.php) that displays (or redirects the visitor to) the last image posted by the user.
rbl 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
Users cant create category A Geek Installs and Upgrade - vBulletin 3.0.X 16 December 28th, 2007 08:01 AM
Trying to create an auction category, errors only jvancamp Classifieds Installation & Upgrades 2 November 22nd, 2005 06:21 PM
Unable to create image zemic Photopost Pro Installation & Upgrades 4 April 4th, 2005 03:20 PM
Pp 502 Unable to create image Geiri Photopost Pro Installation & Upgrades 3 April 1st, 2005 11:09 PM
unable to create image fatma Photopost Pro Installation & Upgrades 0 October 13th, 2004 04:13 PM


All times are GMT -5. The time now is 09:06 PM.

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