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
  #92  
Old 06-03-2008, 10:15 PM
Greg-J Greg-J is offline
 
Join Date: Jul 2006
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I fail to see the point in this mod for established forums. Why would I want all the new members that I don't know to be my friends (or I to be theirs) and not all the existing members?

If you're worried about having to do them all at once, hook it to the login. When a user logs in, check to see if the admin userids are their friends. If not, add it.
Reply With Quote
  #93  
Old 06-03-2008, 10:21 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Greg-J View Post
I fail to see the point in this mod for established forums. Why would I want all the new members that I don't know to be my friends (or I to be theirs) and not all the existing members?

If you're worried about having to do them all at once, hook it to the login. When a user logs in, check to see if the admin userids are their friends. If not, add it.
That's not a bad Idea. I may code that sooner or later. Maybe after this version... I need to get it out.
Reply With Quote
  #94  
Old 06-04-2008, 01:12 AM
carrlos's Avatar
carrlos carrlos is offline
 
Join Date: Nov 2006
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by King Kovifor View Post
... I need to get it out.
Please!!!!!!!!
Reply With Quote
  #95  
Old 06-04-2008, 11:44 AM
RedeemedWarrior RedeemedWarrior is offline
 
Join Date: Apr 2008
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i use it.. its not bad
Reply With Quote
  #96  
Old 06-04-2008, 08:15 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedeemedWarrior View Post
i use it.. its not bad
Only if you don't use Email Validation.
Reply With Quote
  #97  
Old 06-05-2008, 04:35 PM
goddess_dix's Avatar
goddess_dix goddess_dix is offline
 
Join Date: Mar 2007
Location: Kansas
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i've been watching this one...in terms of feature requests, i'd be interested in

1. making it a friend request, not automatic add to friends list, although this is not a huge deal.

2. resolution of issues with email validation, as my forum requires it and turning it off would be a dealbreaker for me.

3. some instructions on at least a manual query that could be run to add the friend request for existing site members.

i do think this is a very cool idea, and think we could have some fun with it on my forum, as i had a few ideas for how i might use it. i also think it would be a nice way to get the members more involved in the new social networking features.

regardless, thank you for your work.
Reply With Quote
  #98  
Old 06-05-2008, 06:17 PM
skariko skariko is offline
 
Join Date: Apr 2006
Location: Milano (Italy)
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It give me a database error when i try to validate the registration with the link.

Invalid SQL:
INSERT INTO userlist (userid, relationid, type, friend) VALUES (, 7903, 'buddy', 'yes');

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 7903, 'buddy', 'yes')' at line 1
Reply With Quote
  #99  
Old 06-05-2008, 08:46 PM
volarium volarium is offline
 
Join Date: Mar 2005
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to modify the usergroup that this modules uses to add friends? In other words, I don't want to add a new friend to new users of the "Registered" usergroup. Instead, I want to add a new friend to anyone who joins the "Subscriber" usergroup (or similar). Is it possible to just modify the code and change the usergroup number to accomplish this?
Reply With Quote
  #100  
Old 06-05-2008, 08:54 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goddess_dix View Post
i've been watching this one...in terms of feature requests, i'd be interested in

1. making it a friend request, not automatic add to friends list, although this is not a huge deal.

2. resolution of issues with email validation, as my forum requires it and turning it off would be a dealbreaker for me.

3. some instructions on at least a manual query that could be run to add the friend request for existing site members.

i do think this is a very cool idea, and think we could have some fun with it on my forum, as i had a few ideas for how i might use it. i also think it would be a nice way to get the members more involved in the new social networking features.

regardless, thank you for your work.
1. I might code this for the next major version.

2. I need to finish that update.

3. I will be coding that for the next major version, as it isn't a single query. It requires 2 queries per every user you are adding.

Quote:
Originally Posted by skariko View Post
It give me a database error when i try to validate the registration with the link.

Invalid SQL:
INSERT INTO userlist (userid, relationid, type, friend) VALUES (, 7903, 'buddy', 'yes');

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 7903, 'buddy', 'yes')' at line 1
I know of this error and am attempting to fix it...

Quote:
Originally Posted by volarium View Post
Is it possible to modify the usergroup that this modules uses to add friends? In other words, I don't want to add a new friend to new users of the "Registered" usergroup. Instead, I want to add a new friend to anyone who joins the "Subscriber" usergroup (or similar). Is it possible to just modify the code and change the usergroup number to accomplish this?
That would require major modifications... Since changing groups can be done in several ways.
Reply With Quote
  #101  
Old 06-06-2008, 05:09 PM
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by King Kovifor
... by adding any number of users (user IDs required) to the new users friend list.
I?m not really sure if I understand correct.
Would it be possible to use this product exactly like Tom?
Say I?m Tom (administrator), and I?d like to have everyone automatically added to my friends list after they have registered?
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:25 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.08334 seconds
  • Memory Usage 2,321KB
  • 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
  • (7)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