Jump to content

How to add channels and users with thumb in side bar


Recommended Posts

Please use list_members block to render list of users.

Template can be set like this:

{{foreach item=item from=$data}}
	<a href="{{$config.project_url}}/members/{{$item.user_id}}/" class="item">
		<img src="{{$config.content_url_avatars}}/{{$item.avatar}}" alt="{{$item.display_name}}"/>


Link to comment
Share on other sites

I made to display members just need to figure out how css , so it will display round thumbs like on members page 

1 - I created in default  language files  "enable_sidebar_members = true"

2 - added a global block like this "

Sidebar Top Members list_members

{{insert name="getGlobal" global_id="list_members_sidebar_top_members"}}

3 - then on pages > index added following code


{{if $lang.enable_memberzone=='true' && $lang.enable_sidebar_members=='true'}}
                    {{insert name="getGlobal" global_id="list_members_sidebar_top_members"}}



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...