• Page 1 of 1
  • 1
Conditional Operators Code Problem
Aloyasha
Posts: 75
Reputation: 2

Message # 1 | 0:17 AM
see i want it so it shows the three images leading to profile pms and log out link when a user is logged in but instead it does the opposite:

My code:

Code

  <?If(!$USER_LOGGED_IN$)?><img src="/19.png"><a href="$PERSONAL_PAGE_LINK$" border="0" alt="Profile"> <img src="/01.png"><a href="$PM_URL$" border="0" alt="Private Messages"> <img src="/04.png"><a href="$LOGOUT_LINK$" border="0" alt="Logout"><?else?><?Endif?>


Click^-^
Animorph
Posts: 2856
Reputation: 189

Message # 2 | 0:25 AM
Aloyasha, remove the ! <--- sign at
Code
<?If(!$USER_LOGGED_IN$)?>

then it should work

and you should normally ask questions abut Conditional Operators in here
http://forum.ucoz.com/forum/37-471-1

so as soon as this is solved this will be locked and trashed


To busy building a passive income online ;)
Post edited by Animorph - Friday, 2010-12-31, 0:29 AM
Aloyasha
Posts: 75
Reputation: 2

Message # 3 | 0:30 AM
It worked but now, the images aren't hyperlink just regular images? surprised

Click^-^
Aloyasha
Posts: 75
Reputation: 2

Message # 4 | 0:43 AM
Thanks, Animorph!

Click^-^
  • Page 1 of 1
  • 1
Search: