Hook for user's feedback

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.2/Rhea followed by 3.3.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.1. If you need support for phpBB 3.1 please visit the 3.1.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Post Reply
Safronik
Registered User
Posts: 1
Joined: Wed Sep 28, 2016 3:29 pm

Hook for user's feedback

Post by Safronik » Tue Oct 04, 2016 8:35 am

Hello everyone!

I have a suggestion for new release about adding hook.
I have looked and asked questions, but i have been told that i should suggest i, but the suggestion page doesn't work right now (https://www.phpbb.com/ideas/), that's why i'm asking it here.
(Support topic: https://www.phpbb.com/community/viewtop ... &t=2388181)

This feedback form ( ROOT/example.com/memberlist.php?mode=contactadmin ) doesn't have hooks (as far as i understand). It will be great if i could hook to it after submit and approve it or disaprove data.

I think it will be helpfull for phpBB project!

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1731
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Hook for user's feedback

Post by DavidIQ » Fri Oct 07, 2016 2:18 am

You mean events. Hooks are not really used in 3.1 and above, even though they somewhat work. If you're requesting an event then the proper way to do so can be found here:
General forum information/Events requests
[Tutorial] How to create pull requests for core events

The above is, of course, if you're working on an extension that needs additional events in the Contact Us page. There are, however, 6 events already available in memberlist.php, although I have not checked to see if they are related to the Contact Us page mode.
Image

User avatar
RMcGirr83
Registered User
Posts: 357
Joined: Fri Mar 09, 2007 1:51 am
Contact:

Re: Hook for user's feedback

Post by RMcGirr83 » Sun Oct 09, 2016 10:18 am

DavidIQ wrote:
Fri Oct 07, 2016 2:18 am
although I have not checked to see if they are related to the Contact Us page mode.
They aren't as that is actually done via admin_form.php

https://github.com/phpbb/phpbb/blob/3.1 ... n_form.php
Do not hire Christian Bullock he won't finish the job and will keep your money

Post Reply