Changeset 1415950
- Timestamp:
- 05/12/2016 10:05:30 PM (10 years ago)
- Location:
- login-tracker-logs/trunk
- Files:
-
- 2 edited
-
index.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
login-tracker-logs/trunk/index.php
r1414015 r1415950 4 4 Plugin URI: 5 5 Description: Track logins (IP + COUNTRY/CITY ); Allow login only to specific IPs or SPECIFIC ROLES; or just notify to ADMIN; (P.S. OTHER MUST-HAVE PLUGINS FOR EVERYONE: http://bitly.com/MWPLUGINS ) 6 Version: 2.1 56 Version: 2.16 7 7 Author: tazotodua 8 8 */ … … 12 12 13 13 14 $ newlgs= new Login_Restrict_logs;15 class Login_Restrict _logs {14 $GLOBALS['Login_Restrictor_and_Logs']= new Login_Restrictor_and_Logs; 15 class Login_Restrictor_and_Logs { 16 16 protected $this_veresion =2.15; 17 17 protected $whois_site; … … 174 174 //if file doesnt exist still, then create.. 175 175 public function allowed_ipss_file_CREATED($determined_content=false) { 176 $file =$this->AIPS_filepath_full;176 $file =$this->AIPS_filepath_full; 177 177 //if file doesnt exist (i dont know why, but lets check..) 178 178 if(!file_exists($file)) { 179 //recreate essentials 180 $this->change_files_and_folders(); 179 181 //if directory too doesnt exist 180 182 $this->create_target_dir_if_not_exists(); … … 293 295 294 296 295 public function logintrackss_funcct() { add_submenu_page('options-general.php','LOGIN Restrict s','LOGIN Restricts', 'manage_options' ,$this->plugin_pageslug, array($this, 'lgs_page_callback') );}public function lgs_page_callback(){297 public function logintrackss_funcct() { add_submenu_page('options-general.php','LOGIN Restrictor','LOGIN Restrictor', 'manage_options' ,$this->plugin_pageslug, array($this, 'lgs_page_callback') );}public function lgs_page_callback(){ 296 298 global $wpdb; $table_name = $wpdb->prefix . "restrictor_logins"; 297 299 $editable_roles = get_editable_roles(); -
login-tracker-logs/trunk/readme.txt
r1414015 r1415950 4 4 Requires at least: 3.0 5 5 Tested up to: 4.2 6 Stable tag: 2.1 56 Stable tag: 2.16 7 7 License: Free 8 8 … … 11 11 == Description == 12 12 13 After plugin activation, go to "Dashboard->Settings->Login Tracks".13 After plugin activation, go to "Dashboard->Settings->Login Restrictor". 14 14 15 15 > (P.S. Note! This is a NON-SLOWING Plugin. See other <a href="http://bitly.com/MWPLUGINS" target="_blank" alt="http://codesphpjs.blogspot.com/2014/10/nsp-non-slowing-plugins-for-wordpress.html">MUST-HAVE PLUGINS</a> for everyone. )
Note: See TracChangeset
for help on using the changeset viewer.