2012-07-05, 11:10 PM
2012-07-05, 11:14 PM
I recently did this in my showteam.php
I'll tell you how I did it.
I opened showteam.php and found this
$user['username'] = (some code that styles it)
So I added above that
$user['uname'] = $user['username'];
So it sets uname as the username before it styles it
I guess you could use the same method depending on where you want it
I'll tell you how I did it.
I opened showteam.php and found this
$user['username'] = (some code that styles it)
So I added above that
$user['uname'] = $user['username'];
So it sets uname as the username before it styles it
I guess you could use the same method depending on where you want it
2012-07-05, 11:16 PM
Do you want it to work as a link? This is just a template edit.
<span class="smalltext"><a href ="{$mybb->settings['bburl']}/member.php?action=profile&uid={$post['uid']}">{$post['username']}</a></span>
2012-07-05, 11:41 PM
that did it! thanks
2012-07-05, 11:44 PM
You use Google SEO, so Leefish edit may not be the best (unless only registered users will see the link, in which case it doesn't matter imo).
If you are in postbit_* templates and don't want to mess with conditionals plugin:
(Leefish code ).
Edit: XD
<?build_profile_link($post['username'], $post['uid'])?>
If you are in postbit_* templates and don't want to mess with conditionals plugin:
<span class="smalltext"><a href ="{$mybb->settings['bburl']}/{$post['profilelink_plain']}">{$post['username']}</a></span>
(Leefish code ).
Edit: XD
2012-07-05, 11:53 PM
(2012-07-05, 11:44 PM)Omar G. Wrote: [ -> ](Leefish code ).
Edit: XD
See - I told you that you should do that WOL plugin - are a better coder than I am
2012-07-05, 11:58 PM
great, thank you as well omar!