Special title and Username bbcode conflict

Testing other extensions.
User avatar
Sniper_E Styles
Site Admin
Posts: 105
Joined: Sat Mar 24, 2018 10:52 pm
Location: Louisiana

Special title and Username bbcode conflict

Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar
Sniper_E Styles
Site Admin
Posts: 105
Joined: Sat Mar 24, 2018 10:52 pm
Location: Louisiana

Re: Special title and Username bbcode conflict

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 Martin
I can mention clight77

Code: Select all

I can mention [user]Martin[/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.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar
Sniper_E Styles
Site Admin
Posts: 105
Joined: Sat Mar 24, 2018 10:52 pm
Location: Louisiana

Re: Special title and Username bbcode conflict

I can mention tester
Can I mention Sniper_E - yep, but no notification
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar
Sniper_E Styles
Site Admin
Posts: 105
Joined: Sat Mar 24, 2018 10:52 pm
Location: Louisiana

Re: Special title and Username bbcode conflict

I can mention Martin again.
I can mention clight77 again.
I can mention Lopoto.

Did you guys get the notification from this post?
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar
Sniper_E Styles
Site Admin
Posts: 105
Joined: Sat Mar 24, 2018 10:52 pm
Location: Louisiana

Re: Special title and Username bbcode conflict

I'll try to mention tester again.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar
Sniper_E Styles
Site Admin
Posts: 105
Joined: Sat Mar 24, 2018 10:52 pm
Location: Louisiana

Re: Special title and Username bbcode conflict

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 Martin and clight77 and Lopoto again and have my special title.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar
Lopoto
Moderator
Posts: 11
Joined: Wed Apr 11, 2018 2:45 pm
Location: Ontario

Re: Special title and Username bbcode conflict

No i can not mention :coffee:

[ Post made via iPhone ]

User avatar
Sniper_E Styles
Site Admin
Posts: 105
Joined: Sat Mar 24, 2018 10:52 pm
Location: Louisiana

Re: Special title and Username bbcode conflict

Type in the user bbcode with my name in it. I know, it needs a bbcode button.

Code: Select all

[user]Sniper_E[/user]
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar
puchahawa
Moderator
Posts: 18
Joined: Mon Mar 26, 2018 2:43 pm
Location: Oregon

Re: Special title and Username bbcode conflict

testing Sniper_E :lol:

User avatar
Lopoto
Moderator
Posts: 11
Joined: Wed Apr 11, 2018 2:45 pm
Location: Ontario

Re: Special title and Username bbcode conflict

test Sniper_E :oops:

Post Reply