[3.2][3.3][RC] Topic Title Color

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18316
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [3.2][ALPHA] Topic Title Color

Post by DavidIQ »

Yeah going to take care of it tonight and tag it as final for release into CDB.

Thanks.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
Galixte de EzCom
Registered User
Posts: 1106
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.
Contact:

Re: [3.2][ALPHA] Topic Title Color

Post by Galixte de EzCom »

DavidIQ wrote: Thu Mar 29, 2018 7:49 pm Yeah going to take care of it tonight and tag it as final for release into CDB.

Thanks.
Thanks David,

A user from phpBB-fr suggests you to delete the injection of the language file in public function modify_posting_parameters($event) and to create an event setup like this:

Code: Select all

'core.user_setup' 					=> 'load_language_on_setup',
Good luck!
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.2.x & 3.3.x ».
📋 Lists of all extensions identified for phpBB 3.1.x & 3.2.x.
📋 Lists of all styles identified for phpBB 3.1.x & 3.2.x.
Image Tu as un forum et tu veux aussi un site web ? Regarde par ici.
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18316
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [3.2][ALPHA] Topic Title Color

Post by DavidIQ »

Galixte de EzCom wrote: Thu Mar 29, 2018 9:23 pm
DavidIQ wrote: Thu Mar 29, 2018 7:49 pm Yeah going to take care of it tonight and tag it as final for release into CDB.

Thanks.
Thanks David,

A user from phpBB-fr suggests you to delete the injection of the language file in public function modify_posting_parameters($event) and to create an event setup like this:

Code: Select all

'core.user_setup' 					=> 'load_language_on_setup',
Good luck!
Thanks but that would require an event just for the language which I'd like to avoid. There is already a solution here: https://github.com/DavidIQ/topictitlecolor/issues/6
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18316
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [3.2][RC] Topic Title Color

Post by DavidIQ »

Ok all reported bugs have been addressed and I've increased the version to RC1. Will need to create entry in CDB and submit later. Time for sleep now...
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
Galixte de EzCom
Registered User
Posts: 1106
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.
Contact:

Re: [3.2][RC] Topic Title Color

Post by Galixte de EzCom »

Thanks! I’ll test it. ;)
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.2.x & 3.3.x ».
📋 Lists of all extensions identified for phpBB 3.1.x & 3.2.x.
📋 Lists of all styles identified for phpBB 3.1.x & 3.2.x.
Image Tu as un forum et tu veux aussi un site web ? Regarde par ici.
odf
Registered User
Posts: 171
Joined: Sun Jan 22, 2017 8:55 pm

Re: [3.2][RC] Topic Title Color

Post by odf »

DavidIQ wrote: Fri Mar 30, 2018 4:26 am Ok all reported bugs have been addressed and I've increased the version to RC1. Will need to create entry in CDB and submit later. Time for sleep now...
I installed this ext in phpBB 3.2.1 successfully, but I can't see anything that looks like colours for subject tittle in the posting area! What do I need to do?
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18316
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [3.2][RC] Topic Title Color

Post by DavidIQ »

odf wrote: Fri Apr 06, 2018 8:04 am I installed this ext in phpBB 3.2.1 successfully, but I can't see anything that looks like colours for subject tittle in the posting area! What do I need to do?
All you should need to do is enable it as there aren't any permissions. It would be highly suspect to be missing the template events, but it will depend on what style you have and if it's up to date I guess.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
odf
Registered User
Posts: 171
Joined: Sun Jan 22, 2017 8:55 pm

Re: [3.2][RC] Topic Title Color

Post by odf »

DavidIQ wrote: Sat Apr 07, 2018 9:54 pm
odf wrote: Fri Apr 06, 2018 8:04 am I installed this ext in phpBB 3.2.1 successfully, but I can't see anything that looks like colours for subject tittle in the posting area! What do I need to do?
All you should need to do is enable it as there aren't any permissions. It would be highly suspect to be missing the template events, but it will depend on what style you have and if it's up to date I guess.
The style I use is up-to-date prosilver, how do I proceed solving the problem?
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18316
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [3.2][RC] Topic Title Color

