Changeset 3152072
- Timestamp:
- 09/14/2024 11:02:44 PM (17 months ago)
- Location:
- fense-block-vpn-proxy/trunk
- Files:
-
- 8 edited
-
admin/partials/fense-bpvt-admin-display.php (modified) (2 diffs)
-
admin/partials/fense-bpvt-admin-settings-display.php (modified) (2 diffs)
-
fense-bpvt.php (modified) (3 diffs)
-
includes/core/class-fense-bpvt-functions.php (modified) (3 diffs)
-
includes/system/fense-bpvt-check-version.php (modified) (2 diffs)
-
languages/fense-block-vpn-proxy-ar.mo (modified) (previous)
-
languages/fense-block-vpn-proxy-ar.po (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fense-block-vpn-proxy/trunk/admin/partials/fense-bpvt-admin-display.php
r3026592 r3152072 16 16 * Devozon All rights reserved 17 17 * Copyright (c) 2023-2024. 18 * Last Update 24 \ 1\ 202418 * Last Update 15 \ 9 \ 2024 19 19 */ 20 20 … … 62 62 </div> 63 63 </div> 64 65 <?php if ($Fense_FUN->IsDailyLimitReached()): ?> 66 <div class="alert alert-danger alert-dismissible alert-additional fade show mb-3 " 67 role="alert"> 68 <div class="alert-body"> 69 <button type="button" class="btn-close" data-bs-dismiss="alert" 70 aria-label="Close"></button> 71 <div class="d-flex"> 72 <div class="flex-shrink-0 me-3"> 73 <i class="ri-alert-line fs-16 align-middle"></i> 74 </div> 75 <div class="flex-grow-1"> 76 <h5 class="alert-heading"><?php echo esc_html__('Looks Like your current plan has reached its daily request limit !', 'fense-block-vpn-proxy') ?></h5> 77 <p class="mb-0"><?php echo esc_html__('You can always upgrade your plan from ', 'fense-block-vpn-proxy') 78 . '<a target="_blank" class="text-danger" href="' . esc_url(FENSE_BPVT_MAIN_LINK) . 'register">' . esc_html__('Fense', 'fense-block-vpn-proxy') . '</a>' ?></p> 79 </div> 80 </div> 81 </div> 82 </div> 83 <?php endif; ?> 64 84 65 85 <div class="col-lg-2"> -
fense-block-vpn-proxy/trunk/admin/partials/fense-bpvt-admin-settings-display.php
r3026592 r3152072 16 16 * Devozon All rights reserved 17 17 * Copyright (c) 2023-2024. 18 * Last Update 24 \ 1\ 202418 * Last Update 15 \ 9 \ 2024 19 19 */ 20 20 … … 193 193 </div> 194 194 </div> 195 196 195 </div> 197 196 198 197 199 198 <div class="row"> 199 200 <?php if ($Fense_FUN->IsDailyLimitReached()): ?> 201 <div class="col-12"> 202 <div class="alert alert-danger alert-dismissible alert-additional fade show mb-xl-0" 203 role="alert"> 204 <div class="alert-body"> 205 <button type="button" class="btn-close" data-bs-dismiss="alert" 206 aria-label="Close"></button> 207 <div class="d-flex"> 208 <div class="flex-shrink-0 me-3"> 209 <i class="ri-alert-line fs-16 align-middle"></i> 210 </div> 211 <div class="flex-grow-1"> 212 <h5 class="alert-heading"><?php echo esc_html__('Looks Like your current plan has reached its daily request limit !', 'fense-block-vpn-proxy') ?></h5> 213 <p class="mb-0"><?php echo esc_html__('You can always upgrade your plan from ', 'fense-block-vpn-proxy') 214 . '<a target="_blank" class="text-danger" href="' . esc_url(FENSE_BPVT_MAIN_LINK) . 'register">' . esc_html__('Fense', 'fense-block-vpn-proxy') . '</a>' ?></p> 215 </div> 216 </div> 217 </div> 218 </div> 219 220 </div> 221 <?php endif; ?> 222 200 223 <div class="col-md-3"> 201 224 <div class="card p-1" style="height: 521px"> -
fense-block-vpn-proxy/trunk/fense-bpvt.php
r3026592 r3152072 16 16 * Devozon All rights reserved 17 17 * Copyright (c) 2023-2024. 18 * Last Update 24 \ 1\ 202418 * Last Update 15 \ 9 \ 2024 19 19 */ 20 20 … … 35 35 * Plugin URI: https://fense.in/ 36 36 * Description: With Fense You can easily Protect Your ads and Website From Bad Traffic that Leads To Destroy Your Rank and Force Ad Network To Close Your Account. 37 * Version: 1. 1.037 * Version: 1.2.0 38 38 * Author: Devozon 39 39 * Author URI: https://devozon.com/ … … 50 50 51 51 52 const FENSE_BPVT_VERSION = '1.2 ';52 const FENSE_BPVT_VERSION = '1.2.0'; 53 53 const FENSE_BPVT_API_LINK = 'https://api.fense.in/'; 54 54 const FENSE_BPVT_MAIN_LINK = 'https://fense.in/'; -
fense-block-vpn-proxy/trunk/includes/core/class-fense-bpvt-functions.php
r3026592 r3152072 16 16 * Devozon All rights reserved 17 17 * Copyright (c) 2023-2024. 18 * Last Update 24 \ 1\ 202418 * Last Update 15 \ 9 \ 2024 19 19 */ 20 20 … … 38 38 $cache_time = (int)get_option('TOTAL_GUARD_DEVOZON_enable_cache'); 39 39 40 $api = $this->Fense_data('8.8.8.8', $apkey); 40 $result = wp_remote_retrieve_body(wp_remote_get(sprintf(esc_url(FENSE_BPVT_MAIN_LINK) . 'wp/%s', $apkey))); 41 $api = json_decode($result); 41 42 42 43 if ($api->status === 'success') { … … 44 45 set_transient('bpvt_is_api_key_valid', ['status' => 'success'], $cache_time * 3600); 45 46 47 return true; 48 } 49 50 return false; 51 } 52 53 public function IsDailyLimitReached() 54 { 55 $apkey = get_option('FENSE_BPVT_DEVOZON_licence_key'); 56 57 $result = wp_remote_retrieve_body(wp_remote_get(sprintf(esc_url(FENSE_BPVT_MAIN_LINK) . 'wp/%s', $apkey))); 58 $api = json_decode($result); 59 60 if ($api->DailyLimitReached) { 46 61 return true; 47 62 } -
fense-block-vpn-proxy/trunk/includes/system/fense-bpvt-check-version.php
r3026592 r3152072 16 16 * Devozon All rights reserved 17 17 * Copyright (c) 2023-2024. 18 * Last Update 24 \ 1\ 202418 * Last Update 15 \ 9 \ 2024 19 19 */ 20 20 … … 56 56 echo '<div class="notice notice-warning is-dismissible" style="margin-bottom: 12px"> 57 57 <p>' . esc_html__('Hello, there is a new version of Fense extension.', 'fense-block-vpn-proxy') . ' 58 < a href="https://fense.in/wordpress/download-fense" >' . esc_html__('Download new version for free now.', 'fense-block-vpn-proxy') . '</a></p>58 </p> 59 59 </div>'; 60 60 } -
fense-block-vpn-proxy/trunk/languages/fense-block-vpn-proxy-ar.po
r3026592 r3152072 3 3 "Project-Id-Version: fense-block-vpn-proxy\n" 4 4 "POT-Creation-Date: 2021-12-04 13:17+0200\n" 5 "PO-Revision-Date: 2024-0 1-24 18:28+0200\n"5 "PO-Revision-Date: 2024-09-15 00:44+0300\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: \n" … … 241 241 242 242 #: admin/partials/fense-bpvt-admin-settings-display.php:125 243 msgid "You can always upgrade your plan from " 244 msgstr "يمكنك دائمًا ترقية خطتك من خلال موقع " 245 246 #: admin/partials/fense-bpvt-admin-settings-display.php:125 247 msgid "Looks Like your current plan has reached its daily request limit !" 248 msgstr "يبدو أن خطتك الحالية قد وصلت إلى الحد الأقصى للطلب اليومي!" 249 250 #: admin/partials/fense-bpvt-admin-settings-display.php:125 243 251 msgid "Last 7 Days" 244 252 msgstr "اخر 7 ايام" -
fense-block-vpn-proxy/trunk/readme.txt
r3026592 r3152072 1 1 === Fense Proxy & VPN Blocker === 2 Contributors: Sanad Nabil3 Tags: Fense,security, proxy blocker, vpn blocker, proxy, vpn, proxycheck, anti spam, spam, anti-spam, Tor, Anti-Tor, Tor block,ads,adsense2 Contributors: devozon 3 Tags: fense,proxy,adsense,devozon,proxy blocker 4 4 Requires at least: 4.9 5 Tested up to: 6. 4.25 Tested up to: 6.6.2 6 6 Requires PHP: 5.6 7 Stable tag: 1. 1.07 Stable tag: 1.2.0 8 8 License: GPLv2 9 9 10 Blocks Proxies, VPN's, select Countries, IP's, Ranges & ASN's accessing your site login or commenting on pages & posts using the Fense.in API.10 Blocks Proxies, VPN's, IP's, Ranges & ASN's accessing your site login or commenting on pages & posts using the Fense.in API. 11 11 12 12 == Description == … … 49 49 == Description == 50 50 51 This Plugin relies on a 3rd party service called "fense" to enhance its functionality. This service is designed to block and prevent proxy, VPN, and secure websites. Users should be aware of the following information regarding the use of this externalservice:51 Fense designed to block proxy, VPN, and secure websites. Users should be aware of the following information regarding the use of this service: 52 52 53 53 ### External Service Details
Note: See TracChangeset
for help on using the changeset viewer.