Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 18 Sep 2006, 05:00
ChrisBaktis ChrisBaktis is offline
 
Join Date: Mar 2004
Conditional Help Needed

In posts I want all avatars to show as normal unless you are in certain groups. If you are in certain groups I want defaul avatars to show instead of the ones the member may have picked...For some reason my code keeps getting rejected. Any help as to why?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

My error keeps coming up with the first line of the conditional - now I was fooling around it with and I removed the ' ' around avatar that got me past the error - but then it wanted me to remove all of the single qoutes so I dont think that is the issue. I also know that I have to duplicate the usergroup code outside of the $show['avatar'] conditional for members that are in these 4 groups but have not picked an avatar...that works fine - just seems that the problem is the <if> inside of an <if> that is the issue.
__________________
www.rustysoaptraders.com

Last edited by ChrisBaktis; 18 Sep 2006 at 05:07.
Reply With Quote
  #2  
Old 18 Sep 2006, 05:39
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Sr Software Developer / Tech Lead
Reply With Quote
  #3  
Old 18 Sep 2006, 05:42
ChrisBaktis ChrisBaktis is offline
 
Join Date: Mar 2004
GREAT thank you - I didnt realize I had to put </if> for each one - thanks a million!
__________________
www.rustysoaptraders.com
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 14:00.

Layout Options | Width: Wide Color: