Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
AJAX - Mouseover Profile Preview Details »»
AJAX - Mouseover Profile Preview
Version: 2.0, by ericgtr ericgtr is offline
Developer Last Online: Feb 2022 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.0 Rating:
Released: 08-10-2006 Last Update: 02-06-2007 Installs: 569
Uses Plugins Template Edits
Additional Files  
No support by the author.

What it does:
This script will display profile info when you mouseover their username on the forumhome page, the javascript (ajax) is from http://www.dhtmlgoodies.com/index.ht...t=ajax-tooltip See screenshot or test drive it here by waving your mouse over usernames in the What's Going On box http://www.guitarblast.com/ (currently off for guests, see screenshot below)

Notes&Updates:
  • By default this uses it's own CSS located in the CSS folder. To change the background color, edit ajax-tooltip.css and find /* Background color */ and change to your background color.
  • There is a space after each username, between the comma's. Currently working on fixing this.
  • If the name wraps to the next line, it will not display on mouseover.
  • The javascript box will run off the end if the forum width is at 100% for usernames on the edge. (currently working on this)
  • [8/13] Added the option to turn off for guests. This is ideal both to save server load and if you have the member list turned off for guess through the admin CP.
  • [10/28] Fixed broken page (css display) and included a Product installer.
  • [10/28] Now also shows "mousing over members" in the Who's Online page.
  • [11/1] Added a delay so it has to be moused over for a small amount of time before it will show. Removed caching and put a timer on it so there will no longer be a need to refresh the page to get the latest on where a user is, it will do it automatically.
  • [11/8]
    Added option to make the window stay open so you can click within it or scroll (if scrollbars appear) clicking anywhere outside of it will close it. To do this:
    In the forumhome_loggedinuser find:
    Code:
    $stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]"onmouseover="ajax_showTooltip('member_ajax.php?$session[sessionurl]u=$loggedin[userid]',this,true);return false" onmouseout="ajax_hideTooltip()">  $loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
    Replace with:
    Code:
    $stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]"onmouseover="ajax_showTooltip('member_ajax.php?$session[sessionurl]u=$loggedin[userid]',this,true);return false">  $loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
    Open the header template and add this to the very bottom:
    Code:
    <script type="text/javascript"> 
    document.body.onclick = ajax_hideTooltip; 
    </script>

Keep in mind that if you leave this on for guests, you must also allow guests to view member info. Admin CP > Usergroups > Usergroup Manager > Unregistered / Not Logged In [edit] > Can View Member Info (Yes).

Upgrade and fresh install instructions are included in the zip file.


That's it!
Pleas click Install if you use this

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #362  
Old 08-07-2009, 02:11 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to Add Custom Profile Fields to the Popup
  1. Edit the template: member_ajax
  2. Find the line of code with: <strong></strong>
  3. After it add:
    Code:
    <if condition="$post['field25']"><div>Label Title: $post[field25]</div></if>
  4. Replace: field25 with the correct field number you wish to have displayed in your popup window.
  5. Replace the Blue text to label your field how ever you wish. This this our to not include a label.
  6. You can apply system to your included fields very easily. For instance, you can use: <strong></strong> to bold your field. You can use: <br /> to beter separate your fields in the popup window.
(See attached screen shots)

ENJOY!
Reply With Quote
  #363  
Old 08-07-2009, 10:56 PM
MEDO12 MEDO12 is offline
 
Join Date: Sep 2004
Location: Bahrain
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

up


help pls
Reply With Quote
  #364  
Old 08-08-2009, 07:14 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Members List Pop Ups Working!

Quote:
Originally Posted by Atakan KOC View Post
Profile view Member List

open template "memberlist_resultsbit"

find

HTML Code:
<a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a>
replace

HTML Code:
<a href="member.php?$session[sessionurl]u=$userinfo[userid]" onmouseover="ajax_showTooltip('member_ajax.php?$session[sessionurl]u=$userinfo[userid]',this);return false" onmouseout="ajax_hideTooltip()">$userinfo[musername]</a>
This code change doesn't work on my members list running vb3.7x. The proper code that does work for member's lists where the popup menu stays open as well is:

Code:
$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$userinfo[userid]"onmouseover="ajax_showTooltip('member_ajax.php?$session[sessionurl]u=$userinfo[userid]',this,true);return false">  $userinfo[musername]</a>$loggedin[invisiblemark]$userinfo[buddymark]
Reply With Quote
  #365  
Old 08-08-2009, 09:41 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Members Who Have Visited Today Pop Ups Working!

Quote:
Originally Posted by ericgtr View Post
I had done that originally but then Paul rewrote the mod. I just added this again to his new code. Please confirm that this works for you and I will then add it to the instructions.

To add to Paul M's Members who have visited today mod https://vborg.vbsupport.ru/showthread.php?t=121883

In the Display_Visitors_User template, replace entire contents with this:

Code:
<a rel="nofollow" href="member.php?$session[sessionurl]u=$today[userid]"onmouseover="ajax_showTooltip('member_ajax.php?$session[sessionurl]u=$today[userid]',this,true);return false" onmouseout="ajax_hideTooltip()"> $today[opentag]$today[username]$today[closetag]</a>$today[markinv]
This code edit does not allow the popup in members who have visted today to stay open.

So do the edit to the template this way instead:

Code:
$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$today[userid]"onmouseover="ajax_showTooltip('member_ajax.php?$session[sessionurl]u=$today[userid]',this,true);return false">  $today[opentag]$today[username]$today[closetag]</a>$today[invisiblemark]$today[buddymark]
Reply With Quote
  #366  
Old 08-09-2009, 08:10 PM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Yotsume!! Member's list works for me on 3.8.3.

I can't verify the second because I'm using CYB's mod, not Paul's.
Reply With Quote
  #367  
Old 08-09-2009, 08:28 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dancue View Post
Thank you Yotsume!! Member's list works for me on 3.8.3.

I can't verify the second because I'm using CYB's mod, not Paul's.
There are a few other places I am working to get this integrated correctly.

When I get all the instructions ironed out I will post them all in one location since the developer of this is lost in space MIA!

I am also working on fixing the Mac Safari layout issue. Also, I am working on instructions for making different popups contain different added profile info.

Some of the info on the members list for me is redundant.

Its a great mod that I will NOT let die!
Reply With Quote
  #368  
Old 10-05-2009, 11:10 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any fixes for this yet, for members running Safari?

Thanks ...

Regards,
Badger
Reply With Quote
  #369  
Old 10-24-2009, 03:42 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this hack get update to support 3.8.x ?
Reply With Quote
  #370  
Old 05-07-2010, 12:57 PM
AcidX's Avatar
AcidX AcidX is offline
 
Join Date: Jan 2006
Location: Macedonia
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Such a great mod! I've been using it since 3.6.
Anyone tried it on vb 4?
Reply With Quote
  #371  
Old 05-07-2010, 01:08 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have played with it on 4.0 but it's such a different model that this mod will need a complete rewrite unfortunately.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05031 seconds
  • Memory Usage 2,325KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_code
  • (2)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete