Warning: The author of this contribution does not provide support for it anymore.

ACP Add User MOD

Change Join Date - ACP Add User MOD

Change Join Date

by alteredvision » Mon Jun 06, 2011 4:29 pm

Is there a way to have it where I can put in the join date instead of having it automatically done?
I have a board that we use for a membership club and we register every person through ACP with this MOD and we also delete them by their join date. I use another mod that lets me change their join date after they are in the system but that is an extra step that if I could just build it into this mod it would make it a lot easier.
alteredvision
Registered User
Posts: 3
Joined: Mon Jun 06, 2011 3:37 pm

Re: Change Join Date

by RMcGirr83 » Mon Jun 06, 2011 6:31 pm

Use the attached files and upload into your forum retaining the directory structure.

Purge the cache after uploading.

root.zip
(8.25 KiB) Downloaded 345 times
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Change Join Date

by alteredvision » Mon Jun 06, 2011 7:03 pm

Thank you so much for that, and the speed that you answered.

Is there a simple way to join them to a certain group?
alteredvision
Registered User
Posts: 3
Joined: Mon Jun 06, 2011 3:37 pm

Re: Change Join Date

by RMcGirr83 » Tue Jun 07, 2011 10:00 am

change this line in the includes/acp/acp_add_user.php file

Code: Select all

'group_id'            => (int) $group_id,


changing $group_id to the group id of the group you want to have them join.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Change Join Date

by alteredvision » Tue Jun 07, 2011 5:09 pm

Thanks
alteredvision
Registered User
Posts: 3
Joined: Mon Jun 06, 2011 3:37 pm

Re: Change Join Date

by Lonewolf147 » Mon Nov 04, 2013 1:59 pm

Sorry to revive an old thread, but I'm trying to edit join dates as well on my board. I've been using your Add User mod for a while now and love it. I want to try the edit you have posted in this thread but have some questions first. The post here is from 2011, but your latest version is from a year later. Does your latest version already contain the code changes you have posted here?

Second, where will the join date editing be located, on the main add user form? Is it only available when you add a new user? What about users that are already added and I want to go back and change their dates?
User avatar
Lonewolf147
Registered User
Posts: 82
Joined: Fri Jul 12, 2013 3:13 pm
Location: Milwaukee, WI
Name: Scott