Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-28-2000 Last Update: Never Installs: 0
 
No support by the author.

Heh, that was quick.

Here it is: Integrated vBulletin Buddy List, v1.0

Originally coded by Stallion, edited and cleaned up by me.

Download buddy.php here: http://www.enter.net/~rmsullivan/buddy.txt and stick it in your main vB directory.

Make a file (temp.php) in your main vB directory, and put this in it:
Code:
<?php
require("global.php");
$DB_site->query("ALTER TABLE user ADD buddylist TEXT not null");
echo "done";
?>
Run it (it should say done), then delete it.

Add this to your <head> tag in the forumhome template:
Code:
<SCRIPT LANGUAGE="JavaScript">
<!-- 
function popup (addy) {
  var popup = window.open("buddy.php","_new","height=460,location=no,menubar=no,resizable=no,scrollbars=auto,status=no,toolbar=no,width=310" );
}
// -->
</SCRIPT>
And add this to your loggedinusers template:
Code:
(<a href="javascript:popup()"><b>Launch Buddy List!</b></a>)
All other HTML code is contained within buddy.php

Oh, and I almost forgot to mention - set $pmintegrate to your liking. I have a check there incase anyway. LOL

Demos: http://www.magic-singles.com/cpa/forums/ and http://forums.planetunreal.com/

[Edited by Ed Sullivan on 12-09-2000 at 11:53 AM]

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 08-28-2000, 07:32 PM
Guest
 
Posts: n/a
Default

just a question when you click on a member and it lists these threads...

what are they sorted and ordered by ? are these threads, the member has viewed, read, replied to, posted ?

also is there a way to hide the admin's tracks from members ?
Reply With Quote
  #23  
Old 08-28-2000, 07:48 PM
Guest
 
Posts: n/a
Default

Yes, it requires PM 1.20 for the private mesaging features, IIRC. We'll look into this for the next release.

The threads are sorted by the date of the reply which the user posted. So if I reply to thread 34 at 9 PM, thread 38 at 11 PM, thread 21 at midnight, and thread 34 again at 1 AM, then it will appear as:
Thread 34
Thread 21
Thread 38
Thread 34
In the next version that section will be enhanced a bit, as well as more configurable.

Not sure what you mean about hiding the admin's tracks? Not displaying the latest posts for admins?
Reply With Quote
  #24  
Old 08-28-2000, 07:56 PM
Guest
 
Posts: n/a
Default

thanks... yeah hiding admins posts from members' buddy lists ... is the display set the last 5 threads for each member when you display the threads ?

also in the javascript in the header auto scroll didn't work for me in IE5.5 i had to change it to =yes
Reply With Quote
  #25  
Old 08-28-2000, 09:56 PM
Guest
 
Posts: n/a
Default

Yes, its always the last 5. Once again though, we'll try and make it configurable...

I'm not sure why'd you want to block admin posts from users' buddy lists, but we'll add all sorts of options for stuff like that.

About the scroll bars, not sure why it didn't work as planned. I think the default is auto, so we'll just not specify it -- and hope that works.
Reply With Quote
  #26  
Old 08-28-2000, 11:51 PM
Guest
 
Posts: n/a
Default

Stallion, one problem I've come across - when adding someone to the buddy list you get to see the posts in a private forum (if he just posted there) that you're not supposed to see.

Also, I have a lot of users who are logged in (i.e. never log out) but are not around really. So how does your diferentiation works in this case?

Thanks,

Bira
Reply With Quote
  #27  
Old 08-29-2000, 12:11 AM
Guest
 
Posts: n/a
Default

Just jumping in to say, THANKS! You guys rock.
Reply With Quote
  #28  
Old 08-29-2000, 12:49 AM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by bira
Stallion, one problem I've come across - when adding someone to the buddy list you get to see the posts in a private forum (if he just posted there) that you're not supposed to see.

Also, I have a lot of users who are logged in (i.e. never log out) but are not around really. So how does your diferentiation works in this case?

Thanks,

Bira
oooh... hmmm.. yeah need to hide those private forum threads
Reply With Quote
  #29  
Old 08-29-2000, 01:22 AM
Guest
 
Posts: n/a
Default

Private forums are noted...

You won't be able to view those threads, but I guess the subject lines might be a little revealing.

As far as not logging out, it currently is based off of the active users listing -- and any user with inactivity for over 10 (or is it 15) minutes is automatically removed from that listing. So that should be all set...
Reply With Quote
  #30  
Old 08-29-2000, 02:05 AM
Guest
 
Posts: n/a
Default

You da man, Stallion!
Reply With Quote
  #31  
Old 08-29-2000, 08:17 AM
Guest
 
Posts: n/a
Default

Any idea when that next version will be out?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:52 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.04387 seconds
  • Memory Usage 2,274KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete