Jump to content

Recommended Posts

Posted

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}}"/>
		{{$item.display_name}}
	</a>
{{/foreach}}

 

Posted

Strange, the code looks fine. Is it for members or for channels? The channels would have another block name (list_dvds) and another template code.

Please create support ticket if you are not able to find the reason.

Posted

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"}}
{{/if}}

 

 

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.

Guest
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...