3.2.x Extensions Database 3.2 / 3.3Username BBCode 3.2.x

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

tamarin
Users
Users
Status: Offline
User theme: Dark
Posts: 72
Joined: Mar 15th, '15, 00:07
    Windows 10 Firefox

Re: Username BBCode 3.2.x

Post by tamarin »

Sniper_E wrote: Oct 25th, '19, 22:35 This bbcode enters your username, tamarin with your group color and profile link. This is a test.
Sniper_E, thank you for your answer.
But I mean that: s. attachment.
0101.jpg
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

[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
    Linux Chrome

Re: Username BBCode 3.2.x

Post by Sniper_E »

I do not understand what the problem is that you are reporting.
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

tamarin
Users
Users
Status: Offline
User theme: Dark
Posts: 72
Joined: Mar 15th, '15, 00:07
    Android Chrome

Re: Username BBCode 3.2.x

Post by tamarin »

Sniper_E wrote: Oct 26th, '19, 02:02 I do not understand what the problem is that you are reporting.
- This cannot be clicked.

[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: 919
Joined: Feb 2nd, '18, 11:04
    Windows 7 Firefox

Re: Username BBCode 3.2.x

Post by ivailo95 »

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

tamarin
Users
Users
Status: Offline
User theme: Dark
Posts: 72
Joined: Mar 15th, '15, 00:07
    Android Chrome

Re: Username BBCode 3.2.x

Post by tamarin »

Sniper_E wrote: Oct 26th, '19, 02:02 I do not understand what the problem is that you are reporting.

- Just as on the Screenshot, it can not be clicked.

[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: Username BBCode 3.2.x

Post by Sniper_E »

:rolling: Your screenshot can not show that it can not be clicked. :guns:

I'll install ABBC3 Buttons and this extension and see if I get the same results. BRB

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

tamarin
Users
Users
Status: Offline
User theme: Dark
Posts: 72
Joined: Mar 15th, '15, 00:07
    Android Chrome

Re: Username BBCode 3.2.x

Post by tamarin »

Sniper_E wrote: Oct 27th, '19, 02:37 :rolling: Your screenshot can not show that it can not be clicked. :guns:

I'll install ABBC3 Buttons and this extension and see if I get the same results. BRB
- Ok.

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

tamarin
Users
Users
Status: Offline
User theme: Dark
Posts: 72
Joined: Mar 15th, '15, 00:07
    Windows 10 Firefox

Re: Username BBCode 3.2.x

Post by tamarin »

Sniper_E,
Funny, I realized that in some topics clicking the users works, and in other topics - not.
Why so?

[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: Username BBCode 3.2.x

Post by Sniper_E »

This ext must be made for posting page only. It will not work on index with chat. All tho... I have seen it in chat before.
This ext would have to be modified to work everywhere. Let me see if there is someone in the back that can help you.

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

vlad
Users
Users
Status: Offline
User theme: Dark
Posts: 3
Joined: Jun 6th, '19, 17:41
    Windows 10 Chrome

Re: Username BBCode 3.2.x

Post by vlad »

Hi! Very good idea, but unfortunately doesn't work on my site too (creating/answering topic):
username bbcode.png
phpBB 3.2.5
extension Advanced BBCode Box
style Proflat
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

[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: 919
Joined: Feb 2nd, '18, 11:04
    Windows 7 Firefox

Re: Username BBCode 3.2.x

Post by ivailo95 »

vlad wrote: Nov 2nd, '19, 16:44 hi! Very good idea, but unfortunately doesn't work on my site too (creating/answering topic):

username bbcode.png

phpBB 3.2.5
extension Advanced BBCode Box
style Proflat
Try to remove ext "Advanced BBCode Box"

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

vlad
Users
Users
Status: Offline
User theme: Dark
Posts: 3
Joined: Jun 6th, '19, 17:41
    Windows 10 Chrome

Re: Username BBCode 3.2.x

Post by vlad »

ivailo95 wrote: Nov 3rd, '19, 06:41
vlad wrote: Nov 2nd, '19, 16:44 hi! Very good idea, but unfortunately doesn't work on my site too (creating/answering topic):

username bbcode.png

phpBB 3.2.5
extension Advanced BBCode Box
style Proflat
Try to remove ext "Advanced BBCode Box"
yes, without "Advanced BBCode Box" ext "Username BBCode 3.2.x" works. And is it possible to combine these two extensions together? It would be great

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

tamarin
Users
Users
Status: Offline
User theme: Dark
Posts: 72
Joined: Mar 15th, '15, 00:07
    Windows 10 Opera

Re: Username BBCode 3.2.x

Post by tamarin »

Sniper_E wrote: Oct 26th, '19, 02:02 I do not understand what the problem is that you are reporting.
Sniper_E, I have checked everything again and have found that:
When I open a new topic or click on answers in a topic, this extension works.
But if I want to reply about this extension QuickReply Reloaded, so I can't click on your extension.
I hope now that I have described the problem understandable?! :roll:
0101.jpg
0202.jpg
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

[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: Username BBCode 3.2.x

Post by Sniper_E »

I'm doing some work on my site so it's down for testing this.
One thought is to make the usernames available on more than just the posting page. Test this out.

Open username/event/listener.php and find

Code: Select all

	static public function getSubscribedEvents()
	{
		return array(
			'core.user_setup'          => 'load_language_on_setup',
			'core.modify_posting_auth' => 'modify_posting_auth',
		);
	}

	public function modify_posting_auth($event)
Replace with

Code: Select all

	static public function getSubscribedEvents()
	{
		return array(
			'core.user_setup'          => 'load_language_on_setup',
			'core.page_header_after'   => 'page_header_after',
		);
	}

	public function page_header_after($event)
Clear server cache, test and report back in please.

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

tamarin
Users
Users
Status: Offline
User theme: Dark
Posts: 72
Joined: Mar 15th, '15, 00:07
    Windows 10 Opera

Re: Username BBCode 3.2.x

Post by tamarin »

Sniper_E wrote: Nov 15th, '19, 04:17 I'm doing some work on my site so it's down for testing this.
One thought is to make the usernames available on more than just the posting page. Test this out.

Open username/event/listener.php and find

Code: Select all

	static public function getSubscribedEvents()
	{
		return array(
			'core.user_setup'          => 'load_language_on_setup',
			'core.modify_posting_auth' => 'modify_posting_auth',
		);
	}

	public function modify_posting_auth($event)
Replace with

Code: Select all

	static public function getSubscribedEvents()
	{
		return array(
			'core.user_setup'          => 'load_language_on_setup',
			'core.page_header_after'   => 'page_header_after',
		);
	}

	public function page_header_after($event)
Clear server cache, test and report back in please.
- As I already wrote, I have the QuickReply Reloaded extension installed.
After your change I can now click on the names and select, but the name does not appear in the post. (see picture 001)
001.jpg
And if I reply in the normal way (without QuickReply Reloaded), the name will appear. (see picture 002)
002.jpg
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.