Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Who Am I A Buddy Of - Version 2.0 Details »»
Who Am I A Buddy Of - Version 2.0
Version: 1.00, by Gamingforce Gamingforce is offline
Developer Last Online: Jan 2007 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 07-19-2004 Last Update: Never Installs: 46
 
No support by the author.

[ Feature Description ]
This feature allows users to easily see who they are buddies of along with an easy way to add/remove buddies right from the page! This modification is a big upgrade from the one I made for vBulletin 2. It has proved to be a very useful tool for my members. As of this version, there are noother known performance optimization techniques, nobugs and no security problems.

[ Version 2.0 Fix Log ]
2.00 -> 2.01 - July 20, 2004
  • Updated a non code related error in the installation instructions. (Bug finder: Dennis B)
  • Fixed a bug for people using tables with prefixes. (Bug finder: the Sandman)
2.00 -> 2.01 - July 20, 2004
  • Fixed a small warning that was displayed if zero people had you on their buddy list. (Bug finder: Zelda King)
  • Templates are now cached. (Bug finder: Zelda King)
[ Updates From Version 1.0 ]
  • Uses only one query to get all the information needed for this! (This took me a while to figure out but I got it all into one query using regular expressions and left joins).
  • User CP navigation link and proper displaying added.
  • Better formatting.
  • Easy add/remove buddies from the list with a "- buddy" if a user is already a buddy and a "+ buddy" if the user is not a buddy.
  • Percentage of users that are mutual buddies (both of you have each other on buddy lists).
  • Updated a security bug.
  • Huge performance increase.
  • Fixed the big bug that didn't display results if your userid was at the beginning or end of the buddylist.
[ Screenshots ]




Enjoy!

Show Your Support

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

Comments
  #12  
Old 07-20-2004, 01:37 PM
Gamingforce's Avatar
Gamingforce Gamingforce is offline
 
Join Date: Oct 2001
Location: New York City
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexialys
i thought that we had enough with vBFriends - View your social network is working well, easy to manage, one file script, very attractive look too...
True, but not everyone wants to make their buddy lists public and I feel like this is more straight-forward. This feature efficiently lists who you are a buddy of and your relationship to that buddy. You can easily add anyone (or remove anyone) from that list with just two clicks. Also, unlike friends.php, this only uses ONE database query whereas the other one can use many depending on how many buddies you have.
Reply With Quote
  #13  
Old 07-20-2004, 02:15 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gamingforce: Very prompt fix job. Well done!

(Working perfectly now - v3.0.1.)
Reply With Quote
  #14  
Old 07-20-2004, 02:20 PM
Bro_Joey_Gowdy's Avatar
Bro_Joey_Gowdy Bro_Joey_Gowdy is offline
 
Join Date: May 2002
Location: Hickory Flat MS 38633
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

clciks install
Reply With Quote
  #15  
Old 07-20-2004, 03:00 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Been waiting for this, cheers.
Reply With Quote
  #16  
Old 07-21-2004, 04:32 PM
Dennis B's Avatar
Dennis B Dennis B is offline
 
Join Date: Jul 2002
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gamingforce,

Nice job, will install tonite.

Just a remark: in the installation instructions you say:

[OPEN FILE includes/functions_user.php]
==================================================
(...)
==================================================
[CLOSE FILE includes/functions_newpost.php]
Reply With Quote
  #17  
Old 07-21-2004, 04:43 PM
Bryan Ex's Avatar
Bryan Ex Bryan Ex is offline
 
Join Date: Feb 2004
Location: Canada
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gamingforce
True, but not everyone wants to make their buddy lists public.
That was exactly the concern raised by my members in the past so this suits my board perfectly. Thanks again!
Reply With Quote
  #18  
Old 07-21-2004, 04:53 PM
the Sandman's Avatar
the Sandman the Sandman is offline
 
Join Date: Aug 2003
Location: Tampa, FL
Posts: 229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The install didn't work for me:

Code:
 
Invalid SQL: 
				SELECT usertextfield.userid, user.username
				FROM vb3_usertextfield
				LEFT JOIN vb3_user
				USING (userid) 
				WHERE usertextfield.buddylist REGEXP '[ ]3[ ]'
				OR usertextfield.buddylist REGEXP '^3[ ]'
				OR usertextfield.buddylist REGEXP '[ ]3$'
				ORDER BY user.username ASC
 
mysql error: Unknown table 'usertextfield' in field list
mysql error number: 1109
Did I mess something up?
Reply With Quote
  #19  
Old 07-21-2004, 05:06 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice, thanks for sharing your work with us Gamingforce..
Reply With Quote
  #20  
Old 07-21-2004, 11:30 PM
Gamingforce's Avatar
Gamingforce Gamingforce is offline
 
Join Date: Oct 2001
Location: New York City
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2.01 -> 2.02 - July 21, 2004
-Updated a non code related error in the installation instructions. (Bug finder: Dennis B)
-Fixed a bug for people using tables with prefixes. (Bug finder: the Sandman)

To upgrade, all you need to do is download the new attachment in post #1 and upload the new whobuddies.php to your server. You do not need to upgrade unless you are using database table prefixes.
Reply With Quote
  #21  
Old 07-21-2004, 11:40 PM
the Sandman's Avatar
the Sandman the Sandman is offline
 
Join Date: Aug 2003
Location: Tampa, FL
Posts: 229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gamingforce
2.01 -> 2.02 - July 21, 2004
Fixed a bug for people using tables with prefixes. (Bug finder: the Sandman)
That's much better! Thanks!
Reply With Quote
Reply

Thread Tools

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 08:35 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.04647 seconds
  • Memory Usage 2,303KB
  • 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
  • (1)bbcode_code
  • (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
  • (3)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_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