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

Reply
 
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
  #132  
Old 04-19-2005, 01:53 AM
SS9267547's Avatar
SS9267547 SS9267547 is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay sometime this week I will release two new addons for vBBuddies, one for the User CP and the other with the register.php that was requested.

altsounds: With the request PM, the PM that gets sent out at this time isn't a request really, it just lets a user know that that member had added them to there list. Did that since making it as a request it wouldn't work with the system. However, to make it as a request a buddy system it would then need to be worked out so it wouldn't send out a PM each time a member adds them. I don't think I'm making sense there lol. Anyway I'll look into the when I have time and if I can get this to work then it would be inculded in the next release.
Reply With Quote
  #133  
Old 04-19-2005, 02:06 AM
altsounds altsounds is offline
 
Join Date: Dec 2004
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SS9267547
Okay sometime this week I will release two new addons for vBBuddies, one for the User CP and the other with the register.php that was requested.

altsounds: With the request PM, the PM that gets sent out at this time isn't a request really, it just lets a user know that that member had added them to there list. Did that since making it as a request it wouldn't work with the system. However, to make it as a request a buddy system it would then need to be worked out so it wouldn't send out a PM each time a member adds them. I don't think I'm making sense there lol. Anyway I'll look into the when I have time and if I can get this to work then it would be inculded in the next release.

That would be seriously freaking awesome. You have an amazing hack here and with your open-ness it could develop into a fantastic tool. Just make sure you try and code in the ability to either approve or disapprove the friend request.

Another thing! As this is basically going to be replacing everyones buddy list eventually could you code in an if statement so that if I am looking at my own profile it will have "remove" links so that I can easily remove a user right from the buddy list. The buddy list could be called from the Control Panel using a link to your own full buddy list. However if I am browsing someone elses buddy list the remove link will not appear. Make sense??

Thanks so much and I look forward to seeing these updates soon.

You're awesome!!
Reply With Quote
  #134  
Old 04-19-2005, 06:38 AM
Benj's Avatar
Benj Benj is offline
 
Join Date: May 2006
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SS9267547 hahaha sweet man ta Looks like theres gonna be a lot of myspace.com vbulletin rip offs
Reply With Quote
  #135  
Old 04-19-2005, 07:06 AM
KTBleeding's Avatar
KTBleeding KTBleeding is offline
 
Join Date: Feb 2004
Location: Tooele, UT
Posts: 756
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by benj
SS9267547 hahaha sweet man ta Looks like theres gonna be a lot of myspace.com vbulletin rip offs
Please god no! Myspace is bad enough.
Reply With Quote
  #136  
Old 04-19-2005, 12:05 PM
altsounds altsounds is offline
 
Join Date: Dec 2004
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SS9267547.

You obiously know what is needed to be able to do this as you have it working in your vbbuddies user profile hack.

Could you let us dumb ones know how we could add the check to see if a user is online in any page we want too.

E.g. I would like for my online now logo to show up if a user is online in memberlist, private messages plus anywhere else that might be cool (its a cool way to know if someone is online). I am asking you as I like the way you utilized the online check from the postbit. This is a genius idea as it means all your online nows will be pulled from the same place.

Let me know what steps are needed with any file so that you can add the Online now capabilities.

Thanks
Reply With Quote
  #137  
Old 04-19-2005, 12:48 PM
SS9267547's Avatar
SS9267547 SS9267547 is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

altsounds: With the online/offline feature, I don't think it would work with every page, not 100% sure about that since I used other ways on my other pages to add the online/offline feature like in memberslist and havn't tested it. However the following code is what I use now and should work. Add the following code when the main displaying part of the script starts and replace $inuser to whatever the script uses to get it's data, so it could be $userinfo or $user, whatever it is lol.

PHP Code:
// =================================
// Begin online/offline hack. (Edit by: Lucas)
// =================================

require_once('./includes/functions_bigthree.php');
fetch_online_status($inusertrue); 
With the approve or disapprove the friend request and remove link, I think what I might do is replace the current buddy list in control panel totally so it would only display what you have and not just list / add whoever you want on the list like it is now. I'll have to see what I can do since I don't know what I'm doing myself lol.
Reply With Quote
  #138  
Old 04-19-2005, 12:51 PM
Benj's Avatar
Benj Benj is offline
 
Join Date: May 2006
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think this hack might take over the world !!!
Reply With Quote
  #139  
Old 04-19-2005, 12:54 PM
altsounds altsounds is offline
 
Join Date: Dec 2004
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also I am using profilepics as opposed to avatars. However, what I have noticed when testing is that if I upload a new profile picture the picture gets updated in the members profile but not on the buddylist. When investigation I noticed that in my MEMBERINFO template at the end of the image call there is a $userinfo[profilepicdateline] field which is making sure that in the profile it has the most up to date profile pic.

I am still getting to grips with coding and vbulletin. Any ideas how I can set it up to include the dateline in my profile pic call from the buddies file?? I tried the same as was in my profile but that didn't work.

Any help is much appreciated.
Reply With Quote
  #140  
Old 04-19-2005, 01:05 PM
altsounds altsounds is offline
 
Join Date: Dec 2004
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SS9267547
altsounds: With the online/offline feature, I don't think it would work with every page, not 100% sure about that since I used other ways on my other pages to add the online/offline feature like in memberslist and havn't tested it. However the following code is what I use now and should work. Add the following code when the main displaying part of the script starts and replace $inuser to whatever the script uses to get it's data, so it could be $userinfo or $user, whatever it is lol.

PHP Code:
// =================================
// Begin online/offline hack. (Edit by: Lucas)
// =================================

require_once('./includes/functions_bigthree.php');
fetch_online_status($inusertrue); 
With the approve or disapprove the friend request and remove link, I think what I might do is replace the current buddy list in control panel totally so it would only display what you have and not just list / add whoever you want on the list like it is now. I'll have to see what I can do since I don't know what I'm doing myself lol.

So put this in the PHP file I want to check online status in right?? E.g. I am trying to do this right no in private.php. I looked through the file and from what I can tell they are using $user so i changed that as appropriate. Now, How do I call this in the Vbulletin template to show the online user logo if a user is online or not.

Sorry for all these questions. I understand most of this but there's a few things I'm still not too good on.

Thanks so much for all your help
Reply With Quote
  #141  
Old 04-19-2005, 01:38 PM
SS9267547's Avatar
SS9267547 SS9267547 is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah with the profile picture, I’m not sure, if I have time I’ll look into when I get home from work and if I have the time. With the online status, yes paste the code when it starts displaying the results. Now to test it you would use $inuser[onlinestatus] or in this case $user[onlinestatus] in the template. Paste that where you want it to show it.
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:57 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06356 seconds
  • Memory Usage 2,327KB
  • 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
  • (2)bbcode_php
  • (3)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