username in a link
2 posters
Page 1 of 1
username in a link
I would like to add a link to an external chat in one of the buttons of the navigation bar.
I would like to use there the same username used in our forum. For this reason I would like to send this parameter in the link.
I would need to create a link like this
http://www.mydomain.com/chat/flashchat.php?username={ USERNAME }
I read something about the tag { USERNAME } (without space) that will display your username ( Using php in posts is called being a smart ass... Stop it ), but doesn't work in the navigation bar.
As an additional thing, I tried to write even in our forum to write the address using the following
[url=http://www.mydomain.com/chat/flashchat.php?username={ USERNAME }]my chat [/url] but, as you can see doesn't work, because the { USERNAME } seems to break the BBCODE URL.
writing simply
http://www.mydomain.com/chat/flashchat.php?username={ USERNAME }
will not work in case the username has some space (in our forum usernames are Name Surname).
I'm mainly interested into have a link in the navbar, though.
Thanks for your support
I would like to use there the same username used in our forum. For this reason I would like to send this parameter in the link.
I would need to create a link like this
http://www.mydomain.com/chat/flashchat.php?username={ USERNAME }
I read something about the tag { USERNAME } (without space) that will display your username ( Using php in posts is called being a smart ass... Stop it ), but doesn't work in the navigation bar.
As an additional thing, I tried to write even in our forum to write the address using the following
[url=http://www.mydomain.com/chat/flashchat.php?username={ USERNAME }]my chat [/url] but, as you can see doesn't work, because the { USERNAME } seems to break the BBCODE URL.
writing simply
http://www.mydomain.com/chat/flashchat.php?username={ USERNAME }
will not work in case the username has some space (in our forum usernames are Name Surname).
I'm mainly interested into have a link in the navbar, though.
Thanks for your support
wildsurfer- New Member
- Posts : 13
Reputation : 0
Language : Italian
Re: username in a link
You cannot insert BBCode into links, it just doesn't work
If you want some BBCode variables I suggest you look here
=> https://help.forumotion.com/tricks-tips-f32/list-of-variables-t48637.htm
Darren1- Helper
- Posts : 11853
Reputation : 566
Language : English
Similar topics
» Private Messaging- Find a Username and Add a Username
» Question about viewtopic_body templates in phpbb2 - username as link to profile
» Display the last posted topic (thread) title link along with username and date/time
» Changing the Username's Color As Well As Multicolored Username and Glow
» Glitter Username + Username Icon Problem
» Question about viewtopic_body templates in phpbb2 - username as link to profile
» Display the last posted topic (thread) title link along with username and date/time
» Changing the Username's Color As Well As Multicolored Username and Glow
» Glitter Username + Username Icon Problem
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum