vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   End-User Options - Buddy List on User CP (https://vborg.vbsupport.ru/showthread.php?t=141157)

Gray Matter 03-04-2007 10:00 PM

Buddy List on User CP
 
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

Quote:

Originally Posted by Redlinemotorsports (Post 1195876)
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 08:56 AM

Exactly what I needed !
Clicked Install Thanks!

DM

Subah 03-25-2007 09:25 AM

Thanks

H-Blockx 03-25-2007 09:58 AM

Great addition, should run very well. Thanks man!

Atakan KOC 03-25-2007 05:09 PM

Thanks........

kaptanblack 03-25-2007 05:39 PM

Thanks...

Otikeu 08-31-2007 06: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 01:38 AM

/me uninstalls vb3.7.0 covers these bases

Triky 05-15-2008 09: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 02: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 09: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?

Code:

                <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)?


All times are GMT. The time now is 03:36 PM.

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.01732 seconds
  • Memory Usage 1,747KB
  • 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)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete