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 February 17th, 2005, 06:28 PM   #1 (permalink)
Registered User
 
Join Date: Aug 2004
Location: baltimore
Posts: 14
Send a message via AIM to painfulpleasures
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
painfulpleasures is offline   Reply With Quote
Old February 17th, 2005, 07:34 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
This has been answered by the support email you already sent
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 17th, 2005, 10:07 PM   #3 (permalink)
Registered User
 
Join Date: Aug 2004
Location: baltimore
Posts: 14
Send a message via AIM to painfulpleasures
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?
painfulpleasures is offline   Reply With Quote
Old February 17th, 2005, 11:14 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
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'";
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 23rd, 2005, 09:59 PM   #5 (permalink)
Registered User
 
Join Date: Aug 2004
Location: baltimore
Posts: 14
Send a message via AIM to painfulpleasures
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.
painfulpleasures is offline   Reply With Quote
Old February 24th, 2005, 08:15 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
$exclude_cat = "AND cat != '516' AND cat !='517'";
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
Recent Photos, Random Images and Most Popular Images blocks showing even in category criscokid Photopost Pro How Do I...? 2 November 8th, 2005 02:58 PM
Control Layout Below Categories anthroa Photopost Pro How Do I...? 4 October 25th, 2005 04:45 PM
Random Images on Index page not showing all iloco Photopost Pro Bug Reports 8 September 28th, 2005 01:09 PM
Stop newest and random images from Member's Categories Sanjiyan How Do I? - vBulletin 3.0.X 2 December 14th, 2004 06:31 PM


All times are GMT -5. The time now is 12:09 PM.

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