![]() |
How do i control the Random and New Images from showing certain categories On my PHOTOPOST http://bodypiercingpictures.painfulpleasures.com/ I have the Random Images enabled, but i was wondering if there was a way to make it so it didn't call images from a certain category? Most of the time it pulls images from the MALE GENEITAL Piercings and this is seen as offensive to some people and if they come to this section and see this first they probably end up leaving Is there a way to make it so we can block certain categories from appearing in the Random Images and Recent Photos? Thanks again |
This has been answered by the support email you already sent |
Hi again I never got an email so i decided to post it here. could you post the email here if you don't mind? |
Sent to this email marc@painfulpleasures.com You can mod the file like this In pp-inc.php find this or something like it function display_gallery($q_switch, $showuser="", $showcat="", $overcol=0, $overnum=0) { global $Globals, $CatPerms, $Style, $ppopen, $ppclose, $link, $cat, $exclude_cat, $si, $RP_PATH; below it add this $exclude_cat = "AND cat != '517'"; |
Everything worked like i want it, but i also want to block another section as well from showing up http://bodypiercingpictures.painfulp...ry.php/cat/516 i want to make it so both of these categories don't show up on the front page. how do i add this category to not show. i had originally thought i could just add $exclude_cat = "AND cat != '516'"; right after the $exclude_cat = "AND cat != '517'"; but it didn't work. |
$exclude_cat = "AND cat != '516' AND cat !='517'"; |
| All times are GMT -5. The time now is 03:43 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0