vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Mini-Avatars Hack Released (https://vborg.vbsupport.ru/showthread.php?t=44593)

Mystikal 10-15-2002 04:47 PM

Harry, dont' try and select something from the usericons when using data='whatever', it won't work unless you use the LIKE % command which I don't even think can be done on binary columns (it might be able to be, I forget.. too lazy to check).

Mystikal 10-15-2002 04:48 PM

Oh crap.. mewgood, install a later version of phpMyAdmin.. could be your problem...

Mystikal 10-15-2002 04:51 PM

<a href="http://www.wcgalaxy.com/vbb/icon.php?userid=1" target="_blank">http://www.wcgalaxy.com/vbb/icon.php?userid=1</a>

Shows up fine for me.. looks like its installed fine.

Harryli 10-15-2002 07:40 PM

Yes, my mini is also showing up correct if I use ..icon.php?userid=1 but if I change the forumhome_loggedinuser template from

<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userid">$username</a>$invisibleuser

to

<img src="icon.php?userid=$uservariable[userid]" height="16" width="16"><a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userid">$username</a>$invisibleuser

only the default one shows up :(

Mystikal 10-15-2002 09:28 PM

well that's because $uservariable isn't set to anything.

I should have specified...

$uservariable = whatever variable contains the user info.. it differs from page to page, and you can use the <IMG> stuff anywhere.

mewgood 10-15-2002 11:23 PM

so
I need to install a later version of phpmyadmin
what version is yours?|

Mystikal 10-16-2002 12:07 AM

I have 2.3.0-RC2. No you don't have to..

go to your who's online template and change icon.php?userid=$uservariable to userid=$userid. That should fix your problem.

You gotta make sure that your actually passing it a userid value ya know? Make sure and double check that with any other templtase its put in.

mewgood 10-17-2002 12:16 AM

cool
it works now:D

Mystikal 10-17-2002 06:49 PM

Yup :P Told ya that was all :=)

Mystikal 10-17-2002 06:50 PM

BTW, mewgood, you should really alter the default image it doesn't look right with your vbulletin =\. I didn't make it transparent because it didn't need to be for my board.


All times are GMT. The time now is 06:17 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.01088 seconds
  • Memory Usage 1,724KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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