*

gnoe

  • **
  • 22 posts
IP Lookup on oc-admin
« on: June 19, 2024, 08:00:25 AM »
Hi osclass community.

In case you want to add IP Lookup on oc-admin listing page, this is what I did.

Folder = oc-admin\themes\omega\items\frm.php 
Line = 319

I replaced this part
Code: [Select]
                <div class="input-separate-top">
                  <label><?php ItemForm::show_email_checkbox(); ?><span><?php _e('Show e-mail'); ?></span></label>
                </div>
with this
Code: [Select]
                <div class="input-separate-top">
                  <label><?php ItemForm::show_email_checkbox(); ?><span><?php _e('Show e-mail'); ?></span></label>
<a href="http://ipinfo.io/<?php echo osc_item_ip(); ?>" target="_blank">Locate IP</a>
<a href="http://www.ip-tracker.org/locator/ip-lookup.php?ip=<?php echo osc_item_ip(); ?>" target="_blank">Locate IP</a>
                </div>

Enjoy!  :)
Aristotle: We are what we repeatedly do. Excellence, then, is not an act, but a habit.

*

MB Themes

Re: IP Lookup on oc-admin
« Reply #1 on: June 19, 2024, 11:27:57 AM »
Thanks for feedback, will be added in Osclass 8.3
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots