(2009-06-25, 12:26 AM)mine90 Wrote: I modificated code in member_profile, and result is
[img]http://community.mybboard.net/attachment.php?aid=14454[/mg]
I think you should set default code in your plugin.....
<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"><strong>{$formattedname}</strong></span><br /> <span class="smalltext"> ({$usertitle})<br /> {$groupimage} {$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="70%" valign="top"> <!-- ProfileComments -->{$comments_index} <!-- /ProfileComments --></td> <td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td> <td width="30%" valign="top"> {$modoptions}<br /> <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" id="table1"> <tr> <td colspan="2" class="thead"><strong>{$lang->users_forum_info}</strong></td> </tr> <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&uid={$uid}">{$lang->find_threads}</a> — <a href="search.php?action=finduser&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="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" id="table2"> <tr> <td colspan="2" class="thead"><strong>{$lang->users_contact_details}</strong></td> </tr> <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&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&imtype=icq&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&imtype=aim&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&imtype=yahoo&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&imtype=msn&uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td> </tr> </table><br /> {$profilefields} {$signature} </td> </tr> </table> {$footer} </body> </html>
nicely done. but wouldn't that take away other mods like "forum stats in profile"? or would i have to put that manually in the code?
EDIT: haha got it! {$forumstats} worked
Evidence - Cats&Dogs...
wait will be over soon
wait will be over soon