Search found 894 matches

by mrgoldy
Sun Jun 09, 2019 10:57 pm
Forum: Extension Writers Discussion
Topic: How add New notification
Replies: 5
Views: 180

Re: How add New notification

If you want, I could see if I can write a tutorial if you can't figure it out.
by mrgoldy
Sun Jun 09, 2019 10:43 am
Forum: Extension Writers Discussion
Topic: How add New notification
Replies: 5
Views: 180

Re: How add New notification

Ah, should of read it more carefully, yes it is rather outdated indeed.
I would suggest looking at how other extensions do it.
And use the Skeleton Extension, tick the Notification box and create the extension, it will give you a working example of your own.
by mrgoldy
Sun Jun 09, 2019 10:06 am
Forum: Extension Writers Discussion
Topic: How add New notification
Replies: 5
Views: 180

Re: How add New notification

There are various steps to take when adding a notification to your extension. Enabling, disabling and purging in the ext.php . Declaring and tagging it in your services.yml . Create the actual notification file in your extension and then trigger it from somewhere. The Skeleton extension has a workin...
by mrgoldy
Sat Jun 08, 2019 11:57 am
Forum: phpBB Custom Coding
Topic: request_var
Replies: 2
Views: 216

Re: request_var

Moreover, I would suggest to not use request_var().
Use the request class (\phpbb\request\request) instead.

$rad3 = $request->variable($config['cookie_name'] . '_poster', '', false, \phpbb\request\request_interface::COOKIE);
by mrgoldy
Sat Jun 08, 2019 11:53 am
Forum: Wanted!
Topic: Need a php programmer to integrate AgeID on adult site (porn)
Replies: 6
Views: 347

Re: Need a php programmer to integrate AgeID on adult site (porn)

Perhaps it is cause your request is rather minimal. You do not provide any information about the AgeID API, how it should work (on registration, onnly when first accessing a forum, etc..) and what you and your friend are willing to pay for it. Moreover, a deadline like "now would work" can also be i...
by mrgoldy
Sat Jun 08, 2019 11:49 am
Forum: Extensions in Development
Topic: [3.2][RC] Dice rolls
Replies: 40
Views: 3134

Re: [3.2][RC] Dice rolls

Much appreciated, Raul! Thanks! :mrgreen:
by mrgoldy
Thu May 30, 2019 9:31 am
Forum: phpBB Ideas
Topic: Flag Topic/Report as Being Worked On
Replies: 7
Views: 561

Re: Flag Topic/Report as Being Worked On

So, instead of doing it automated at a button: "Mark as in progress"?
That should take care of it all, doesn't it?
by mrgoldy
Thu May 30, 2019 9:28 am
Forum: phpBB Custom Coding
Topic: Topic Solved: [SOLVED] Prefix Placement
Replies: 20
Views: 1074

Re: Topic Solved: [SOLVED] Prefix Placement

Chuppito, I already explained that in this topic, but you are refering to the Post Subject, not the topic title. See one of my earlier replies in this topic to clearly see the difference. If you want to put it infront of the Post subject, it's a bit more difficult, you can use viewtopic_body_post_su...
by mrgoldy
Wed May 29, 2019 1:47 pm
Forum: phpBB Custom Coding
Topic: Topic Solved: [SOLVED] Prefix Placement
Replies: 20
Views: 1074

Re: Topic Solved: [SOLVED] Prefix Placement

Well, if you use the viewtopic_topic_title_prepend template event, you can prepend something to the topic title. Place the following file with the correct folder structure in your extension, Put something in the file, for example "Hello". Purge the cache. styles/all/template/event/viewtopic_topic_ti...
by mrgoldy
Wed May 29, 2019 11:23 am
Forum: phpBB Custom Coding
Topic: Topic Solved: [SOLVED] Prefix Placement
Replies: 20
Views: 1074

Re: Topic Solved: [SOLVED] Prefix Placement

You're best of creating your own topic, with a more detailed description/question than the one you just asked.
by mrgoldy
Wed May 29, 2019 11:21 am
Forum: Extension Writers Discussion
Topic: Showing an error based on the body of a post
Replies: 2
Views: 190

Re: Showing an error based on the body of a post

@event core.posting_modify_message_text
https://github.com/phpbb/phpbb/blob/mas ... g.php#L963

Here you can add errors to the $event['error'] array, while the message text is available under $event['message_parser']->message.
by mrgoldy
Tue May 28, 2019 6:28 pm
Forum: phpBB Custom Coding
Topic: How do i use current user id for my site?
Replies: 9
Views: 315

Re: How do i use current user id for my site?

https://github.com/phpbb/phpbb/blob/master/phpBB/phpbb/template/twig/twig.php#L360 The entire \phpbb\user object is added to the template. So you can access the user's data, style, ip, sessions etc... For example: {{ user.data.user_id }} , {{ user.data.username }} , {{ user.data.user_colour }} . But...
by mrgoldy
Mon May 27, 2019 7:31 am
Forum: Extension Writers Discussion
Topic: Non-existent service
Replies: 5
Views: 614

Re: Non-existent service

The skeleton extension uses that approach.
VSE and I updated it not too long ago.
by mrgoldy
Sun May 26, 2019 12:53 pm
Forum: Extension Writers Discussion
Topic: Non-existent service
Replies: 5
Views: 614

Re: Non-existent service

Probably because your listener has a service dependency on an non existing service: - '@phpbbservices.filterbycountry.core.common' , the "core" has to be out of it. This means that there is an "container exception" and the service container is build without any extensions, hence the acp controller c...
by mrgoldy
Sat May 25, 2019 8:08 am
Forum: Custom BBCode Development and Requests
Topic: • bbcode
Replies: 7
Views: 1120

Re: • bbcode

s9e also has a html entities plugin you can activate. This will convert all &something; to their respective entity.

Go to advanced search