• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 "New Profile Posts" - How to change the display count?

#1
My registered users see 3 'rows' in the New Profile Posts block in the margin. Unregistered visitors see only 2 rows. How can I increase these values? It looks like this site has it set to 5 posts.

Also, is it possible to make the posts scroll after lets say 5 posts to a max of 20? This way I would lock in the block size but allow users to see more than a set value of 5 posts.
 

Brogan

XenForo moderator
Staff member
#2
Options -> Node & Forum List

If any profile posts are not visible to guests, due to privacy settings, they won't be displayed.

You can try setting it to 20 and adding a fixed height to the block with overflow-y: scroll.
 
#3
Options -> Node & Forum List

If any profile posts are not visible to guests, due to privacy settings, they won't be displayed.

You can try setting it to 20 and adding a fixed height to the block with overflow-y: scroll.
It's set to 10 in the Node & Forum List (see pic). I'm must be missing something.

What do you mean by the privacy settings?

Where would I change the fixed height and block overflow-y: scroll ?
 

Attachments

Brogan

XenForo moderator
Staff member
#4
I mean the privacy settings for each member - they have the ability to block content to guests.

You would need to edit the sidebar_profile_post_list template as follows:

Code:
<ul id="ProfilePostList" class="{xen:if $canUpdateStatus, nonInitial}" style="max-height: 250px; overflow-y:scroll">