Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools
vBBuddies Details »»
vBBuddies
Version: 1.0.3, by SS9267547 SS9267547 is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 04-01-2005 Last Update: 06-11-2005 Installs: 43
DB Changes
 
No support by the author.

During the development of my gaming site I was in the need of a hack that would display the buddies list publicly and I found one that I thought would work well for my needs called vBFriends. However I also found that it was in need of additional features to work more for what I needed it for so I modified this hack. Now with the permission of Cloud-Warrior (John Breslin) I?ve decided to release this little hack to anyone else who might find this useful called vBBuddies.

vBBuddies is similar to vBFriends however instead of showing all the members links (linked from, linked to, etc), vBBuddies simply displays all the members buddies only. Buddies that are of course linked back to the member. So for example a member named ?Bob? added a member named ?John? to his buddy list but ?John? didn?t add ?Bob? to his list. Now if that is the case, when looking at either ?Bobs? or ?Johns? public buddy lists you won?t see their names on there. However if both members add each others names to their buddy lists it will then classify that they are true buddies and put them on the list. Hope that makes sense. That?s pretty well what this little hack does.

In addition to the change above, I?ve noticed that there were two main features lacking from vBFriends that members have noted as well I needed done which was more optimized queries, templates and the option for multi paged system. So I?ve added those to this hack, I just hope that I was able to lower the queries down, think at this moment its at 10 total. Anyway enjoy the hack, hope someone else can find this useful.

There are 8 screenshots included for you to see what this little hack can do. :nervous: Now this isn't the greatest coded hack so I'm sure there are bugs. Please do let me know if there are problems with it and I'll try to find the problem if I have then time to do so. Also if you like the hack make sure hit the install button! Enjoy guys!

vBBuddies Information

Current Version Number: 1.0.3
vBulletin Test Version(s): 3.0.7 +
Queries to run: 1
File Edits: 8
New Phrases: 28
New Templates: 6
Template Edits: 4
Last Edited: June 12, 2005
Edited By: Lucas Pawelczyk
Install Time: 30 minutes
Difficulty: Moderate

Current Features
  1. Option to activate or disable public buddy list globally.
  2. Option for user to activate or disable public buddy list.
  3. Give permissions to whatever usergroup you want to be able to access this.
  4. Option for maximum number of members you would like to display per line.
  5. Option for maximum number of members to be displayed per page.
  6. Ability to have buddy tool menu to add or remove a member to your buddy list.
  7. Option to activate or disable private message notification of new buddy.
  8. Ability to view buddy links via member profile.
  9. Ability to activate or disable online status display option, avatars display option, user title display option, posts display option, birthday display option, age display option, join date display option and last active display option from admincp.
  10. Ability to display information text about feature with members.
  11. Option to activate or disable buddy indicator from memberslist.

Donations Welcome
lucas@gamitopia.com

Addons

Addon # 1 (Usercp basic addon):
https://vborg.vbsupport.ru/showpost....8&postcount=53

Addon # 2 (Profile advanced addon):
https://vborg.vbsupport.ru/showpost....1&postcount=73

Show Your Support

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

Comments
  #152  
Old 05-24-2005, 08:35 PM
altsounds altsounds is offline
 
Join Date: Dec 2004
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by T3MEDIA
any chance on that random user code?
To make something random is easy. Just look in the PHP code for the database query and look for either ASC or DESC and then change it to RAND.

Thats it done. You can also limit this by doing ' limit 5' after the rand too if you want (I Believe).
Reply With Quote
  #153  
Old 05-25-2005, 07:14 AM
Benj's Avatar
Benj Benj is offline
 
Join Date: May 2006
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

havnt changed that line tho so cant see why i would need to
Reply With Quote
  #154  
Old 06-09-2005, 04:54 PM
illPhever illPhever is offline
 
Join Date: Mar 2004
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Hack!

i have a question, though. would anyone know how to add a Custom Field display option? i have a custom user profile field (single-selection menu) and i would like the value of that field to be displayed in the vbbuddy list for each member listed.

...so i would like to add that custom user profle field to the Members & Profile Display Options in the Buddy List settings.

any help would be much appreciated. thanks!
Reply With Quote
  #155  
Old 06-10-2005, 04:17 AM
dsboyce8624 dsboyce8624 is offline
 
Join Date: May 2005
Location: New Jersey
Posts: 413
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, this is great, but I have a couple issues. They are all my fault, but I could use a little help anyway.

Let me say first that I have a custom style. It always makes this harder.

First, the table in UserCP showing buddies, near subscriptions, doesn't showup (the one on profile does, but it messed up the footer and I know how to fix that.)

Second, on memberlist the header on the top column is a buddylist icon, like the conditional ran for the header row.

And lastly, is there a way to make this just show all of your buddies, not just the reciprocal ones?

Thanks,

Dennis
Reply With Quote
  #156  
Old 06-10-2005, 05:32 PM
dsboyce8624 dsboyce8624 is offline
 
Join Date: May 2005
Location: New Jersey
Posts: 413
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I removed this hack, man that was fun, and all of the addins.

Now the only problem I have is on my memberinfo page where it shows the birthday.

I beleive the phrase was accidentally removed, but I could be wrong.

Instead of "Whatever it said here, like Birthday" : April 12, 1968

I just get the ": April 12, 1968" Not the heading or title of the field.

Any help with restoring this would be appreciated.

EDIT: Okay, searched the install XML for vB and found the phrase, restored. All is well. One of the uninstall scripts removed it, that should get fixed.

Dennis
Reply With Quote
  #157  
