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.
The forum of the forums
4 posters

    Links in posts don't work

    avatar
    Kestrana
    Forumember


    Posts : 27
    Reputation : 0
    Language : English

    Solved Links in posts don't work

    Post by Kestrana Sun 4 Dec - 2: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 Thu 8 Dec - 15:31; edited 4 times in total
    SLGray
    SLGray
    Administrator
    Administrator


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

    Solved Re: Links in posts don't work

    Post by SLGray Sun 4 Dec - 4:36

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

    Code:
    [url=http://www.google.com]Google[/url]
    avatar
    Guest
    Guest


    Solved Re: Links in posts don't work

    Post by Guest Sun 4 Dec - 7: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
    SLGray
    SLGray
    Administrator
    Administrator


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

    Solved Re: Links in posts don't work

    Post by SLGray Sun 4 Dec - 9: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.
    avatar
    Kestrana
    Forumember


    Posts : 27
    Reputation : 0
    Language : English

    Solved Re: Links in posts don't work

    Post by Kestrana Thu 8 Dec - 3: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.
    LGforum
    LGforum
    Hyperactive


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

    Solved Re: Links in posts don't work

    Post by LGforum Thu 8 Dec - 4:10

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

    Also, have you tried using the URL box on the editor?
    avatar
    Kestrana
    Forumember


    Posts : 27
    Reputation : 0
    Language : English

    Solved Re: Links in posts don't work

    Post by Kestrana Thu 8 Dec - 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.)
    Sanket
    Sanket
    ForumGuru


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

    Solved Re: Links in posts don't work

    Post by Sanket Fri 9 Dec - 6:32

    Topic Solved & Locked

      Current date/time is Wed 13 Nov - 18:45