PDA

View Full Version : Profile Enhancements - Automatically Add Friend


Eplexx
06-27-2011, 10:00 PM
Information:
This modification was for 3.7 and I saw loads of people wanting it for 3.8 thus I updated it. This wasn't my mod nor am I trying to take credit, all I'm doing is sharing this mod for others to enjoy for their sites etc.

What does this mod do:
This modification allows new members to automatically have anyone you specified as a friend. Same concept of Myspace where Tom would be your friend right away, this allows you to specify who you'd like to be added as a friend upon registration for members.

Installation:

Upload the attached product file by following this path:
ACP -> Plugins & Products -> Manage Products -> [Add/Import Product]
Head over to the vBulletin options, open up the "User Registration Options", and set a list of users under the "Automatically Add Friends" option.
Enjoy!


Credits:
King Kovifor - Coding it all.
Eplexx - Updating it.

teach1st
06-28-2011, 08:59 PM
This didn't add the designated friend and it didn't send a PM to a new user added through the admin CP.

DNN
09-25-2011, 05:49 PM
Does this mod work with VB 4x+ ?

mnms
10-02-2011, 09:52 AM
Hi Eplexx, thanks for the module.
I just tried to install it on VB 4.1.6 but I have the error message below when I made a register test :

Database error in vBulletin 4.1.6:

Invalid SQL:
INSERT INTO userlist (userid, relationid, type, friend) VALUES (, 1, '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 ' 1, 'buddy', 'yes')' at line 1
Error Number : 1064
Request Date : Sunday, October 2nd 2011 @ 11:55:47 AM
Error Date : Sunday, October 2nd 2011 @ 11:55:47 AM
Script : http://www.mysite.com/register.php?do=activate
Referrer : http://www.mysite.com/register.php?a=ver
IP Address : XXXXXXXXXXXXX
Username : systemd
Classname : vB_Database
MySQL Version : 5.0.51a-24+lenny4-log

Do you know how to solve it ?

Regards

Eplexx
10-16-2011, 04:35 AM
The code is different in vb 4 so idk if it'll work. I highly doubt it :p

Akyeame Kwame
03-27-2012, 11:54 PM
Any chance of getting this for vb4?

Elixar
04-02-2016, 08:44 PM
Any chance of this for vB4?

ozzy47
04-02-2016, 09:37 PM
Doubtful. Developer Last Online: Apr 2013