username bbcode?

Get help developing custom BBCodes or request one.
Post Reply
User avatar
nou nou
Registered User
Posts: 523
Joined: Sat Oct 29, 2016 8:08 pm

username bbcode?

Post 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?
User avatar
Sniper_E
Registered User
Posts: 1144
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: username bbcode?

Post by Sniper_E »

nou nou wrote: Wed Apr 24, 2019 10:28 pmIs 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
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
Sniper_E
Registered User
Posts: 1144
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: username bbcode?

Post 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.
Last edited by Sniper_E on Sat May 11, 2019 10:35 pm, edited 1 time in total.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
2600
I've Been Banned!
Posts: 2567
Joined: Fri Nov 14, 2014 5:14 pm
Location: Area-51

Re: username bbcode?

Post by 2600 »

I'm interested in this as well. Will you post the extension here for all to use? Your zip file is gone now.
Morpheus: Unfortunately, no one can be told what The Matrix is. You'll have to see it for yourself.
Hack me.
Consider a canary token.
The nature of my chosen username
:ugeek:
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26546
Joined: Fri Aug 29, 2008 9:49 am

Re: username bbcode?

Post 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.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
Sniper_E
Registered User
Posts: 1144
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: username bbcode?

Post by Sniper_E »

Yes Mick, this is more than just a bbcode.

Moved this work over to viewtopic.php?f=456&t=2511516
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
Post Reply

Return to “Custom BBCode Development and Requests”