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-16-2007 12:44 PM

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. :)

criscokid 01-16-2007 01:08 PM

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'.

^SuiCyde^ 01-18-2007 11:12 PM

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

ericgtr 01-19-2007 02:50 AM

Quote:

Originally Posted by ^SuiCyde^ (Post 1162549)
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?

project-Buckfas 01-19-2007 03:43 PM

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^ (Post 1162549)
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


ericgtr 01-19-2007 04:10 PM

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.

project-Buckfas 01-19-2007 04:16 PM

Any plans for an upgrade? I would really like this mod. It's a nice touch.

ericgtr 01-19-2007 05:27 PM

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.

taheri6 01-21-2007 01:41 AM

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!!

NameClan.com 01-23-2007 02:30 AM

thanx it is nice

Terminatoronly 01-23-2007 05:41 AM

nice i like it much installed ;)

princeedward 01-28-2007 04:36 PM

intersting mod....y not give it a try....

adhari_com 02-01-2007 05:10 PM

Thanx for the great Mod, but can't I use the built-in ajax of vBulletin?

Guest210212002 02-01-2007 05:14 PM

Great mod!

Would it be possible to do something like this for the lastpost 'tooltip' on forumhome as well?

Bubble #5 02-05-2007 11:19 PM

Quote:

Originally Posted by Chris-777 (Post 1172289)
Would it be possible to do something like this for the lastpost 'tooltip' on forumhome as well?

Great idea :)

ubblite 02-07-2007 07:06 AM

To have the ability to hover over the highlighted user boxes and click on what link they are viewing at the time would be a nice bonus to this hack.

ericgtr 02-07-2007 01:09 PM

I thought I already had this in there but try this, in the header template

Find:
Code:

<link rel="stylesheet" href="css/ajax-tooltip.css" media="screen" type="text/css">
Add this under it:
Code:

<script type="text/javascript">
document.body.onclick = ajax_hideTooltip;
</script>

I've updated the instructions to reflect this as well.

Denovo 02-07-2007 03:23 PM

Will this work with 3.6.4?

ericgtr 02-07-2007 06:36 PM

I cannot verify that myself, anyone else tried this in 6.4 that can let us know?

voter 02-08-2007 08:29 AM

Quote:

Originally Posted by ericgtr (Post 1176970)
I cannot verify that myself, anyone else tried this in 6.4 that can let us know?

Works perfect. When one need a demo he can check it on my site look in my signature.

rjmjr69 02-08-2007 02:48 PM

Will this work on 3.6.4?

yingzhou 02-08-2007 03:12 PM

Quote:

Originally Posted by rjmjr69 (Post 1177601)
Will this work on 3.6.4?

Look right before your post.

ubblite 02-09-2007 06:45 AM

This isn't a huge deal but I'm wondering if it could be prevented/fixed.

On my CMPS Home page I get this error with the Firefox Error Console:

ajax_hideTooltip is not defined

I assume this is because it's reading from the header where you have code inserted with this mod.

rjmjr69 02-09-2007 03:47 PM

Quote:

Originally Posted by yingzhou (Post 1177615)
Look right before your post.


LOL sorry I missed that one... Thanks for the info.

Sinnie 02-10-2007 04:10 PM

Quote:

Originally Posted by ubblite (Post 1178145)
This isn't a huge deal but I'm wondering if it could be prevented/fixed.

On my CMPS Home page I get this error with the Firefox Error Console:

ajax_hideTooltip is not defined

I assume this is because it's reading from the header where you have code inserted with this mod.

