![]() |
Recent comments Is there a way to have the recent comments appear on the gallery homepage but have all comments from a specific cat (501) excluded? |
Only if you modify the query for that block with some sort of mod like add this to the query AND cat != 501 |
I am using PhotoPost Pro with vb integration, can you tell me where in which template I would find the query please? |
Not in a template try looking in your index.php for the recent comments query. |
Thank you Chuck. Is this correct please? Code: Content visible to verified customers only. |
Yeah looks fine to me. |
Thanks, much appreciated :) |
enjoy your weekend |
Sorry to bother you again Chuck but this is not working for me. When I use the code above it stops the whole of the recent comments section from showing. I checked over the code and noticed that elsewhere on here you have recommended using Code: Content visible to verified customers only.Finally, to be absolutely sure, I tried it with a different cat (as the one I want to block is currently not open) but again I had the same issues. I don't know what I am missing but I would appreciate any advice. |
How about this? AND p.cat != 501 |
Yes that has done the job!! Thanks very much Chuck. |
Not a problem enjoy your evening. |
| All times are GMT -5. The time now is 06:54 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0