2013-02-09, 01:01 PM
Pages: 1 2
2013-02-09, 01:10 PM
and i want also how to make whose online list in index italic font and how to enable bots count like username i found here a plugins but too old.
2013-02-09, 01:17 PM
I really hope someone can answer it.
2013-02-09, 01:26 PM
{$formattedname}
2013-02-09, 01:26 PM
Can you tell how to use this fully?
2013-02-09, 01:32 PM
header_welcomeblock_guest template:
Replace
If you want it to be clickable, then replace it with
Replace
{$mybb->user['profilelink']}
with {$formattedname}
If you want it to be clickable, then replace it with
<a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}">{$formattedname}</a>
instead.2013-02-09, 01:35 PM
<br />
<table class="tborder" cellpadding="2px" cellspacing="1px" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<script type="text/javascript">
<!--
lang.username = "{$lang->login_username}";
lang.password = "{$lang->login_password}";
lang.login = "{$lang->login}";
lang.lost_password = " — <a href=\"{$mybb->settings['bburl']}/member.php?action=lostpw\">{$lang->lost_password}<\/a>";
lang.register_url = " — <a href=\"{$mybb->settings['bburl']}/member.php?action=register\">{$lang->welcome_register}<\/a>";
lang.remember_me = "{$lang->remember_me}";
// -->
</script>
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="100%"><font size="1px"><span style="float: left;">
<font size="1px"><span id="quick_login">{$lang->welcome_guest} (<a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="MyBB.quickLogin(); return false;">{$lang->welcome_login}</a> — <a href="{$mybb->settings['bburl']}/member.php?action=register">{$lang->welcome_register}</a>)</span></font> </span></font></td>
</tr>
</table>
<td class="alt2" nowrap="nowrap" style="padding:0px">
<table cellpadding="0" cellspacing="1px" border="0">
<tr>
<font size="1px">{$lang->welcome_current_time}</font>
</tr>
</table>
</tr>
</table>
{$mybb->user['profilelink']} isn't there.
2013-02-09, 01:37 PM
Why the heck am I messing up template names?
Its header_welcomeblock_member!
Its header_welcomeblock_member!
2013-02-09, 01:38 PM
Open ./global.php
Find:
As the link is built in the global.php you can't change it by editing templates.
Find:
// Format the welcome back message
$lang->welcome_back = $lang->sprintf($lang->welcome_back, build_profile_link($mybb->user['username'], $mybb->user['uid']), $lastvisit);
Replace With: // Format the welcome back message
$welcome_back_user = format_name($mybb->user['username'], $mybb->user['usergroup'], $mybb->user['displaygroup']);
$lang->welcome_back = $lang->sprintf($lang->welcome_back, build_profile_link($welcome_back_user, $mybb->user['uid']), $lastvisit);
As the link is built in the global.php you can't change it by editing templates.
2013-02-09, 01:45 PM
@ES: header_welcomeblock_member doesn't have the variable.
@Jordan: Is it clickable?
@Jordan: Is it clickable?
Pages: 1 2