REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How Can I Pup Up The user Profile
#1
Hi Guys!
I wanna pup up the user profile like vb That when a user clicks on a user name a pup up window shows.
ThanksBig Grin
Reply
#2
in postbit/postbit_classic
replace:
Code:
<strong><span class="largetext">{$post['profilelink']}</span></strong>

with:
Code:
<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>
<div class="popup_item_container">
<a href="{$post['website']}" target="_blank" " class="popup_item">visit Users Website</a>
</div>
<div class="popup_item_container">
<a href="{$mybb->settings['bburl']}/private.php?action=send&amp;uid={$post['uid']}" class="popup_item">PM User</a>
</div>
<div class="popup_item_container">
<a href="{$mybb->settings['bburl']}/member.php?action=emailuser&amp;uid={$post['uid']}" class="popup_item">E-Mail User</a>
</div>
</div><br />
<script language="javascript" type="text/javascript">
new PopupMenu("profilelink_{$post['pid']}");
</script>
[Image: classic-76561197972846836.png]
Reply
#3
PERFECT .....
Reply
#4
Thankyou for this, looks really neat.
Reply
#5
I want to bring the items to right please change the code for RTL themes!
Reply
#6
Excelent!

Thanks Smile
-Rafael
vBulletin Developer
My Forum
My Blog
Reply
#7
And how can I popup a Item on the Showthread template by example?

Like the vB dropdown menus for Search, View Mode, etc?
-Rafael
vBulletin Developer
My Forum
My Blog
Reply
#8
Any Idea for Popup on the Forumdisplay template?
-Rafael
vBulletin Developer
My Forum
My Blog
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Profile Field on Index minionsweeper 2 855 May 01, 2017, 02:26 PM
Last Post: actavis
  Get Steam profile and set it ssah8 3 740 Apr 19, 2017, 12:47 AM
Last Post: Barbarjreusser
  How do you show user titles instead of groups in postbit? MzStevens 1 1,539 Oct 19, 2015, 12:19 AM
Last Post: MzStevens
  Login as User? kel 0 1,228 Jun 18, 2015, 03:32 PM
Last Post: kel
  How to allow a user to give out an award mikeandike 2 1,439 Aug 26, 2013, 04:41 AM
Last Post: CharlemagneFR

Forum Jump:


Users browsing this thread: 1 Guest(s)