Search found 13265 matches

by 3Di
Mon Aug 05, 2019 5:37 am
Forum: Extension Writers Discussion
Topic: $phpbb_container from migration file
Replies: 17
Views: 497

Re: $phpbb_container from migration file

In fact ext.php runs before of migrations. That explains why $this->container is available also in migrations. You can also globalise it within a custom function. The issue is that the custom services aren't loaded in the container till the migrations are done AFAIK, ie.: the extension is installed.
by 3Di
Mon Aug 05, 2019 12:55 am
Forum: Extension Writers Discussion
Topic: $phpbb_container from migration file
Replies: 17
Views: 497

Re: $phpbb_container from migration file

We are talking about a custom function which uses the same logic (a copy) of your helper. I mean the parts you need to.

Instead: I'd go for my suggestion as per the above point #2, populate the DB on install then use the helper class as usual to update it (via cron I think).
by 3Di
Mon Aug 05, 2019 12:44 am
Forum: Extension Writers Discussion
Topic: $phpbb_container from migration file
Replies: 17
Views: 497

Re: $phpbb_container from migration file

1 - Just call a custom function within the migration which uses the same logic of your helper. On revert_data() the step will be to remove the file(s) from the store folder using the $filesystem = $this->phpbb_container->get('filesystem'); . public function update_data() { return [ ['custom', [[$thi...
by 3Di
Sun Aug 04, 2019 10:35 pm
Forum: Extension Writers Discussion
Topic: $phpbb_container from migration file
Replies: 17
Views: 497

Re: $phpbb_container from migration file

Looks like the service hasn't be loaded yet, so no that's not the right way to do what you want... which BTW is not clear.
by 3Di
Sun Aug 04, 2019 10:11 pm
Forum: Extension Writers Discussion
Topic: $phpbb_container from migration file
Replies: 17
Views: 497

Re: $phpbb_container from migration file

$blah = $this->container->get('vendor.name.service); doesn't work?
by 3Di
Sun Aug 04, 2019 1:53 am
Forum: [3.2.x] Support Forum
Topic: Custom Profile Field visibility (bug)?
Replies: 20
Views: 1344

Re: Custom Profile Field visibility (bug)?

You have already reported the problem in the tracker and it has been reviewed right now, you just have to wait for the problem to be solved.
by 3Di
Wed Jul 31, 2019 6:27 pm
Forum: [3.2.x] Support Forum
Topic: Is there any way to find out who downloaded an attachment?
Replies: 7
Views: 332

Re: Is there any way to find out who downloaded an attachment?

BuSch wrote:
Wed Jul 31, 2019 3:32 pm
I need to find out who downloaded a specific attachment. Is there any log file or another point where I can find that information?
Forum runs on 3.2.5
You need an extension for that.
by 3Di
Wed Jul 31, 2019 6:25 pm
Forum: [3.2.x] Styles Support & Discussion
Topic: Problem with INCLUDEJS and INCLUDECSS
Replies: 16
Views: 1055

Re: Problem with INCLUDEJS and INCLUDECSS

I am actually using the highlighter you linked to on the live site for 2 years now, but need certain changes in the way it displays code, so I thought I'd try the latest version from highlightjs.org with only the languages I need. I then included the following in my overall_footer.html: <!-- INCLUD...
by 3Di
Wed Jul 31, 2019 2:20 pm
Forum: phpBB Discussion
Topic: Discuss: phpBB 3.2.3 Release
Replies: 52
Views: 8246

Re: Discuss: phpBB 3.2.3 Release

david63 wrote:
Wed Jul 31, 2019 12:33 pm
With all the activity on Github and the fact that I am going on holiday in 10 days time it looks as if a new release is imminent :lol: :lol: :lol:
The fifth prophecy of Fátima then? :lol:
by 3Di
Mon Jul 29, 2019 2:46 am
Forum: [3.2.x] Support Forum
Topic: error logs when FPM is actived
Replies: 6
Views: 720

Re: error logs when FPM is actived

I had the same issue today, just to let others know that this bugfix from synfony does fix it: https://github.com/symfony/symfony/pull/29057/commits/de2ce58a4ff41bf91eedb14ad421c620e4c7f8ee Cheers Which is quite bizarre :) , 3.2.x (at least 3.2.7) already uses symfony: 2.8 The fix you posted is old...
by 3Di
Sat Jul 27, 2019 8:37 am
Forum: phpBB Discussion
Topic: Can I somehow order the forum visitor's cache-files to be reloaded?
Replies: 5
Views: 619

Re: Can I somehow order the forum visitor's cache-files to be reloaded?

ACP -> purge cache? :? That will not always force the user's browser to reload the browser cache. There is a way but you need to be careful as to how it is used and that is to set the version in stylesheet.css I recall you to nitpick about that in another topic where i posted in.. care to expand? :...
by 3Di
Sat Jul 27, 2019 8:01 am
Forum: [3.2.x] Support Forum
Topic: Symphony error on clean install
Replies: 5
Views: 289

Re: Symphony error on clean install

bodzio wrote:
Sat Jul 27, 2019 6:58 am
in the end I changed the PHP version from 7.1 to 7.2 and it now works.
:?

Go to advanced search