Search found 144 matches

by Tomba
Mon Nov 06, 2023 11:21 pm
Forum: Extension Writers Discussion
Topic: How to set default value for MTEXT in migrations file
Replies: 4
Views: 734

Re: How to set default value for MTEXT in migrations file

Apologies for missing that crucial suggestion earlier.
Defining null as default value for the MTEXT_UNI did the trick.

Thank you for the help.
by Tomba
Sun Nov 05, 2023 4:53 pm
Forum: Extension Writers Discussion
Topic: How to set default value for MTEXT in migrations file
Replies: 4
Views: 734

Re: How to set default value in migrations file

So what is the correct approach here?

Obviously when my extension is disabled the custom field updates are not added to the SQL query but without uninstalling it, the cols are still there in the table so an error happens...

Or are there no extensions that add columns of type TEXT?
by Tomba
Sat Nov 04, 2023 10:20 pm
Forum: Extension Writers Discussion
Topic: How to set default value for MTEXT in migrations file
Replies: 4
Views: 734

How to set default value for MTEXT in migrations file

Hi all, I'm working on a small extension but ran into a problem. Basically I need a column that is a bbcode supporting field, so I have this in my migrations file: public function update_schema() { return [ 'add_columns' => [ $this->table_prefix . 'topics' => [ 'topic_prepost_msg' => ['MTEXT_UNI', '...
by Tomba
Sun Feb 26, 2023 7:18 pm
Forum: Extension Requests
Topic: Converting images to attachments
Replies: 4
Views: 670

Re: Converting images to attachments

Allowing everybody to upload attachments is a big different compared to let some permitted users decide whether we want to host these pictures ourselves. As said, the problem here is mainly the retention period as these remote image hosting services take files down after a while following which lots...
by Tomba
Sat Feb 25, 2023 12:18 am
Forum: Extension Requests
Topic: Converting images to attachments
Replies: 4
Views: 670

Converting images to attachments

Since I don't have attachments enabled on our forum (for space and copyright reasons), people find all sorts of third party image hosting sites and then include those images into their posts. This works well but in some cases the images are so valuable that it would be worth it copy them to our serv...
by Tomba
Sat Feb 25, 2023 12:13 am
Forum: Extension Requests
Topic: Taking away PM permission
Replies: 1
Views: 720

Taking away PM permission

For various reasons it can be necessary to prevent users to send PMs to others. I do this for spam or when too many reports pop up for a user's PM. This works well, but the problem is of course that this user is then completely unable to reply to any further intervention that moderators make concern...
by Tomba
Mon Mar 16, 2020 9:29 pm
Forum: General Discussion
Topic: Memory leaks with PHP 7.3
Replies: 1
Views: 1548

Memory leaks with PHP 7.3

All, For a long time, I'm running PHP 7.1.x versions to run phpBB and the rest of my site. After my upgrade to phpBB3.3.0, I've switched to PHP7.3.15 (latest minor right now). However... since that switch, my server has gone out of memory repeatedly, so I switched back, and problems went away. So, I...
by Tomba
Wed Dec 11, 2019 9:38 pm
Forum: phpBB Discussion
Topic: Emojis
Replies: 43
Views: 11786

Re: Emojis

Please tell me why we can't use more " recent " styled smiles in the core. The description I was making intended to try and push "a step beyond this", by not simply updating the current Smilies images "to be pixel-based replicas of Emoji images", but to change the Smil...
by Tomba
Wed Dec 11, 2019 9:17 pm
Forum: phpBB Discussion
Topic: User banning - is it a convention?
Replies: 18
Views: 2027

User banning - is it a convention?

Having run a board for 15 years, I recently had a discussion with some friends, and we suddenly wondered why banning a user from the forum actually works the way it currently does. As it is right now in phpbb (I'm not sure about other forums, input would be welcome), banning a user registers a usern...
by Tomba
Sun May 19, 2019 2:06 pm
Forum: [3.2.x] Support Forum
Topic: Notifications from ignored users
Replies: 11
Views: 2489

Notifications from ignored users

Some of my forum's users are complaining that even when they ignore users, and that user quotes their posts, they still get a notification of that quote. Though I didn't check it myself yet, I found this strange, so I'm wondering if this is indeed the case, and if this is actually intentional, or ca...
by Tomba
Wed Mar 06, 2019 9:10 pm
Forum: [3.2.x] Support Forum
Topic: phpBB 3.2.4 with PHP 7.3: warning in zendframework/ArrayObject.php
Replies: 24
Views: 9342

Re: phpBB 3.2.4 with PHP 7.3: warning in zendframework/ArrayObject.php

Sorry to reactivate this topic again, but was this already logged as an issue in phpbb?

The issue was fixed in zendframework 9 months ago (although it seems the change is only included in the 3.x branch):
https://github.com/zendframework/zend-s ... Object.php
by Tomba
Tue May 08, 2018 9:49 pm
Forum: phpBB Discussion
Topic: New GDPR (General Data Protection Regulation) and phpBB
Replies: 516
Views: 79211

Re: New GDPR (General Data Protection Regulation) and phpBB

Not sure if asked before here, but because PM's are private data, and when banned, members can't access them anymore, wouldn't that be an issue?

I mean, wouldn't it be good to just disable posting and PMing when users are banned? Or is there something that I now overlook?
by Tomba
Sun Nov 19, 2017 8:30 pm
Forum: phpBB Ideas
Topic: Keep track of disapproved posts
Replies: 1
Views: 380

Keep track of disapproved posts

Just like with soft-deletion of posts, where the post is not completely lost, disapproved posts should still remain present in the database, and listable somewhere in ACP/MCP .

This is mainly to help moderators if members complain about disapproval.
by Tomba
Sun Nov 19, 2017 7:49 pm
Forum: phpBB Ideas
Topic: Posts revisions
Replies: 3
Views: 952

Re: Posts revisions

Absolutely!
Would help the mods as well, as some users post offensive stuff and later modify it. When that happened before a mod has seen the original, it's a problem for decision making.
by Tomba
Sun Nov 19, 2017 7:45 pm
Forum: phpBB Ideas
Topic: Avatar resize in core
Replies: 30
Views: 52222

Re: Avatar resize in core

Some code already exists for this. It only needs to be adapted and fitted into the core I think.
http://jrpickeral.com/?p=255

Various board system already support this, so a no-brainer to add this.

Go to advanced search