Old 06-11-2005, 04:25 AM
dsboyce8624 dsboyce8624 is offline
 
Join Date: May 2005
Location: New Jersey
Posts: 413
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, now the Add to Buddy List and Add to Ignore list items are missing from my users profile pages.

Off to check reverted files and templates, wee haw.

EDIT: Okay, that was removed phrases too, can somebody tell me which of these phrases I can remove and not impact my forums?

Quote:
$phrase['buddy_tools']['text'] = 'Buddy Options';
$phrase['buddy_tools']['phrasetypeid'] = 1;

$phrase['buddy_info']['text'] = 'Buddies Information';
$phrase['buddy_info']['phrasetypeid'] = 1;

$phrase['birthday']['text'] = 'Birthday';
$phrase['birthday']['phrasetypeid'] = 1;

$phrase['last_visit']['text'] = 'Last Visit';
$phrase['last_visit']['phrasetypeid'] = 1;

$phrase['online_status']['text'] = 'Online Status';
$phrase['online_status']['phrasetypeid'] = 11;

$phrase['buddy_currentbuddies']['text'] = 'Current Buddies';
$phrase['buddy_currentbuddies']['phrasetypeid'] = 1;

$phrase['buddy_onbuddylist']['text'] = 'User on your buddy list';
$phrase['buddy_onbuddylist']['phrasetypeid'] = 1;

$phrase['buddy_onignorelist']['text'] = 'User on your ignore list';
$phrase['buddy_onignorelist']['phrasetypeid'] = 1;

$phrase['buddy_notonanylist']['text'] = 'User not on any of your lists';
$phrase['buddy_notonanylist']['phrasetypeid'] = 1;

$phrase['autosystemmessage']['text'] = 'Automated System Message';
$phrase['autosystemmessage']['phrasetypeid'] = 1;

$phrase['viewmemberbuddies']['text'] = 'View Member Buddies';
$phrase['viewmemberbuddies']['phrasetypeid'] = 1;

$phrase['totalbuddies']['text'] = 'Total Buddies';
$phrase['totalbuddies']['phrasetypeid'] = 1;

$phrase['chooseoptionbelow']['text'] = 'Choose Option Below';
$phrase['chooseoptionbelow']['phrasetypeid'] = 1;

$phrase['buddies']['text'] = 'Buddies';
$phrase['buddies']['phrasetypeid'] = 1;

$phrase['add_x_to_ignore_list']['text'] = 'Add {1} to Your Ignore List';
$phrase['add_x_to_ignore_list']['phrasetypeid'] = 1;

$phrase['add_x_to_buddy_list']['text'] = 'Add {1} to Your Buddy List';
$phrase['add_x_to_buddy_list']['phrasetypeid'] = 1;

$phrase['remove_x_from_your_buddylist']['text'] = 'Remove {1} from your Buddy List';
$phrase['remove_x_from_your_buddylist']['phrasetypeid'] = 1;

$phrase['remove_x_from_your_ignorelist']['text'] = 'Remove {1} from your Ignore List';
$phrase['remove_x_from_your_ignorelist']['phrasetypeid'] = 1;

$phrase['can_viewbuddieslist']['text'] = 'Can View User Buddies List';
$phrase['can_viewbuddieslist']['phrasetypeid'] = 3;
Sorry to be a putz, but an unistall should not have done this damage.

Dennis
Reply With Quote
  #158  
Old 06-11-2005, 11:02 AM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dsboyce8624
Okay, this is great, but I have a couple issues. They are all my fault, but I could use a little help anyway.

Let me say first that I have a custom style. It always makes this harder.

First, the table in UserCP showing buddies, near subscriptions, doesn't showup (the one on profile does, but it messed up the footer and I know how to fix that.)

Second, on memberlist the header on the top column is a buddylist icon, like the conditional ran for the header row.

And lastly, is there a way to make this just show all of your buddies, not just the reciprocal ones?

Thanks,

Dennis
Ahhh on your memberlist top I have that as well. I figured it is because I completely changed the layout.

Good point.
Reply With Quote
  #159  
Old 06-11-2005, 06:09 PM
dsboyce8624 dsboyce8624 is offline
 
Join Date: May 2005
Location: New Jersey
Posts: 413
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, if you uninstall, you need to watch your phrases, it removes several stock phrases.
Reply With Quote
  #160  
Old 06-12-2005, 01:24 PM
SS9267547's Avatar
SS9267547 SS9267547 is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have much time but here is a small update version 1.0.3. This should fix the problem with the stock phrases at least I hope it will, something I missed. Here is a list of stock phrases that you might have problems with when uninstalling with the old installer or installing with the new installer:
  • add_x_to_ignore_list
  • add_x_to_buddy_list
  • remove_x_from_your_buddylist
  • remove_x_from_your_ignorelist
  • online_status
  • last_visit
  • birthday

The installer has been update, just in case the pharses are still needed if someone installs the hack they are still in the install script. Hope that helps those that need to uninstall. Enjoy.
Reply With Quote
  #161  
Old 06-12-2005, 06:57 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
If you are upgrading to version 1.0.1 from 1.0.0 you will need to first run the old install script and uninstall this hack from the system. Next upload the new installer to your server and run the install script again. Then follow the steps below to add the new features.

Where can I find the old install script? I need to upgrade.
Reply With Quote
 


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 04:44 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.06273 seconds
  • Memory Usage 2,317KB
  • 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
  • (4)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
  • (1)pagenav_pagelinkrel
  • (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_onlinestatus
  • (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
  • postbit_imicons
  • 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