3.1 & 3.2 & 3.3 Extensions Database 3.1 / 3.2Special title

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
Previous topicNext topic
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5132
Joined: Apr 6th, '14, 14:12
    Ubuntu Chrome

Re: Special title

Post by martin »

Cant do any thing on your site im EN so it says contact admin.
Image

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 920
Joined: Feb 2nd, '18, 11:04
    Windows 7 Opera

Re: Special title

Post by ivailo95 »

martin wrote: Feb 16th, '18, 20:57 Cant do any thing on your site im EN so it says contact admin.
https://rocknmetalbulgaria.eu/index.php
try again i change language board for you in english
Feed like a disease
And bring them to their knees
They'll pay for their deceit

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5132
Joined: Apr 6th, '14, 14:12
    Ubuntu Chrome

Re: Special title

Post by martin »

Sorry buddy i can not help yoou i cant do a thing on your forum not even make a post cant see any thing realy either

Information
Your message does not contain Cyrillic letters. If you are an English speaking, please contact to administrator!

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 920
Joined: Feb 2nd, '18, 11:04
    Windows 7 Opera

Re: Special title

Post by ivailo95 »

martin wrote: Feb 17th, '18, 11:38 Sorry buddy i can not help yoou i cant do a thing on your forum not even make a post cant see any thing realy either

Information
Your message does not contain Cyrillic letters. If you are an English speaking, please contact to administrator!
i will remove Cyrillic ext then u can try once again

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 920
Joined: Feb 2nd, '18, 11:04
    Windows 7 Opera

Re: Special title

Post by ivailo95 »

The ext is disabled
test user: TestAccount
password 123456
let's try
https://rocknmetalbulgaria.eu/viewtopic ... 2390#p2390

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 920
Joined: Feb 2nd, '18, 11:04
    Windows 7 Opera

Re: Special title

Post by ivailo95 »

Can anyone help me with my problem?
Image
Image
Image
Image
Image
Image
Image
Image
Image
I tested it on my test board and saw same problem.. :yikes:
i also suspect that maybe only admins can put this on their names event the registered users can use this thro user control panel and they can't put it on the name and event i set the permission up on the registered users
and um..when the admin user group i made deffault for test user (for example) then it have special title
Last edited by ivailo95 on Mar 14th, '18, 16:55, edited 2 times in total.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Sniper_E
VIP
VIP
Status: Offline
User theme: Dark
Posts: 1160
Joined: Oct 14th, '14, 17:01
    Windows 10 Firefox

Re: Special title

Post by Sniper_E »

Try typing normal text in your post. Bold and large text is not needed. Try being a normal user for a change.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 920
Joined: Feb 2nd, '18, 11:04
    Windows 7 Opera

Re: Special title

Post by ivailo95 »

Sniper_E wrote: Mar 14th, '18, 15:53 Try typing normal text in your post. Bold and large text is not needed. Try being a normal user for a change.
okay i edited my opinion

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

boldherri
Users
Users
Status: Offline
User theme: Dark
Posts: 46
Joined: May 31st, '18, 13:28
    Windows 10 Firefox

Re: Special title

Post by boldherri »

Hello guys,

I wanted to ask dmzx or martin if am aware that between this extension and the username bbcode of zukero are in conflict.

https://www.phpbb.com/customise/db/exte ... pic/192596

for me the problem is not of the special title but of the username bbcode,
if I enable the special title the extension bbcode username does not work if the disabled then works well.

maybe to solve the problem i ask dmzx and martin you can not get in touch with Zukero to solve the problem?

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Sniper_E
VIP
VIP
Status: Offline
User theme: Dark
Posts: 1160
Joined: Oct 14th, '14, 17:01
    Windows 10 Firefox

Re: Special title

Post by Sniper_E »

Testing this on my test site the Username bbcode extension can not read the Special title additional codes to the username.
It works well without special title and it's more of a Mention bbcode because it notifies the user they were mentioned in a post.
It also needs work on it's delivery setup. dmzx's Username bbcode has a nice delivery. Add mention to dm's would be the cheese.

Edit: I just edited the zukero/userbbcode/event/main_listener.php (line 85)

Code: Select all

				$userbbcode = $this->user_loader->get_username($userid, 'SIMPLE', false, false, true);
I changed 'FULL' to 'SIMPLE' in that line and the conflict is gone.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

boldherri
Users
Users
Status: Offline
User theme: Dark
Posts: 46
Joined: May 31st, '18, 13:28
    Windows 10 Firefox

Re: Special title

Post by boldherri »

Sniper_E wrote: Jun 24th, '18, 04:03 Testing this on my test site the Username bbcode extension can not read the Special title additional codes to the username.
It works well without special title and it's more of a Mention bbcode because it notifies the user they were mentioned in a post.
It also needs work on it's delivery setup. dmzx's Username bbcode has a nice delivery. Add mention to dm's would be the cheese.

Edit: I just edited the zukero/userbbcode/event/main_listener.php (line 85)

Code: Select all

				$userbbcode = $this->user_loader->get_username($userid, 'SIMPLE', false, false, true);
I changed 'FULL' to 'SIMPLE' in that line and the conflict is gone.
Hi Sniper :)
I made your change and now works well without errors,
the only fact is that it no longer puts the color of the group in the user name, it puts it in blue,
but that's okay too, at least it does not give me errors and it works.

good and thank you Sniper.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

admin1
Users
Users
Status: Offline
User theme: Dark
Posts: 43
Joined: Sep 6th, '15, 02:26
    Windows 7 Firefox

Re: Special title

Post by admin1 »

Hello everyone.....

this extension does not work with my 3.2.2

any update please ?

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6486
Joined: Jan 13th, '14, 20:45
    Android Chrome

Re: Special title

Post by dmzx »

admin1 wrote: Jan 6th, '21, 17:45 hello everyone.....

this extension does not work with my 3.2.2

any update please ?
What error does it give?

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

admin1
Users
Users
Status: Offline
User theme: Dark
Posts: 43
Joined: Sep 6th, '15, 02:26
    Windows 7 Firefox

Re: Special title

Post by admin1 »

dmzx wrote: Jan 6th, '21, 17:53
admin1 wrote: Jan 6th, '21, 17:45 hello everyone.....

this extension does not work with my 3.2.2

any update please ?
What error does it give?
after enabling i get this...

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/ngigesig/public_html/ext/dmzx/specialtitle/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/ngigesig/public_html/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(117): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->loadFile('/home/ngigesig/...')
#1 /home/ngigesig/public_html/phpbb/extension/di/extension_base.php(99): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load('services.yml')
#2 /home/ngigesig/public_html/phpbb/extension/di/extension_base.php(63): phpbb\extension\di\extension_base->load_services(Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
#3 /home/ngigesig/public_html/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php(71): phpbb\extension\di\extension_base->load(Array, Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
#4 /home/ngigesig/public_html/vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php(39): Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#5 /home/ngigesig/public_html/vendor/symfony/dependency-injection/Compiler/Compiler.php(140): Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#6 /home/ngigesig/public_html/vendor/symfony/dependency-injection/ContainerBuilder.php(789): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#7 /home/ngigesig/public_html/phpbb/di/container_builder.php(212): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
#8 /home/ngigesig/public_html/common.php(115): phpbb\di\container_builder->get_container()
#9 /home/ngigesig/public_html/adm/index.php(23): require('/home/ngigesig/...')
#10 {main}

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6486
Joined: Jan 13th, '14, 20:45
    Android Chrome

Re: Special title

Post by dmzx »

Ok will update the extension.

Previous topicNext topic