Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding tekst in a new custom page, hyperlinks broken

  • @null

    Member

    Hi,

    I’m trying to add a new custom page to my forum. It’s very simple, this is what I have so far:

    – 1 custom page called test.php

    – the page includes the forum header and footer

    – The content (middle) part is pulled from the db aswell

    All works fine except hyperlinks! Links like http://www.test.com will NOT appear as a hyperlink, but just as plain text. How to fix this? I want this to behave just like this textfield I am typing in right now (auto hyperlink converting).

    bbcodes like bold do work.

    _Null

Viewing 5 replies - 1 through 5 (of 5 total)
  • @livibetter

    Member

    echo make_clickable($content);

    If you pull posts from database, then trying to make it possible to use template functions may be a better solution.

    @null

    Member

    Tekst is pulled from the forum database so I cant edit each page manualy.

    The tekst is filtered somewhere, but how and where, so I can use this on my custom page aswell…

    @livibetter

    Member

    Could you paste your test.php?

    @null

    Member

    http://www.bbportal.org uses a custompage. Hyperlinks are not clickable and the info is pulled from the forum. You can dl the plugin there aswel.

    @livibetter

    Member

    I have no idea which file you meant. Please just paste the code about how you query for something from your database and how you process the data for the visitors.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar