shngrdnr_fctry
Forum Replies Created
-
Thanks for the update Adeel. I’ve been travelling so I wasn’t able to reply as soon as I would have otherwise.
I’ll see if I can track down a tutorial for flushing the tables when I’m back at work next week – I imagine one’s out there. If not I’ll come back to you for advice.
Thanks for the help so far –
S
Hi Adeel
Thanks for the guidance – but looking over my original post I should’ve been cleaer.
Unfortunately the fact that I can’t extract or even remove the database of blacklisted IPs is precisely my problem. It means that whenever I reinstall the plugin our website’s dashboard becomes inaccessible because of a memory shortage.
Any suggestions as to how I can extract the list of IPs from the server (via FTP, perhaps?) and then do a clean install of the plugin?
Thanks
Shaun
Resolved at stackexchange – here’s the answer:
<?php global $current_user;?> <?php if(is_user_logged_in()) :?> <?php get_currentuserinfo();?> <?php if(is_array( $current_user->roles ) && in_array( 'map_user', $current_user->roles ) ) : ?> <div id="mapContent"> <?php require("/mapping/".$current_user->user_login.".html"); ?> </div> <?php endif; ?> <?php endif; ?>Note that the code above will link to a folder called ‘mapping’ in the website’s root folder – change the ‘require’ line to fit your needs (along with the other necessary fields o’ course).