![]() |
[mini-hack] Stylin' Buddy List
Stylin' Buddy List :cool:
This hack is so small, and so quick, that it could "almost" be considered a template addition. In some cases, I should have just included it in the template forum, but in the long run more people would see it this way. :p Basically this will make you're current vBulletin UserCp buddy list, look like this one. You might have to adjust it alittle to your own preference, like most hacks. ;) |
Nice hack :cool:
[high]* Goldknight install[/high] |
very nice *clicks install*
|
very good thanks
|
Whoa, looks sweet:)
Should this work with 2.2.6 as well? |
:) install.. thanks
|
muda f-ck'nun tigeet!!!!!!
|
Quote:
It should, I have it installed on 2.2.6 Quote:
|
Great hack! but just wonder where away in my usercp.php?
btw does working without away my usercp.php PHP Code:
PHP Code:
|
Ah, my bad ;)
I'll make that change right now. Yea, I do use the away hack ^^; |
I'm running 2.2.6 and this doesn't work.
Never Mind, solve my own problem. |
Quote:
|
works fine on 2.2.6
check u did it right as deffo works infact has to be the easiest hack to add. Oh yeah u may be getting the database error as i did so u need to change one line ............ You see this line: $sql="SELECT userid,username,invisible,away,lastactivity,lastvi sit Well Remove this from it : ,away and it works fine as that is for another hack and is`nt needed as orginaly posted by Gohan above. |
I updated the install.txt a while ago, removing:
Code:
,away |
nice work Velocd looks pretty nifty ;) keep up the good work man...
g-force2k2 |
lastvisit wasn't in mine, either. Tried to install this and it messed up my buddy list real bad. Too bad, I really wanted this. :( It looks good.
Quote:
|
Don't worry Boofo, just because you recieved a few errors doesn't mean it's the end of the world!
If you can be more specific on the errors you recieved, or the problem in general, I'm sure a solution can be devised. ;) |
Not the end of your world, maybe. ;) :p
I just couldn't get it to look right. Apparently I have to change something in the usercp template, too (I have the "Who are you a buddy of" hack installed). But I'm not very good at the tables and such. :) Is the lastvisit from another hack you have installed? Quote:
|
No, I don't have that hack installed. I'll go alook at it and see what I can do to incorporate the two hacks together :p
|
You are a gentleman and a scholar. :)
Quote:
|
Quote:
Thanks for the help, and thanks for the great hack:) |
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. |
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. :) |
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"> |
How about if I add:
Quote:
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:
|
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! :)
|
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.'">'; |
Oh, ok. I didn't have a buddy online to check it. Sorry about that. :) Great hack! The wife loves it! ;)
Quote:
|
Quote:
|
It's bira's away user hack. Just look up bira in the profile and it should be listed there. :)
|
Avatar buddy for online
PHP Code:
PHP Code:
|
Quote:
|
What does this do?
Quote:
|
Velocd, how do I make it so the title can have smilies in it for the buddy listing?
|
Quote:
|
Are you sure his doesn't already do this? The way I understood it is that it would show the avatar for online users as well, but not washed out (as I call it). :)
Quote:
|
velocd - is there any chance that you could make it so that if the avatar is bigger than the column... it resizes it to fit?
- Mist |
Yes, there is a way. Thank you for reminding me how to do it. :) These are set at 64x64, but you can use whatever dimensions you need.
In the usercp.php file, replace this: Code:
$avatarimage='<img src="'.$avatarurl.'" border="0" alt="Search for all posts by '.$username.'">'; Code:
$avatarimage='<img src="'.$avatarurl.'" border="0" alt="Search for all posts by '.$username.'" width="64" height="64">'; Code:
$avatarimage='<img src="'.$avatarurl.'" border="0" style="filter:alpha(opacity=50)" alt="Search for all posts by '.$username.'">'; Code:
$avatarimage='<img src="'.$avatarurl.'" border="0" style="filter:alpha(opacity=50)" alt="Search for all posts by '.$username.'" width="64" height="64">'; |
thanks for this hack a good job
|
^ thanks boofo :D
|
All times are GMT. The time now is 04:49 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|