Jump to content

Individual profile in the topic


Back

Recommended Posts

Screenshot_1.png.da6b87cecdfecf692177dba862d66bc3.png

You need to find and remove the following in the postContainer template:

{{if $comment->author()->member_id}}

Next, add the following code (to any place convenient for you, you can go where the previous one was, but it's best to put it under the avatar):
For users:

{{if $comment->author()->member_id == X}} <!-- In place of X we write the user ID -->
	<!-- Here we write any code for display -->
{{else}}

For groups:

{{if $comment->author()->member_group_id == X}} <!-- In place of X we write the group ID -->
	<!-- Here we write any code for display -->
{{else}}

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. to insert a cookie message.