PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   How Do I? - vBulletin 3.5.X (http://www.photopost.com/forum/how-do-i-vbulletin-3-5-x/)
-   -   How do I remove the Direct Link Code, BB Image Code, img Tag Code (http://www.photopost.com/forum/how-do-i-vbulletin-3-5-x/119447-how-do-i-remove-direct-link-code-bb-image-code-img-tag-code.html)

Iridium1 October 23rd, 2005 06:23 PM

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?

Brian October 24th, 2005 12:02 PM

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.

Iridium1 October 24th, 2005 12:19 PM

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?)

Brian October 24th, 2005 12:43 PM

Re: How do I remove the Direct Link Code, BB Image Code, img Tag Code
 
The 2nd one should be correct.

Iridium1 October 24th, 2005 01:01 PM

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 October 24th, 2005 01:06 PM

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

Brian October 24th, 2005 03:02 PM

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))">

Iridium1 October 24th, 2005 08:04 PM

Re: How do I remove the Direct Link Code, BB Image Code, img Tag Code
 
THanks Brian, that worked great!

dcpaq2 January 13th, 2006 04:46 PM

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


All times are GMT -5. The time now is 05:03 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97