BBcode - tokens separated by commas

Get help developing custom BBCodes or request one.
Post Reply
User avatar
wads24
Registered User
Posts: 504
Joined: Fri Jun 10, 2005 4:44 am
Name: James

BBcode - tokens separated by commas

Post by wads24 » Mon Jan 28, 2019 7:04 pm

I have the below custom BBcode:

[welcome]{LOCAL_URL}, {LOCAL_URL2}, {SIMPLETEXT1}, {SIMPLETEXT}, {SIMPLETEXT2}[/welcome]

Sometimes I get a comma or exclamation in the {SIMPLETEXT} token, and it breaks the BBcode and so it will not post correctly. Anyone know a fix for this?
Thanks in advance for a reply.

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51551
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: BBcode - tokens separated by commas

Post by Brf » Mon Jan 28, 2019 7:13 pm

{SIMPLETEXT} includes commas. can you use {IDENTIFIER} which doesn't?

User avatar
wads24
Registered User
Posts: 504
Joined: Fri Jun 10, 2005 4:44 am
Name: James

Re: BBcode - tokens separated by commas

Post by wads24 » Mon Jan 28, 2019 7:19 pm

Brf wrote:
Mon Jan 28, 2019 7:13 pm
{SIMPLETEXT} includes commas. can you use {IDENTIFIER} which doesn't?
I tried SIMPLETEXT and IDENTIFIER.

SIMPLETEXT works unless they type a special character in the subject of the new topic. IDENTIFIER doesn't work at all...
Thanks in advance for a reply.

User avatar
wads24
Registered User
Posts: 504
Joined: Fri Jun 10, 2005 4:44 am
Name: James

Re: BBcode - tokens separated by commas

Post by wads24 » Thu Feb 07, 2019 5:52 am

Any other ideas?

Would there be a way to not allow commas in topic subject maybe?
Thanks in advance for a reply.

Post Reply

Return to “Custom BBCode Development and Requests”

Who is online

Users browsing this forum: No registered users and 5 guests