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

Contact Board Administration

Edit who will recieve this message - Contact Board Administration

Edit who will recieve this message

by Artuurins » Tue Jan 18, 2011 8:26 am

hello! First of all - thanks for that great mod!
How to edit who will recieve those messages? At now, all administrators in the forum are recieving those emails, but i need to select wich admin will recieve and wich will not. How to do this? :)
User avatar
Artuurins
Registered User
Posts: 202
Joined: Sun Jul 05, 2009 12:52 pm
Contact:

Re: Edit who will recieve this message

by RMcGirr83 » Tue Jan 18, 2011 10:19 am

Open contact.php

FIND

Code: Select all

            $admin_ary = $auth->acl_get_list(false, 'a_', false);
            $admin_ary = (!empty($admin_ary[0]['a_'])) ? $admin_ary[0]['a_'] : array();


REPLACE WITH

Code: Select all

            $admin_ary = (1,2,3,4);


replacing 1,2,3,4 with the user ids of the admins you want to receive the PM's/Emails
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Edit who will recieve this message

by Artuurins » Tue Jan 18, 2011 11:20 am

RMcGirr83 wrote:Open contact.php

FIND

Code: Select all

            $admin_ary = $auth->acl_get_list(false, 'a_', false);
            $admin_ary = (!empty($admin_ary[0]['a_'])) ? $admin_ary[0]['a_'] : array();


REPLACE WITH

Code: Select all

            $admin_ary = (1,2,3,4);


replacing 1,2,3,4 with the user ids of the admins you want to receive the PM's/Emails

Works great! Thank you !
User avatar
Artuurins
Registered User
Posts: 202
Joined: Sun Jul 05, 2009 12:52 pm
Contact:

Re: Edit who will recieve this message

by AutoJunkie79 » Mon Mar 04, 2019 2:25 pm

Hi Rich,

Does this still work in 1.0.10? I tried looking in \ext\rmcgirr83\contactadmin\language\en\contact.php but didn't see those lines of code. I have a couple mini-admins I'd like to be able to receive contact messages.

Thanks,
Auto
AutoJunkie79
Registered User
Posts: 9
Joined: Mon Jan 30, 2017 6:43 pm
Contact:

Re: Edit who will recieve this message

by AutoJunkie79 » Mon Mar 04, 2019 3:09 pm

AutoJunkie79 wrote:Hi Rich,

Does this still work in 1.0.10? I tried looking in \ext\rmcgirr83\contactadmin\language\en\contact.php but didn't see those lines of code. I have a couple mini-admins I'd like to be able to receive contact messages.

Thanks,
Auto
Sorry Rich, please disregard I was using Google search and posted to the wrong forum. I'll re-post over at the current Contact Admin support forum.

Thanks,
Auto
AutoJunkie79
Registered User
Posts: 9
Joined: Mon Jan 30, 2017 6:43 pm
Contact: