2018-07-14, 10:39 AM
Hello!
I finally had time to upgrade my forum today, and all went well, however, I noticed that some of the custom changes we made to the Classic Postbit no longer work, and I'm not sure what is causing it to not work or how to fix it.
Below you can see what the Classic Postbit looked like prior to, and following, the upgrade:
As you can see from the Inspection image below, the code is calling forth a simple '0' instead of the correct number given by the {$post['displaygroup']} code.
Now, I see this Github fix for the Userstars that aren't showing, but I don't use userstars, so I'm not sure if fixing that issue will fix mine? If it does not, than I am in no rush and am happy to wait for that to be fixed with a patch.
The exact code in the postbit_author_user is as such:
Your time and assistance is greatly appreciated!
Thank you!!
- ThistleProse
I finally had time to upgrade my forum today, and all went well, however, I noticed that some of the custom changes we made to the Classic Postbit no longer work, and I'm not sure what is causing it to not work or how to fix it.
Below you can see what the Classic Postbit looked like prior to, and following, the upgrade:
As you can see from the Inspection image below, the code is calling forth a simple '0' instead of the correct number given by the {$post['displaygroup']} code.
Now, I see this Github fix for the Userstars that aren't showing, but I don't use userstars, so I'm not sure if fixing that issue will fix mine? If it does not, than I am in no rush and am happy to wait for that to be fixed with a patch.
The exact code in the postbit_author_user is as such:
<div class="avatar_holder">
<div class="avatar_hover" style="overflow-y: auto;"><div id="avatar2" class="avatar_{$post['displaygroup']}">
<img src="http://pern.second-pass.net/forum/images/badges/{$post['fid51']}.png" title="{$post['fid51']}"/>
</div>
<div id="avatar_under{$post['displaygroup']}">
</div>
<div id="basicheader" class="pbheader_{$post['displaygroup']}">
{$post['fid14']}<br />
<strong><?php
echo $parser->parse_message(htmlspecialchars_decode($post['fid32']),array('allow_mycode'=>1));
?></strong>
</div>
<div class="infoholder" id="news">
{$post['fid56']}<br />
<body>
<div class="mini-prof-tab" align="center">
<div class="mini-prof-tab-row">
<div class="mini-prof-tab-col" align="center"></div>
<div class="mini-prof-tab-col" align="center"></div>
</div>
<div class="mini-prof-tab-row">
<div class="mini-prof-tab-col-left"><strong>Birthday:</strong></div>
<div class="mini-prof-tab-col-right">{$post['fid10']}</div>
</div>
<div class="mini-prof-tab-row">
<div class="mini-prof-tab-col-left"><strong>Age:</strong></div>
<div class="mini-prof-tab-col-right">{$post['fid53']}</div>
</div>
<div class="mini-prof-tab-row">
<div class="mini-prof-tab-col-left"><strong>Height:</strong></div>
<div class="mini-prof-tab-col-right">{$post['fid24']}</div>
</div>
<div class="mini-prof-tab-row">
<div class="mini-prof-tab-col-left"><strong>Pets:</strong></div>
<div class="mini-prof-tab-col-right"><?php
echo $parser->parse_message(htmlspecialchars_decode($post['fid46']),array('allow_mycode'=>1));
?></div>
</div>
</div>
</body>
<br /><br />
%%TYL_NUMTHANKEDLIKED%%
<br /><br />
{$post['myachievements_postbit']}
</div></div></div>
Your time and assistance is greatly appreciated!
Thank you!!
- ThistleProse