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 14th, 2005, 12:03 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2003
Posts: 41
Question Limit $photopostcats on forum...

I only wish to show a few of the catagories using $photopostcats. I read on another post that you could add this "AND cat != 503" at the end of the query in inc_photopost.php. Question is... I'm not exactly sure where to put it. If someone could give an example of the code to use I'd sure appreciate it.

Thanks!
Synn is offline   Reply With Quote
Old November 14th, 2005, 03:21 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
well a AND statement in a mysql query would go somewhere after the WHERE statement and somewhere before the ORDER BY statement

SELECT something FROM photos WHERE approved=1 AND cat != 513 ORDER BY views
__________________
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 14th, 2005, 09:41 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2003
Posts: 41
Guess editing mysql queries is just slightly over my head. :0

Looked for the where statement but no matter what I edit nothing seems to change. Thanks anyway Chuck. I'll try the unsupported mods section, might have some luck there.
Synn 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
/forum/[forum].php style references Arnie ReviewPost Suggestions 5 September 5th, 2005 12:40 PM
Additional forum or sub-forum here -Chef- vBGallery Suggestions 0 February 24th, 2005 12:09 AM


All times are GMT -5. The time now is 11:34 PM.

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