Hook for user's feedback

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.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 »

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: 1904
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Hook for user's feedback

Post by DavidIQ »

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: 360
Joined: Fri Mar 09, 2007 1:51 am
Contact:

Re: Hook for user's feedback

Post by RMcGirr83 »

DavidIQ wrote: Fri Oct 07, 2016 2:18 amalthough 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