Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding tekst in a new custom page, hyperlinks broken

  • 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)
  • 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.

    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…

    Could you paste your test.php?

    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.

    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