MyBB Community Forums

Full Version: Why profile stars is not showing?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,

Can anyone tell me why stars is not showing on thread nor on profile ?

[Image: d6ec8165bd.png]

Regards.
Can you show us your postbit and postbit_classic templates, as well as your postbit_author?
Also, did you set stars in the group settings for admins?
(2022-08-16, 03:36 PM)MattyWjeisz Wrote: [ -> ]Can you show us your postbit and postbit_classic templates, as well as your postbit_author?

Postbit

<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>

<div class="postbit_avatar_margins">
<a href="{$post['profilelink_plain']}"><img src="{$useravatar['image']}" alt="" class="rounded-avatar box_shadowed avatar_white_border postbit_avatar" style="width:55px;height:55px;border-width:4px;"/></a>
</div>


{$ignore_bit}{$deleted_bit}

<div class="post {$unapproved_shade} box_shadowed" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_content{$post['styleclass']}">
<div class="post_author default_postbit">
	
	<div class="author_information" style="display:inline-block;">
			<h2 style="margin:0px;display:inline-block;">{$post['profilelink']}</h2>{$post['onlinestatus']} &nbsp; <small style="color:#999;" class="mobile_line_break">{$post['postdate']}</small>
			<div class="smalltext description">
				{$post['usertitle']}<br />
				{$post['groupimage']}
			</div>
	</div>
	
	<div class="post_head" style="float:right;">
		{$post['posturl']}
		{$post['icon']}
		{$post['subject_extra']}
	</div>
	
</div>
	
		<div class="border_sep"></div>
	<div class="post_body scaleimages" id="pid_{$post['pid']}" style="min-height: auto;">
		{$post['message']}
	</div>
	{$post['attachments']}
	{$post['signature']}
	<div class="post_meta" id="post_meta_{$post['pid']}">
		{$post['iplogged']}
		<div class="float_right">
			{$post['poststatus']}
		</div>
	</div>
	<span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
	{$post['input_editreason']}
</div>
<div style="{$post['tyl_display']}" id="tyl_{$post['pid']}">{$post['thankyoulike_data']}</div>
<div class="post_controls">
	<div class="postbit_buttons post_management_buttons">
		<ul>
			<li>{$post['button_tyl']}{$post['button_edit']}</li>
			<li>{$post['button_quickdelete']}</li>
			<li>{$post['button_quickrestore']}</li>
			<li>{$post['button_quote']}</li>
			<li>{$post['button_multiquote']}</li>
			<li>{$post['button_report']}</li>
			<li>{$post['button_warn']}</li>
			<li>{$post['button_purgespammer']}</li>
			<li>{$post['button_reply_pm']}</li>
			<li>{$post['button_replyall_pm']}</li>
			<li>{$post['button_forward_pm']}</li>
			<li>{$post['button_delete_pm']}</li>
		</ul>
	</div>
</div>
</div>{myadvertisements[zone_3]}

postbit_classic
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>

<div class="postbit_avatar_margins">
<a href="{$post['profilelink_plain']}"><img src="{$useravatar['image']}" alt="" class="rounded-avatar box_shadowed avatar_white_border postbit_avatar" style="width:55px;height:55px;border-width:4px;"/></a>
</div>


{$ignore_bit}{$deleted_bit}

<div class="post {$unapproved_shade} box_shadowed" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_content{$post['styleclass']}">
<div class="post_author default_postbit">
	
	<div class="author_information" style="display:inline-block;">
			<h2 style="margin:0px;display:inline-block;">{$post['profilelink']}</h2>{$post['onlinestatus']} &nbsp; <small style="color:#999;" class="mobile_line_break">{$post['postdate']}</small>
			<div class="smalltext description">
				{$post['usertitle']}<br />
				{$post['groupimage']}
			</div>
	</div>
	
	<div class="post_head" style="float:right;">
		{$post['posturl']}
		{$post['icon']}
		{$post['subject_extra']}
	</div>
	
</div>
	
		<div class="border_sep"></div>
	<div class="post_body scaleimages" id="pid_{$post['pid']}" style="min-height: auto;">
		{$post['message']}
	</div>
	{$post['attachments']}
	{$post['signature']}
	<div class="post_meta" id="post_meta_{$post['pid']}">
		{$post['iplogged']}
		<div class="float_right">
			{$post['poststatus']}
		</div>
	</div>
	<span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
	{$post['input_editreason']}
</div>
<div style="{$post['tyl_display']}" id="tyl_{$post['pid']}">{$post['thankyoulike_data']}</div>
<div class="post_controls">
	<div class="postbit_buttons post_management_buttons">
		<ul>
			<li>{$post['button_tyl']}{$post['button_edit']}</li>
			<li>{$post['button_quickdelete']}</li>
			<li>{$post['button_quickrestore']}</li>
			<li>{$post['button_quote']}</li>
			<li>{$post['button_multiquote']}</li>
			<li>{$post['button_report']}</li>
			<li>{$post['button_warn']}</li>
			<li>{$post['button_purgespammer']}</li>
			<li>{$post['button_reply_pm']}</li>
			<li>{$post['button_replyall_pm']}</li>
			<li>{$post['button_forward_pm']}</li>
			<li>{$post['button_delete_pm']}</li>
		</ul>
	</div>
</div>
</div>{myadvertisements[zone_3]}

postbit_author guest or user ?


(2022-08-16, 07:01 PM)White_Rabbit Wrote: [ -> ]Also, did you set stars in the group settings for admins?

Yes already did that.
You display usertitle and groupimage in those templates - but no userstars.
In both postbit templates, as nixer55 has stated, you're missing:

{$post['userstars']}

I assume you're missing that same call in the member_profile template as well, which would be:

{$userstars}

Find where you want them displayed in both postbit and member_profile templates and it will display for you.
(2022-08-17, 11:31 AM)MattyWjeisz Wrote: [ -> ]In both postbit templates, as nixer55 has stated, you're missing:

{$post['userstars']}

I assume you're missing that same call in the member_profile template as well, which would be:

{$userstars}

Find where you want them displayed in both postbit and member_profile templates and it will display for you.

I have added the userstars on postbit and postbit_classic but not on postbit_author. On postbit_author there is no option to add it.

While for member_profile fixed aswell.

Furthermore, can you tell me profile all details on left column like rating, post, threads and all.