Search found 538 matches

by 3Di
Mon Apr 09, 2018 2:15 am
Forum: [3.x] Tickets Discussion
Topic: PHPBB3-13919 - Syntax highlighting in [code]
Replies: 25
Views: 29415

Re: PHPBB3-13919 - Syntax highlighting in [code]

Thanks for the interest. We went to codemirror due to its power, as an example here's the rendered PHP with lines. A grab from our extension's environment, in the future I will see to extract the code in order to make a separated extension from it. . codemirror_php.png . There in ACP the textarea ha...
by 3Di
Sun Mar 25, 2018 2:17 am
Forum: [3.x] Discussion
Topic: BBCode enable/disable
Replies: 7
Views: 2043

Re: BBCode enable/disable

Database/config table/allow_bbcode

-
allow_bbcode_config_table.png
by 3Di
Sat Mar 24, 2018 8:03 am
Forum: [3.x] Discussion
Topic: BBCode enable/disable
Replies: 7
Views: 2043

Re: BBCode enable/disable

I just wanted to understand the variable game here as I was trying to fix https://tracker.phpbb.com/browse/PHPBB3-15592 I fixed that by using the 'bbcode_status' variable i.e. if that's 1 then show the place inline button otherwise hide it in the \phpbb\cache\production\twig\75\7557e0bea29f833ba463...
by 3Di
Fri Mar 23, 2018 10:32 pm
Forum: [3.x] Discussion
Topic: BBCode enable/disable
Replies: 7
Views: 2043

Re: BBCode enable/disable

... snip... ... which further uses parser's disablePlugin(). Can you help me in finding out where the functionality of disablePlugin is implemented? Right in the related s9e's vendor folder, see ./vendor/s9e/text-formatter/src/Parser.php public function disablePlugin($pluginName) { if (isset($this-...
by 3Di
Fri Mar 23, 2018 8:23 pm
Forum: General Development Discussion
Topic: GSoc New to phpBB
Replies: 1
Views: 1605

Re: GSoc New to phpBB

The CONFIG table is being checked with a BOOL for that scope, in posting.php this line though, which takes you to explore the logic a bit more now.

'S_BBCODE_ALLOWED' => ($bbcode_status) ? 1 : 0,
by 3Di
Fri Mar 23, 2018 8:17 pm
Forum: [3.x] Discussion
Topic: BBCode enable/disable
Replies: 7
Views: 2043

Re: BBCode enable/disable

May I ask if you need it for an extension?

Forget: I did read this https://area51.phpbb.com/phpBB/viewtopi ... 99&t=55396 right now.

I will post a link for you later once I'll find it somewhere in my bookmarks. How to use it, I mean.
by 3Di
Mon Mar 12, 2018 12:34 am
Forum: General Development Discussion
Topic: [GSoC] Database Explorer within ACP
Replies: 6
Views: 2503

Re: [GSoC] Database Explorer within ACP

Once you have three tabs opened in your browser like:

1 - ACP
2 - Board
3 - phpmyadmin (or similars)

You are done, no need to code a tool or to overload the core code either.
by 3Di
Thu Mar 08, 2018 1:46 am
Forum: [3.x] Tickets Discussion
Topic: [PHPBB3-15580] Double setting in ACP?
Replies: 2
Views: 1558

Re: [PHPBB3-15580] Double setting in ACP?

I edited the ticket to better reflect the situation. There are a lot of extra settings in ACP, visible in the attachment I above posted, all of those are already in the case 'load': of the related PHP file. The code is located here: https://github.com/phpbb/phpbb/blob/c706883e44810994c37a6b895358d9d...
by 3Di
Wed Mar 07, 2018 3:54 am
Forum: [3.x] Tickets Discussion
Topic: [PHPBB3-15580] Double setting in ACP?
Replies: 2
Views: 1558

[PHPBB3-15580] Double setting in ACP?

https://tracker.phpbb.com/browse/PHPBB3-15580

As per the ticket. Is there a reason why?

Should one of those be removed, which one in case?

Edit: At the end of all a lot of settings are duplicated there I can see, still wondering why.
acp_double settings.png
by 3Di
Tue Mar 06, 2018 6:29 pm
Forum: [3.x] Discussion
Topic: Giving Warnings as a moderator (suggestions to make it less personal)
Replies: 7
Views: 2429

Re: Giving Warnings as a moderator (suggestions to make it less personal)

Making an extension which uses a warnings's bot of sort which is triggered by actions it is doable, assuming all of the events are already in place.