Support Request SupportTrying to make attribut as here

Support Section
Previous topicNext topic
User avatar

Topic Author
ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 907
Joined: Feb 2nd, '18, 11:04
    Windows 10 Firefox

Trying to make attribut as here

Post by ivailo95 »

Your phpBB Version: 3.3.9
Your phpBB Type: Standard phpBB
Extensions installed: Yes
Your knowledge: Beginner
Boardlink: https://bgrock.eu/testboard2/

What have you done before the problem was there?
Just follow the steps as in topic here
Prefix CSS for Quick Title Edition 2.0.0
but see white page


What have you already tried to solve the problem?
clear chache and follow the steps

i test it on my test forum 1st


Description and Message
i want to use this ext beacouse of permission to edit attribut on other users
i test it on my test forum 1st


/ext/ernadoo/qte/styles/prosilver/theme

Code: Select all

/**
 *
 * @package Quick Title Edition Extension
 * @copyright (c) 2015 ABDev
 * @copyright (c) 2015 PastisD
 * @copyright (c) 2015 Geolim4 <http://geolim4.com>
 * @copyright (c) 2015 Zoddo <zoddo.ino@gmail.com>
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
 *
 */

/* selector */
fieldset.attribute {
    text-align: right;
    margin-top: 15px;
    height: 2.5em;
}

/* attributes */
.qte_solved { color: #006600; }
.qte_cancelled { color: #cc0000; }


.qte_solved, .qte_cancelled { font-weight:bold; }

/* imageset */
.imageset.qte_solved {
    background-image: url("./images/icon_topic_solved.gif");
    padding-left: 16px;
    padding-top: 16px;
}

.imageset.qte_cancelled {
    background-image: url("./images/icon_topic_cancel.gif");
    padding-left: 16px;
    padding-top: 16px;
}

qte_topicsolved { 
	color: #FFF;
	background-color: #88DB43;
	-webkit-border-radius: 4px;
	-o-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	padding: 2.1px;
	overflow: hidden;
	font-weight: bold;

/ext/ernadoo/qte/language/en

Code: Select all

<?php
/**
 *
 * @package Quick Title Edition Extension
 * @copyright (c) 2015 ABDev
 * @copyright (c) 2015 PastisD
 * @copyright (c) 2015 Geolim4 <http://geolim4.com>
 * @copyright (c) 2015 Zoddo <zoddo.ino@gmail.com>
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
 *
 */

// ignore
if (!defined('IN_PHPBB'))
{
	exit;
}

// init lang ary, if it doesn't !
if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

$lang = array_merge($lang, array(
	'QTE_CAN_USE_ATTR'	=> 'Can use %s attribute',

	// select
	'QTE_ATTRIBUTES' => 'Topic attributes',
	'QTE_ATTRIBUTE' => 'Topic attribute',

	'QTE_ATTRIBUTE_ADD' => 'Select a topic attribute',
	'QTE_ATTRIBUTE_REMOVE' => 'Remove the topic attribute',
	'QTE_ATTRIBUTE_DESIRED' => 'Select desired attribute',
	'QTE_ATTRIBUTE_KEEP' => 'Keep the actual attribute',

	// notifications
	'QTE_ATTRIBUTE_ADDED' => 'An attribute has been applied to the topic title',
	'QTE_ATTRIBUTE_UPDATED' => 'The attribute of that topic has been updated',
	'QTE_ATTRIBUTE_REMOVED' => 'The topic attribute has been removed',

	'QTE_TOPIC_ATTRIBUTE_ADDED' => 'An attribute has been applied to the selected topic',
	'QTE_TOPICS_ATTRIBUTE_ADDED' => 'An attribute has been applied to the selected topics',
	'QTE_TOPIC_ATTRIBUTE_UPDATED' => 'The attribute of the selected topic has been updated',
	'QTE_TOPICS_ATTRIBUTE_UPDATED' => 'The attribute of the selected topics has been updated',
	'QTE_TOPIC_ATTRIBUTE_REMOVED' => 'The attribute of the selected topic has been removed',
	'QTE_TOPICS_ATTRIBUTE_REMOVED' => 'The attribute of the selected topics has been removed',

	// search
	'QTE_ATTRIBUTE_SELECT' => 'Select a topic attribute',
	'QTE_ATTRIBUTE_SEARCH' => 'Search for attributes',
	'QTE_ATTRIBUTE_SEARCH_EXPLAIN' => 'Select the attribute you wish to search',

	// sort
	'QTE_SORT' => 'As attribute',
	'QTE_ALL' => 'All',

	// mistake messages
	'QTE_ATTRIBUTE_UNSELECTED' => 'You must select an attribute!',

	// placeholders
	'QTE_KEY_USERNAME' => '¦user¦',
	'QTE_KEY_DATE' => '¦date¦',
));

// topic attributes as keys
$lang = array_merge($lang, array(
	'QTE_SOLVED' => '[Solved by %mod% :: %date%]',
	'QTE_CANCELLED' => 'Cancelled',
));
'qte_topicsolved' => 'Solved',
[/i]
User avatar

dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6350
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Re: Trying to make attribut as here

Post by dmzx »

Post the 2 files here so I can add it correctly for you.
User avatar

Topic Author
ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 907
Joined: Feb 2nd, '18, 11:04
    Windows 10 Firefox

Re: Trying to make attribut as here

Post by ivailo95 »

dmzx wrote: Jan 17th, '23, 14:36 Post the 2 files here so I can add it correctly for you.
here is it
this is file from eng language
Click here do download en file
here is FILE from theme folder
User avatar

dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6350
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Re: Trying to make attribut as here

Post by dmzx »

Downloads.zip
Above the files, read the part for ACP in the main topic to add it there.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
User avatar

Topic Author
ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 907
Joined: Feb 2nd, '18, 11:04
    Windows 10 Firefox

Re: Trying to make attribut as here

Post by ivailo95 »

dmzx wrote: Jan 18th, '23, 08:42 Downloads.zip

Above the files, read the part for ACP in the main topic to add it there.
yes, i did it as you told men for ACP part, but i don't have group permission as in the main topic
also can't set other user topic attribute
Image
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
User avatar

dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6350
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Re: Trying to make attribut as here

Post by dmzx »

PM me test admin account
User avatar

dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6350
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Re: Trying to make attribut as here

Post by dmzx »

dmzx wrote: Jan 18th, '23, 12:02 PM me test admin account
I did check your board, did you install this ext Prefix CSS for Quick Title Edition 2.0.0 ?
User avatar

Topic Author
ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 907
Joined: Feb 2nd, '18, 11:04
    Windows 10 Firefox

Re: Trying to make attribut as here

Post by ivailo95 »

dmzx wrote: Jan 18th, '23, 13:08
dmzx wrote: Jan 18th, '23, 12:02 PM me test admin account
I did check your board, did you install this ext Prefix CSS for Quick Title Edition 2.0.0 ?
yes, i get it from here
You have to install this extension (>Quick Title Edition 2.0.0<)
from the main topic, i just change the name so ext to be installed
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
User avatar

dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6350
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Re: Trying to make attribut as here

Post by dmzx »

User avatar

Topic Author
ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 907
Joined: Feb 2nd, '18, 11:04
    Windows 10 Firefox

Re: Trying to make attribut as here

Post by ivailo95 »

dmzx wrote: Jan 18th, '23, 14:39 use this one Prefix CSS for Quick Title Edition 2.0.0
You mean of author abdev ?
User avatar

dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6350
Joined: Jan 13th, '14, 20:45
    Windows 10 Firefox

Re: Trying to make attribut as here

Post by dmzx »

ivailo95 wrote: Jan 18th, '23, 14:41
dmzx wrote: Jan 18th, '23, 14:39 use this one Prefix CSS for Quick Title Edition 2.0.0
You mean of author abdev ?
yes installed also here
User avatar

Topic Author
ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 907
Joined: Feb 2nd, '18, 11:04
    Windows 10 Firefox

Re: Trying to make attribut as here

Post by ivailo95 »

Can i apply the same files you gave me or?

btw

Code: Select all

phpBB encountered an error building the container due to an installed extension. For this reason, all extensions have been temporarily disabled. Please try purging your forum cache. All extensions will automatically be re-enabled once the container error is resolved. If this error continues, please visit phpBB.com for support.


Exception: The file "/home/bgrockeu/public_html/testboard2/ext/abdev/qte/config/services.yml" does not contain valid YAML: The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 5 (near "- @request").

#0 /home/bgrockeu/public_html/testboard2/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(117): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->loadFile('/home/bgrockeu/...')
#1 /home/bgrockeu/public_html/testboard2/phpbb/extension/di/extension_base.php(99): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load('services.yml')
#2 /home/bgrockeu/public_html/testboard2/phpbb/extension/di/extension_base.php(63): phpbb\extension\di\extension_base->load_services(Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
#3 /home/bgrockeu/public_html/testboard2/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php(71): phpbb\extension\di\extension_base->load(Array, Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
#4 /home/bgrockeu/public_html/testboard2/vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php(39): Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#5 /home/bgrockeu/public_html/testboard2/vendor/symfony/dependency-injection/Compiler/Compiler.php(140): Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#6 /home/bgrockeu/public_html/testboard2/vendor/symfony/dependency-injection/ContainerBuilder.php(789): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#7 /home/bgrockeu/public_html/testboard2/phpbb/di/container_builder.php(223): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
#8 /home/bgrockeu/public_html/testboard2/common.php(117): phpbb\di\container_builder->get_container()
#9 /home/bgrockeu/public_html/testboard2/adm/index.php(23): require('/home/bgrockeu/...')
#10 {main}
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
User avatar

ssl
Donator
Donator
Status: Offline
User theme: Light
Posts: 137
Joined: Aug 19th, '20, 10:54
    Mac OS X Opera

Re: Trying to make attribut as here

Post by ssl »

dmzx wrote: Jan 18th, '23, 14:39 use this one Prefix CSS for Quick Title Edition 2.0.0
It's work fine with Ernadoo ext

Ivallo95, replace your services.yml file by this :

Code: Select all

services:
    abdev.qte:
        class: abdev\qte\qte
        arguments:
            - '@request'
            - '@cache.driver'
            - '@config'
            - '@dbal.conn'
            - '@template'
            - '@user'
            - '@log'
            - '%core.root_path%'
            - '%core.php_ext%'
            - '%core.table_prefix%'
    abdev.qte.main_listener:
        class: abdev\qte\event\main_listener
        arguments:
            - '@request'
            - '@dbal.conn'
            - '@template'
            - '@user'
            - '@log'
            - '@abdev.qte'
        tags:
            - { name: event.listener }
    abdev.qte.acp_listener:
        class: abdev\qte\event\acp_listener
        arguments:
            - '@request'
            - '@cache.driver'
            - '@dbal.conn'
            - '@user'
            - '@abdev.qte'
            - '%core.table_prefix%'
        tags:
            - { name: event.listener }
phpBB: 3.3.14 | PHP: 8.3
[Some French translation of extensions]
User avatar

Topic Author
ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 907
Joined: Feb 2nd, '18, 11:04
    Windows 10 Firefox

Re: Trying to make attribut as here

Post by ivailo95 »

Thank you ssl and dmzx i appriciated you help ! :thumbup: :buigen:
Previous topicNext topic