MyBB Community Forums

Full Version: where is "user_details"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i want to edit "user_details" in postbit

i want to change the display order

[Image: eee61b4bf7e9.png]

image explain the requirement i need.

plugin : Reputation Bars v0.3
Author: Yaldaram

theme: Metro
Author: Andrei


kindly asking for the help
admin panel >> templates >> active theme templates >> Post Bit Templates >> postbit_author_user
postbit_author_user

{$lang->postbit_posts}
{$post['postnum']}
{$post['replink']}<br/>
{$lang->postbit_joined}
{$post['userregdate']}
{$post['warninglevel']}

this is the original code

how i edited this to meet my requirement? i edited it. but didn't came properly Sad

i edited to this

{$lang->postbit_posts}
{$post['postnum']}
{$post['reputation']}<br/>
{$post['replink']}
{$lang->postbit_joined}
{$post['userregdate']}
{$post['warninglevel']}
Leave the postbit_author_user (revert to old state), edit postbit_reputation. The number you wish to add there is {$post['userreputation']}
this is the postbit_reputation

<br />{$lang->postbit_reputation} {$post['userreputation']}

how to edit it?

i edited "postbit_author_user"

{$lang->postbit_posts}
{$post['postnum']}<br/>
Reputation: {$post['reputation']}<br/>
{$post['userreputation']}<br/>
{$lang->postbit_joined}
{$post['userregdate']}

outcome is this
[Image: 2mzw77o.png]

i think for the moment got what i need. Lightbulb but don't know this is the professional way to do. if have a proper way tell me Blush
(posted this at Yaldaram forum)
admin panel >> templates >> global templates >> rep_bars
<span title="{$post['username']} has {$rep_points} points."><a href="reputation.php?uid={$post['uid']}">{$rep_bars}</a></span>
{$rep_points} gives the number of reputation points.
you can modify this rep_bars template [add {$rep_points} at the top and experiment Smile]
thank you .m. for the help
rep+