Post by DavidIQ »

So when you are creating a new topic you don’t see the option near the title text box to change the title color?
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
jan_2017
Registered User
Posts: 161
Joined: Sun May 07, 2017 3:39 pm

Re: [3.1][3.2][ALPHA] Topic Title Color

Post by jan_2017 »

DavidIQ wrote: Sat Mar 04, 2017 8:57 am TODO:
  • Add permissions.
add to github .... new issue ... :D
odf
Registered User
Posts: 171
Joined: Sun Jan 22, 2017 8:55 pm

Re: [3.2][RC] Topic Title Color

Post by odf »

DavidIQ wrote: Sat Apr 14, 2018 11:44 am So when you are creating a new topic you don’t see the option near the title text box to change the title color?
Yes, although installation and activation went perfectly.
SDD
Registered User
Posts: 1
Joined: Wed Nov 07, 2018 5:43 pm

Re: [3.2][RC] Topic Title Color

Post by SDD »

Polish translation for version 1.0.0-rc1

Code: Select all

<?php
/**
 *
 * titlecolor [Polish]
 *
 * @package language
 * @copyright (c) 2017 DavidIQ.com
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 *
 */

/**
 * DO NOT CHANGE
 */
if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//

$lang = array_merge($lang, array(
	'TITLE_COLOUR'		=> 'Kolor tytułu',
	'NO_TITLE_COLOR'		=> 'BRAK',
));

Midway
Registered User
Posts: 76
Joined: Tue Dec 09, 2014 8:02 pm

Re: [3.2][RC] Topic Title Color

Post by Midway »

when I create sub-forums and click on one of the sub-forums I get this error

Code: Select all

Erreur générale
SQL ERROR [ mysqli ]

[0]

SQL

No values specified for SQL IN comparison

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 997
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 547
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 441
CALL: phpbb\db\driver\driver->sql_in_set()

FILE: [ROOT]/ext/davidiq/topictitlecolor/event/main_listener.php
LINE: 218
CALL: phpbb\db\driver\factory->sql_in_set()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 184
CALL: davidiq\topictitlecolor\event\main_listener->display_forums_before()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 46
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 62
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 46
CALL: phpbb\event\dispatcher->dispatch()

FILE: [ROOT]/includes/functions_display.php
LINE: 407
CALL: phpbb\event\dispatcher->trigger_event()

FILE: [ROOT]/viewforum.php
LINE: 140
CALL: display_forums()
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18316
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [3.2][RC] Topic Title Color

Post by DavidIQ »

Midway wrote: Wed Dec 12, 2018 5:18 pm when I create sub-forums and click on one of the sub-forums I get this error

Code: Select all

Erreur générale
SQL ERROR [ mysqli ]

[0]

SQL

No values specified for SQL IN comparison

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 997
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 547
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 441
CALL: phpbb\db\driver\driver->sql_in_set()

FILE: [ROOT]/ext/davidiq/topictitlecolor/event/main_listener.php
LINE: 218
CALL: phpbb\db\driver\factory->sql_in_set()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 184
CALL: davidiq\topictitlecolor\event\main_listener->display_forums_before()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 46
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 62
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 46
CALL: phpbb\event\dispatcher->dispatch()

FILE: [ROOT]/includes/functions_display.php
LINE: 407
CALL: phpbb\event\dispatcher->trigger_event()

FILE: [ROOT]/viewforum.php
LINE: 140
CALL: display_forums()
Thank you for letting me know. This should fix you up:
https://github.com/DavidIQ/topictitleco ... bae8c1df07
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
Midway
Registered User
Posts: 76
Joined: Tue Dec 09, 2014 8:02 pm

Re: [3.2][RC] Topic Title Color

Post by Midway »

I DavidIQ

it's fixed for me tanks you for your reply ;)
Post Reply

Return to “Extensions in Development”