MyBB Community Forums

Full Version: Stop members appearing as invisible
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
There's no simple switch to stop members appearing as "invisible" in MyBB.

Instead you can remove the options from the templates to effectively stop them using the feature.

In usercp_options find and delete:
<fieldset class="trow2">
<legend><strong>{$lang->login_cookies_privacy}</strong></legend>
<table cellspacing="0" cellpadding="2">
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="invisible" id="invisible" value="1" {$invisiblecheck} /></td>
<td><span class="smalltext"><label for="invisible">{$lang->invisible_mode}</label></span></td>
</tr>
</table>
</fieldset>
<br />

In member_register find and delete:
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="invisible" id="invisible" value="1" {$invisiblecheck} /></td>
<td valign="top"><span class="smalltext"><label for="invisible">{$lang->invisible_mode}</label></span></td>
</tr>

If you have users already set to invisible you'll also need to run a SQL query in your database manager (usually phpMyAdmin) to change their settings:

UPDATE `mybb_users` SET `invisible` = '0' WHERE `invisible` = '1'
Nice tutorial. Hopefully in 2.0 their will be an option to disable this. Toungue
(2010-09-04, 11:07 PM)N.Malcolm Wrote: [ -> ]Nice tutorial. Hopefully in 1.6 their will be an option to disable this. Toungue

1.6 is here :L
I really need some sleep :/

I meant 2.0 Toungue
Thanks for this Big Grin
For 1.6 default template

In usercp_options find and delete:

<fieldset class="trow2">
<legend><strong>{$lang->login_cookies_privacy}</strong></legend>
<table cellspacing="0" cellpadding="2">
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="invisible" id="invisible" value="1" {$invisiblecheck} /></td>
<td><span class="smalltext"><label for="invisible">{$lang->invisible_mode}</label></span></td>
</tr>
</table>
</fieldset>
<br />

In member_register find and delete:

<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="invisible" id="invisible" value="1" {$invisiblecheck} /></td>
<td valign="top"><span class="smalltext"><label for="invisible">{$lang->invisible_mode}</label></span></td>
</tr>
That's exactly the same as my original post. Rolleyes
(2010-09-04, 06:11 PM)AJS Wrote: [ -> ]There's no simple switch to stop members appearing as "invisible" in MyBB.

Instead you can remove the options from the templates to effectively stop them using the feature.

In usercp_options find and delete:
<fieldset class="trow2">
<legend><strong>{$lang->login_cookies_privacy}</strong></legend>
<table cellspacing="0" cellpadding="2">
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="invisible" id="invisible" value="1" {$invisiblecheck} /></td>
<td><span class="smalltext"><label for="invisible">{$lang->invisible_mode}</label></span></td>
</tr>
</table>
</fieldset>
<br />

In member_register find and delete:
<tr>
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="invisible" id="invisible" value="1" {$invisiblecheck} /></td>
<td valign="top"><span class="smalltext"><label for="invisible">{$lang->invisible_mode}</label></span></td>
</tr>

If you have users already set to invisible you'll also need to run a SQL query in your database manager (usually phpMyAdmin) to change their settings:

UPDATE `mybb_users` SET `invisible` = '0' WHERE `invisible` = '1'

Thanks for this (in red), just need help on running the SQL query ,not sure where to do this?

Cheers
Dale

As the post says phpmyadmin
2 users active in the past 10 minutes (1 member, 0 of whom are invisible, and 1 guest).

Still showing the "invisible" on the "Who's online"
Is there another line of code to remove?

Thanks
Pages: 1 2