[ABD] Quick Title Edition 2.0.0

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
Locked
User avatar
eunaumtenhoid
Registered User
Posts: 1007
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

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

Post by eunaumtenhoid »

ok ty for help

forced user dont work on new topics pls look
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes
User avatar
ErnadoO
Registered User
Posts: 337
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 »

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

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

Post by eunaumtenhoid »

its work ty man
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes
scheccia
Registered User
Posts: 94
Joined: Fri Feb 10, 2017 8:16 am

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

Post by scheccia »

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: 94
Joined: Fri Feb 10, 2017 8:16 am

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

Post by scheccia »

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: 337
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 »

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
scheccia
Registered User
Posts: 94
Joined: Fri Feb 10, 2017 8:16 am

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

Post by scheccia »

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: 94
Joined: Fri Feb 10, 2017 8:16 am

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

Post by scheccia »

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
Kailey
Community Team Leader
Community Team Leader
Posts: 3726
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Snay
Contact:

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

Post by Kailey »

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
Kailey Snay - Community Team Leader
Knowledge Base | Documentation | Community rules

If you have any questions about the rules/customs of this website, feel free to send me a PM.
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 »

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: 863
Joined: Sun Jun 01, 2008 11:08 pm
Contact:

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

Post by Leinad4Mind »

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 »

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: 863
Joined: Sun Jun 01, 2008 11:08 pm
Contact:

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

Post by Leinad4Mind »

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: 1007
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

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

Post by eunaumtenhoid »

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/phpBBTraducoes
MrGaby
Registered User
Posts: 222
Joined: Sun Apr 02, 2017 8:04 pm

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

Post by MrGaby »

Hello
eunaumtenhoid wrote: 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
If several of your forums have the same type of permissions, you can configure the permissions of a forum, then copy them for all other identical forums using the copy of the permissions in the admin.
If you like my work, you can support me with a donation. Thanks!
Donate via Paypal
Locked

Return to “Abandoned Extensions”