Auto-add Group

I have a couple groups that I want everyone who joins my site to be automatically added as a Fan.  I would also like them auto-subscribed to some but not all auto-groups.

This would be similar to what happens with the Auto-Friend mod that automatically adds selected profiles as friends (like Myspace's "Tom") but would work with group join/subscribe functions.

Anyone know of a simple way to do this?  I'm a coding idjit so even when looking at the code for autofriend, I can't figure out how to do this.

- Brian

Quote · 25 May 2010

Ya know... I always hated that Myspace's Tom guy automatically assumed I wanted to have him as a friend.  Removing him from my friends list was the first thing I ever did on Myspace.  Come to think of it.... I think that was also the last thing I did on myspace.

Are you sure you want to do this?  Your members may hate you for it.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 25 May 2010

Ya know... I always hated that Myspace's Tom guy automatically assumed I wanted to have him as a friend.  Removing him from my friends list was the first thing I ever did on Myspace.  Come to think of it.... I think that was also the last thing I did on myspace.

Are you sure you want to do this?  Your members may hate you for it.

There are those who do not mind automatically doing what they are told, being assigned to things they didn't agree upon, and not accepting the offer for a super-sized meal at McDonalds. Then there are those who will be severely annoyed that they are affiliated to an account or group that they may not wish to be a part of, and although they can always leave (you did apply that update, didn't you?), the fact that it happened without their consent will still annoy them.

Personally, I'm more interested in the fact that you were on MySpace. I'm on Friendster, if anyone cares.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 25 May 2010

RE

Personally, I'm more interested in the fact that you were on MySpace.

I'm there one reason... To send spam to other members.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 25 May 2010

RE

Personally, I'm more interested in the fact that you were on MySpace.

I'm there one reason... To send spam to other members.

Ah, so you were the person sending me copious amounts of pornography. Thank you.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 25 May 2010

You need to change the SQL insert statement.

Normally it inserts an entry into the sys_friend_list table you simply need to change this SQL statement to insert an entry into the bx_groups_fans table instead.

The sys_friend_list table consists of the following field

ID, profile, check, when

The bx_group_fans table consists of the following fields

id_entry, id_profile, when, confirmed


Basically most of the fields are the same:

ID = id_profile

when = when

check = confirmed

You simply need to change the field descriptions in the SQL statement to use the field names from the bx_group_fans table, and include the value for the id_entry field that corresponds with the group that you want them to be a member of.

HTH

/DM

Dolphin - Ajax Masturbation
Quote · 25 May 2010

I updated the auto friends MOD to D7, so made you up one to join members as fans - http://www.boonex.com/unity/extensions/entry/FREE_MOD_DeeEmm_Auto_Group_Fan_On_Join_MOD

Haven't had a chance to test it, give me a holler if you have any issues.

Support thread is here - http://www.boonex.com/unity/forums/topic/DeeEmm-Auto-Group-Fan-on-Join-MOD.htm

/DM

Dolphin - Ajax Masturbation
Quote · 27 May 2010

I updated the auto friends MOD to D7, so made you up one to join members as fans - http://www.boonex.com/unity/extensions/entry/FREE_MOD_DeeEmm_Auto_Group_Fan_On_Join_MOD

Thank you! :-)

-Brian

Quote · 28 May 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.