The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Links in posts don't work

4 posters

Go down

Solved Links in posts don't work

Post by Kestrana December 4th 2011, 02:08

Okay, I'm having a really bizarre problem when trying to put links in my posts.

This works:
Code:
[url]http://www.google.com[/url]

These don't work:
Code:
[url=http://www.google.com]Google[/url]
<a href="http://www.google.com">Google</a>

In the first case, it just prints
Code:
[url=http://www.google.com]Google[/url]
in the post.

In the second case, the equals sign (=) is converting to its entity code, =, which then breaks the link.

I have HTML and BBCode enabled both in the ACP and in my profile.

Example post

EDIT:
slg - thanks for the advice, but you're not reading the problem correctly. That code doesn't work - it just prints that entire code out on the page, it doesn't convert it to a clickable link.


Last edited by Kestrana on December 8th 2011, 15:31; edited 4 times in total
avatar
Kestrana
Forumember

Posts : 27
Reputation : 0
Language : English

Back to top Go down

Solved Re: Links in posts don't work

Post by SLGray December 4th 2011, 04:36

If you are trying to post Google which is clickable use this code:

Code:
[url=http://www.google.com]Google[/url]
SLGray
SLGray
Administrator
Administrator

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Links in posts don't work

Post by Guest December 4th 2011, 07:54

Have you enabled BBCode/HTML from your profile? Profile => Preferences:
Always allow BBCode : Yes;
Always allow HTML : Yes.
Take sure that when you posting below the text field (exception quick reply) you have Disable HTML in this post or Disable BBCode in this post. Uncheck these options. Wink
avatar
Guest
Guest


Back to top Go down

Solved Re: Links in posts don't work

Post by SLGray December 4th 2011, 09:14

Did you use my code or the one you posted?


Links in posts don't work Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Links in posts don't work

Post by Kestrana December 8th 2011, 03:59

Glassy - as stated above, HTML and BBCode are BOTH enabled, in my profile AND in the ACP.

slg - your code is identical to the code I posted above that I said DOESN'T work.
avatar
Kestrana
Forumember

Posts : 27
Reputation : 0
Language : English

Back to top Go down

Solved Re: Links in posts don't work

Post by LGforum December 8th 2011, 04:10

Try using this:
Code:
[url="http://www.google.com"]Google[/url]

Also, have you tried using the URL box on the editor?
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Links in posts don't work

Post by Kestrana December 8th 2011, 15:30

Don't ask me to explain HOW this works, 'cause I haven't a clue. Makes absolutely zero sense to me, and I work in the web design field.

A link immediately following another link, with no space between them, works just fine. So I just added empty links in front of every link in my post, and it works exactly the way I want it to. For example:
Code:
<a href="" rel="nofollow"><a href="http://www.google.com">Google</a>

I can't say this is actually solved, per se, but I've got a workaround I can live with.

(For what it's worth, LGforum, your code did the same thing as the one without quotes: just printed the entire code out on the page, EXCEPT when I wrapped it in span tags.)
avatar
Kestrana
Forumember

Posts : 27
Reputation : 0
Language : English

Back to top Go down

Solved Re: Links in posts don't work

Post by Sanket December 9th 2011, 06:32

Topic Solved & Locked
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum