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)

cash7c3 02-27-2007 05:00 AM

two things. it seems to be a bit tempremental when hoveing over a user name, it is a bit difficult to get it to choose one member to display sometimes.

also is there anyway i can make the box pop up above or below instead of to the right?

thanks

dirty68 03-08-2007 12:22 PM

Great mod 11/10 in my books works great with 365 to, thank you so much

tehPARADOX 03-18-2007 10:22 PM

I managed to get this to work on vBadvanced CMPS v2.2.1 with 3.6.5 by adding my full forum url to some of the paths.

Currently it displays everything with mouseover, but the avatars aren't displaying. Anyone know where I can edit to get the avatars to show on the portal?

MioTraGusa 03-20-2007 05:16 PM

Quote:

Originally Posted by tehPARADOX (Post 1206887)
I managed to get this to work on vBadvanced CMPS v2.2.1 with 3.6.5 by adding my full forum url to some of the paths.

Currently it displays everything with mouseover, but the avatars aren't displaying. Anyone know where I can edit to get the avatars to show on the portal?

See --> https://vborg.vbsupport.ru/showpost....&postcount=234
AND --->https://vborg.vbsupport.ru/showpost....&postcount=235

tehPARADOX 03-21-2007 06:10 AM

Thanks a lot MioTraGusa, I was going at it the long way. :p

shaynehammy 03-28-2007 07:19 AM

Is there a way this hack can include Name and Surname or any other profile fields?

Coldhands 05-11-2007 01:45 PM

With all of the names bunched together, the wrong info usually shows up in the box, if the user had to scroll over another user to get to the one they wanted to look at.

I tried to fix this by changing 'onMouseOver' to 'onClick' and then add a link in the box that says 'View Profile' but the option to keep the window open until there's a click seems to be conflicting with this.

Any ideas on how to go about this?

If I come up with the solution, I'll post it in this thread.

Code:

<if condition="in_array($bbuserinfo['usergroupid'], array(1, 3))">
$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" onClick="ajax_showTooltip('member_ajax.php?$session[sessionurl]u=$loggedin[userid]',this,true);return false">  $loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
<else />
$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" onClick="ajax_showTooltip('member_ajax.php?$session[sessionurl]u=$loggedin[userid]',this,true);return false">  $loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
</if>


hellbringer80 05-11-2007 04:09 PM

Um...I installed it and everything...but nothing works, when I put my mouse over a user, nothing pops up, any idea?

I added the product, created the template, added

Code:

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

to forumhome_loggedinuser

and put


Code:

        <script type="text/javascript" src="js/ajax-dynamic-content.js"></script>
        <script type="text/javascript" src="js/ajax.js"></script>
        <script type="text/javascript" src="js/ajax-tooltip.js"></script>
        <link rel="stylesheet" href="css/ajax-tooltip.css" media="screen" type="text/css">
<script type="text/javascript">
document.body.onclick = ajax_hideTooltip;
</script>

at the very bottom of the header template, did I miss something?

(I also uploaded all the files to the root directory. and I'm using v3.6.5)

Chicago_VLNU_4s 05-13-2007 05:41 PM

sounds cool. Let us know when you fix the space problem

criscokid 05-13-2007 06:20 PM

Quote:

Originally Posted by Coldhands (Post 1245586)
With all of the names bunched together, the wrong info usually shows up in the box, if the user had to scroll over another user to get to the one they wanted to look at.

This is a bit of a problem and confuses some users as to why they're not seing the right info in the bubble.

ZomgStuff 05-13-2007 10:31 PM

Any demos?

Chicago_VLNU_4s 05-21-2007 06:52 AM

actually I could use this because I already have a space between names :p .. but will this ever get ported over to 3.5.x?

criscokid 05-21-2007 07:23 AM

Quote:

Originally Posted by Chicago_VLNU_4s (Post 1251907)
actually I could use this because I already have a space between names

It's not just names next to each other but below each other if you're using a small typeface.

BadgerDog 05-21-2007 08:24 PM

Installed.... :)

Seems to work fine so far... :up:

Want to test user reaction...

Question:

I added the option:

Quote:

[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:

I don't understand why the second edit of the header template is necessary, as it was already done with the primary edit. Doing it again would put the same code in there twice? I just edited "forumhome_loggedinuser" template to get it to stick in-place until it ets cleared with a click etc.

Have I missed somethning?

Regards,
Badger

Philipaclayton 05-21-2007 08:35 PM

looks good may install

citroenar 05-29-2007 07:24 AM

Works without problems in 3.6.7

ngham4host 06-01-2007 05:12 AM

how can i chang the direction of it to be from the right to left

best regards,

BadgerDog 06-15-2007 10:56 AM

Ok, have had complaints from members using Mac Safari browser....

The information in the mod display box for a user on their Safari based machines, seems to be missing CR's (carriage returns).

In other words, on IE, the username displays, the the person's avatar under it, then the information under that. If the data is too wide, then a horizontal scroll bar appears, permitting one to scroll horizontally to view the balance of data.

On Safari machines, the username appears, then immediately to it's right, the person's avatar, then immediately to the right of it, the member's info. If you use the scroll bar that has now appeared at the bottom of the box, it scrolls over to the right, however, a lot of the user's profile info is cut-off at the right edge of the box and does not get displayed.

It's as if the Safari based browsers aren't seeing any carriage returns at the end of each of those field seperators being displayed. Is there any other character value HTML code that could be used to ensure that Safari browsers would pick up and recognize the end of field CR need?

We have a lot of Mac users, so anything that could be done would be appreciated... :)

Thanks... very nice mod.... :up:

Regards,
Badger

Benj 06-15-2007 02:41 PM

sweet mod, i use safari dont seem to have a problem

BadgerDog 06-15-2007 06:52 PM

Quote:

Originally Posted by Benj (Post 1269052)
sweet mod, i use safari dont seem to have a problem

Strange, I wonder why we're getting so many Safari users complaining about the formatting issue?

Thanks for the feedback

Regards,
Badger

taheri6 06-15-2007 07:28 PM

maybe its safari on mac vs safari on windows.

BadgerDog 06-15-2007 07:32 PM

Quote:

Originally Posted by taheri6 (Post 1269245)
maybe its safari on mac vs safari on windows.

Yes, these complaints are all coming from Safari users on Mac, not Windows.... :up:

Thanks

Regards,
Badger

BWJ 06-19-2007 10:04 PM

I get this frustrating error:

"in order to accept POST request originating from this domain, the admin must add this domain to the whitelist.".

Any ideas?

I have tried to put my domain on the whitelist - but no luck :(. I run a multilingual site - so maybe it has some thing to do with this?

BadgerDog 06-25-2007 07:18 PM

Quote:

Originally Posted by BadgerDog (Post 1269247)
Yes, these complaints are all coming from Safari users on Mac, not Windows.... :up:

Thanks

Regards,
Badger

Anyone figured out how to fix the on-going formatting problem on Safari for MAC's?

Thanks

Regards,
Badger

3Dx 06-27-2007 10:49 PM

this works with Version 3.6.7pl nice 1

BadgerDog 07-01-2007 09:51 PM

Quote:

Originally Posted by BadgerDog (Post 1276343)
Anyone figured out how to fix the on-going formatting problem on Safari for MAC's?

Thanks

Regards,
Badger


Still looking to solve this....

Makes it unusable on Mac machines running Safari....

Anyone?

Thanks

Regards,
Badger

Dannyloski 07-01-2007 10:58 PM

wow, very cool Hack indeed ... I might install, but maybe after some of those small bugs in the Notes&Updates are fixes ... Nevertheless, awesome job!

Subscribed to Thread to stay up-to-date :up:

RTFA 07-03-2007 05:21 PM

Just installed on latest version of VB, nice hack. Works great! :)

J0iN 07-03-2007 08:07 PM

Looks good and interesting may download it in a bit, my members may love it

BWJ 07-03-2007 08:29 PM

Ok it is working now.... :)

It seems that it is only support A-Z. How do I make it work with multilingual characters (I think I have to use UTF-8)?

Mohamad 07-05-2007 10:13 PM

Nice but how can i change tha align of preview?

Cause arabic language from right to left so i want the preview appeard in the left of name

Thank you alot

BadgerDog 07-11-2007 02:49 PM

Quote:

Originally Posted by BadgerDog (Post 1276343)
Anyone figured out how to fix the on-going formatting problem on Safari for MAC's?

Thanks

