vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - AJAX - Mouseover Profile Preview (https://vborg.vbsupport.ru/showthread.php?t=123687)

ericgtr 01-15-2007 12:48 AM

Quote:

Originally Posted by criscokid (Post 1159223)
I'd like to change what information appears in the ajax box - is that straightforward? Is it just a matter of a template edit

What is the URL you want to use it with?

ericgtr 01-15-2007 01:53 AM

Quote:

Originally Posted by Limerick (Post 1158712)
Hello all,

Is it possible to let this hack works only for Admin ?

Thanks,

Sure, just replace your forumhome_loggedinuser template with this (you may use a comma and add other groups too if you want)

Code:

<if condition="in_array($bbuserinfo['usergroupid'], array(6))">
$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]
<else />
$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
</if>


HPIA 01-15-2007 04:07 AM

Is there a way to set a time limit? For example, you scrollover the name and keep it there for exactly one second, that will popup, or maybe one and a half seconds. That way, there is an obvious intention of doing the act instead of just the annoying popup everytime you move your mouse over a name...

ericgtr 01-15-2007 12:52 PM

Quote:

Originally Posted by HPIA (Post 1159570)
Is there a way to set a time limit? For example, you scrollover the name and keep it there for exactly one second, that will popup, or maybe one and a half seconds. That way, there is an obvious intention of doing the act instead of just the annoying popup everytime you move your mouse over a name...

Sure, in the js/ajax-tooltip.js file locate this and change 30 to 90, you can play with that number a little bit if you want.

Code:

setTimeout('ajax_showTooltip(\'' + externalFile + '\',refToTagTriggerTooltip,false)',30);
Also keep in mind that you will have to do a hard refresh (ctrl+refresh) or clear your cache before you will see the change.

trickfly 01-15-2007 01:58 PM

Quote:

Originally Posted by ericgtr (Post 1152599)
The box should only dissapear when you click outside of it or mouseover another name.

is it working fine on my site ?

www.TrickFly.com

the box seems to disappear as soon as you move your mouse ove the box, is this right ?

criscokid 01-15-2007 02:03 PM

Quote:

Originally Posted by ericgtr (Post 1159446)
What is the URL you want to use it with?

Do you mean the URL of my site?

Limerick 01-15-2007 07:41 PM

Quote:

Originally Posted by ericgtr (Post 1159495)
Sure, just replace your forumhome_loggedinuser template with this (you may use a comma and add other groups too if you want)

Thank you Eric :)

ericgtr 01-15-2007 11:41 PM

Quote:

Originally Posted by criscokid (Post 1159830)
Do you mean the URL of my site?

No, the URL that you want to have the ajax window to display when you click the link.

ericgtr 01-15-2007 11:42 PM

Quote:

Originally Posted by trickfly (Post 1159824)
is it working fine on my site ?

www.TrickFly.com

the box seems to disappear as soon as you move your mouse ove the box, is this right ?

It's been changed, when did you last install this? You can upgrade if it's been a while.

criscokid 01-16-2007 09:11 AM

Quote:

Originally Posted by criscokid (Post 1159223)
I'd like to change what information appears in the ajax box - is that straightforward? Is it just a matter of a template edit

Quote:

Originally Posted by ericgtr (Post 1160241)
No, the URL that you want to have the ajax window to display when you click the link.

At the moment the ajax block supplies information about what the user is currently doing on the forums. If the box contained more information about the user and pulled information from the profile fields people would be more likely to click through to a users profile page and find out more about that person.

When the person clicks on / into the ajax box they should be taken to that person's profile page (preferably opening in a new window).


All times are GMT. The time now is 09:16 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.01517 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete