You logged in as Guest
Login:
Recent messages · Members · Forums rules · FAQ · SEARCH Registration · Log in

Page 1 of1
UcoZ Community » UcoZ System management and tuning » Page Editor » <?IF($CODE$ and $CODE$)?> don't work...
<?IF($CODE$ and $CODE$)?> don't work...
jackassDate: Sunday, 2008-03-23, 8:07 Am | Message # 1
Regular
Group: Checked
Messages: 80
Reputation: 0 [0%]
Status: Offline
DON'T WORK!!!

Code
<?if($IS_GROUP_4$ and $IS_GROUP_6$)?> <a href="$HOME_PAGE_LINK$/index/0-13">$USER_GROUP$</a><?else?><font color="#dda0dd">$USER_GROUP$</font><?endif?>

Code
<?if($IS_GROUP_4$='<a style="font-weight: normal; font-style: normal; text-decoration: none; color: rgb(255, 0, 0); letter-spacing: 0pt;" href="$HOME_PAGE_LINK$/index/0-13">Administrators</a>' and $IS_GROUP_6$='<a style="font-weight: normal; font-style: normal; text-decoration: none; color: rgb(255, 255, 255); letter-spacing: 0pt;" href="$HOME_PAGE_LINK$/index/0-13">Īpašnieks</a>')?><?else?>$USER_GROUP$<?endif?>

WORK!!!

Code
<?IF($IS_GROUP_4$)?> <a href="$HOME_PAGE_LINK$/index/0-13">$USER_GROUP$</a><?ELSE?> <font color="#dda0dd">$USER_GROUP$</font> <?ENDIF?>

WHY????



Visit my site


Message edited by jackass - Sunday, 2008-03-23, 8:09 Am
 
VanofutureDate: Sunday, 2008-03-23, 2:04 Pm | Message # 2
Regular
Group: Checked
Messages: 55
Reputation: 7 [2%]
Status: Offline
jackass, because of
Quote (jackass)
$IS_GROUP_4$ and $IS_GROUP_6$

User cannot be in 2 groups at the same time. happy Right code :
Quote
<?if($GROUP_ID$="4" || $GROUP_ID$="6")?><a href="/index/0-13">$USER_GROUP$</a><?else?><font color="#dda0dd">$USER_GROUP$</font><?endif?>

smile

I'm from Russia, sorry for my english.
If I helped you give me a respect.
 
jackassDate: Monday, 2008-03-24, 11:32 Am | Message # 3
Regular
Group: Checked
Messages: 80
Reputation: 0 [0%]
Status: Offline
Thanks man smile
of course AND isn't the same as OR biggrin


Visit my site


Message edited by jackass - Monday, 2008-03-24, 11:36 Am
 
UcoZ Community » UcoZ System management and tuning » Page Editor » <?IF($CODE$ and $CODE$)?> don't work...
Page 1 of1
Search: