Using { } Codes In HTML??
3 posters
Page 1 of 1
Using { } Codes In HTML??
I would really like for there to be a { username } code in one of my HTML pages. Is there any possible way I could make it work? When I try, it just says { username } it doesnt say Crum98 or anything. It is a slightly necessary feature, but I CAN work around it.
Im using it to link to another website which all users have registered to as well. It goes to their profile.
I use Iframes to display it on a forum page.
So it would be something like
Im using it to link to another website which all users have registered to as well. It goes to their profile.
I use Iframes to display it on a forum page.
So it would be something like
- Code:
<iframe src="www.website.com/{ username }"></iframe>
Last edited by crum98 on October 19th 2012, 5:25 pm; edited 1 time in total
Re: Using { } Codes In HTML??
It still is not working. When I try it in the URL it says 'url not found' and when I type it in on the page it still says { username}
(I have to add the spaces for posting, if i dont it says Using php in posts is called being a smart [Language]... Stop it)
(I have to add the spaces for posting, if i dont it says Using php in posts is called being a smart [Language]... Stop it)
Re: Using { } Codes In HTML??
Yes I have been capitalizing all of it, and i have also tried the code you just sent me.
Re: Using { } Codes In HTML??
I am trying to rebuild this page:
http://repterrarium.4umer.com/h2-your-terrarium
to go to a different link like this:
http://repterrarium.myadopts.com/profile.php?user=Crum
Im testing it on this page:
http://repterrarium.4umer.com/h15-tests
http://repterrarium.4umer.com/h2-your-terrarium
to go to a different link like this:
http://repterrarium.myadopts.com/profile.php?user=Crum
Im testing it on this page:
http://repterrarium.4umer.com/h15-tests
Re: Using { } Codes In HTML??
Ok i got the username thing to work.. now for the link *crosses fingers*
Re: Using { } Codes In HTML??
NUUUUU It doesnt work
When I put the URL into the Iframe it doesnt give the correct link. It still links to mysite.com/user=<span class="USERNAME"></span> and not mysite.com/user=me
Which makes it redirect to the incorrect page, it says 'this user does not exist'
When I put the URL into the Iframe it doesnt give the correct link. It still links to mysite.com/user=<span class="USERNAME"></span> and not mysite.com/user=me
Which makes it redirect to the incorrect page, it says 'this user does not exist'
Re: Using { } Codes In HTML??
Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead! |
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Using { } Codes In HTML??
That's because you can't a put a SPAN element in a HREF attribute lol.
I've updated that tutorial (http://www.avacweb.com/t125-17-variable-in-html-pages-and-templates ) to include a method for putting the username in links and attributes.
You'll be able to achieve what your trying to after reading and updating your script.
I've updated that tutorial (http://www.avacweb.com/t125-17-variable-in-html-pages-and-templates ) to include a method for putting the username in links and attributes.
You'll be able to achieve what your trying to after reading and updating your script.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Using { } Codes In HTML??
Topic Solved & Locked |
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» HTML Codes
» HTML codes
» [Help]HTML Codes
» Html codes not showing up on posts!
» Copy-paste HTML codes
» HTML codes
» [Help]HTML Codes
» Html codes not showing up on posts!
» Copy-paste HTML codes
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum