1. مهمان گرامی، جهت ارسال پست، دانلود و سایر امکانات ویژه کاربران عضو، ثبت نام کنید.
    بستن اطلاعیه

ایجاد پروفایل بسیار زیبا برای کاربر

شروع موضوع توسط minaaa ‏27/10/11 در انجمن مدیریت محتوا

  1. کاربر پیشرفته

    تاریخ عضویت:
    ‏9/12/10
    ارسال ها:
    19,773
    تشکر شده:
    6,457
    امتیاز دستاورد:
    113
    ایجاد پروفایل بسیار زیبا برای کاربر

    [​IMG]




    سپس به مسیرقالبها و member_profile بروید و تمامی کدهای موجود را پاک کنید و کدهای زیر را جایگزین کنید

    کد PHP:

    <html>

    <
    head>

    <
    link rel="stylesheet" type="text/css" href="tabcontent.css" />

    <
    script type="text/javascript" src="tabcontent.js"></script>

    <title>{$mybb->settings['bbname']} - {$lang->profile}</title>

    {$headerinclude}

    </head>

    <body>

    {$header}

    <ul id="countrytabs" class="shadetabs">

    <li><a href="#" rel="country1" class="selected">پروفایل</a></li>

    <li><a href="#" rel="country2">اطلاعات تالار</a></li>

    <li><a href="#" rel="country3">اطلاعات تماس</a></li>

    <li><a href="#" rel="country4">در مورد این کاربر</a></li>

    <li><a href="#" rel="country5">امضاء</a></li>

    </ul>

    <div style="border:1px solid gray; width:800px; margin-bottom: 1em; padding: 10px">

    <div id="country1" class="tabcontent">

    <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>

    </tr>

    {$awaybit}

    </table>

    <br />

    </div>

    <div id="country2" class="tabcontent">

    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">

    <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&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 />

    </div>

    <div id="country3" class="tabcontent">

    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">

    <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&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>

    <br />

    </div>

    <div id="country4" class="tabcontent">

    {$profilefields}<br />

    </div>

    <div id="country5" class="tabcontent">

    {$signature}<br />

    </div>

    </div>

    <script type="text/javascript">

    var countries=new ddtabcontent("countrytabs")

    countries.setpersist(true)

    countries.setselectedClassTarget("link") //"link" or "linkparent"

    countries.init()

    </script>

    <script type="text/javascript">

    var mypets=new ddtabcontent("pettabs")

    mypets.setpersist(true)

    mypets.setselectedClassTarget("link")

    mypets.init(2000)

    </script>

    {$modoptions}

    {$footer}

    </body>

    </html>




    اگر میخواهید عرض را کوچکتر یا بزرگتر کنید عدد 800 را تغییر دهید...