[3.2][ALPHA] 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: 16470
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

[3.2][ALPHA] Topic Title Color

Post by DavidIQ » Sat Mar 04, 2017 8:56 am

Extension Name: Topic Title Color
Author: DavidIQ

Extension Description: Allows user to select a color for the topic title
Extension Version: 1.0.0-a1
Screenshots:
topictitlecolor1.PNG
topictitlecolor2.PNG
Extension Download: https://github.com/DavidIQ/topictitlecolor/
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: 16470
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

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

Post by DavidIQ » Sat Mar 04, 2017 8:57 am

TODO:
  • Add permissions.
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
pikachuturkey
Registered User
Posts: 218
Joined: Wed Dec 20, 2006 10:34 pm
Name: Rıza
Contact:

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

Post by pikachuturkey » Sat Mar 04, 2017 12:09 pm

Turkish translation of Topic Title Color version 1.0.0-a1 tr
Why first row is British English ==> "colour" and second row is American English ==>"color" :)
'TITLE_COLOUR',
'NO_TITLE_COLOR'

Code: Select all

<?php
/**
 *
 * titlecolor [Turkish]
 *
 * @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'		=> 'Başlık rengi',
	'NO_TITLE_COLOR'		=> 'Hiçbiri',
));
Last edited by pikachuturkey on Sat Mar 04, 2017 6:22 pm, edited 1 time in total.
Healt For Everyone ==> www.saglikforum.org

User avatar
supanet
Registered User
Posts: 227
Joined: Sat Dec 15, 2012 4:20 pm
Location: UK
Contact:

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

Post by supanet » Sat Mar 04, 2017 2:39 pm

Nice subscribed :D

kim902
Registered User
Posts: 52
Joined: Wed Nov 09, 2016 5:49 pm

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

Post by kim902 » Sat Mar 04, 2017 9:57 pm

This will make phpbb look very tacky.
Hardest thing in life is accepting some one else has done it better.

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 16470
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

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

Post by DavidIQ » Sat Mar 04, 2017 10:11 pm

kim902 wrote:
Sat Mar 04, 2017 9:57 pm
This will make phpbb look very tacky.
Then don't install this extension? Not sure why you felt the need to comment here. Do me and everyone else a favor and please don't... :roll:
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: 16470
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

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

Post by DavidIQ » Sat Mar 04, 2017 10:16 pm

pikachuturkey wrote:
Sat Mar 04, 2017 12:09 pm
Turkish translation of Topic Title Color version 1.0.0-a1 tr
Why first row is British English ==> "colour" and second row is American English ==>"color" :)
'TITLE_COLOUR',
'NO_TITLE_COLOR'
It's on purpose. ;)

Thanks for the translation. I'll include it in the next release. There will probably be a translation file for the permission that will soon come.

@other translators: would very much prefer a pull request on github if at all possible. :geek:
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
3Di
Registered User
Posts: 11821
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano - Frankfurt
Name: Marco
Contact:

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

Post by 3Di » Sat Mar 25, 2017 2:45 am

David, in you event/listener I'd change this lines

Code: Select all

// Make sure it's only letters and numbers and max length of 6
preg_match('#^[A-Z0-9]{6}#i', $title_color, $color_matches);
with this (not tested)

Code: Select all

// Make sure it's only HEX and max length of 6, case insensitive.
preg_match('#^[A-F0-9]{6}#i', $title_color, $color_matches);
I haven't checked if you wrote a check also for the min. lenght.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades

User avatar
SalazarAG
Registered User
Posts: 664
Joined: Mon Mar 30, 2015 10:48 am

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

Post by SalazarAG » Sun Mar 26, 2017 8:32 pm

Hi

Great extension, congratulations!

Would it be possible to add these features?

> Choose the forums where you can colorize the titles?
> Connect with Recent Topics extension?
I'm sorry for my English. Google Translator does a bad job. :D

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 16470
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

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

Post by DavidIQ » Sun Mar 26, 2017 8:36 pm

SalazarAG wrote:
Sun Mar 26, 2017 8:32 pm
> Choose the forums where you can colorize the titles?
Was planning on doing this through permissions.
SalazarAG wrote:
Sun Mar 26, 2017 8:32 pm
> Connect with Recent Topics extension?
Which one exactly?
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
SalazarAG
Registered User
Posts: 664
Joined: Mon Mar 30, 2015 10:48 am

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

Post by SalazarAG » Sun Mar 26, 2017 9:31 pm

DavidIQ wrote:
Sun Mar 26, 2017 8:36 pm
SalazarAG wrote:
Sun Mar 26, 2017 8:32 pm
> Choose the forums where you can colorize the titles?
Was planning on doing this through permissions.
SalazarAG wrote:
Sun Mar 26, 2017 8:32 pm
> Connect with Recent Topics extension?
Which one exactly?
Hi!

This extension: https://www.phpbb.com/customise/db/exte ... _topics_2/
I'm sorry for my English. Google Translator does a bad job. :D



User avatar
uruguayito
Registered User
Posts: 266
Joined: Mon Dec 13, 2010 2:46 pm
Location: Montevideo - Uruguay

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

Post by uruguayito » Tue Apr 11, 2017 5:17 pm

when a user wants leave a message with a colour, there is a conflict with this ext..... :roll:
I speak spanish
Sorry for my bad english

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 16470
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

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

Post by DavidIQ » Tue Apr 11, 2017 6:40 pm

uruguayito wrote:
Tue Apr 11, 2017 5:17 pm
when a user wants leave a message with a colour, there is a conflict with this ext..... :roll:
What conflict? :roll:
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.

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Chrono, KhurramMunawar and 23 guests