Announcement

Collapse
No announcement yet.

Invisible mode and...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Invisible mode and...

    I want that my user not use invisible mode and if possible show who is on line in all forum and not in first page only.
    Thanks.

  • #2
    The first one, modify two templates:
    modifyoptions template
    Find
    <tr>
    <td bgcolor="{secondaltcolor}"><normalfont><b>Invisible Mode?</b><br>
    <smallfont>Selecting yes allows you to surf the forums without appearing in the 'Logged In Users' list.</smallfont></normalfont></td>
    <td bgcolor="{secondaltcolor}"><normalfont>
    <input type="radio" name="invisible" value="yes" $invisiblechecked> yes
    <input type="radio" name="invisible" value="no" $invisiblenotchecked> no
    </normalfont></td>
    </tr>
    Replace it with
    <input type="hidden" name="invisible" value="no">

    registeradult template
    Find
    <tr>
    <td bgcolor="{firstaltcolor}"><normalfont><b>Invisible Mode?</b></normalfont><br>
    <smallfont>Selecting yes allows you to surf the forums without appearing in the 'Logged In Users' list.</smallfont></td>
    <td bgcolor="{firstaltcolor}"><normalfont>
    <input type="radio" name="invisible" value="yes"> yes
    <input type="radio" name="invisible" value="no" checked> no
    </normalfont></td>
    </tr>
    Replace it with
    <input type="hidden" name="invisible" value="no">

    The second request would take some pretty significant hacking.

    Comment


    • #3
      I moved the whole
      PHP Code:
      if ($displayloggedin) {
      ...

      block from index.php to global.php, and it seemed to work fine.
      But I'm not sure it's recommended maybe it's not secure or something like that. :/
      Chen Avinadav
      Better to remain silent and be thought a fool than to speak out and remove all doubt.

      גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X