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 March 6th, 2005, 04:07 PM   #1 (permalink)
Registered User
 
Join Date: Nov 2004
Posts: 31
Random pics on index from only one category?

OK another contest related question...

I'm opening and closing contests on a deadline. I want the pics from the open contest category ONLY to appear on the index page with the random sort option. NOT pics from expired contest cats. It seems that currently the random feature for index page pulls random images from the entire board -- I just want it pull from specific categories which I specify.

How hard to do this?

I imagine you could archive contests in hidden folders -- that would make them drop out of the pool of random possibilities? but that's drastic. I want the archived contests to be viewable.

I know one solution would be to use "latest" sorting instead of random for the index page. but that gives unfair attention to the latest pics especially if you close the contest to new entries for judging period then the latest pics are frozen permanently on the index page. plus if you have many entries you want them all to get equal face time on the index page: rotated randomly.

So it's a question of blocking unwanted cats so they don't qualify for random sorting -- or specifying a single cat.

If this is an elaborate mod could you ballpark hours an expert would need to do it?

Thanks again
ppostuser is offline   Reply With Quote
Old March 6th, 2005, 04:47 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Just open pp-inc.php and modify the query to only pull from the cat your want in the function display_gallery.

Add a clause like WHERE cat='SOMECATNUMBER' into the query phrase
__________________
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
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
vb beta 3 index random thumbnails youradultworld Photopost Pro How Do I...? 0 July 2nd, 2005 02:04 PM
Random pics from a specific category dkmulford General Discussion 9 June 7th, 2005 08:51 PM
Show Random Pics On Another Domain CallieJo How Do I? - vBulletin 3.0.X 3 April 1st, 2005 11:15 AM
why members gallery pics doesn't show up in my vb3 index latest pics ? hendri Photopost Pro Installation & Upgrades 2 February 3rd, 2005 11:35 PM
How to NOT show Recent/Random pics in showgallery cats mjm Photopost Pro Installation & Upgrades 3 November 4th, 2004 07:02 PM


All times are GMT -5. The time now is 05:54 AM.

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