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
  #202  
Old 01-16-2007, 12:44 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can edit what you like inside the member_ajax template and even put a direct link to the users profile if you want, the purpose of this is so people don't have to click on the profile though. Also, I am happy to help out with suggestions but prefer you click install.
Reply With Quote
  #203  
Old 01-16-2007, 01:08 PM
criscokid criscokid is offline
 
Join Date: Nov 2003
Location: London, UK
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thought I'd clicked 'installed'... just done it. Cheers mate.

"the purpose of this is so people don't have to click on the profile though" - I hear what you're saying... I'm looking at it from a different point of view. I'm seeing it as a teaser to actually get people to click through to a member's profile. Rows of usernames after usernames doesn't do anything to encourage people to click though and find out more about a particular user but this mod can change that.

Side comment: vB developers in general could do with thinking slightly differently... people are lazy and need encouraging to do things so instead of showing text such as 'no posts' or 'no threads' why not show 'no posts - be the first to post' and link that to 'post a new thread' page. People are more likely to post because they've been presented with a 'call to action'.
Reply With Quote
  #204  
Old 01-18-2007, 11:12 PM
^SuiCyde^ ^SuiCyde^ is offline
 
Join Date: Dec 2003
Location: Colorado Springs/CincyO
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i made all installation steps, and tested this on my default skin......

sadly whenever i mouseover, i get a box that says.....content loading...please wait......
then a blank box.....i checked urls and i did everything according to the latest readme

i am running vbulletin 3.6.4 ......please advice?


linked a screen.... but i think it's pretty straight forward the problem i'm having......

http://www.therapmovement.com/forums/screen.bmp
Reply With Quote
  #205  
Old 01-19-2007, 02:50 AM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ^SuiCyde^ View Post
i made all installation steps, and tested this on my default skin......

sadly whenever i mouseover, i get a box that says.....content loading...please wait......
then a blank box.....i checked urls and i did everything according to the latest readme

i am running vbulletin 3.6.4 ......please advice?


linked a screen.... but i think it's pretty straight forward the problem i'm having......

http://www.therapmovement.com/forums/screen.bmp
Not sure why it wouldn't load the content, every now and then I get that but not for long and the page (popup) comes up. You've uploaded the member_ajax.php file to your forum root?
Reply With Quote
  #206  
Old 01-19-2007, 03:43 PM
project-Buckfas project-Buckfas is offline
 
Join Date: Jul 2006
Location: Ireland
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same issue in 3.6.4

The loading text goes away but, im left with a blank popup...

Quote:
Originally Posted by ^SuiCyde^ View Post
i made all installation steps, and tested this on my default skin......

sadly whenever i mouseover, i get a box that says.....content loading...please wait......
then a blank box.....i checked urls and i did everything according to the latest readme

i am running vbulletin 3.6.4 ......please advice?


linked a screen.... but i think it's pretty straight forward the problem i'm having......

http://www.therapmovement.com/forums/screen.bmp
Reply With Quote
  #207  
Old 01-19-2007, 04:10 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cannot verify this past version 3.6.0 it could be that there were changes to the member.php in later versions that will make this not work.
Reply With Quote
  #208  
Old 01-19-2007, 04:16 PM
project-Buckfas project-Buckfas is offline
 
Join Date: Jul 2006
Location: Ireland
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any plans for an upgrade? I would really like this mod. It's a nice touch.
Reply With Quote
  #209  
Old 01-19-2007, 05:27 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would if I were running an updated version but for now I only have 3.6.0, if/when I upgrade I will also update this modification.
Reply With Quote
  #210  
Old 01-21-2007, 01:41 AM
taheri6 taheri6 is offline
 
Join Date: Jan 2007
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi guys,

I got this installed with no problem - thanks for the great mod!!!

I do have a couple places I want to add this, such as on the index page for the forum listings where it shows the last poster, and in the thread list (/forumdisplay.php) on the last poster.

Can anyone offer this noob any instructions on how to do this?

Thanks!!
Reply With Quote
  #211  
Old 01-23-2007, 02:30 AM
NameClan.com NameClan.com is offline
 
Join Date: Oct 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx it is nice
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 09:17 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04959 seconds
  • Memory Usage 2,310KB
  • 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
  • (3)bbcode_code
  • (2)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
  • (4)pagenav_pagelink
  • (2)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