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

Removing the IP Address field

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

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

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

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


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  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB