vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [mini-hack] Stylin' Buddy List (https://vborg.vbsupport.ru/showthread.php?t=42927)

Vile 08-30-2002 04:22 AM

Quote:

Originally posted by Mr_P
Oh yeah u may be getting the database error as i did so u need to change one line ............

Yup, that was it. It works like a charm now. Damn you guys are good.

Thanks for the help, and thanks for the great hack:)

Velocd 08-30-2002 04:43 AM

Boofo, I'm not seeing any conflicts that should arise between my and Gamingforce hack.

Are you recieving a database error, or is your problem in the HTML of the template part? Maybe a screenshot might help of your UserCp buddy list.

Boofo 08-30-2002 05:03 AM

LOL Velocd, you're not going to believe this...take a look at the attached picture and tell me if that is how it is supposed to look. :) I don't know what I did right, but I just reinstalled it and this is what I got. :)

The only thing I can see wrong is that I have double lines under the links. :)

Velocd 08-30-2002 05:13 AM

That is indeed what it's suppose to look like, but you may want to enlarge the width of the table. It only looks odd because of the very large avatars. If you want to fix that, then maybe I suggest removing the avatar part, although that is the nifty part of this small hack.

You have double lines because regular URL links have lines underneath them. In my screenshot there are none, only because I add a class="" stylesheet attribute to some of my <a href> tags, for different color and to remove the underline.

If you want to fix that double line, just remove each:
Code:

<img border="0" src="https://vborg.vbsupport.ru/images/dotted_line.gif" width="100" height="1">
As mentioned, this hack might need extra HTML tweaking to compensate with your forum design, such as avatar size.

Boofo 08-30-2002 05:20 AM

How about if I add:

Quote:

style="text-decoration :none;"
to each one of the links. That should fix the double lines, I think. ;)

Are the avatars supposed to be so washed out?

Great Hack and thank you for offering the help. I don't know what I did to get it working this time. All I did was re-install the hack and it worked. :) By the way, the lastvisit wasn't in mine, I added your code with it to it. Is that something new in 2.2.6, do you know?

Quote:

Originally posted by Velocd
That is indeed what it's suppose to look like, but you may want to enlarge the width of the table. It only looks odd because of the very large avatars. If you want to fix that, then maybe I suggest removing the avatar part, although that is the nifty part of this small hack.

You have double lines because regular URL links have lines underneath them. In my screenshot there are none, only because I add a class="" stylesheet attribute to some of my <a href> tags, for different color and to remove the underline.

If you want to fix that double line, just remove each:
Code:

<img border="0" src="https://vborg.vbsupport.ru/images/dotted_line.gif" width="100" height="1">
As mentioned, this hack might need extra HTML tweaking to compensate with your forum design, such as avatar size.


Boofo 08-30-2002 05:41 AM

Velocd, would there be a way to make it so when a buddy IS online, the the avatar would not be washed out, only washed out when they are offline? That would be great! :)

Velocd 08-30-2002 06:44 AM

The opacity of the avatars should only be reduced, or in your terms "washed out" ;), if the user is offline. According to how I hacked it.

Code:

$avatarimage='<img src="'.$avatarurl.'" border="0" style="filter:alpha(opacity=50)" alt="Search for all posts by '.$username.'">';
The above is what gives it the faded "offline" affect, ofcourse this should already only be applied to those offline. :/

Boofo 08-30-2002 06:54 AM

Oh, ok. I didn't have a buddy online to check it. Sorry about that. :) Great hack! The wife loves it! ;)

Quote:

Originally posted by Velocd
The opacity of the avatars should only be reduced, or in your terms "washed out" ;), if the user is offline. According to how I hacked it.

Code:

$avatarimage='<img src="'.$avatarurl.'" border="0" style="filter:alpha(opacity=50)" alt="Search for all posts by '.$username.'">';
The above is what gives it the faded "offline" affect, of course this should already only be applied to those offline. :/


Gohan 08-30-2002 07:11 AM

Quote:

Originally posted by Velocd
Ah, my bad ;)
I'll make that change right now.

Yea, I do use the away hack ^^;

What name Away hack? Where found i it?

Boofo 08-30-2002 07:16 AM

It's bira's away user hack. Just look up bira in the profile and it should be listed there. :)


All times are GMT. The time now is 04:56 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.01089 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)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
  • (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