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 April 27th, 2005, 01:30 PM   #21 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 19
Quote:
Originally Posted by omegatron
Okay a cat variable would be whichever category you do not want photos not showing from in the recent uploads etc.

Say you have a cat that has a numeric id of 507 and want to exclude those photos you would put 507 in there.

Ya thats what I thought, but for some reason it does not work for me. This is what I have in my FTP file pp-inc.php:

$catquery = ""; $cattype = "c";
$exclude_cat="AND cat != '520,521,523,524'";

if ($rcols < 0) $rcols = 4;
if ($rcols > 12) $rcols = 4;

Any thoughts on what may be wrong?
The Great Hitoki is offline   Reply With Quote
Old April 27th, 2005, 01:32 PM   #22 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,662
$exclude_cat="AND cat NOT IN (520,521,523,524)";
__________________
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 April 27th, 2005, 01:42 PM   #23 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 19
Nope, that also did not work. I copied and pasted it just like you have it and then saved and uploaded the file but I still have the same problem. I just had photopost installed for me about two days ago so could it be that I have a version that needs a different line of code? Im sorry for all this trouble.
The Great Hitoki is offline   Reply With Quote
Old April 27th, 2005, 04:56 PM   #24 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 19
I was thinking on why this may not work and discussing it with some of my admin. One reason we thought up is maybe there are not enough pics and teh gallery hasnt cycled though them enough yet. Is there a certain amount of time the gallery has to be up before this would work?
The Great Hitoki is offline   Reply With Quote
Old September 15th, 2005, 04:21 PM   #25 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2003
Posts: 15
What if you wanted to exclude ALL personal photo albums from showing up in Recently added?
cossa is offline   Reply With Quote
Old September 15th, 2005, 09:25 PM   #26 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,662
AND cattype != 'a'
__________________
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 12th, 2005, 10:28 AM   #27 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Posts: 65
Quote:
Originally Posted by Chuck S
$exclude_cat="AND cat NOT IN (520,521,523,524)";

Does that work on 5.20? as either it doesnt or I made a mistake somewhere.

Any help is greatly appreciated.

regards

Hani
hani is offline   Reply With Quote
Old November 12th, 2005, 11:35 AM   #28 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,662
No there is no exclude cat variable

If you have done the line above then you simply need to add to the query the $exclude_cat variable right before the ORDER clause
__________________
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 12th, 2005, 06:33 PM   #29 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Posts: 65
Quote:
Originally Posted by Chuck S
No there is no exclude cat variable

If you have done the line above then you simply need to add to the query the $exclude_cat variable right before the ORDER clause

can you please explain this, as its all greek to me

thanx
hani is offline   Reply With Quote
Old November 13th, 2005, 02:14 PM   #30 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Posts: 65

please help
hani is offline   Reply With Quote
Old November 14th, 2005, 10:10 PM   #31 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Posts: 65
ok, I guess then that it is undoable in 5.2; is it?
hani is offline   Reply With Quote
Old November 15th, 2005, 06:05 AM   #32 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,662
You might want to see if anyone will assist in the unsupported mod forum
__________________
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 15th, 2005, 06:36 AM   #33 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Posts: 65
No thanx
I lost intrest, but was woundering as you told me to add something that should make it work.

If this was available before then it should not be removed as we upgrade, upgrades come with exstra features, not less.

Excuse my stupidness, but we paid for the product, we were forwarded to other places for support from people who liked the product (photopostdev.com) and now they dont exist, and I think I know why.

Thanx again and all the best.
hani is offline   Reply With Quote
Old November 15th, 2005, 06:40 AM   #34 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,662
This was never a feature of the program. There was an unused variable in queries called $exclude_cat but it was something we never used. As seen by this thread and many others its a hack
__________________
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 30th, 2005, 08:46 AM   #35 (permalink)
Member
Verified Customer
 
Join Date: Feb 2003
Posts: 81
Has anyone gotten the final answer to this question? I'd like to exclude member galleries from the most recent photos area...

Woudl be nice if this was a feature add to the program, but I'd settle for a hack.
gopherhockey is offline   Reply With Quote
Old November 30th, 2005, 09:09 AM   #36 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,662
well the variable above you stick in display_gallery function in pp-inc.php the cats you dont want displayed go in there

$exclude_cat="AND cat NOT IN (520,521,523,524)";

The other piece of the question is to make sure the variable is inserted into the queries properly

Just make sure its before any ORDER statements ON THE QUERIES
__________________
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
Category not saving email addess added MRGTB Installs and Upgrade - vBulletin 3.0.X 10 January 13th, 2006 01:05 PM
Is it possible to but a block of recently upload images.. Mrs B How Do I? - vBulletin 3.0.X 1 September 5th, 2005 04:34 PM
Display images by last added rather than alphabetically Borgs8472 How Do I? - vBulletin 3.0.X 4 June 10th, 2005 06:44 AM
new comments not getting added sabret00the Installs and Upgrade - vBulletin 3.0.X 2 May 14th, 2005 10:54 AM


All times are GMT -5. The time now is 02:53 PM.

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