Page 1 of 1

username bbcode?

Posted: Wed Apr 24, 2019 10:28 pm
by nou nou
Is there a way to get the current logged in user displayed through a bbcode?

So for example, if I'd make a post like

Hello [user][/user],
...

then it would be displayed for Johnny User as

Hello Johnny User,
...

Similar to /me, /you etc... functionality in certain chat environments, but the current user specifically is what I'd be looking for...

Thanks!

PS. I found this: viewtopic.php?f=438&t=2471416&p=1500772 ... #p15007721

But I'm not sure where to put those <head> tags and the JS - I'm not averse to implementing that if someone could please elaborate on it, or perhaps there is a simpler solution?

Re: username bbcode?

Posted: Thu May 02, 2019 4:26 am
by Sniper_E
nou nou wrote:
Wed Apr 24, 2019 10:28 pm
Is there a way to get the current logged in user displayed through a bbcode?

Similar to /me, /you etc... functionality in certain chat environments, but the current user specifically is what I'd be looking for...
I think this could easily be done.
Let's do some testing. Sent you an extention in PM

Re: username bbcode?

Posted: Fri May 10, 2019 5:26 am
by Sniper_E
Ok, the basic codes from this topic in the extension we tested worked so I added user color and css for the username text. Made it capatible with Posting Buttons and the popular ABBC3 Buttons. Then I pushed it into the ACP to use with Board Announcements and whatever else if you want.

Let's test this out...
Download: Coming soon...

See what you think it may need or if it works as expected.

Re: username bbcode?

Posted: Fri May 10, 2019 6:40 am
by John connor
I'm interested in this as well. Will you post the extension here for all to use? Your zip file is gone now.

Re: username bbcode?

Posted: Fri May 10, 2019 7:26 am
by Mick
Are we talking BBCode or extension here? A BBCode that requires extra programming, an extension or code changes etc, isn’t strictly a BBCode.

Re: username bbcode?

Posted: Sun May 12, 2019 5:01 am
by Sniper_E
Yes Mick, this is more than just a bbcode.

Moved this work over to viewtopic.php?f=456&t=2511516