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)

yotsume 08-07-2009 02:11 PM

How to Add Custom Profile Fields to the Popup
  1. Edit the template: member_ajax
  2. Find the line of code with: <strong></strong>
  3. After it add:
    Code:

    <if condition="$post['field25']"><div>Label Title: $post[field25]</div></if>
  4. Replace: field25 with the correct field number you wish to have displayed in your popup window.
  5. Replace the Blue text to label your field how ever you wish. This this our to not include a label.
  6. You can apply system to your included fields very easily. For instance, you can use: <strong></strong> to bold your field. You can use: <br /> to beter separate your fields in the popup window.
(See attached screen shots)

ENJOY! :D

MEDO12 08-07-2009 10:56 PM

up


help pls

yotsume 08-08-2009 07:14 AM

Members List Pop Ups Working!

Quote:

Originally Posted by Atakan KOC (Post 1050382)
Profile view Member List

open template "memberlist_resultsbit"

find

HTML Code:

<a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a>
replace

HTML Code:

<a href="member.php?$session[sessionurl]u=$userinfo[userid]" onmouseover="ajax_showTooltip('member_ajax.php?$session[sessionurl]u=$userinfo[userid]',this);return false" onmouseout="ajax_hideTooltip()">$userinfo[musername]</a>

This code change doesn't work on my members list running vb3.7x. The proper code that does work for member's lists where the popup menu stays open as well is:

Code:

$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$userinfo[userid]"onmouseover="ajax_showTooltip('member_ajax.php?$session[sessionurl]u=$userinfo[userid]',this,true);return false">  $userinfo[musername]</a>$loggedin[invisiblemark]$userinfo[buddymark]

yotsume 08-08-2009 09:41 AM

Members Who Have Visited Today Pop Ups Working!

Quote:

Originally Posted by ericgtr (Post 1321922)
I had done that originally but then Paul rewrote the mod. I just added this again to his new code. Please confirm that this works for you and I will then add it to the instructions.

To add to Paul M's Members who have visited today mod https://vborg.vbsupport.ru/showthread.php?t=121883

In the Display_Visitors_User template, replace entire contents with this:

Code:

<a rel="nofollow" href="member.php?$session[sessionurl]u=$today[userid]"onmouseover="ajax_showTooltip('member_ajax.php?$session[sessionurl]u=$today[userid]',this,true);return false" onmouseout="ajax_hideTooltip()"> $today[opentag]$today[username]$today[closetag]</a>$today[markinv]

This code edit does not allow the popup in members who have visted today to stay open.

So do the edit to the template this way instead:

Code:

$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$today[userid]"onmouseover="ajax_showTooltip('member_ajax.php?$session[sessionurl]u=$today[userid]',this,true);return false">  $today[opentag]$today[username]$today[closetag]</a>$today[invisiblemark]$today[buddymark]

dancue 08-09-2009 08:10 PM

Thank you Yotsume!! Member's list works for me on 3.8.3.

I can't verify the second because I'm using CYB's mod, not Paul's.

yotsume 08-09-2009 08:28 PM

Quote:

Originally Posted by dancue (Post 1864208)
Thank you Yotsume!! Member's list works for me on 3.8.3.

I can't verify the second because I'm using CYB's mod, not Paul's.

There are a few other places I am working to get this integrated correctly.

When I get all the instructions ironed out I will post them all in one location since the developer of this is lost in space MIA!

I am also working on fixing the Mac Safari layout issue. Also, I am working on instructions for making different popups contain different added profile info.

Some of the info on the members list for me is redundant. ;)

Its a great mod that I will NOT let die!

BadgerDog 10-05-2009 11:10 AM

Any fixes for this yet, for members running Safari?

Thanks ... :)

Regards,
Badger

bada_bing 10-24-2009 03:42 AM

Will this hack get update to support 3.8.x ?

AcidX 05-07-2010 12:57 PM

Such a great mod! I've been using it since 3.6.
Anyone tried it on vb 4?

ericgtr 05-07-2010 01:08 PM

I have played with it on 4.0 but it's such a different model that this mod will need a complete rewrite unfortunately.


All times are GMT. The time now is 03:48 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.02953 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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