[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
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

[CDB] Contact Admin

Post by RMcGirr83 » Sat May 21, 2016 11:08 am

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.
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
Puchahawa
Registered User
Posts: 768
Joined: Sat Jan 01, 2011 10:33 pm
Name: Randy

Re: [RC] Contact Admin

Post by Puchahawa » Sat May 21, 2016 7:34 pm

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 » Sun May 22, 2016 3:27 am

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
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [RC] Contact Admin

Post by RMcGirr83 » Sun May 22, 2016 11:31 am

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
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
Talk19Zehn
Registered User
Posts: 333
Joined: Tue Aug 09, 2011 1:10 pm
Contact:

Re: [RC] Contact Admin

Post by Talk19Zehn » Sun May 22, 2016 11:58 am

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!!
World Meteorological Organization (WMO) Weather - Climate - Water
BTW: My own works - phpBB - read more: ongray-design-de or look here: phpBB VT Theme

User avatar
Ibedejo
Registered User
Posts: 243
Joined: Tue Feb 21, 2012 12:12 am

Re: [RC] Contact Admin

Post by Ibedejo » Sun May 22, 2016 1:30 pm

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
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [RC] Contact Admin

Post by RMcGirr83 » Sun May 22, 2016 8:49 pm

Github updated
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
Ibedejo
Registered User
Posts: 243
Joined: Tue Feb 21, 2012 12:12 am

Re: [RC] Contact Admin

Post by Ibedejo » Sun May 22, 2016 9:10 pm

As quick to respond as ever ... :D

Issue solved - great job!
Thanks a lot!

User avatar
Puchahawa
Registered User
Posts: 768
Joined: Sat Jan 01, 2011 10:33 pm
Name: Randy

Re: [RC] Contact Admin

Post by Puchahawa » Sun May 22, 2016 11:52 pm

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
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [RC] Contact Admin

Post by RMcGirr83 » Mon May 23, 2016 1:30 am

Github updated.
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
Puchahawa
Registered User
Posts: 768
Joined: Sat Jan 01, 2011 10:33 pm
Name: Randy

Re: [RC] Contact Admin

Post by Puchahawa » Mon May 23, 2016 2:56 am

That fixed it. Thanks again for a great Extension. :)
Avatar courtesy of artist Faith Coyotë

User avatar
donsenilo
Registered User
Posts: 303
Joined: Wed Oct 08, 2014 6:23 pm
Name: Markus
Contact:

Re: [RC] Contact Admin

Post by donsenilo » Tue May 24, 2016 1:55 pm

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
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [RC] Contact Admin

Post by RMcGirr83 » Tue May 24, 2016 2:55 pm

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.
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
wkuzma
Registered User
Posts: 389
Joined: Sun Sep 02, 2007 10:18 pm
Contact:

Re: [RC] Contact Admin

Post by wkuzma » Tue May 24, 2016 7:58 pm

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
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [RC] Contact Admin

Post by RMcGirr83 » Tue May 24, 2016 8:09 pm

Ah okay, thanks for testing that. Everything else seem to work fine?
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

Locked

Return to “Extensions in Development”