[php] message()

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.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.2.x. If you need support for phpBB 3.2.x please visit the 3.2.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
User avatar
Meis2M
Registered User
Posts: 434
Joined: Fri Apr 23, 2010 10:18 am
Contact:

[php] message()

Post by Meis2M »

Is there any message() function Php event in 3.1 ? This event use for editors.

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

Re: [php] message()

Post by DavidIQ »

Moved as this is not an event request. If you plan on requesting an event you need to properly format your request.

If you're actually requesting an event to be created then add the required information and this can be moved back.

Thanks.
Image

User avatar
Meis2M
Registered User
Posts: 434
Joined: Fri Apr 23, 2010 10:18 am
Contact:

Re: [php] message()

Post by Meis2M »

for example:

replace this code:

Code: Select all

 'MESSAGE'                       => htmlspecialchars_decode($message),

with:

Code: Select all

'MESSAGE'			=> $message,

User avatar
EXreaction
Registered User
Posts: 1555
Joined: Sat Sep 10, 2005 2:15 am

Re: [php] message()

Post by EXreaction »

I'm not really sure I understand what you're asking, mind trying to ask again in another way?

User avatar
BioLogIn
Registered User
Posts: 28
Joined: Mon Dec 10, 2012 6:55 pm

Re: [php] message()

Post by BioLogIn »

I think that Meis2M asks about an event that allows to change the default message parser to a custom "message()" function. Not sure though =)

User avatar
M.Gaetan89
Registered User
Posts: 64
Joined: Tue Jan 28, 2014 7:17 pm
Location: Divonne-les-Bains, France
Contact:

Re: [php] message()

Post by M.Gaetan89 »

BioLogIn wrote:I think that Meis2M asks about an event that allows to change the default message parser to a custom "message()" function. Not sure though =)
I understood the same thing

User avatar
Meis2M
Registered User
Posts: 434
Joined: Fri Apr 23, 2010 10:18 am
Contact:

Re: [php] message()

Post by Meis2M »

yes it is an event request for a wysiwyg editor extension. i think many extensions (base on messaging,note ,... ) need this same event.

User avatar
EXreaction
Registered User
Posts: 1555
Joined: Sat Sep 10, 2005 2:15 am

Re: [php] message()

Post by EXreaction »

I believe most or all of the message parsing is done through the get_message_for_(display|edit) functions.

User avatar
brunoais
Registered User
Posts: 964
Joined: Fri Dec 18, 2009 3:55 pm

Re: [php] message()

Post by brunoais »

@Meis2M just like @EXreaction mentioned. I'm trying to make the get_message_for[something] the basic pass where all the message that is parsed and taken somewhere is mandatory to pass.
It's not being easy to make sure all is correct but I'm getting there.

Post Reply