Can you show the top 30 lines of the postbit_classic template of your theme?
(2015-07-21, 09:17 AM)Ad Bakker Wrote: [ -> ]Can you show the top 30 lines of the postbit_classic template of your theme?
heres exactly 30 lines from the top
<div class="newposts">
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_author scaleimages">
<div style="margin-top: 0px; padding-bottom: 5px;">
<center>{$post['onlinestatus']} <strong><span class="largetext">{$post['profilelink']}</span></strong></center>
</div>
{$post['useravatar']}
<div class="author_information">
<span class="smalltext">
<if $post ['uid'] == 1 then><span style="text-align: center;"><b><span style="color:#FF3377">OWNER </span><else> {$post['usertitle']} </if><br />
{$post['userstars']}
{$post['groupimage']}
</span>
</div>
<div class="author_statistics">
Posts: {$post['postnum']}<br />
Joined: {$post['userregdate']}
{$post['newpoints_postbit']}
<if $post ['uid'] == 1 then><span style="text-align: center;">Reputation: <strong class="reputation_positive"><span style="color:#FF3377">Idk 9?</strong></span><else> {$post['replink']} </if>
{$post['warninglevel']}
<if $post ['uid'] == 1 then><span style="text-align: center;">Weeaboo Level: <span style="color:#FF3377">100% </span><else></if>
<if $post ['uid'] == 14 then><span style="text-align: center;">Weeaboo Level: <span style="color:#FF3377">0% </span><else></if>
{$post['ougc_awards']}
</div>
</div>
<div class="post_content">
<div class="post_head">
{$post['posturl']}
You can replace lines 18-24 by:
<span style="float: right;">{$post['postnum']}</span>Posts<br />
<span style="float: right;">{$post['userregdate']}</span>Joined<br />
{$post['newpoints_postbit']}
<if $post ['uid'] == 1 then><span class="reputation_positive" style="color:#FF3377; float: right;"><strong>Idk 9?</strong></span>Reputation<else> {$post['replink']} </if>
{$post['warninglevel']}
if $post ['uid'] == 1 then><span style="color:#FF3377; float: right">100% </span><span style="text-align: center;">Weeaboo Level: <else></if>
<if $post ['uid'] == 14 then><span style="color:#FF3377; float: right;">0% </span><span style="text-align: center;">Weeaboo Level: <else></if>
But this does not solve everything, because then the templates which evaluate $post['newpoints_postbit'], $post['warninglevel'] and $post['replink'] are needed.
For the warning level you can replace the postbit_warninglevel template by:
<br /><span style="float: right;"><a href="{$warning_link}">{$warning_level}</a></span>{$lang->postbit_warning_level}
A lot of nonsense in this template
.
color: #A9A9A9;
font-size: 12px;
width: 155px;
margin: 0 auto;
(2015-07-21, 11:49 AM)Ad Bakker Wrote: [ -> ]You can replace lines 18-24 by:
<span style="float: right;">{$post['postnum']}</span>Posts<br />
<span style="float: right;">{$post['userregdate']}</span>Joined<br />
{$post['newpoints_postbit']}
<if $post ['uid'] == 1 then><span class="reputation_positive" style="color:#FF3377; float: right;"><strong>Idk 9?</strong></span>Reputation<else> {$post['replink']} </if>
{$post['warninglevel']}
if $post ['uid'] == 1 then><span style="color:#FF3377; float: right">100% </span><span style="text-align: center;">Weeaboo Level: <else></if>
<if $post ['uid'] == 14 then><span style="color:#FF3377; float: right;">0% </span><span style="text-align: center;">Weeaboo Level: <else></if>
But this does not solve everything, because then the templates which evaluate $post['newpoints_postbit'], $post['warninglevel'] and $post['replink'] are needed.
For the warning level you can replace the postbit_warninglevel template by:
<br /><span style="float: right;"><a href="{$warning_link}">{$warning_level}</a></span>{$lang->postbit_warning_level}
A lot of nonsense in this template .
Thank you! Will try this out and get back to you.