Regards,
Badger


Ok, let's try a different approach....

In the absence of any feedback from the author, can anyone else help us solve the formatting issue, which makes the mod unusable on Mac machines running Safari....

Anyone?

Thanks

Regards,
Badger

ericgtr 08-03-2007 08:57 PM

Sorry for not getting back to you sooner on this. I do no know anything at all about Safari or Mac's other than it's on my iphone, it sounds like a compliance issue though. Sorry I can't be more helpful.

iogames 08-05-2007 04:16 PM

Anybody able to redesign this Mod?

voter 08-11-2007 06:51 PM

Quote:

Originally Posted by MioTraGusa (Post 1183821)
FIX CMPS - Member ajax



in header template, change :

Code:

<script type="text/javascript" src="js/ajax-dynamic-content.js"></script>
<script type="text/javascript" src="js/ajax.js"></script>
<script type="text/javascript" src="js/ajax-tooltip.js"></script>
<link rel="stylesheet" href="css/ajax-tooltip.css" media="screen" type="text/css">
<script type="text/javascript">
document.body.onclick = ajax_hideTooltip;
</script>

for:

Code:

<script type="text/javascript" src="$vboptions[bburl]/js/ajax-dynamic-content.js"></script>
<script type="text/javascript" src="$vboptions[bburl]/js/ajax.js"></script>
<script type="text/javascript" src="$vboptions[bburl]/js/ajax-tooltip.js"></script>
<link rel="stylesheet" href="$vboptions[bburl]/css/ajax-tooltip.css" media="screen" type="text/css">
<script type="text/javascript">
document.body.onclick = ajax_hideTooltip;
</script>

Replace the entire forumhome_loggedinuser template with this:

Code:

<if condition="$loggedin[userid]"><if condition="in_array($bbuserinfo['usergroupid'], array(1, 3))">
$stylevar[dirmark]<a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
<else />
$stylevar[dirmark]<a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$loggedin[userid]"onmouseover="ajax_showTooltip('http://www.yourdomain.org/forum/member_ajax.php?$session[sessionurl]u=$loggedin[userid]',this,true);return false" onmouseout="ajax_hideTooltip()">  $loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
</if>
<else />$loggedin[musername]</if>

!!!! -> change www.yourdomain.org/forum/ --> for your forum url

in template member_ajax search:

Code:

  <if condition="$show['avatar']">
    <td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td>
  <else />

change for:

Code:

  <if condition="$show['avatar']">
    <td><img src="$vboptions[bburl]/$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td>
  <else />

work ok.

bye

Unfortunately not working

html debugging gives

Quote:

uncaught exception: The permission to call XMLHttpRequest.open method is forbidden
createAJAX()ajax.js (line 24)
sack(undefined)ajax.js (line 132)
ajax_loadContent("ajax_tooltip_content", "http://viparmenia.com/vb/member_ajax.php?u=55")ajax-dynamic-cont... (line 40)
ajax_showTooltip("http://viparmenia.com/vb/member_ajax.php?u=55", a member.php, false)
Seems it is counted as a dynamic call of code from another server and browsers are blocking it as non allowed access.

salata 08-12-2007 04:27 AM

Has anyone able to make this work for 3.5.4?

nnjj.net 08-12-2007 08:36 AM

is it working stable on 3.6.8?

BadgerDog 08-12-2007 10:41 AM

Quote:

Originally Posted by ericgtr (Post 1309213)
Sorry for not getting back to you sooner on this. I do no know anything at all about Safari or Mac's other than it's on my iphone, it sounds like a compliance issue though. Sorry I can't be more helpful.


Thanks....

You should indicate in the instuctions and description above that this mod does not work with Macintosh computers using the Mac Safari standard browser. Large boards with a diverse membership using different computer platforms won't be able to use it.

Regards,
Badger

RTFA 08-13-2007 06:42 PM

Quit working after 3.68 upgrade. :(

ericgtr 08-13-2007 06:46 PM

Quote:

Originally Posted by RTFA (Post 1316738)
Quit working after 3.68 upgrade. :(

You will have to re-apply the template modifications again. I have it working fine on a 3.68 board myself.


All times are GMT. The time now is 08:12 AM.

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.01760 seconds
  • Memory Usage 1,840KB
  • 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
  • (8)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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