miniBB Support Forums | 15 years on The Web
miniBB ®


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

Removing the IP Address field

Author Dragon
#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
#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
#4 | Posted: 13 Jan 2008 12:02 
Thanks Tom!

Author trintalk
#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 
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

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

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 ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.