minibb®
Fight the automated spam - protect your miniBB-forums,
getting the Captcha addon! Click here to read more.
Captcha Addon for miniBB
Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
How To miniBB Community Forum / How To /

Removing the IP Address field

 
Dragon
Forums Member
#1 | Posted: 13 Jan 2008 11:38
Reply 
How can I remove the IP address from showing in a post? I searched without luck..Thanks Paul!
Dragon
Forums Member
#2 | Posted: 13 Jan 2008 11:46 | Edited by: Dragon
Reply 
FYI this shows next to the date/time in a post...I removed the file bb_func_viewip.php to no avail
tom322
Forums Member
#3 | Posted: 13 Jan 2008 11:59
Reply 
The IP only shows for admin and moderators. but you may remove {$viewIP} it from main_posts_cell.html
Dragon
Forums Member
#4 | Posted: 13 Jan 2008 12:02
Reply 
Thanks Tom!
trintalk
Forums Member
#5 | Posted: 18 Nov 2008 00:59
Reply 
Any idea on now to remove the IP address for moderators but not admins?
Paul
CEO
#6 | Posted: 18 Nov 2008 03:51
Reply 
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'.
 
Your reply
Bold Style  Italic Style  Image Link  URL Link 


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

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

 
Online now: Guests - 79
Members - 0
Most users ever online: 191 [24 Dec 2007 14:33]
Guests - 191 / Members - 0

Forums are powered by miniBB®