Special title and Username bbcode conflict

Testing other extensions.
Online
User avatar
Sniper_E
Site Founder
Logged in via: Samsung Galaxy S5 Active
Posts: 147
Joined: Sat Mar 24, 2018 10:52 pm
Location: Shreveport Louisiana

Special title and Username bbcode conflict

Posted Jun 2018 23 22:10

Post by Sniper_E » Sat Jun 23, 2018 10:10 pm

Post by Sniper_E

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

Online
User avatar
Sniper_E
Site Founder
Logged in via: Samsung Galaxy S5 Active
Posts: 147
Joined: Sat Mar 24, 2018 10:52 pm
Location: Shreveport Louisiana

Re: Special title and Username bbcode conflict

Posted Jun 2018 23 22:57

Post by Sniper_E » Sat Jun 23, 2018 10:57 pm

Post 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.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

Online
User avatar
Sniper_E
Site Founder
Logged in via: Samsung Galaxy S5 Active
Posts: 147
Joined: Sat Mar 24, 2018 10:52 pm
Location: Shreveport Louisiana

Re: Special title and Username bbcode conflict

Posted Jun 2018 24 01:26

Post by Sniper_E » Sun Jun 24, 2018 1:26 am

Post by Sniper_E

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!™

Online
User avatar
Sniper_E
Site Founder
Logged in via: Samsung Galaxy S5 Active
Posts: 147
Joined: Sat Mar 24, 2018 10:52 pm
Location: Shreveport Louisiana

Re: Special title and Username bbcode conflict

Posted Jun 2018 24 01:35

Post by Sniper_E » Sun Jun 24, 2018 1:35 am

Post 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?
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

Online
User avatar
Sniper_E
Site Founder
Logged in via: Samsung Galaxy S5 Active
Posts: 147
Joined: Sat Mar 24, 2018 10:52 pm
Location: Shreveport Louisiana

Re: Special title and Username bbcode conflict

Posted Jun 2018 24 01:37

Post by Sniper_E » Sun Jun 24, 2018 1:37 am

Post by Sniper_E

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!™

Online
User avatar
Sniper_E
Site Founder
Logged in via: Samsung Galaxy S5 Active
Posts: 147
Joined: Sat Mar 24, 2018 10:52 pm
Location: Shreveport Louisiana

Re: Special title and Username bbcode conflict

Posted Jun 2018 24 02:01

Post by Sniper_E » Sun Jun 24, 2018 2:01 am

Post 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.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

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

Re: Special title and Username bbcode conflict

Posted Jun 2018 25 10:04

Post by Lopoto » Mon Jun 25, 2018 10:04 am

Post by Lopoto

No i can not mention :coffee:

Online
User avatar
Sniper_E
Site Founder
Logged in via: Samsung Galaxy S5 Active
Posts: 147
Joined: Sat Mar 24, 2018 10:52 pm
Location: Shreveport Louisiana

Re: Special title and Username bbcode conflict

Posted Jun 2018 25 13:20

Post by Sniper_E » Mon Jun 25, 2018 1:20 pm

Post 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]
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

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

Re: Special title and Username bbcode conflict

Posted Jun 2018 26 15:57

Post by puchahawa » Tue Jun 26, 2018 3:57 pm

Post by puchahawa

testing Sniper_E :lol:

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

Re: Special title and Username bbcode conflict

Posted Jun 2018 26 18:50

Post by Lopoto » Tue Jun 26, 2018 6:50 pm

Post by Lopoto

test Sniper_E :oops:

Post Reply