Changeset 2701032
- Timestamp:
- 03/29/2022 07:14:00 AM (4 years ago)
- Location:
- atomchat
- Files:
-
- 43 added
- 4 edited
-
tags/1.1.0 (added)
-
tags/1.1.0/README.txt (added)
-
tags/1.1.0/admin (added)
-
tags/1.1.0/admin/atomchat-admin.php (added)
-
tags/1.1.0/admin/atomchat-auth.php (added)
-
tags/1.1.0/admin/atomchat-ready.php (added)
-
tags/1.1.0/api (added)
-
tags/1.1.0/api/v1 (added)
-
tags/1.1.0/api/v1/atomchatLogin.php (added)
-
tags/1.1.0/atomchat-go.php (added)
-
tags/1.1.0/atomchat.php (added)
-
tags/1.1.0/css (added)
-
tags/1.1.0/css/admin.css (added)
-
tags/1.1.0/css/atomchat-admin.css (added)
-
tags/1.1.0/css/atomchat-auth.css (added)
-
tags/1.1.0/css/atomchat-ready.css (added)
-
tags/1.1.0/css/atomchatstyle.css (added)
-
tags/1.1.0/css/installer.css (added)
-
tags/1.1.0/images (added)
-
tags/1.1.0/images/atom_chat_black_ icon.png (added)
-
tags/1.1.0/images/atom_chat_black_ main_icon.png (added)
-
tags/1.1.0/images/atom_chat_black_icon_logo.png (added)
-
tags/1.1.0/images/atom_chat_white_ icon.png (added)
-
tags/1.1.0/images/atom_chat_white_main_ icon.png (added)
-
tags/1.1.0/images/atomchat_auth.png (added)
-
tags/1.1.0/images/docked_layout.png (added)
-
tags/1.1.0/images/docked_layout.svg (added)
-
tags/1.1.0/images/logo white.png (added)
-
tags/1.1.0/includes (added)
-
tags/1.1.0/includes/atomchat_cloud.php (added)
-
tags/1.1.0/includes/atomchat_requesthandler.php (added)
-
tags/1.1.0/includes/atomchat_selfhosted.php (added)
-
tags/1.1.0/installer.php (added)
-
tags/1.1.0/js (added)
-
tags/1.1.0/js/atomchat-admin.js (added)
-
tags/1.1.0/js/atomchatscript.js (added)
-
tags/1.1.0/js/checkcurl.js (added)
-
tags/1.1.0/js/event.js (added)
-
tags/1.1.0/js/installer.js (added)
-
tags/1.1.0/js/scripttag.js (added)
-
tags/1.1.0/plugins (added)
-
tags/1.1.0/plugins/mycred (added)
-
tags/1.1.0/plugins/mycred/credits.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/atomchat.php (modified) (1 diff)
-
trunk/includes/atomchat_cloud.php (modified) (1 diff)
-
trunk/plugins/mycred/credits.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
atomchat/trunk/README.txt
r2654232 r2701032 4 4 Requires at least: 4.7 5 5 Requires PHP: 5.6 6 Tested up to: 5. 87 Stable tag: 1. 0.96 Tested up to: 5.9 7 Stable tag: 1.1.0 8 8 License: GNU General Public License v2.0 or later 9 9 … … 168 168 * Added Username setting 169 169 * Added role configuration for PremiumPress 170 171 = 1.1.0 = 172 * Sanitized Avatar URL -
atomchat/trunk/atomchat.php
r2621271 r2701032 4 4 * Plugin Name: AtomChat 5 5 * Description: Voice, video & text chat for your WordPress site 6 * Version: 1. 0.96 * Version: 1.1.0 7 7 * Author: AtomChat 8 8 * Author URI: https://www.atomchat.com/ -
atomchat/trunk/includes/atomchat_cloud.php
r2621271 r2701032 296 296 } 297 297 298 /** Filtering Avatar URL */ 299 if(!empty($avatar) && strpos($avatar, '&') !== false){ 300 $newAvatar = explode('&', $avatar); 301 $avatar = $newAvatar[0]; 302 } 303 /** Filtering Avatar URL */ 304 298 305 $avatar = !empty($avatar) ? $avatar : ''; 299 306 return $avatar; -
atomchat/trunk/plugins/mycred/credits.php
r2536984 r2701032 42 42 $interval = "minute"; 43 43 $creditToDeduct = array(); 44 $timeCounter = "";44 $timeCounter = array(); 45 45 $isGroup = ""; 46 46 $to = ""; … … 111 111 112 112 if(!empty(get_transient('timer'.$id))){ 113 $timeCounter = get_transient('timer'.$id);113 $timeCounter[$type.$name.$id.$isGroup] = get_transient('timer'.$id); 114 114 }else{ 115 115 $timeCounter[$type.$name.$id.$isGroup] = 0; … … 129 129 }elseif(!empty($credits["credits"]) && $credits["credits"] >= $amount && $name != "Text"){ 130 130 $timeCounter[$type.$name.$id.$isGroup] = time(); 131 set_transient('timer'.$id,$timeCounter ,60 * 24);131 set_transient('timer'.$id,$timeCounter[$type.$name.$id.$isGroup] ,60 * 24); 132 132 $balance = mycred_subtract( 'Message', $userid, $amount, $message ); 133 133 $result["success"] = true;
Note: See TracChangeset
for help on using the changeset viewer.