1

Topic: Move all Regular women, or men to a specific Group, with 1 click

Let s say your site become paied or you want move all women to a free access membership or to paid group.

You may Alter your database with one command:

UPDATE vld_members AS vld_members LEFT JOIN vld_members_data_members AS vld_members_data_members ON ( vld_members.member_id = vld_members_data_members.data_id ) SET vld_members.group_id =9,
vld_members.expirationdate =0 WHERE vld_members_data_members.data_gender1 =2;

Where 9 is my free access group; 2 is my regular group who can not send messages.

You can use this command to MASS move members from all Group to another.

If you want SPECIFIC groups, see below down on page (edited) !

This formula is Tested by myself.

Last edited by matrimo (2011-04-09 04:56:56)

2

Re: Move all Regular women, or men to a specific Group, with 1 click

thx

|^^^^^^^^^^^^^|____
|      vldpersonals        | '|";,__.
|_..._....._____===|=_|__|....,]|
"(@)'(@)****|(@)*(@)***(@)

3

Re: Move all Regular women, or men to a specific Group, with 1 click

Rombest, you're an angel

Comet Chat - The best Facebook chat clone integrated to Vldpersonals
Asian Dating and Asian Girls
Dating woman Romania

4

Re: Move all Regular women, or men to a specific Group, with 1 click

http://www.webbsupport.eu/image/thumb_up.gif

Give the world the best you have, and the best will come to you.
Tutorials and Mods for VldPersonals   Swedish Dating on Love2u.se   VldCrowd:s Community

5

Re: Move all Regular women, or men to a specific Group, with 1 click

Till now, with the first Sql comand, all registered women was moved to the Free Group. (9)

The problem is that even all women from Canceled Group and the other Groups was moved to the Free Group.


Now I improved the command to move only Regular women (2) to the Free group.(9)


Here is the right SQL command :

 

UPDATE vld_members AS vld_members LEFT JOIN vld_members_data_members AS vld_members_data_members ON ( vld_members.member_id = vld_members_data_members.data_id ) SET vld_members.group_id =9,
vld_members.expirationdate =0 WHERE vld_members_data_members.data_gender1 =2 AND group_id =2;

Hope you enjoy it.

If you use this SQL comand, it is free.

Anyway, a link to my site is welcome and allways appreciated. Thank you.

Last edited by matrimo (2011-04-09 05:00:29)

6

Re: Move all Regular women, or men to a specific Group, with 1 click

matrimo wrote:

Till now, with the first Sql comand, all registered women was moved to the Free Group. (9)

The problem is that even all women from Canceled Group and the other Groups was moved to the Free Group.


Now I improved the command to move only Regular women (2) to the Free group.(9)


Here is the right SQL command :

 

UPDATE vld_members AS vld_members LEFT JOIN vld_members_data_members AS vld_members_data_members ON ( vld_members.member_id = vld_members_data_members.data_id ) SET vld_members.group_id =9,
vld_members.expirationdate =0 WHERE vld_members_data_members.data_gender1 =2 AND group_id =2;

Hope you enjoy it.

If you use this SQL comand, it is free.

Anyway, a link to my site is welcome and allways appreciated. Thank you.

Thank's !!!

Comet Chat - The best Facebook chat clone integrated to Vldpersonals
Asian Dating and Asian Girls
Dating woman Romania

7

Re: Move all Regular women, or men to a specific Group, with 1 click

I made the mistake of changing sql statement without knowing it, and I turned all men into women and all women into men, you could help me fix this problem?

Comet Chat - The best Facebook chat clone integrated to Vldpersonals
Asian Dating and Asian Girls
Dating woman Romania

8

Re: Move all Regular women, or men to a specific Group, with 1 click

Is not recommanded to joke with your database and you must be sure what you do.

You could use you backup to set it was before, or you can start a new SQL command :

UPDATE vld_members_data_members  SET data_gender1=8 WHERE data_gender1=2;
UPDATE vld_members_data_members  SET data_gender1=2 WHERE data_gender1=1;
UPDATE vld_members_data_members  SET data_gender1=1 WHERE data_gender1=8;


This will change gender : Man into Woman and Woman into Men. Do not do this in Real World , lol.

This a tricky but logical sollution... it should work because I am not sure about the simple command (... AND...)

Last edited by matrimo (2011-08-05 13:49:29)

9

Re: Move all Regular women, or men to a specific Group, with 1 click

Hello Matrimo,

Thank you for your attention

I did the command you taught,

Woman is Woman
Man is Man

now looks like this

Woman seeking woman
Man seeking Man

Last edited by sowers (2011-08-06 21:05:51)

Comet Chat - The best Facebook chat clone integrated to Vldpersonals
Asian Dating and Asian Girls
Dating woman Romania

10

Re: Move all Regular women, or men to a specific Group, with 1 click

It means not ony data_gender2 was changed initially, but also data_gender2

You can solve this with the next command Sql:

UPDATE vld_members_data_members  SET data_gender2=2 WHERE data_gender1=2;
UPDATE vld_members_data_members  SET data_gender2=1 WHERE data_gender1=1;


Good luck !

MATRIMO / EX ROMBEST

11

Re: Move all Regular women, or men to a specific Group, with 1 click

Thank you, thank you so much

Comet Chat - The best Facebook chat clone integrated to Vldpersonals
Asian Dating and Asian Girls
Dating woman Romania