![]() |
Updated Buddy List Code
<font size="3">Updated Buddy List Code</font>
Because we always don't need to "Add A New Buddy" ============================================ This hack will update the Buddy List coding in getinfo. The old code was displayed always as "Add Buddy". This new code will replace that with either "Currently On Buddy List" or "Add Buddy" depending on whether or not you've added that member to your buddy list. Compatibility: This hack will work with vB 2.0.3 and higher. This hack will also work with many getinfo (Profile) modifications, so regardless of what you've done it should work. Install Time: 1-2 Minutes Download: Instructions are in attachment. |
Uh.... Screenshot?
|
Here.
|
Excellent hack! :D
Of course, if you're going to do that for the buddy list, you might as well do it for the ignore list ;D Here's how: 1. In member.php, after (added as part of afterlab's hack): PHP Code:
PHP Code:
Template 1: getinfo_isignore: Code:
<font color="{ linkcolor }">$userinfo[username] is currently on your Ignore List Code:
<a href="member2.php?s=$session[sessionhash]&action=addlist&userlist=ignore&userid=$userinfo[userid]"> Find the following: Code:
<a href="member2.php?s=$session[sessionhash]&action=addlist&userlist=ignore&userid=$userinfo[userid]"> Code:
$isignore Thanks for the hack, afterlab! Edit: Oops. I forgot I had to add spaces in between the brackets in { linkcolor } (make sure to take those out if you should use this ;) |
In the above ignore list addition, be sure to change...
PHP Code:
PHP Code:
|
Just a few cosmetic tweaks to make the links look a little better for the updated Buddy List code.
In the getinfo_addbuddy template, I put... PHP Code:
And in the getinfo_isbuddy template, a modification of LoveShack's isignore: PHP Code:
And the two then line-up much better! Thanks for a cool hack, afterlab! |
Thanks Loveshack,
but there is a bug : if you put one user to ignore list and then add him to buddy list! He is on both lists! Doesn't make sense, right? |
Umm...
Seems like a serious bug... I'll take a look, as I havent installed this... Satan |
this isn't a bug in this hack, more a bug in vb in general ;)
|
Is it?
Oh... Satan |
All times are GMT. The time now is 10:07 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:
|