miniBB Support Forums | 15 years on The Web
miniBB ®

miniBB

®
  
 | Begin | Register | Reply | Search | Statistics | Manual |
How To miniBB Support Forums / How To /   
 

Removing the IP Address field

 
Author Dragon
Partaker
#1 | Posted: 13 Jan 2008 11:38 
How can I remove the IP address from showing in a post? I searched without luck..Thanks Paul!

Author Dragon
Partaker
#2 | Posted: 13 Jan 2008 11:46 | Edited by: Dragon 
FYI this shows next to the date/time in a post...I removed the file bb_func_viewip.php to no avail

Author tom322
Active Member
#3 | Posted: 13 Jan 2008 11:59 
The IP only shows for admin and moderators. but you may remove {$viewIP} it from main_posts_cell.html

Author Dragon
Partaker
#4 | Posted: 13 Jan 2008 12:02 
Thanks Tom!

Author trintalk
Partaker
#5 | Posted: 18 Nov 2008 00:59 
Any idea on now to remove the IP address for moderators but not admins?

Author Paul
Lead Developer
#6 | Posted: 18 Nov 2008 03:51 
trintalk
You will need to edit bb_func_vthread.php (core file).

Locate this code:

if ($logged_admin==1 or $isMod==1) $viewIP=' '.$l_sepr.' IP: '.'<a href="'.$indexphp.'action=viewipuser&amp;postip='.$cols[4].'">'.$cols[4].'</a>';
else $viewIP='';

There you will need to remove ' or $isMod==1'.

How To miniBB Support Forums / How To /
 Removing the IP Address field
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


 ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
↑ TOP