Page 1 of 11
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: 60
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: 106
Reputation: -1

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
*boops*
Posts: 1472
Reputation: 71

Message # 3 | 8:58 AM
'Moved to Custom solutions.
hey i'm joe, please don't call me on my real name because you're gonna misspell or mispronounce it and it drives me nuts
sicklon
Posts: 60
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(89Kb)
bigblog
*boops*
Posts: 1472
Reputation: 71

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, please don't call me on my real name because you're gonna misspell or mispronounce it and it drives me nuts
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 11
Search: