PDA

View Full Version : End-User Options - Buddy List on User CP


Gray Matter
03-04-2007, 10:00 PM
This hack will show a user's buddy list on their User CP home page.

All instructions are in the zip file. See below for screenshots. ;)

HMBeaty
03-05-2007, 01:22 AM
Looks out of place IMO

Gray Matter
03-05-2007, 01:25 AM
Looks out of place IMO

I agree. My board has a custom template and it fits in quite nicely with it but since I had to write it with default vBulletin templates, it does look out of place. However, the code can be placed anywhere within the user cp template, so it can be moved easily. If there's somewhere anyone thinks I should move it to, I'm open to suggestions. ;)

FleaBag
03-05-2007, 03:15 PM
Just what I needed! Thank you. :)

DieselMinded
03-25-2007, 09:56 AM
Exactly what I needed !
Clicked Install Thanks!

DM

Subah
03-25-2007, 10:25 AM
Thanks

H-Blockx
03-25-2007, 10:58 AM
Great addition, should run very well. Thanks man!

Atakan KOC
03-25-2007, 06:09 PM
Thanks........

kaptanblack
03-25-2007, 06:39 PM
Thanks...

Otikeu
08-31-2007, 07:00 AM
I've found out about this trick as well, but am wondering how to make it work on all user cp pages... currently usercp_nav_start gives error.

Warcaptain
03-03-2008, 03:11 AM
id like for the buddy list to appear on the right side of the screen.. so the subscribed threads etc are all sandwiched between the menu on the left and the buddy list on the right...

cant figure it out :\


nevermind guys, got it!

great!

really.. i think it looks way better this way.

DieselMinded
05-09-2008, 02:38 AM
/me uninstalls vb3.7.0 covers these bases

Triky
05-15-2008, 10:42 AM
It would be great below the latest horizontal table; sure, it has to be horizontal too. :p
If you will do it I will install it, becouse I'm modding hard my style right now. LOL

Gray Matter
05-15-2008, 03:04 PM
I will be releasing a new, much-improved version of this hack (including a port to 3.7.x) in June. :)

And I will take your suggestion into consideration, Triky. ;)

Triky
05-16-2008, 10:22 AM
Oh, remember to release it also for vB 3.6.x! I'm using this version! LOL
Anyway, thanks! :)

Warlord
11-30-2008, 02:06 PM
I'm trying to make the Online/Offline options collapsible. Anyone know where I can find where the code is written for $onlineusers and $offlineusers so I can put an id parameter in the table data tag?

Warlord
11-30-2008, 02:18 PM
Hmmm.. I tried just wrapping the variables in <tr> and <td> tags and adding the id parameter to those.. still didn't work.

What am I doing wrong?

<tr>
<td class="thead" align="center" colspan="3"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('USERCP_BUDDYLIST_ONLINE')"><img id="collapseimg_USERCP_BUDDYLIST_ONLINE" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_recentposts].gif" alt="" border="0" /></a>
<span class="smallfont">-- <strong>$vbphrase[online]</strong>--</span>
</td>
</tr>
<tr id="USERCP_BUDDYLIST_ONLINE">
<td>
$onlineusers
</td>
</tr>
<tr>
<td class="thead" align="center" colspan="3"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('USERCP_BUDDYLIST_OFFLINE')"><img id="collapseimg_USERCP_BUDDYLIST_OFFLINE" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_recentposts].gif" alt="" border="0" /></a>
<span class="smallfont">-- <strong>$vbphrase[offline]</strong> --</span>
</td>
</tr>
<tr id="USERCP_BUDDYLIST_OFFLINE">
<td>
$offlineusers
</td>
</tr>

Warlord
11-30-2008, 03:05 PM
Nevermind, I figured out how to do it.

Warlord
11-30-2008, 03:18 PM
Hmmm, I hate to complain as this is exactly what I've been looking for, but is there any way to only make it show up in the usercp instead of also showing up in edit profile, edit signature etc?

(It doesn't seem to work correctly on those pages anyway)

Warlord
11-30-2008, 03:32 PM
Ok, figured that out too. Just add the code to template usercp instead of usercp_shell.

Warlord
12-31-2008, 02:49 AM
Since I seem to be figuring out everything after I post it, lol.... anyone figure out how to make usernames in the the buddylist clickable (so that it takes you to the user's profile when you click their name)?