Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Automatically Add Friend Details »»
Automatically Add Friend
Version: 1.0.1, by King Kovifor King Kovifor is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.x Rating:
Released: 04-26-2008 Last Update: 04-27-2008 Installs: 202
Uses Plugins
Translations  
No support by the author.

Introduction
This modification acts somewhat like Myspace. When you register on Myspace, the creator of Myspace (Tom) is automatically added as a friend (mutually). This acts the same way on your forum by adding any number of users (user IDs required) to the new users friend list. This is completely mutual, but now has the option to be a non-mutual friendship.

This was coded by request in this thread.

Requirements
  • vBulletin 3.7.x (This should work on ALL betas & RCs!)
Installation
  1. Upload the attached product file by following this path:
    ACP -> Plugins & Products -> Manage Products -> [Add/Import Product]
  2. Head over to the vBulletin options, open up the "User Registration Options", and set a list of users under the "Automatically Add Friends" option.
  3. Enjoy!

Show Your Support

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

Comments
  #232  
Old 07-01-2010, 09:53 PM
mmllc's Avatar
mmllc mmllc is offline
 
Join Date: Nov 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry if this was asked, but is there anyway to apply this via SQL retroactively to certain usergroups (basically only active members)? As in, I know this works for future registrations, but what about existing members that I want to make my friend now?
Reply With Quote
  #233  
Old 09-10-2010, 01:04 AM
mimi123 mimi123 is offline
 
Join Date: Jun 2010
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there one for vb 4.0??? please let me know
Reply With Quote
  #234  
Old 09-10-2010, 04:53 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mimi123 View Post
is there one for vb 4.0??? please let me know
Works on 4.0.6, no pm is sent though however no DB error as some 3.x users posted above.
Reply With Quote
  #235  
Old 03-20-2011, 03:09 AM
Phaedrus Phaedrus is offline
 
Join Date: Jul 2006
Location: Colorado
Posts: 617
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheLastSuperman View Post
Works on 4.0.6, no pm is sent though however no DB error as some 3.x users posted above.
Are you sure it is adding friends? I tried adding it to 4.1.2 on my test site. When I added a new account it didn't seem to add my chosen account to friends, then when I tried to verify the account it got that same db error.

So... I guess it doesn't work with 4.1.x...
Reply With Quote
  #236  
Old 04-19-2011, 03:32 AM
DNN DNN is offline
 
Join Date: Mar 2011
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will this work with vB4 +?
Reply With Quote
  #237  
Old 06-25-2011, 11:58 PM
DNN DNN is offline
 
Join Date: Mar 2011
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This one is not working either for vB 4.1.4
Reply With Quote
  #238  
Old 09-10-2011, 07:47 PM
MrFlicks MrFlicks is offline
 
Join Date: Aug 2007
Location: In the Code
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with vb4?
Reply With Quote
  #239  
Old 11-16-2011, 02:07 AM
Hellmaster Hellmaster is offline
 
Join Date: Sep 2009
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great at 3.8...

An "issue", only adds to Friends list, not to contacts... can you add the option to add the user to "friends" and "contacts" too?

That's the reason there's not a + beside the Nick/Username. To addit have to go under Control Panel -> Buddy / Ignore Lists --> ADD TO CONTACT LIST...
Reply With Quote
  #240  
Old 06-24-2012, 08:11 PM
Hellmaster Hellmaster is offline
 
Join Date: Sep 2009
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uninstalled...

After 1012 added friends my profile crashed and a SQL ERROR screen appears when ANY user try to see my profile...

This is the error:

PHP Code:
Invalid SQL:

                               
SELECT user.*, (user.options 512) AS invisible avatar.avatarpathNOT ISNULL(customavatar.userid) AS hascustomcustomavatar.dateline AS avatardatelinecustomavatar.filedata_thumbcustomavatar.height AS avheightcustomavatar.width AS avwidthcustomavatar.width_thumb AS avwidth_thumbcustomavatar.height_thumb AS avheight_thumb

                               FROM vBuserlist 
AS userlist
                               INNER JOIN vBuser 
AS user ON (user.userid userlist.relationid)
                               
LEFT JOIN vBavatar AS avatar ON (avatar.avatarid user.avatarid)
                               
LEFT JOIN vBcustomavatar AS customavatar ON (customavatar.userid user.userid)

                               
WHERE userlist.userid 1
                                       
AND userlist.type 'buddy'
                                       
AND userlist.friend 'yes'

                               
ORDER BY RAND()
                               
LIMIT 01.033;

MySQL Error   You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near '1.033' at line 13
Error Number  
1064 
Reply With Quote
  #241  
Old 02-07-2013, 03:20 AM
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Location: Atlanta, GA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It'd be so nice to see this updated to work once more than 1000 users have joined.
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 04:00 PM.


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.10710 seconds
  • Memory Usage 2,337KB
  • 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_php
  • (2)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
  • (2)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