Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Automatically Add Friend Details »
Automatically Add Friend
Mod Version: 1.0.1, by King Kovifor (Coder) King Kovifor is offline
Developer Last Online: Aug 2015 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.x Rating: (13 votes - 4.85 average) Installs: 200
Released: 27 Apr 2008 Last Update: 28 Apr 2008 Downloads: 925
Not Supported Uses Plugins Translations  

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!

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vBFOAF - Friend of a Friend exporter for vBulletin 3 Cloud-Warrior vBulletin 3.0 Full Releases 9 29 Nov 2007 16:13
vBFOAF - Friend of a Friend RDF metadata exporter for vBulletin 3.5 Cloud-Warrior vBulletin 3.5 Add-ons 7 29 Nov 2007 16:12

  #91  
Old 04 Jun 2008, 00:15
Greg-J Greg-J is offline
 
Join Date: Jul 2006
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
  #92  
Old 04 Jun 2008, 00:21
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
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.
__________________
Former vBulletin.org Staff Member

Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration
Reply With Quote
  #93  
Old 04 Jun 2008, 03:12
carrlos's Avatar
carrlos carrlos is offline
 
Join Date: Nov 2006
Originally Posted by King Kovifor View Post
... I need to get it out.
Please!!!!!!!!
Reply With Quote
  #94  
Old 04 Jun 2008, 13:44
RedeemedWarrior's Avatar
RedeemedWarrior RedeemedWarrior is offline
 
Join Date: Apr 2008
Real name: Richard R
i use it.. its not bad
Reply With Quote
  #95  
Old 04 Jun 2008, 22:15
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by RedeemedWarrior View Post
i use it.. its not bad
Only if you don't use Email Validation.
__________________
Former vBulletin.org Staff Member

Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration
Reply With Quote
  #96  
Old 05 Jun 2008, 18:35
goddess_dix's Avatar
goddess_dix goddess_dix is offline
 
Join Date: Mar 2007
Real name: Dixie Vogel
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
  #97  
Old 05 Jun 2008, 20:17
skariko skariko is offline
 
Join Date: Apr 2006
Real name: Andrea
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
__________________
Webmaster of http://www.czeta.com
Reply With Quote
  #98  
Old 05 Jun 2008, 22:46
volarium volarium is offline
 
Join Date: Mar 2005
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
  #99  
Old 05 Jun 2008, 22:54
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
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.

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...

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.
__________________
Former vBulletin.org Staff Member

Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration
Reply With Quote
  #100  
Old 06 Jun 2008, 19:09
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Real name: Cor
Originally Posted by King Kovifor
... by adding any number of users (user IDs required) to the new users friend list.
Im not really sure if I understand correct.
Would it be possible to use this product exactly like Tom?
Say Im Tom (administrator), and Id like to have everyone automatically added to my friends list after they have registered?
__________________
Turning Strigoi? Vampire Academy - Bta.
Reply With Quote
  #101  
Old 06 Jun 2008, 20:20
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
This is what's supposed to happen. If you have email validation turned on it doesn't work correctly for now.

You have to add your user id to that option.
__________________
Former vBulletin.org Staff Member

Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration
Reply With Quote
  #102  
Old 07 Jun 2008, 01:12
WiseOne38221's Avatar
WiseOne38221 WiseOne38221 is offline
 
Join Date: Jun 2006
I tried this and it does not work with 3.7.0

__________________
.
WiseOne -

Political Forum - Truck Forum - Christian Forums
Reply With Quote
  #103  
Old 07 Jun 2008, 04:30
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by WiseOne38221 View Post
I tried this and it does not work with 3.7.0

Do you use email validation?
__________________
Former vBulletin.org Staff Member

Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration
Reply With Quote
  #104  
Old 07 Jun 2008, 07:51
bdude's Avatar
bdude bdude is offline
 
Join Date: Dec 2005
Real name: Bryce
Thanks, this is a fabulous mod!
__________________
Come join my Blogging Forum. Or try my blog for forum owners.
Reply With Quote
  #105  
Old 08 Jun 2008, 18:05
cykelmyggen's Avatar
cykelmyggen cykelmyggen is offline
 
Join Date: Oct 2006
Hi
Great hack, but I got this error on the first time new users signed up on my forum: Anything I can do about it:

Database error in vBulletin 3.7.1:

Invalid SQL:

INSERT INTO vbuserlist (userid, relationid, type, friend) VALUES (, 5, '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 ' 5,
'buddy', 'yes')' at line 1
Error Number : 1064
Request Date : Sunday, June 8th 2008 @ 04:20:26 PM
Error Date : Sunday, June 8th 2008 @ 04:20:27 PM
Script : http://www.boggnasker.dk/vbforum/reg...852&i=78043473
Referrer :
IP Address : XXXXXXXXXXX
Username : Jofa
Classname : XX_database
MySQL Version :
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 17:02.

Layout Options | Width: Wide Color: