|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Design Customization Entry ID only visible to the owner of the entry |
Entry ID only visible to the owner of the entry |
How can i achieve this? Just like the moderator panel, i want to include the the entry ID in file catalog, blog and video appearance of entries but only visible to the admin, moderators and the person who added that entry. What conditions can i use in this case?
Systems developer
|
Soldierdevil, I think you can do that by changing the user's security by not posting directly but by approving (filter) it by the administrator and moderator.
Added (2016-10-31, 5:47 AM) 1F4BF3B
|
Quote Actually I change my setting since I'm very busy to approve their works. And yes the admin and moderator can see the post and also the one who post. Systems developer
|
Quote <?if($GROUP_ID$=4)?>$ID$<?endif?> <?if(admin, moderator, entry owner)?> ($ID$)<?endif?> is what i am looking for. I can go around the admin and moderator but which code will include the entry owner is what i am looking for. Something like <?if(Entry is mine)?>Show me this<?endif?> Systems developer
|
Soldierdevil, here's the code for you:
Code <?if($GROUP_ID$="3" || $GROUP_ID$="4" || $USERNAME$=$USER$)?> ($ID$)<?endif?> 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 |
Quote here's the code for you: <?if(Entry is not mine)?>I can report it for community standards violation<?endif?> Systems developer
|
Soldierdevil,
Code <?if($USERNAME$!=$USER$)?>I can report it for community standards violation<?endif?> 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 |
| |||
| |||