username bbcode?

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

username bbcode?

Post by nou nou » Wed Apr 24, 2019 10:28 pm

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: 775
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: username bbcode?

Post by Sniper_E » Thu May 02, 2019 4:26 am

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
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: 775
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: username bbcode?

Post by Sniper_E » Fri May 10, 2019 5:26 am

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
John connor
Registered User
Posts: 2119
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Name: Aaron
Contact:

Re: username bbcode?

Post by John connor » Fri May 10, 2019 6:40 am

I'm interested in this as well. Will you post the extension here for all to use? Your zip file is gone now.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 21156
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket - definitely

Re: username bbcode?

Post by Mick » Fri May 10, 2019 7:26 am

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

User avatar
Sniper_E
Registered User
Posts: 775
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: username bbcode?

Post by Sniper_E » Sun May 12, 2019 5:01 am

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”