Page 1 of 2

Special title and Username bbcode conflict

Posted: Sat Jun 23, 2018 10:10 pm
by Sniper_E

Re: Special title and Username bbcode conflict

Posted: Sat Jun 23, 2018 10:57 pm
by Sniper_E
A conflict test from https://www.dmzx-web.net/viewtopic.php? ... =90#p20654

I see this when both extensions are enabled and I mention a user with bbcode.

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/zukero/userbbcode/event/main_listener.php on line 87: DOMDocument::loadXML(): Extra content at the end of the document in Entity, line: 1
When Special title is disabled I can use Username bbcode.

I can mention The Guv
I can mention clight77

Code: Select all

I can mention [user]The Guv[/user]
I can mention [user]clight77[/user]
And it works well with anipmnotify extension also.
Username bbcode can not grab the special title codes/addition with it's process.

Re: Special title and Username bbcode conflict

Posted: Sun Jun 24, 2018 1:26 am
by Sniper_E
I can mention tester
Can I mention Sniper_E - yep, but no notification

Re: Special title and Username bbcode conflict

Posted: Sun Jun 24, 2018 1:35 am
by Sniper_E
I can mention The Guv again.
I can mention clight77 again.
I can mention Lopoto.

Did you guys get the notification from this post?

Re: Special title and Username bbcode conflict

Posted: Sun Jun 24, 2018 1:37 am
by Sniper_E
I'll try to mention tester again.

Re: Special title and Username bbcode conflict

Posted: Sun Jun 24, 2018 2:01 am
by Sniper_E
I 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.

Now special title can be enabled and the user bbcode will work.
I can now mention The Guv and clight77 and Lopoto again and have my special title.

Re: Special title and Username bbcode conflict

Posted: Mon Jun 25, 2018 10:04 am
by Lopoto
No i can not mention :coffee:

Re: Special title and Username bbcode conflict

Posted: Mon Jun 25, 2018 1:20 pm
by Sniper_E
Type in the user bbcode with my name in it. I know, it needs a bbcode button.

Code: Select all

[user]Sniper_E[/user]

Re: Special title and Username bbcode conflict

Posted: Tue Jun 26, 2018 3:57 pm
by puchahawa
testing Sniper_E :lol:

Re: Special title and Username bbcode conflict

Posted: Tue Jun 26, 2018 6:50 pm
by Lopoto
test Sniper_E :oops: