Contact Admin

Send to other users - Contact Admin

Send to other users

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

Hi Rich,

Is there a way to specify additional users to receive contact admin e-mails? I have a couple board members who share in some admin duties but are not full blown admins. Running 1.1.10 on phpBB 3.2.5 with PHP 7.2.

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

Re: Send to other users

by wads24 » Sat Nov 02, 2019 1:48 am

Bump... I would like to know also. Is this extension abandoned
Thanks in advance for a reply.
User avatar
wads24
Registered User
Posts: 555
Joined: Fri Jun 10, 2005 4:44 am
Name: James

Re: Send to other users

by pierredu » Sat May 30, 2020 3:44 pm

Did somebody find a solution?
User avatar
pierredu
Registered User
Posts: 1101
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)
Contact:

Re: Send to other users

by RMcGirr83 » Sat May 30, 2020 6:05 pm

They don't have to be full admins, just have to have an admin auth as well as allow users to send them emails. Latest version is on github.

https://github.com/rmcgirr83/contactadmin/tree/1.1.12
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 | My extensions are updated regularly on github
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: 21157
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Send to other users

by pierredu » Sat May 30, 2020 6:56 pm

What I did is this :

In main_contrtoller.php (line 347), I replaced
$contact_users = $this->contactadmin->admin_array();

with
$contact_users = array ( array (
'user_email' =>$this->config['board_contact'],
'user_lang' => 'fr',
'username' => 'Le_forum',
'user_jabber' => '',
'user_notify_type' => 0,
)
);

Your milleage may vary, of course.
User avatar
pierredu
Registered User
Posts: 1101
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)
Contact:

Re: Send to other users

by RMcGirr83 » Sat May 30, 2020 6:58 pm

Which is fine for using only via email but not if switched to PM.
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 | My extensions are updated regularly on github
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: 21157
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Send to other users

by pierredu » Sun May 31, 2020 5:33 am

Indeed, but it is what I wanted.
Thanks anyway for the extension.
User avatar
pierredu
Registered User
Posts: 1101
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)
Contact:

Re: Send to other users

by RMcGirr83 » Sun May 31, 2020 1:13 pm

Made a push to github to allow sending emails via board default.

https://github.com/rmcgirr83/contactadmin/tree/1.1.13
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 | My extensions are updated regularly on github
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: 21157
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Send to other users

by Driver80 » Thu Jun 11, 2020 8:12 pm

I don’t understand how a guest can contact the administration if in the filling form there is no Name and Mail field?
Version 1.1.13
Phpbb 3.3
Driver80
Registered User
Posts: 51
Joined: Fri Jan 03, 2020 8:35 pm
Contact:

Re: Send to other users

by RMcGirr83 » Fri Jun 12, 2020 12:05 pm

If you're logged into the forum, your user name and email address used to register are used and there are no fields to fill out...obviously. If you aren't registered then name and email fields display.
Capture.PNG
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 | My extensions are updated regularly on github
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: 21157
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Send to other users

by Driver80 » Fri Jun 12, 2020 5:09 pm

I understand. that for Guests, there must be a field "name" and "mail".
But I don’t have them!
Driver80
Registered User
Posts: 51
Joined: Fri Jan 03, 2020 8:35 pm
Contact:

Re: Send to other users

by RMcGirr83 » Fri Jun 12, 2020 5:37 pm

Provide a link to your forum. BTW, your post(s) has zero to do with this topic.
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 | My extensions are updated regularly on github
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: 21157
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr