[3.1][3.2][ALPHA] Quick Title Edition 2.0.0

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!
Get Involved
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
eunaumtenhoid
Registered User
Posts: 518
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.1][3.2][ALPHA] Quick Title Edition 2.0.0

Post by eunaumtenhoid » Sun Aug 20, 2017 3:36 pm

ok ty for help

forced user dont work on new topics pls look
My translations of the extensions for Brazilian Portuguese
https://github.com/eunaumtenhoid/Traducoesbrphpbb

User avatar
ErnadoO
Registered User
Posts: 279
Joined: Thu Jun 08, 2006 2:32 pm
Location: France
Name: Erwan Nader
Contact:

Re: [3.1][3.2][ALPHA] Quick Title Edition 2.0.0

Post by ErnadoO » Sun Aug 20, 2017 10:49 pm

Oh, indeed.

Try this:

In event/main_listener.php, replace

Code: Select all

	public function posting_check_attribute($event)
	{
		$post_data = $event['post_data'];
		$post_data['attr_id'] = $this->request->variable('attr_id', \ernadoo\qte\qte::KEEP, false, \phpbb\request\request_interface::POST);

		if ($event['post_data']['force_attr'])
		{
			if ($post_data['attr_id'] == \ernadoo\qte\qte::REMOVE && ($event['mode'] == 'post' || ($event['mode'] == 'edit' && $event['post_data']['topic_first_post_id'] == $event['post_id'])) )
			{
				$error = $event['error'];
				$error[] = $this->user->lang['QTE_ATTRIBUTE_UNSELECTED'];
				$event['error'] = $error ;

				// init the value
				$post_data['attr_id'] = 0;
			}
		}

		$event['post_data'] = $post_data;
	}
with

Code: Select all

	public function posting_check_attribute($event)
	{
		$post_data = $event['post_data'];
		$post_data['attr_id'] = $this->request->variable('attr_id', \ernadoo\qte\qte::KEEP, false, \phpbb\request\request_interface::POST);

		if ($event['post_data']['force_attr'])
		{
			if ((!$post_data['attr_id'] || $post_data['attr_id'] == \ernadoo\qte\qte::REMOVE) && ($event['mode'] == 'post' || ($event['mode'] == 'edit' && $event['post_data']['topic_first_post_id'] == $event['post_id'])) )
			{
				$error = $event['error'];
				$error[] = $this->user->lang['QTE_ATTRIBUTE_UNSELECTED'];
				$event['error'] = $error ;

				// init the value
				$post_data['attr_id'] = 0;
			}
		}

		$event['post_data'] = $post_data;
	}
Former Administrator && MOD team leader on phpbb-fr.com

phpBB-Services.com: L'hébergement et l'assistance de votre forum phpBB en toute tranquillité.

User avatar
eunaumtenhoid
Registered User
Posts: 518
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.1][3.2][ALPHA] Quick Title Edition 2.0.0

Post by eunaumtenhoid » Sun Aug 20, 2017 11:52 pm

its work ty man
My translations of the extensions for Brazilian Portuguese
https://github.com/eunaumtenhoid/Traducoesbrphpbb

scheccia
Registered User
Posts: 17
Joined: Fri Feb 10, 2017 8:16 am

Re: [3.1][3.2][ALPHA] Quick Title Edition 2.0.0

Post by scheccia » Sat Sep 02, 2017 12:50 pm

When i try to install i have error in update... but is the first time that tray to install it.
La migrazione "\ernadoo\qte\migrations\v200\alpha1" non è funzionante, migrazione mancante "\ernadoo\qte\migrations\v200\dev".

scheccia
Registered User
Posts: 17
Joined: Fri Feb 10, 2017 8:16 am

Re: [3.1][3.2][ALPHA] Quick Title Edition 2.0.0

Post by scheccia » Sun Sep 03, 2017 9:31 am

i remove this code from dev.php

Code: Select all

'\phpbb\db\migration\data\v31x\v3111',
and install it... but i have error in PCA module

Code: Select all

BACKTRACE

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

FILE: [ROOT]/includes/functions_module.php
LINE: 565
CALL: trigger_error()

FILE: [ROOT]/adm/index.php
LINE: 82
CALL: p_master->load_active()

User avatar
ErnadoO
Registered User
Posts: 279
Joined: Thu Jun 08, 2006 2:32 pm
Location: France
Name: Erwan Nader
Contact:

Re: [3.1][3.2][ALPHA] Quick Title Edition 2.0.0

Post by ErnadoO » Sun Sep 03, 2017 12:27 pm

