The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
I'm working on refining my guest mod feature at oxle, and I'm a bit stuck.
At this moment, the way the guest mod works at oxle is that a user can use the Guest account to post a message.
He/she then hás to fill out a nickname, which is then added to the message at the bottom in this format:
[pbg]nickname[/pbg;"> The PBG tag is handled by the extratags function, and is converted to a div, with the text 'posted by nickname, an anonymous guest'.
This works very much ok, however, I want to do it differently. I want to 'move' the nickname from the message to the username next to the message, instead of the 'Guest' username. So, in short, my question is this:
How do I pull the nickname part out of the message ? I knów it's surrounded by [pbg][/pbg], but that's as far as my hunch goes. Any idea is very much welcome. <
[pbg]nickname[/pbg;"> The PBG tag is handled by the extratags function, and is converted to a div, with the text 'posted by nickname, an anonymous guest'.
This works very much ok, however, I want to do it differently. I want to 'move' the nickname from the message to the username next to the message, instead of the 'Guest' username. So, in short, my question is this:
How do I pull the nickname part out of the message ? I knów it's surrounded by [pbg][/pbg], but that's as far as my hunch goes. Any idea is very much welcome. <