Page 1 of 6

[CDB] Contact Admin

Posted: Sat May 21, 2016 11:08 am
by RMcGirr83
Extension Name: Contact Admin
Author: RMcGirr83

Description: This is a port of the phpBB version 3.0.x Mod Contact Board Administration that will allow admins of a phpBB 3.1.x forum have guests and/or registered users to either send an email to admins or send a PM or make a Post in a designated forum. It also overrides the default contact admin link found on the forum. Uses the Captcha as set on the forum as well as provides an event to be able to hook into the extension (stop forum spam extension has been updated to check for this event and use it).

Image

Image

Version: 1.0.4

Download: https://github.com/rmcgirr83/contactadm ... ses/latest
Installation:
  1. Copy the entire contents of the zip to the ext directory of the forum
  2. Navigate in the ACP to Customise -> Extension Management -> Extensions.
  3. Click Enable on "Contact Admin"
  4. Visit the extension tab and set the parameters for the extension
Github Repository: https://github.com/rmcgirr83/contactadmin

Image

This extension requires at least phpBB version 3.1.3

If you like this extension and want to show some appreciation, then feel free to Image

Re: [RC] Contact Admin

Posted: Sat May 21, 2016 7:34 pm
by Puchahawa
Doing some testing using wampserver (php 5.5.12) and 3.1.9 board. Works great Rich. 8-)

Thank you for this! I've wanted an extension that would put the contact us info into a post so any admin can take care of it. :P

Re: [RC] Contact Admin

Posted: Sun May 22, 2016 3:27 am
by Kamijou Touma
Works great although i noticed an issue with the contact us button showing a blank box? http://i.imgur.com/BRjrk0B.png If your placing an icon that's in prosilver i would suggest having the extension check if the theme is prosilver and if it isn't then not to put whatever that character is.

also can you add a check event for this to the "Antispam by CleanTalk" extension?

Re: [RC] Contact Admin

Posted: Sun May 22, 2016 11:31 am
by RMcGirr83
Kamijou Touma wrote:Works great although i noticed an issue with the contact us button showing a blank box? http://i.imgur.com/BRjrk0B.png If your placing an icon that's in prosilver i would suggest having the extension check if the theme is prosilver and if it isn't then not to put whatever that character is.
github updated, that's what one gets when one tries to create an extension that will work in both 3.1.x and 3.2.x
also can you add a check event for this to the "Antispam by CleanTalk" extension?
It works the other way around. Cleantalk would have to check for the event and hook into it.

EG, in the stopforumspam extension https://github.com/rmcgirr83/phpBB-3.1- ... hp#L72-L73

Re: [RC] Contact Admin

Posted: Sun May 22, 2016 11:58 am
by Talk19Zehn
Hi RMcGirr83, yeah that's great. I and others have waited "sooooo" long time. The best contact-mod (3.0) is ported.

Thank you very much and best wishes!!

Re: [RC] Contact Admin

Posted: Sun May 22, 2016 1:30 pm
by Ibedejo
Hi,

great to see this materializing in 3.1 :D - thanks a lot for your efforts!

Nevertheless I'm just facing one (maybe two, but related) issue(s) when calling the form:
[phpBB Debug] PHP Notice: in file [ROOT]/ext/rmcgirr83/contactadmin/core/functions_contactadmin.php on line 317: Undefined offset: 0
Both added contact reasons show up as one single combined entry in the corresponding form's dropdown, no matter whether logged in or as guest user.

Re: [RC] Contact Admin

Posted: Sun May 22, 2016 8:49 pm
by RMcGirr83
Github updated

Re: [RC] Contact Admin

Posted: Sun May 22, 2016 9:10 pm
by Ibedejo
As quick to respond as ever ... :D

Issue solved - great job!
Thanks a lot!

Re: [RC] Contact Admin

Posted: Sun May 22, 2016 11:52 pm
by Puchahawa
Hi Rich, was just checking out the latest github version and came across this minor issue. I haven't defined any contact reasons and yet the reason option is trying to come through.

Image

Re: [RC] Contact Admin

Posted: Mon May 23, 2016 1:30 am
by RMcGirr83
Github updated.

Re: [RC] Contact Admin

Posted: Mon May 23, 2016 2:56 am
by Puchahawa
That fixed it. Thanks again for a great Extension. :)

Re: [RC] Contact Admin

Posted: Tue May 24, 2016 1:55 pm
by donsenilo
hi

sorry ... but I don't get it :cry:

Under "Contact method:" I set "EMail" and I always get my own Username and email-adress as sender.

And "Enable Contact Board Administration Extension: Yes" does not work.
If I use https://www.paranormal.wien/memberlist. ... ntactadmin I get the message that the contactsite is deactivated.
When I activate the normal contactsite I get the standardpage.

Re: [RC] Contact Admin

Posted: Tue May 24, 2016 2:55 pm
by RMcGirr83
donsenilo wrote:hi

sorry ... but I don't get it :cry:

Under "Contact method:" I set "EMail" and I always get my own Username and email-adress as sender.
You would be the only one, I just tested it and got this
Hello RMcGirr83,

An individual by the name of "Rich McGirr" with an email address of "xxx@xxx.com" and an IP address of "75.144.196.65" on "Tuesday 24-May-16 14:35:50 GMT" sent the following message:

just a test

using the Contact form at "Test Forum".


--
Thanks, The Management
Unless you are logged in when you are sending an email.
And "Enable Contact Board Administration Extension: Yes" does not work.
If it didn't then you wouldn't have been able to send yourself an email
If I use https://www.paranormal.wien/memberlist. ... ntactadmin I get the message that the contactsite is deactivated.When I activate the normal contactsite I get the standardpage.
You get the normal standard page because you used the link you gave above. The extension, when first installed, disables that. There is no way to overwrite a core php function/method.

Re: [RC] Contact Admin

Posted: Tue May 24, 2016 7:58 pm
by wkuzma
just to let you know I tested this and it allows you to put anything in the email address section
when you use it as a quest.

Email Address: 1111111

Re: [RC] Contact Admin

Posted: Tue May 24, 2016 8:09 pm
by RMcGirr83
Ah okay, thanks for testing that. Everything else seem to work fine?