[CDB] Contact Admin

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

[CDB] Contact Admin

Post 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
Last edited by RMcGirr83 on Sat Aug 20, 2016 9:50 am, edited 8 times in total.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
Puchahawa
Registered User
Posts: 769
Joined: Sat Jan 01, 2011 10:33 pm
Name: Randy

Re: [RC] Contact Admin

Post 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
Avatar courtesy of artist Faith Coyotë
User avatar
Kamijou Touma
Registered User
Posts: 39
Joined: Tue Jul 01, 2014 4:27 pm
Contact:

Re: [RC] Contact Admin

Post 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?
[center][img]//ilp.moe/signature/Index%20top.png[/img]
Image scheme belongs to AIDA[/center]
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] Contact Admin

Post 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
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
Talk19Zehn
Registered User
Posts: 846
Joined: Tue Aug 09, 2011 1:10 pm
Contact:

Re: [RC] Contact Admin

Post 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!!
Best regards
phpBB3 Designs - My own works: Stylearea Ongray-Designs, Adventinducement-Calendar for phpBB
User avatar
Ibedejo
Registered User
Posts: 243
Joined: Tue Feb 21, 2012 12:12 am

Re: [RC] Contact Admin

Post 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.
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] Contact Admin

Post by RMcGirr83 »

Github updated
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
Ibedejo
Registered User
Posts: 243
Joined: Tue Feb 21, 2012 12:12 am

Re: [RC] Contact Admin

Post by Ibedejo »

As quick to respond as ever ... :D

Issue solved - great job!
Thanks a lot!
User avatar
Puchahawa
Registered User
Posts: 769
Joined: Sat Jan 01, 2011 10:33 pm
Name: Randy

Re: [RC] Contact Admin

Post 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
Avatar courtesy of artist Faith Coyotë
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] Contact Admin

Post by RMcGirr83 »

Github updated.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
Puchahawa
Registered User
Posts: 769
Joined: Sat Jan 01, 2011 10:33 pm
Name: Randy

Re: [RC] Contact Admin

Post by Puchahawa »

That fixed it. Thanks again for a great Extension. :)
Avatar courtesy of artist Faith Coyotë
User avatar
donsenilo
Registered User
Posts: 359
Joined: Wed Oct 08, 2014 6:23 pm
Name: Markus
Contact:

Re: [RC] Contact Admin

Post 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.
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] Contact Admin

Post 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 "[email protected]" 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.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
wkuzma
Registered User
Posts: 392
Joined: Sun Sep 02, 2007 10:18 pm
Contact:

Re: [RC] Contact Admin

Post 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
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] Contact Admin

Post by RMcGirr83 »

Ah okay, thanks for testing that. Everything else seem to work fine?
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
Locked

Return to “Extensions in Development”