MyBB Codes

Full Version: [Tut] How to Pop Up The user Profile in Postbit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.
in postbit/postbit_classic
replace:
<strong><span class="largetext">{$post['profilelink']}</span></strong>

with:

<strong><span class="largetext"><a href="#" id="profilelink_{$post['pid']}">{$post['username_formatted']}</span></strong></a>
<div id="profilelink_{$post['pid']}_popup" class="popup_menu" style="display: none;">
<div class="popup_item_container">
<a href="{$mybb->settings['bburl']}/member.php?action=profile&amp;uid={$post['uid']}" class="popup_item">view Profile</a>
</div>
<div class="popup_item_container">
<a href="{$mybb->settings['bburl']}/search.php?action=finduser&amp;uid={$post['uid']}" class="popup_item">find Users Posts</a>
</div>
<div class="popup_item_container">
<a href="{$mybb->settings['bburl']}/search.php?action=finduserthreads&uid={$post['uid']}" class="popup_item">find Users Threads</a>
</div>

Now the user profile is poped Up.

Resource (The Original Author): Andii S.
Please screenshot
Reference URL's