Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > Suggestions > Topic : IP Block



Threaded Mode | Print  

 IP Block (4 Replies, Read 41246 times)
wg2613
Group: Member
Post Group: Newbie
Posts: 4
Status:
I have been using IP Block. I have several entries in the list (about 60 or so). It would be real nice to be able to list them in ascending/descending order. If it is a simple code change that could be entered, I am sure I could edit it if I knew were to start.
IP: --   

IP Block
wg2613
Group: Member
Post Group: Newbie
Posts: 4
Status:
LOL! I should add "able to figure it out" means I am really good at following instructions and copy/paste.
IP: --   

IP Block
wg2613
Group: Member
Post Group: Newbie
Posts: 4
Status:
So I am getting closer :) . I have found the .php file "ipblock_theme.php" woot! Not quite sure what to do from here. Any help would be great.
IP: --   

IP Block
wg2613
Group: Member
Post Group: Newbie
Posts: 4
Status:
So I think I have found the code that I need to edit but i am not sure how.

if(empty($add_list)) {
        echo '<tr><td colspan=4><center><span>'.$l['no_ip_blocked'].'</span></center></td></<tr>';
    }else{

        $i =1;
        foreach ($add_list as $key => $value){   
            echo'
            <tr id="tr'.$key.'">
                <td><span>'.$value.'</span></td>';
                $tmp = cidr_to_iprange($value);
                echo'
                <td><span>'.$tmp[0].'</span></td>
                <td><span>'.$tmp[1].'</span></td>
                <td style="text-align:right"><img title="Delete" class="delete" style="cursor:pointer;" id="did'.$key.'"  src="' . $theme['images'] . 'remove.gif" /></td>
            </tr>';



Any thoughts? I am trying to list the IP address in ascending/descending order.
IP: --   

IP Block
sloowik
Group: Member
Post Group: Newbie
Posts: 16
Status:
If you can provide more specific information about the software or tool you are using, I can offer more detailed guidance. Keep in mind that making changes to your security configurations should be done with caution, as any misconfiguration can have significant security implications. Always back up your configuration before making changes, and consider consulting with a security expert if you're unsure about the changes you're making.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
3 guests, 0 users.


All times are GMT. The time now is October 31, 2024, 11:19 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.026