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)

EasyTarget 08-28-2006 11:26 PM

but I'm just using the default files from the zip.. is it pulling some of the info from my forum and some from the zip files?

topsoftware 08-29-2006 09:06 AM

thank for this hack but i have one problem
my forum language is persian and right to left and i can see good in this ajax
can any bosy help me show picture in the right side no left
thanks
www.apadanait.net

MediaHound 08-29-2006 11:44 AM

Quote:

Originally Posted by Gnappy
I readed the post of craiovaforum and with few little fixes here it's a little resume. I hope this post can be useful for someone:
  • Light blu background fix
    in the header template don't add(or remove if you previous added it) the last line of code, in bold here:
    <link rel="stylesheet" href="css/ajax-tooltip-demo.css" media="screen" type="text/css">
    simply add this part of code(without that line):
    HTML 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">

  • Unknown location for my own username fix
    add this line of code at the top of member_ajax.php to solve the problem:
    PHP Code:

    define('LOCATION_BYPASS'1); 

  • Scrollbars window fix
    Overwrite ALL the ajax-tooltip.css with this code:
    PHP Code:

    /* CSS needed for the script */ 

    #ajax_tooltipObj{ 
            
    z-index:1000000
            
    text-align:left

    #ajax_tooltipObj div{ 
            
    position:relative


    /* If you don't want the arrow - Just set the width of this div to 1 or something like that and drop the background selectors from the CSS below */ 

    #ajax_tooltipObj .ajax_tooltip_arrow{   /* Left div for the small arrow */ 
            
    background-image:url('../images/arrow.gif'); 
            
    width:20px
            
    position:absolute
            
    left:0px
            
    top:0px
            
    background-repeat:no-repeat
            
    background-position:center left
            
    z-index:1000005
            
    height:60px


    #ajax_tooltipObj .ajax_tooltip_content{ 
            
    border:2px solid #317082;  /* Border width */ 
            
    left:18px;      /* Same as border thickness */ 
            
    top:0px
            
    position:absolute
            
    width:170px;    /* Width of tooltip content standard: 150*/ 
            
    height:250px;   /* 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



Credits to ericgtr and craiovaforum

Worked like a charm, thank you!
How do I get this to show up for mousing over those usernames listed in the "last post" column of the forum index page?

Kihon Kata 08-29-2006 02:23 PM

Installed! Perfect instructions also! How will this effect server load if you have many online like I do?

ericgtr 08-29-2006 02:28 PM

I am not sure on a huge site but I think if you leave it off for guests, it will keep it down.

rberardo 08-29-2006 02:37 PM

It works, but when the little window opens it is blank, and sometimes with scroll, why?

thx

Kihon Kata 08-29-2006 02:48 PM

Eric, where do I stick that NOVIEWFORGUESTS conditional?
Quote:

Originally Posted by ericgtr
I am not sure on a huge site but I think if you leave it off for guests, it will keep it down.


ericgtr 08-29-2006 02:49 PM

Quote:

Originally Posted by rberardo
It works, but when the little window opens it is blank, and sometimes with scroll, why?

thx

Common problems with this, make sure the php file is uploaded and template is created and named correctly. Please read the instructions again to make sure.

ericgtr 08-29-2006 02:50 PM

Quote:

Originally Posted by Kihon Kata
Eric, where do I stick that NOVIEWFORGUESTS conditional?

In the instructions there is an option, so it's one or the other. For example:
OR to turn off for guests

rberardo 08-29-2006 04:04 PM

The image have the same size as the profile, can i show the image smaller?

thx


All times are GMT. The time now is 09:08 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.02325 seconds
  • Memory Usage 1,759KB
  • 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
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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