Thread Rating:
  • 4 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stop members appearing as invisible
#1
Information 
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'
Reply
#2
Nice tutorial. Hopefully in 2.0 their will be an option to disable this. Toungue
No longer involved in the MyBB project.
Reply
#3
(09-04-2010, 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
Former MyBB Software Assurance Team
Server Latch Ltd - Premium Shared, Reseller and VPS Hosting for your MyBB Forum!
Reply
#4
I really need some sleep :/

I meant 2.0 Toungue
No longer involved in the MyBB project.
Reply
#5
Thanks for this Big Grin
[Image: 40DS6Te.png]
[Image: poptartFINALTINY.gif]
Reply
#6
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>
Reply
#7
That's exactly the same as my original post. Rolleyes
Reply
#8
(09-04-2010, 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

Reply
#9
As the post says phpmyadmin
Reply
#10
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)