• Page 1 of 1
  • 1
Forum moderator: bigblog  
How to make the "User Entry" page only visible to the user.
sicklon
Posts: 69
Reputation: 0

Message # 1 | 0:21 AM
How to make the "User Entry" page only visible to the user.

Example:
User Post page by serkal, only he can see. Other users can not see

And also Entries added by user Serkal only he can see, other users can not.

Code
<?if($USER_ID$="???")?>entri<?endif?>
lanh
Posts: 135
Reputation: 0

Message # 2 | 6:50 AM
This code is used for Game Module and in Page with full post text and associated comments template.

Code

<?if($USER$=$USERNAME$)?>
Your hidden content.
<?endif?>

joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 3 | 8:58 AM
'Moved to Custom solutions.
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
sicklon
Posts: 69
Reputation: 0

Message # 4 | 9:21 AM
appearance of entries, How ?

Added (2017-08-15, 9:21 AM)
---------------------------------------------
Already can.

Code
<?if($CUR_USER_ID$=$UID$)?> Kode HTML <?endif?>
Attachments: 4084085.jpg (88.5 Kb)
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 5 | 10:07 AM
sicklon, I'd recommend using == instead of = because it's more common for conditional operations in programming.
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
  • Page 1 of 1
  • 1
Search: