ilch Forum » Ilch Clan 1.1 » Allgemein » HTML in news

Geschlossen
  1. #1
    User Pic
    Stener gelöschter User
    I would like to be able to use html in the news, is there a way to turn off the bbcode when posting news?

    Or some simple way to strip the code in news.php or something? Have tried a feew things myself without success.

    The reason why im asking is that I would like to be able to use the table and the pre-tags when im working with league divisions and so.
    Have tried to put in the <pre> tag in the bbcode but it does not read it right, probably because i have done something wrong lächeln

    Any tips or suggestions are appriciated, if you can please post the reply in english (or swedish hähä).
    0 Mitglieder finden den Beitrag gut.
  2. #2
    User Pic
    manuel ilch-Gründer
    Registriert seit
    22.03.2003
    Beiträge
    4.260
    Beitragswertungen
    4 Beitragspunkte
    hehe english would be okay.

    think you only have to delete the bbcode function.

    e.g in line ~106

    'TEXT' => BBcode($row->stext),

    change it to:

    'TEXT' => $row->stext,

    it should work. smilieys an bbcode wold not be transformed any more.

    or you look up in function.php in dir include/incs an search in the bbcode funktion after $s = htmlentities($s);

    you can delete this an html will work.

    but then it will also work in forum so the first alternative will be better

    at least if have to apologize for my english zunge...
    0 Mitglieder finden den Beitrag gut.
  3. #3
    User Pic
    Stener gelöschter User
    Great thx. have not tried this yet but im sure it will work.

    Good service as usual lächeln

    For you who wants to see my page turn your head to:
    www.northern-lights.se

    The site is slightly modified and also translated into swedish. Hope this does not violate any copyright or other rights.
    0 Mitglieder finden den Beitrag gut.
  4. #4
    User Pic
    manuel ilch-Gründer
    Registriert seit
    22.03.2003
    Beiträge
    4.260
    Beitragswertungen
    4 Beitragspunkte
    it seems okay +g+

    no of course you do not violate any copyrights!!!
    0 Mitglieder finden den Beitrag gut.
Geschlossen

Zurück zu Allgemein

Optionen: Bei einer Antwort zu diesem Thema eine eMail erhalten