Info
- 6 posts
- 2 voices
- Started 4 years ago by Null
- Latest reply from livibetter
- This topic is not resolved
Adding tekst in a new custom page, hyperlinks broken
-
- Posted 4 years ago #
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 aswellAll 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
-
- Posted 4 years ago #
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.
-
- Posted 4 years ago #
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...
-
- Posted 4 years ago #
Could you paste your
test.php? -
- Posted 4 years ago #
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.
-
- Posted 4 years ago #
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.
-
You must log in to post.