Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Members list Problem
  • Posted: 02.08.2004, 22:30
     
    packet
    rank:
    Freshman Freshman
    registered:
     June 2004
    Status:
    offline
    last visit:
    03.08.04
    Posts:
    6
    In the members list I need to be able to render all HTML (not just the sig tags) as well as be able use the visual editor when editing this field under your profile . I found the piece of code that does this , but it's unclear to me what I need to change. Here the snipit from module NS-NewUser/user.php


    case "_SIGNATURE":
    echo "<textarea cols="\"80\"" rows="\"10\"" name="\"user_sig\"" class="\"pn-normal\"">" . pnVarPrepForDisplay(pnUserGetVar('user_sig')) . "</textarea>" . "
    <font class="\"pn-normal\"">" . _OPTIONAL . "" . " " . _255CHARMAX . "
    " . "" . _ALLOWEDHTML . "
    ";
    $AllowableHTML = pnConfigGetVar('AllowableHTML');
    while (list($key, $access,) = each($AllowableHTML)) {
    if ($access > 0) echo " <" . $key . ">";
    }
    echo "";
    break;

    I see the AllowableHTML code but not sure if it's pulling from a list of allowable , or it's being generated somewhere else. Thanks for your time and any help you can offer!

    -packet

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula