+ Reply to Thread
Results 1 to 2 of 2

Thread: Link Problem

  1. Join Date
    Aug 2004
    Posts
    1

    Link Problem

    I sent this email to patiek[at]ep-dev.com to request help with the Forum-News script, he told me I could try posting my problem here too for faster assistance, so here it is. Along with my responce email back to him after he replied.

    Hi,

    I am having abit of a problem with your script forum news, I will try my
    best to explain it:

    When I enable "Auto-Link URLs" in the script options any links that I post
    are messed up. Messed up as in the href values of the link tags have "</a"
    at the end of them, therefore when one clicks on them (lets say for example
    the link is to google) they are taken to "'http://www.google.com</a" which
    infact is not a valid link so they get an error page from their browser.

    Also in the same scenario above, each link's text is preceeded with a ">"
    for reasons unknown to me.

    However, When I disable "Auto-Link URLs" in the script, none of the links I
    post work at all. Clicking on them takes you to, or opens a window rather,
    going to "about:blank" which is not a not an address and gives you a blank
    page. So all in all I am not able to get any links I post to work unless the
    user goes and looks directly at the pos in the forum (where they work fine).

    Please help!

    Thank you!
    -----------------------------------------------------------------
    My Responce email:
    -----------------------------------------------------------------

    Hi, thanks for getting back to me so quickly.

    I am running vBulletin 3.0.3;

    In vbulletin 3 I use the WYSIWYG post editor to make all my posts so rarely
    do I work with the BB Code myself, but I do assume that vbulletin does use
    for me in the background whenever I put a link into the editor
    as long as it has www. infront of it. It also copies links from webpages
    exactly how they were (color, size, url, etc.).

    So to aid you in seeing what I am reffering to I have setup an example page:
    http://www.teen-moods.net/index.php?page=test_2993

    The above page uses the Forum News Script to pull posts from the Test area
    of my Forum, there you'll find a post by me that has different types of
    links on it and a description of what each link is suppose to link to and
    how I set it up. Then you can look at the link itself and figure the rest
    out from there. For further more clarifaction compaire what you see on that
    page to the actual post in the forum, which you should be able to see w/o
    being registered or logged in.

    Here is the code that I uncovered that vbulletin automatically inserted when
    I used the WYSIWYG editor, it may or maynot be of any use to you, if you
    don't understand why I included it or don't need it then just overlook it,
    I'm sure you can find the problem without the code.

    --------------------
    www.google.com (just typed in the url w/o
    protocall)
    http://www.google.com (just typed in the
    url w/ protocall)
    google.com (just typed in the domain name w/o 'www' or protocall)
    (url=www.google.com)google(/url) (typed in url using url bbcode)

    --------------------

    Let me know what you think.

    Thanks!



    If you could help me I'd appreciate it!

  2. Join Date
    Aug 2004
    Posts
    781

    Link Problem

    Thanks, I will try to see where the problem is then. Until that time, just disable auto-link feature, the script will probably pick up links fine with it disabled.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts