• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
[TH] About Me

[TH] About Me 1.0.2

No permission to download

bart

Active member
#6
Noce one!

Where do you set the number of images one can upload? And is it possible to limit that with an extra permission-setting? Somehow it is set to 10, but I can't find where to change that.
 

Jon W

Well-known member
#10
Noce one!

Where do you set the number of images one can upload? And is it possible to limit that with an extra permission-setting? Somehow it is set to 10, but I can't find where to change that.
It uses the normal attachment options:
Admin CP -> Options -> Attachments

If you'd like options to set this on a per user basis or would like the add-on to have its own option, please PM me to discuss cost.
 

Jon W

Well-known member
#11
And is it difficult to give "about" it 's own tab?
In the member_view template, add the following code:
Code:
            <ul class="tabs mainTabs Tabs" data-panes="#ProfilePanes > li" data-history="on">
                <li><a href="{$requestPaths.requestUri}#profilePosts">{xen:phrase profile_posts}</a></li>
                <xen:if is="{$showRecentActivity}"><li><a href="{$requestPaths.requestUri}#recentActivity">{xen:phrase recent_activity}</a></li></xen:if>
                <li><a href="{$requestPaths.requestUri}#postings">{xen:phrase postings}</a></li>
                <li><a href="{$requestPaths.requestUri}#info">{xen:phrase information}</a></li>
                <xen:if is="{$warningCount}"><li><a href="{$requestPaths.requestUri}#warnings">{xen:phrase warnings} ({xen:number $warningCount})</a></li></xen:if>
                <xen:hook name="member_view_tabs_heading" params="{xen:array 'user={$user}'}" />
                <li><a href="{$requestPaths.requestUri}#about">{xen:phrase about}</a></li>
            </ul>
Then remove this bit of code:
HTML:
<xen:if is="{$user.about}"><div class="baseHtml ugc">{xen:raw $user.aboutHtml}</div></xen:if>
and put it in <li> tags just before the member_view_tabs_content hook, e.g.:
Code:
<li><xen:if is="{$user.about}"><div class="baseHtml ugc">{xen:raw $user.aboutHtml}</div></xen:if></li>
<xen:hook name="member_view_tabs_content" params="{xen:array 'user={$user}'}" />
 
#18
Is there a way to show the attached files when a users doesn't embed them in the post like previously. The attached files seems to be gone for me in 1.3.3