Hello!
I feel very ashamed to ask for this :-[ but I can't do this by myself...
I want to "comment out" the number of posts
in the profiles,
in the poster info in the topics and PMs
and in the user info in portal.
I don't know exactly all the files, where I can do this and I have always trouble with comment out something. ::)
I add a few screenshots to see how this parts should look after changing... Beiträge: 15 (Posts: 15) should not be displayed.
I have tried it with the "User Info" in portal, wich is in PortalBlocks.subs.php
It is just this, as I believe:
<li ', sp_embed_class('dot'), '>
<strong>', $txt['posts'], ':</strong> ', $member_info['posts'], '
</li>';
in this part:
echo '
', $txt['hello_member'], ' <strong>', !empty($member_info['colored_name']) ? $member_info['colored_name'] : $member_info['name'], '</strong>
<br />';
if (!empty($member_info['avatar']['image']))
echo '
<a href="', $scripturl, '?action=profile;u=', $member_info['id'], '">', $member_info['avatar']['image'], '</a>
<br />';
if (!empty($member_info['group']))
echo '
', $member_info['group'], '<br />';
else
echo '
', $member_info['post_group'], '<br />';
echo '
', $member_info['group_icons'], '
<br />
<br />
<ul class="sp_list">
<li ', sp_embed_class('dot'), '>
<strong>', $txt['posts'], ':</strong> ', $member_info['posts'], '
</li>';
if (!empty($modSettings['karmaMode']))
{
echo '
<li ', sp_embed_class('dot'), '>
<strong>', $modSettings['karmaLabel'], '
</strong> ';
if ($modSettings['karmaMode'] == 1)
echo $member_info['karma']['total'];
elseif ($modSettings['karmaMode'] == 2)
echo '+', $member_info['karma']['good'], '/-', $member_info['karma']['bad'];
echo '</li>';
}
but I cannot figure it out how it works...there are to many "if" and "else" for me. O:-)
I would be really grateful if someone could help me with this...
Hmm. Give this a try:
.postcount {
display:none;
}
Wow! Very clever, NetFlag! :)
I added this in index.css and it worked quite well for the poster info in the topics and PMs.
What can I do with the profiles? The number of posts are still displayed there.
#detailedinfo dl dd:nth-child(6), #detailedinfo dl dt:nth-child(5) {
display: none;
}
Thank you very much, TE! :)
This is working for the profiles.
Now it's only the User Info in portal, wich still shows the number of posts. I cannot comment this out by myself. O:-)
<ul class="sp_list">
<li ', sp_embed_class('dot'), '>
<strong>', $txt['posts'], ':</strong> ', $member_info['posts'], '
</li>';
to:
<ul class="sp_list">';
;)
P.S.
Hey TE, nice to see you around! ;D
Thank you very much, emanuele.... O:-) I did not try that one before... :-[
I did not notice this before:
Because of the changing in the profile, the preview of the "recentposts" in the profiles is now not displayed.
It is less important, we don't need this...but I want to tell you.
But now they are displayed again...it is strange... :D I changed nothing there...
It seem I forgot to answer... :-[
I don't think it's a css issue... well, your last post confirms it because you see both the messages with and those without the body of the message.
What do the messages contain?
Some contain normal text and some code-boxes. But everything is alright now, emanuele.
I don't know, why the posts previews in my profile first were not shown after the changing.
If I write new posts, I can see all of them now.