 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
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?
|
| |
April 27th, 2005, 01:32 PM
|
#22 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
$exclude_cat="AND cat NOT IN (520,521,523,524)";
|
| |
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.
|
| |
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?
|
| |
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?
|
| |
September 15th, 2005, 09:25 PM
|
#26 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
AND cattype != 'a'
|
| |
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
|
| |
November 12th, 2005, 11:35 AM
|
#28 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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
|
| |
November 13th, 2005, 02:14 PM
|
#30 (permalink)
| | Member Verified Customer
Join Date: Apr 2004
Posts: 65
| 
please help
|
| |
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?
|
| |
November 15th, 2005, 06:05 AM
|
#32 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
You might want to see if anyone will assist in the unsupported mod forum
|
| |
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.
|
| |
November 15th, 2005, 06:40 AM
|
#34 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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.
|
| |
November 30th, 2005, 09:09 AM
|
#36 (permalink)
| | Photopost Developer Verified Customer
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
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 02:53 PM. | |