View Full Version : Can I set a category not to show in the recent posts?
June 28th, 2006, 01:41 AM
I am adding a category to my site that I want all to have access to, but I don't want the new posts to the category to appear in the recent posts or random images.... is this possible and how?
June 28th, 2006, 10:46 AM
This is not possible without code modification. If they have permission to view the images they appear in the blocks.
June 28th, 2006, 10:57 AM
what code could I modify?
June 28th, 2006, 11:04 AM
Chuck, would this work for excluding categories? If so, a bit of guidance please....
Inside the display_gallery function in pp-inc.php are the three queries performed which grab images to display. In the WHERE clause for these, you would add your own custom query like:
WHERE cat IN (505,510,512)
which would modify the query to grab images from only those categories.
July 1st, 2006, 10:19 PM
I found this address in another post...and it works!
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.