Search found 863 matches

by kasimi
Mon Nov 19, 2018 12:07 pm
Forum: [3.2.x] Support Forum
Topic: move old topics and post to new forum
Replies: 17
Views: 248

Re: move old topics and post to new forum

Fatal error: Uncaught Error: Call to undefined method bbcode::bbcode() in /customers/9/4/9/magracingforum.com/httpd.www/includes/functions_content.php:630 Stack trace: #0 /customers/9/4/9/magracingforum.com/httpd.www/includes/functions_display.php(614): generate_text_for_display('.\n[url=http:...',...
by kasimi
Sun Nov 18, 2018 9:01 pm
Forum: phpBB Discussion
Topic: BBcode bitfield and other serialized data
Replies: 7
Views: 157

Re: BBcode bitfield and other serialized data

Although this doesn't answer the core of your question, the BBCode bitfield is obsolete and not used in phpBB 3.2.x anymore, except for rendering content generated in 3.1.x and earlier.
by kasimi
Sun Nov 18, 2018 9:31 am
Forum: [3.2.x] Support Forum
Topic: Known issues in 3.2.4
Replies: 25
Views: 1088

Re: Known issues in 3.2.4

It only affects extensions that render rich text in the old style format used in phpBB 3.1.x and earlier. In phpBB 3.2.x the content is saved in the database as XML. When calling generate_text_for_display() with XML content, the bugged code is not called. So this only affects extensions written befo...
by kasimi
Sun Nov 11, 2018 4:39 pm
Forum: Extensions in Development
Topic: [3.2][RC] Poll on Index
Replies: 23
Views: 1407

Re: [3.2][BETA] Poll on Index

Open this extension's ext.php and delete the is_enableable() function. If it works now, you're running a PHP version below 5.5.
by kasimi
Sat Nov 10, 2018 3:30 pm
Forum: Extension Writers Discussion
Topic: S9 TextFormatter PHP Injection via phpBB not working
Replies: 3
Views: 140

Re: S9 TextFormatter PHP Injection via phpBB not working

Instead of creating a new configurator, did you try using the configurator provided in the event data?

Code: Select all

$event['configurator']->BBCodes->addCustom('[try string={TEXT}]', '{@string} is a test');
by kasimi
Fri Nov 09, 2018 10:43 pm
Forum: Extension Writers Discussion
Topic: S9 TextFormatter PHP Injection via phpBB not working
Replies: 3
Views: 140

Re: S9 TextFormatter PHP Injection via phpBB not working

Your event listener is chemtag_filter but it should be configure_chemtag:

Code: Select all

'core.text_formatter_s9e_configure_after' => 'cconfigure_chemtag'
by kasimi
Fri Nov 09, 2018 10:40 pm
Forum: Extensions in Development
Topic: [RC] Digests 3.2.10
Replies: 884
Views: 54825

Re: [RC] Digests 3.2.9

You can use mkdir()'s 3rd parameter $recursive instead of creating each directory separately.
by kasimi
Fri Nov 09, 2018 11:30 am
Forum: Extensions in Development
Topic: [3.2][RC] Mark Read Confirm
Replies: 12
Views: 1533

Re: [3.2][RC] Mark Read Confirm

This would require the extension to check on each page load if there is at least one topic to mark read, something that uses too many resources for too little benefit.
by kasimi
Sun Nov 04, 2018 8:45 pm
Forum: Extension Writers Discussion
Topic: PHP Error using language related functions
Replies: 8
Views: 243

Re: PHP Error using language related functions

One more thing: info_*.php language files are loaded automatically by phpBB. In order to not load unneeded language files throughout your xCP, a common way to solve this is to put only the module title (and log messages, if you have any) in the info_ language file, and move all other language string...
by kasimi
Sun Nov 04, 2018 8:02 pm
Forum: Extension Writers Discussion
Topic: PHP Error using language related functions
Replies: 8
Views: 243

Re: PHP Error using language related functions

friedfry wrote:
Sun Nov 04, 2018 7:09 pm

Code: Select all

global $language
The language service is not available globally, you need to get it from the container:

Code: Select all

global $phpbb_container;
$language = $phpbb_container->get('language');
by kasimi
Sun Nov 04, 2018 2:05 pm
Forum: Extension Writers Discussion
Topic: Pre Validator and GPL v2
Replies: 13
Views: 282

Re: Pre Validator and GPL v2

This is the only reference I could find: https://tracker.phpbb.com/browse/PHPBB3-15525
by kasimi
Sun Nov 04, 2018 12:01 pm
Forum: Extension Writers Discussion
Topic: Pre Validator and GPL v2
Replies: 13
Views: 282

Re: Pre Validator and GPL v2

You can check the latest queue statistics here: https://www.phpbb.com/customise/db/queu ... /extension
by kasimi
Sun Nov 04, 2018 11:58 am
Forum: Extension Writers Discussion
Topic: Pre Validator and GPL v2
Replies: 13
Views: 282

Re: Pre Validator and GPL v2

The license field in the composer.json needs to be GPL-2.0-only since January. It looks like the EVP at https://www.phpbb.com/extensions/epv/ is outdated.
paul999 wrote: ping
by kasimi
Fri Nov 02, 2018 10:03 am
Forum: [3.2.x] Support Forum
Topic: [PHPBB_V3.2.3]Cannot send emails via smtp
Replies: 6
Views: 284

Re: [PHPBB_V3.2.3]Cannot send emails via smtp

Did you try using ssl:// instead of starttls://?
by kasimi
Tue Oct 30, 2018 5:33 pm
Forum: Extension Writers Discussion
Topic: php or twig if statements - which are preferred?
Replies: 7
Views: 265

Re: php or twig if statements - which are preferred?

It all boils down to personal preference I guess, but what you're doing looks like a key-value lookup to me, so I'd use an array: $ashields_file_style = [ 0 => '?LongCache=true&style=flat', 1 => '?LongCache=true&style=plastic', 2 => '?LongCache=true&style=flat-square', ... ]; // Add to your main ass...

Go to advanced search