hidden online status??

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
User avatar
Registered User
Posts: 34
Joined: Mon Sep 18, 2006 5:44 am

hidden online status??

Post by Brookie15hits » Thu Oct 12, 2006 9:16 pm

Is there a way to set the forum so members can not choose to hide their on line status?

Registered User
Posts: 200
Joined: Tue May 16, 2006 11:59 am

Post by GreyDogz » Thu Oct 12, 2006 9:34 pm

There are two steps.
1) Remove the "hide" option
Open {root}/templates/your template/profile_add_body.tpl
Find and remove:

Code: Select all

     <td class="row1"><span class="gen">{L_HIDE_USER}:</span></td>
     <td class="row2">
      <input type="radio" name="hideonline" value="1" {HIDE_USER_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="hideonline" value="0" {HIDE_USER_NO} />
      <span class="gen">{L_NO}</span></td>
2) Unhide all the user who have chosen to be hidden
Use phpMyAdmin to run the following query

Code: Select all

UPDATE phpbb_users SET user_allow_viewonline=1


Return to “2.0.x Support Forum”