scheccia wrote:
Sun Sep 03, 2017 9:31 am
i remove this code from dev.php

Code: Select all

'\phpbb\db\migration\data\v31x\v3111',
It's a phpBB file, you should not remove this line. If this file is not found, you have a bigger problem than a extension doesn't work.

What is you phpBB version ?
Former Administrator && MOD team leader on phpbb-fr.com

phpBB-Services.com: L'hébergement et l'assistance de votre forum phpBB en toute tranquillité.

scheccia
Registered User
Posts: 17
Joined: Fri Feb 10, 2017 8:16 am

Re: [3.1][3.2][ALPHA] Quick Title Edition 2.0.0

Post by scheccia » Sun Sep 03, 2017 7:46 pm

ErnadoO wrote:
Sun Sep 03, 2017 12:27 pm
scheccia wrote:
Sun Sep 03, 2017 9:31 am
i remove this code from dev.php

Code: Select all

'\phpbb\db\migration\data\v31x\v3111',
It's a phpBB file, you should not remove this line. If this file is not found, you have a bigger problem than a extension doesn't work.

What is you phpBB version ?
3.2 no upgrade.
I delete all DB reference and now work (with the deleted line).

scheccia
Registered User
Posts: 17
Joined: Fri Feb 10, 2017 8:16 am

Re: [3.1][3.2][ALPHA] Quick Title Edition 2.0.0

Post by scheccia » Mon Sep 04, 2017 12:24 pm

Error when try to move a topic leaving a shadow.

Code: Select all

SQL ERROR [ mysqli ]

Column 'topic_attr_id' cannot be null [1048]

SQL

User avatar
kinerity
Registered User
Posts: 1099
Joined: Mon Sep 01, 2014 1:00 am
Name: Kailey Truscott
Contact:

Re: [3.1][3.2][ALPHA] Quick Title Edition 2.0.0

Post by kinerity » Mon Sep 04, 2017 12:36 pm

scheccia wrote:
Sun Sep 03, 2017 7:46 pm
3.2 no upgrade.
I delete all DB reference and now work (with the deleted line).
It should still be there...

Image
Image

asylum
Registered User
Posts: 16
Joined: Thu Sep 14, 2017 10:48 pm

Re: [3.1][3.2][ALPHA] Quick Title Edition 2.0.0

Post by asylum » Sun Sep 17, 2017 9:14 pm

Hello, it is possible to make the attributes to the end of the topic tittle please?

How can i do that? Thanks

User avatar
Leinad4Mind
Translator
Posts: 804
Joined: Sun Jun 01, 2008 11:08 pm
Contact:

Re: [3.1][3.2][ALPHA] Quick Title Edition 2.0.0

Post by Leinad4Mind » Mon Sep 18, 2017 8:11 pm

You need to create a copy of the extension with new database tables and with new positions. Seems "simple" to me. :P
Want to access all my portuguese MOD and Extension translations?
Become my Patreon!
phpBB Portugal Translator and Moderator

asylum
Registered User
Posts: 16
Joined: Thu Sep 14, 2017 10:48 pm

Re: [3.1][3.2][ALPHA] Quick Title Edition 2.0.0

Post by asylum » Tue Sep 19, 2017 2:55 pm

Leinad4Mind wrote:
Mon Sep 18, 2017 8:11 pm
You need to create a copy of the extension with new database tables and with new positions. Seems "simple" to me. :P
Can you tell me what i need to midify?

If you can show me the code and the replament code i can make modification...

User avatar
Leinad4Mind
Translator
Posts: 804
Joined: Sun Jun 01, 2008 11:08 pm
Contact:

Re: [3.1][3.2][ALPHA] Quick Title Edition 2.0.0

Post by Leinad4Mind » Wed Sep 20, 2017 2:47 pm

Sorry, don't be ofended, but I don't work for free for people that have create an account in phpbb.com with less then 1year. Plus, I don't have time right now. And my pc will be available just next month. Good luck
Want to access all my portuguese MOD and Extension translations?
Become my Patreon!
phpBB Portugal Translator and Moderator

User avatar
eunaumtenhoid
Registered User
Posts: 518
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.1][3.2][ALPHA] Quick Title Edition 2.0.0

Post by eunaumtenhoid » Tue Oct 17, 2017 11:40 am

how to change all qte moderator permissions delete and edit for yes?
to not have to change one by one

qte showing in all posts while editing the post and a bug? should it show only in the first correct post?
or would it be possible to add option for global moderator permission?
My translations of the extensions for Brazilian Portuguese
https://github.com/eunaumtenhoid/Traducoesbrphpbb

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Galixte de EzCom and 15 guests

cron