MyBB Codes
[Tut] How to Pop Up The user Profile in Postbit - Printable Version

+- MyBB Codes (http://www.mybbcodes.com)
+-- Forum: Mods Database (/forumdisplay.php?fid=4)
+--- Forum: Tutorials for 1.4.x (/forumdisplay.php?fid=29)
+--- Thread: [Tut] How to Pop Up The user Profile in Postbit (/showthread.php?tid=940)


[Tut] How to Pop Up The user Profile in Postbit - Kevin - 03-27-2010 03:22 AM

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.


RE: [Tut] How to Pop Up The user Profile in Postbit - 16minuteslate - 05-22-2017 11:00 AM

Please screenshot