MyBB Community Forums

Full Version: Groups and User Titles Question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
use it like this.......

<div class="author_information">
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
<span class="smalltext">
              Group: {$mybb->usergroup['title']}<br />
              {$post['groupimage']}
              Rank: {$post['usertitle']}<br />
              {$post['userstars']}
</span>
</div>
(2014-10-09, 09:26 AM)mmadhankumar Wrote: [ -> ]use it like this.......


<div class="author_information">
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
<span class="smalltext">
              Group: {$mybb->usergroup['title']}<br />
              {$post['groupimage']}
              Rank: {$post['usertitle']}<br />
              {$post['userstars']}
</span>
</div>

BINGO!
All is fine and dandy now Smile

my member_profile code is all left aligned though...
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td class="trow1" width="75%">
<span class="largetext">{$formattedname}</span><br />
<span class="smalltext">
Group: {$mybb->usergroup['title']}<br />
{$groupimage}<br />
Rank: {$usertitle}<br />
  {$userstars}<br />
<br />
<strong>{$lang->registration_date}</strong> {$memregdate}<br />
<strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br />
<strong>{$lang->local_time}</strong> {$localtime}<br />
<strong>{$lang->postbit_status}</strong> {$online_status}
</span>
</td><td width="25%" align="right" valign="middle">{$avatar}</td></tr></table>
</td>
</tr>
{$awaybit}
</table>
<br />
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td width="50%" valign="top">
<table border="0" cellspacing="0" cellpadding="0" class="tborder2">
<tr>
<td colspan="2" class="thead">
<div class="theadleft"></div>
<div class="theadright"></div>
<div class="theadmain"><strong>{$lang->users_forum_info}</strong></div>
</td>
</tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1"><strong>{$lang->joined}</strong></td>
<td class="trow1">{$memregdate}</td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->lastvisit}</strong></td>
<td class="trow2">{$memlastvisitdate} {$memlastvisittime}</td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->total_posts}</strong></td>
<td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total})<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a> &mdash; <a href="search.php?action=finduser&amp;uid={$uid}">{$lang->find_posts}</a>)</span></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->timeonline}</strong></td>
<td class="trow2">{$timeonline}</td>
</tr>
{$reputation}
{$warning_level}
</table>
<br />
<table border="0" cellspacing="0" cellpadding="0" class="tborder2">
<tr>
<td colspan="2" class="thead">
<div class="theadleft"></div>
<div class="theadright"></div>
<div class="theadmain"><strong>{$lang->users_contact_details}</strong></div>
</td>
</tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1"><strong>{$lang->homepage}</strong></td>
<td class="trow1">{$website}</td>
</tr>
{$sendemail}
<tr>
<td class="trow2"><strong>{$lang->pm}</strong></td>
<td class="trow2"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->icq_number}</strong></td>
<td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=icq&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['icq']}</a></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->aim_screenname}</strong></td>
<td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=aim&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['aim']}</a></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->yahoo_id}</strong></td>
<td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=yahoo&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['yahoo']}</a></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->msn}</strong></td>
<td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=msn&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</tr>
</table>
</td>
<td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>
<td width="50%" valign="top">
{$profilefields}
{$signature}
{$modoptions}
</td>
</tr>
</table>
{$footer}
</body>
</html>
Everything seems to be working fine with it but maybe its best if I can get it sorted out so no problems arise from it..?
(2014-10-09, 09:42 AM)Brazz Wrote: [ -> ]my member_profile code is all left aligned though...

may i have your forum url... the alignment issue not necessarily be in the member_profile template... Toungue
(2014-10-09, 09:50 AM)mmadhankumar Wrote: [ -> ]
(2014-10-09, 09:42 AM)Brazz Wrote: [ -> ]my member_profile code is all left aligned though...

may i have your forum url... the alignment issue not necessarily be in the member_profile template...  Toungue

carfreaksunite.com
(2014-10-09, 06:45 PM)Brazz Wrote: [ -> ]carfreaksunite.com

the board is closed... please open the board and also provide a test account or give permissions to guests to view member profiles....
(2014-10-10, 06:12 AM)mmadhankumar Wrote: [ -> ]
(2014-10-09, 06:45 PM)Brazz Wrote: [ -> ]carfreaksunite.com

the board is closed... please open the board and also provide a test account or give permissions to guests to view member profiles....

Hi, sorry, board is open now and an account you can use is:
User: MyBB Test
Pass: testing

You may need to switch themes to default as i have/will be messing around with themes for a while.

Cheers.
Pages: 1 2