Hi there, I can;t find any referral link in my userCP. I know it is bugeg. I edited the link in usercp.lang.php:
from
Quote:$l['referral_link'] = "<br />To refer a member to this board, direct them to {1}/member.php?action=register&referrer={2}";
to
Quote:$l['referral_link'] = "<br />To refer a member to this board, direct them to {1}/member.php?action=register&referrer={2}";
But still I can't find any referral link in my userCP. Please help me to resolve this. Thanks in advance.
^ not sure how you felt that original code is a bug ! it is not ..
$l['referral_link'] = "<br />To refer a member to this board, direct them to {1}/member.php?action=register&referrer={2}";
which theme you are using ? is it not visible correctly on the other themes ?
(2012-01-07, 03:57 PM)ranjani Wrote: [ -> ]^ not sure how you felt that original code is a bug ! it is not ..
$l['referral_link'] = "<br />To refer a member to this board, direct them to {1}/member.php?action=register&referrer={2}";
which theme you are using ? is it not visible correctly on the other themes ?
Oh it is not buged? I read it from here
http://community.mybb.com/thread-75952.html
I'm using BlackEvo theme for my site. The referral link is not visible on my site anyhow.
^ that's a different thing & fixed long ago !! what is your forum URL & can guests visit users profile ?
goldpostvillage.com
You can just register since there's no need e-mail verification atm
it appears that required code is not available on that theme's usercp template ..
admin panel --> templates --> BlackEvo's templates --> user control panel templates --> usercp -->
check if you have {$referral_info}
(2012-01-07, 04:23 PM)ranjani Wrote: [ -> ]it appears that required code is not available on that theme's usercp template ..
admin panel --> templates --> BlackEvo's templates --> user control panel templates --> usercp -->
check if you have {$referral_info}
Don't have it. This is my usercp code:
Quote:<html>
<head>
<title>{$lang->user_cp}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="0" cellpadding="0" class="tborder2">
<tr>
<td class="thead" colspan="{$colspan}">
<div class="theadleft"></div>
<div class="theadright"></div>
<div class="theadmain"><strong>{$lang->brief_summary}</strong></div>
</td>
</tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
{$avatar}
<td class="trow1" width="50%"><strong>{$lang->username}</strong></td>
<td class="trow1" width="50%">{$username}</td>
</tr>
<tr>
<td class="trow2" width="50%"><strong>{$lang->primary_usergroup}</strong></td>
<td class="trow2" width="50%">{$usergroup}</td>
</tr>
<tr>
<td class="trow1" width="50%"><strong>{$lang->registration_date}</strong></td>
<td class="trow1" width="50%">{$regdate}</td>
</tr>
<tr>
<td class="trow2" width="50%"><strong>{$lang->postnum}</strong></td>
<td class="trow2" width="50%"><a href="search.php?action=finduser&uid={$mybb->user['uid']}">{$mybb->user['postnum']}</a> {$lang->posts_day}</td>
</tr>
<tr>
<td class="trow1" width="50%"><strong>{$lang->email}</strong></td>
<td class="trow1" width="50%">{$mybb->user['email']}</td>
</tr>
{$reputation}
</table>
{$latest_warnings}
</td>
</tr>
</table>
{$footer}
</body>
</html>
^ add {$referral_info} after {$reputation} AND save the template ..
(2012-01-07, 04:31 PM)ranjani Wrote: [ -> ]^ add {$referral_info} after {$reputation} AND save the template ..
Done. and it should appear alreaady?
Edit: ahh, I found it! Thank you soo much
^ fine
..