2016-08-30, 01:57 PM
(2016-08-29, 09:12 PM)MikeInToshx Wrote: User Control Panel Templates > usercp
this is the place for the referral link right? I need the default one of that
<tr> <td class="trow1" style="text-align:center;color:#666;" width="10%"><b><acronym title="Geef deze URL aan een vriend. Wanneer hij registreerd, dan ben jij zijn referrer.">Referral URL</acronym>:</b></td> <td class="trow2" width=""><a href="{$mybb->settings['bburl']}/index.php?referrer={$mybb->user['uid']}">{$mybb->settings['bburl']}/member.php?action=register{$mybb->input['uid']} </td> </tr>
This is not working.
Default usercp template
<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="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="{$colspan}"><strong>{$lang->account_summary}</strong></td>
</tr>
<tr>
{$avatar}
<td class="trow2">
<span class="largetext">{$username}</span><br />
<strong>{$lang->postnum}</strong> <a href="search.php?action=finduser&uid={$mybb->user['uid']}">{$mybb->user['posts']}</a> {$lang->posts_day}<br />
{$reputation}
<strong>{$lang->email}</strong> {$mybb->user['email']}<br />
<strong>{$lang->registration_date}</strong> {$regdate}<br />
<strong>{$lang->primary_usergroup}</strong> {$usergroup}<br />
{$referral_info}
</td>
</tr>
</table>
{$latest_subscribed}
{$latest_threads}
{$latest_warnings}
{$user_notepad}
</td>
</tr>
</table>
{$footer}
</body>
</html>
(2016-08-29, 11:07 PM)Phillip. Wrote: Very awesome style, I have come to like the new look of IPB style and adding it to MyBB is such an amazing addition.
Thanks Phillip.
I don't give support on PM.