Plugin Directory

Changeset 2816056


Ignore:
Timestamp:
11/10/2022 02:44:43 PM (3 years ago)
Author:
sunnybundel
Message:

Updating the plugin

Location:
user-location-and-ip
Files:
270 added
4 edited

Legend:

Unmodified
Added
Removed
  • user-location-and-ip/trunk/admin/user-ip-menu-options.php

    r2771628 r2816056  
    3232                <li><strong>Display Browser Name:</strong> [useriploc type="browser"]</li>
    3333                <li><strong>Display Operating System:</strong> [useriploc type="os"]</li>
    34                 <li><strong>Display Country Flag:</strong> [useriploc type="flag" height="auto" width="50px"]</li>
     34                <li><strong>Display Country Flag:</strong> [useriploc type="flag" height="auto" width="50px" vertical_align="baseline"]</li>
    3535              </ul>
    3636              <p>For support and queries, you can visit our <a href="https://wordpress.org/plugins/user-location-and-ip/">WordPress.org plugin page here</a>...</p>
  • user-location-and-ip/trunk/inc/user-ip-functions.php

    r2771628 r2816056  
    1818                "height" => "auto",
    1919                "width" => "50px",
     20                "vertical_align" => "baseline",
    2021            ],
    2122            $atts
     
    7273        $flag_country = ($ip->get_flag()) ?: "us";
    7374        $flag = plugins_url().'/'.explode('/', plugin_basename( __file__ ))[0].'/flags/'.strtolower($flag_country).'.png';
    74         $ip_flag = '<img src="'.$flag.'" style="height:'.$height.'!important; width:'.$width.'!important;" >';
     75        $ip_flag = '<img src="'.$flag.'" style="height:'.$height.'!important; width:'.$width.'!important;vertical-align:'.$vertical_align.'!important;" >';
    7576        return $ip_flag;
    7677    } else {
  • user-location-and-ip/trunk/readme.txt

    r2771679 r2816056  
    33Tags: ip address, city, region, user location, user country, locator, user ip address, visitor ip, user location
    44Requires at least: 5.4
    5 Tested up to: 6.0
    6 Stable tag: 1.5
     5Tested up to: 6.1
     6Stable tag: 1.6
    77License: GPLv2 or later
    88Requires PHP: 5.4
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010
    11 User Location and IP is a free shortcode based Wordpress plugin that displays real-time information about your users, including their IP address, location, country name, flag, and various other details on any Wordpress post page or widget.
     11User Location and IP is a free shortcode based Wordpress plugin that displays real-time information about your users, including their IP address, location, country name, flag, and various other details on any WordPress post page or widget.
    1212
    1313
     
    3636<code>[useriploc type="browser"]</code>
    3737<code>[useriploc type="os"]</code>
    38 <code>[useriploc type="flag" height="auto" width="50px"]</code>
     38<code>[useriploc type="flag" height="auto" width="50px" vertical_align="baseline"]</code>
    3939
    40 As for the Flag shortcode, height or width attributes are optional. The default values for height and weight are auto and 50px respectively. Depending on your preference, you can pass one or both of these values to alter the flag's size.
     40As for the Flag shortcode, the height, width, and vertical_align attributes are optional. The default values for height and weight are auto and 50px, respectively. For the vertical_align attribute, baseline is the default value. You can, however, change the vertical_align attribute value to bottom, middle, or top based on the location where you want the flag to appear. Depending on your preference, you can pass one or both of these values to alter the flag's size.
    4141
    4242= Features of User IP and Location =
     
    5252= Credits =
    5353
    54 I am pleased to announce the release of this plugin which was created by <a href="https://sunnybundel.com/" rel="friend" title="Sunny Bundel">Sunny Bundel</a> with the help of the team at <a href="https://mytechtalky.com/" rel="friend" title="MyTechTalky"> MyTechTalky</a>.
     54I am pleased to announce the release of this plugin which was created by <a href="https://sunnybundel.com/" rel="friend" title="Sunny Bundel">Sunny Bundel</a> with the help of the team at <a href="https://wptalky.com/" rel="friend" title="WP Talky"> WP Talky</a> and <a href="https://mytechtalky.com/" rel="friend" title="MyTechTalky"> MyTechTalky</a>.
    5555
    5656There are also tutorials available on MyTechTalky about WordPress, including:
    5757
    58 * <a href="https://mytechtalky.com/start-a-blog/" rel="friend" title="How to Start a Blog Using WordPress"> How to Start a Blog Using WordPress </a>
     58* <a href="https://mytechtalky.com/start-a-blog/" rel="friend" title="How to Start a Blog Using WordPress">How to Start a Blog Using WordPress</a>
    5959
    6060…and many more <a href="https://mytechtalky.com/wordpress/" rel="friend" title="WordPress Tutorial">WordPress tutorials</a>.
     
    9797== Changelog ==
    9898
     99= 1.6 - 10 November 2022 =
     100* Added support for the `vertical-align` CSS attribute to align the flag properly.
     101* Updated to work with the lastest WordPress version
     102* Fixed minor bugs.
     103
    99104= 1.5 - 16 August 2022 =
    100105* Added support for browser and operating system detection.
     
    103108
    104109= 1.4 =
    105 * Updated to work with the latest version of Wordpress.
     110* Updated to work with the latest version of WordPress.
    106111
    107112= 1.3 =
     
    109114
    110115= 1.2 =
    111 * Updated to work with the latest version of Wordpress.
     116* Updated to work with the latest version of WordPress.
    112117
    113118= 1.1 =
  • user-location-and-ip/trunk/user-location-and-ip.php

    r2771675 r2816056  
    33* Plugin Name: User Location and IP
    44* Plugin URI: https://mytechtalky.com/
    5 * Version: 1.5
     5* Version: 1.6
    66* Author: MyTechTalky
    77* Author URI: https://mytechtalky.com/author/sunny/
     
    99* License: GPLv2
    1010* Requires PHP: 5.4
    11  * Tested up to: 6.0
     11 * Tested up to: 6.1
    1212* Text Domain: user-location-and-ip
    1313*/
Note: See TracChangeset for help on using the changeset viewer.