• Page 1 of 1
  • 1
Forum moderator: bigblog  
uCoz Community » For Webmasters » Custom Solutions » How to make the "User Entry" page only visible to the user. (How to make the "User Entry" page only visible to the user.)
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: 125
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?>

bigblog
node_modules
Posts: 1581
Reputation: 73

Message # 3 | 8:58 AM
'Moved to Custom solutions.
hey i'm joe and i do not work for the company anymore, sorry for the late replies
icon by ch-chau

I'm still here for some godforsaken reason
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)
bigblog
node_modules
Posts: 1581
Reputation: 73

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, sorry for the late replies
icon by ch-chau

I'm still here for some godforsaken reason
uCoz Community » For Webmasters » Custom Solutions » How to make the "User Entry" page only visible to the user. (How to make the "User Entry" page only visible to the user.)
  • Page 1 of 1
  • 1
Search: