PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old October 23rd, 2005, 06:23 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 103
How do I remove the Direct Link Code, BB Image Code, img Tag Code

How do I remove the "Direct Link Code, BB Image Code, img Tag Code" fields from ONE category only from my 3.5 gallery?

I know how to do it for ALL, but, how do I do it for one?
Iridium1 is offline   Reply With Quote
Old October 24th, 2005, 12:02 PM   #2 (permalink)
Brian
Guest
 
Posts: n/a
Re: How do I remove the Direct Link Code, BB Image Code, img Tag Code

Wrap this if condition around the code for those in your ADV_GALLERY_SHOWIMAGE template:
Code:
Content visible to verified customers only.
  Reply With Quote
Old October 24th, 2005, 12:19 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 103
Re: How do I remove the Direct Link Code, BB Image Code, img Tag Code

Newb here. How should the code look?

<if condition="$image['33'] != X"> all tables/link code here </if>

or

<if condition="$image['catid'] != 33"> all tables/link code here </if>

(can I post the code here completely?)
Iridium1 is offline   Reply With Quote
Old October 24th, 2005, 12:43 PM   #4 (permalink)
Brian
Guest
 
Posts: n/a
Re: How do I remove the Direct Link Code, BB Image Code, img Tag Code

The 2nd one should be correct.
  Reply With Quote
Old October 24th, 2005, 01:01 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 103
Re: How do I remove the Direct Link Code, BB Image Code, img Tag Code

Thanks for your help Brian, but how can I do multiple cats?

<if condition="$image['catid'] != 33 34 35">

??
Iridium1 is offline   Reply With Quote
Old October 24th, 2005, 01:06 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 103
Re: How do I remove the Direct Link Code, BB Image Code, img Tag Code

No, that didn't work <if condition="$image['catid'] != 33 34 35">

Do I do it like this?

<if condition="$image['catid'] != 33">
<if condition="$image['catid'] != 34">
<if condition="$image['catid'] != 35">
<if condition="$image['catid'] != 36">

all tables/link code here

</if></if></if></if>

LMK
Iridium1 is offline   Reply With Quote
Old October 24th, 2005, 03:02 PM   #7 (permalink)
Brian
Guest
 
Posts: n/a
Re: How do I remove the Direct Link Code, BB Image Code, img Tag Code

<if condition="!in_array($image['catid'], array(33, 34, 35, 36))">
  Reply With Quote
Old October 24th, 2005, 08:04 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 103
Re: How do I remove the Direct Link Code, BB Image Code, img Tag Code

THanks Brian, that worked great!
Iridium1 is offline   Reply With Quote
Old January 13th, 2006, 04:46 PM   #9 (permalink)
Member
Verified Customer
 
dcpaq2's Avatar
 
Join Date: Jun 2005
Location: Chicago, Illinois
Posts: 252
Send a message via Yahoo to dcpaq2
Quote:
Originally Posted by Iridium1
How do I remove the "Direct Link Code, BB Image Code, img Tag Code" fields from ONE category only from my 3.5 gallery?

I know how to do it for ALL, but, how do I do it for one?
How do I disable the Direct Link Code from my members?

I dont see this anywhere in the admin cp. Is this a hard coded thing?

Thanks

Doug
dcpaq2 is offline   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
IMG code tag not working bulbasnore Installs and Upgrade - vBulletin 3.0.X 2 August 25th, 2005 03:15 PM
BB Image Code and <img> Tag Code nor working pdatotaal Installs and Upgrade - vBulletin 3.0.X 2 March 7th, 2005 11:31 AM
direct link code etc.. how it looks? Sanjiyan vBGallery Suggestions 2 February 8th, 2005 07:33 AM


All times are GMT -5. The time now is 11:06 PM.

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