I have the same error...:(

ericgtr 02-10-2007 04:50 PM

Can you get the error and report it?

Performance Pol 02-10-2007 08:26 PM

Works for me after a bit of messing around

Nice Mod

Viewable on 3.6.4 Here :up:

Sinnie 02-11-2007 06:17 AM

Quote:

Originally Posted by ericgtr (Post 1179246)
Can you get the error and report it?

This is what i get ( Its Dutch...)

ReQueM 02-12-2007 08:50 PM

thank u
*installed*

ubblite 02-13-2007 01:22 AM

And here is the error you get in Firefox when viewing the CMPS home page.

MioTraGusa 02-15-2007 09:42 AM

Quote:

Originally Posted by ubblite (Post 1181161)
And here is the error you get in Firefox when viewing the CMPS home page.


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 this

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>

bye

ubblite 02-15-2007 09:42 AM

Eric, is it possible to fix the errors we described in the above posts? If not, please let us know because I'll need to remove this hack from our site for now until the problem is fixed.

I just discovered this mod also has the same problem with Photopost Pro and have provided additional screenshots.

edit: I just noticed MiotraGusa posted a fix - I'll try it and get back to you. Thanks Miotra.

ubblite 02-16-2007 10:41 AM

Quote:

Originally Posted by sduckie2k5 (Post 1141149)
I'm able to see the whole feature work including avatar on the forum pages but on the index(cmps) I only see the info and not the avatar. Can you please tell me how to correct this? Thankyou ~D

Quote:

Originally Posted by JonnyC (Post 1088357)
Excellent Mod - Thanks

But I have a slight problem

The Mod works great in my forum, but I also have the vBadvanced CMPS installed with a whos visited module

When I load this page, i get a line error in the bottom corner of the screen when i move my mouse over the name of a member who has visited and this script doesnt work

Does anyone know how to fix this

Thanks

my site is http://www.boogie2nite.co.uk

and a test user account

Username : test
Password : test

It works perfectly here

http://www.boogie2nite.co.uk/forum/index.php

but doesnt here

http://www.boogie2nite.co.uk/index.php

Both of these posts have been unanswered and I also have the same problem. Anyone with a CMPS fix?

MioTraGusa 02-16-2007 12:09 PM

FIX CMPS - Member ajax

Quote:

Originally Posted by ubblite (Post 1183767)
Both of these posts have been unanswered and I also have the same problem. Anyone with a CMPS fix?

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

MioTraGusa 02-16-2007 05:17 PM

if your forums are located in one subdomain ex. forum.mydomain.com and don't show profile in forumhome, replace again 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]<if condition="THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$loggedin[userid]"onmouseover="ajax_showTooltip('http://www.domain.org/forum/member_ajax.php?$session[sessionurl]u=$loggedin[userid]',this,true);return false" onmouseout="ajax_hideTooltip()">  $loggedin[musername]</a><else /><a href="$vboptions[bburl]/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></if>$loggedin[invisiblemark]$loggedin[buddymark]
</if>
<else />$loggedin[musername]</if>

replace www.domain.org/forum/ with your forum url

:rolleyes:

ericgtr 02-16-2007 09:28 PM

Thanks for taking time to help out and post your fixes guys.

ubblite 02-17-2007 07:17 AM

Thanks for your fixes, MioTraGusa.

I have just one minor error I'm seeing in CMPS. In Internet Explorer, if you or some of your users are in invisible mode, you'll get this script error: 'Error:Permission denied' on the CMPS home page. Any fix for this?

MioTraGusa 02-17-2007 07:53 AM

Quote:

Originally Posted by ubblite (Post 1184433)
Thanks for your fixes, MioTraGusa.

I have just one minor error I'm seeing in CMPS. In Internet Explorer, if you or some of your users are in invisible mode, you'll get this script error: 'Error:Permission denied' on the CMPS home page. Any fix for this?

Code:

ajax_showTooltip('http://www.yourdomain.org/forum/member_ajax.php?$session[sessionurl]u=$loggedin[userid]'
change www.yourdomain.org/forum --> for your forum url , --> real url, not subdomain (sub.dom.com/...)

test it...

sabillondesigns 02-21-2007 10:40 PM

hey man, great hack i love it

sorry if you already answered this, i search and did not find it..

sometimes some users have big avatars like 130px wide, so the popup doesnt show everything is suppose to, it shows a scroll bar but u cant really scroll down

is there a way to make the pop up box bigger?

thanks in advance!

MioTraGusa 02-22-2007 06:12 AM

Quote:

Originally Posted by sabillondesigns (Post 1187913)
sometimes some users have big avatars like 130px wide, so the popup doesnt show everything is suppose to, it shows a scroll bar but u cant really scroll down

is there a way to make the pop up box bigger?

In file ajax-tooltip.css your can change any values.

PHP Code:

#ajax_tooltipObj .ajax_tooltip_content{
    
border:2px solid #317082;    /* Border width */
    
left:18px;    /* Same as border thickness */
    
top:0px;
    
position:absolute;
    
width:300px;    /* Width of tooltip content */
    
height:200px;    /* Height of tooltip content */
    
background-color:#FFF;    /* Background color */
    
padding:5px;    /* Space between border and content */
    
font-size:0.8em;    /* Font size of content */
    
overflow:auto;    /* Hide overflow content */
    
z-index:1000001;


change value of width & height to make po pup more bigger

bye


All times are GMT. The time now is 08:14 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.01562 seconds
  • Memory Usage 1,855KB
  • 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
  • (11)bbcode_code_printable
  • (1)bbcode_php_printable
  • (14)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