Add Users IP To Footer

From PunBB Resource Wiki

Jump to: navigation, search

Add A Users I.P. Address To The Footer

This allows a user to see their own I.P. Address at the Footer


Open footer.php

Find

Find Line 110 :

			<p class="conr">Powered by <a href="http://www.punbb.org/">PunBB</a><?php if ($pun_config['o_show_version'] == '1') echo ' '.$pun_config['o_cur_version']; ?><br />&copy; Copyright 2002&#8211;2005 Rickard Andersson</p>

Replace

Replace With :

			<p class="conr">Your IP Address : <? echo getenv('REMOTE_ADDR'); ?><br />Powered by <a href="http://www.punbb.org/">PunBB</a><?php if ($pun_config['o_show_version'] == '1') echo ' '.$pun_config['o_cur_version']; ?><br />&copy; Copyright 2002&#8211;2005 Rickard Andersson</p>
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox