Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.4
Author Message
sqzdog
Involved
Involved



Joined: Sep 22, 2003
Posts: 252

PostPosted: Wed Nov 03, 2004 7:57 am Reply with quote

I want to disable my user's ability to hide their online status. Any ideas?
 
View user's profile Send private message Send e-mail
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Nov 03, 2004 11:00 am Reply with quote

You will need to modify the profile_add_body.tpl template in whatever forum template you are using. If you use the default 'subSilver', then comment out these lines
Code:
   <tr>

     <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>
   </tr>

If the theme you are using has its own forum template, then find lines like those above and comment them out.
 
View user's profile Send private message
sqzdog







PostPosted: Wed Nov 03, 2004 11:30 am Reply with quote

I don't follow you on "comment out these lines" I do use the subsilver as the default.
 
TheosEleos
Life Cycles Becoming CPU Cycles



Joined: Sep 18, 2003
Posts: 960
Location: Missouri

PostPosted: Wed Nov 03, 2004 1:23 pm Reply with quote

Code:


//<tr>
     //<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>
   //</tr>


That is how I usually comment stuff out.

_________________
http://jamesdibben.com 
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Raven







PostPosted: Wed Nov 03, 2004 1:34 pm Reply with quote

Since that is HTML, comment it like this
Code:
   <!-- tr> 

     <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>
   </tr -->
 
sqzdog







PostPosted: Wed Nov 03, 2004 8:59 pm Reply with quote

ok, that worked good for the profile under the forums. It is still there under the YOUR ACCOUNT settings as an option. Can that be removed also?
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.4

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©