Plugin Directory

Changeset 2551221


Ignore:
Timestamp:
06/21/2021 06:48:16 AM (5 years ago)
Author:
atomchat
Message:

release 1.0.6

Location:
atomchat/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • atomchat/trunk/README.txt

    r2548965 r2551221  
    55Requires PHP: 5.6
    66Tested up to: 5.7
    7 Stable tag: 1.0.5
     7Stable tag: 1.0.6
    88License: GNU General Public License v2.0 or later
    99
     
    146146* Added role configuration for Memberpress membership plugin
    147147
     148= 1.0.6 =
     149* Added BuddyBoss Group Sync
  • atomchat/trunk/admin/atomchat-admin.php

    r2536984 r2551221  
    11<?php
     2
    23wp_enqueue_style("atomchat-admin", dirname(plugin_dir_url( __FILE__ )).'/css/atomchat-admin.css');
    34wp_enqueue_script("atomchat-event", dirname(plugin_dir_url( __FILE__ )).'/js/event.js');
     
    67
    78$isBuddyPressActive = '';
    8 if(!is_plugin_active('buddypress/bp-loader.php')){
     9if(!is_plugin_active('buddypress/bp-loader.php') && !is_plugin_active('buddyboss-platform/bp-loader.php')){
    910    $isBuddyPressActive = 'style="display:none;"';
    1011}
     
    2425            <li data-rel="atomchat_adminpanel" class="active menus"><a href="#atomchat_adminpanel">Admin Panel</a></li>
    2526            <li data-rel="atomchat_layoutsettings" class="menus"><a href="#atomchat_layoutsettings">Layout Settings</a></li>
    26             <li data-rel="atomchat_settings" class="menus"><a href="#atomchat_settings" <?php echo esc_attr($isBuddyPressActive); ?>>BuddyPress Settings</a></li>
     27            <li data-rel="atomchat_settings" class="menus"><a href="#atomchat_settings" <?php echo esc_attr($isBuddyPressActive); ?>>BuddyPress/BuddyBoss Settings</a></li>
    2728            <li data-rel="atomchat_auth" class="menus auth"><a href="#atomchat_auth">Authentication Settings</a></li>
    2829            <li data-rel="atomchat_MyCred" class="menus"><a href="#atomchat_MyCred" <?php echo esc_attr($isMyCredActive); ?>>MyCred Settings</a></li>
     
    7980            <div id="atomchat_settings" class="tab">
    8081                <p class="atomchat-go-para">
    81                     Extend AtomChat for BuddyPress!
     82                    Extend AtomChat for BuddyPress/BuddyBoss!
    8283                </p>
    8384                <p>
    84                     We’ve detected that you’re using BuddyPress. Here are some additional settings that you can configure:
     85                    We’ve detected that you’re using BuddyPress/BuddyBoss. Here are some additional settings that you can configure:
    8586                </p>
    8687                <table cellspacing="1" style="margin-top:20px;">
     
    101102                        <td width="550" style="padding-top: 20px;">
    102103                            <p class="atomchat-go-para">
    103                                 Synchronize BuddyPress Groups with AtomChat
    104                             </p>
    105                             <p>
    106                                 If you tick this option, we will create equivalent chat groups in AtomChat and add only those users part of your BuddyPress Group to it.
     104                                Synchronize BuddyPress/BuddyBoss Groups with AtomChat
     105                            </p>
     106                            <p>
     107                                If you tick this option, we will create equivalent chat groups in AtomChat and add only those users who are part of your BuddyPress/BuddyBoss Group to it.
    107108                            </p>
    108109                            <span class="atomchat-go-para">
     
    110111                            </span>
    111112                            <span>
    112                                 If you are facing trouble in syncing old Buddypress Groups with AtomChat, Please Deactivate the AtomChat plugin and Activate again.
     113                                If you are facing trouble in syncing old BuddyPress/BuddyBoss Groups with AtomChat, please Deactivate the AtomChat plugin and Activate again.
    113114                            </span>
    114115                        </td>
  • atomchat/trunk/atomchat-go.php

    r2544359 r2551221  
    3636
    3737    /** Check if buddypress intalled or not **/
    38     if(empty($isCometReady) && is_plugin_active('buddypress/bp-loader.php')){
     38    if(empty($isCometReady) && (is_plugin_active('buddypress/bp-loader.php') || is_plugin_active('buddyboss-platform/bp-loader.php'))){
    3939        update_option('atomchat_show_friends', 'true');
    4040        atomtchatCurlRequestToAPI('updateUserListSetting', array(
  • atomchat/trunk/atomchat.php

    r2548965 r2551221  
    44* Plugin Name: AtomChat
    55* Description: Voice, video & text chat for your WordPress site
    6 * Version: 1.0.5
     6* Version: 1.0.6
    77* Author: AtomChat
    88* Author URI: https://www.atomchat.com/
     
    1818
    1919/* Start: To change the default plugin load order to avoid buddypress plugin conflict */
    20 if(is_plugin_active('buddypress/bp-loader.php')){
    21     $currentPluginLoadOrder = get_option('active_plugins');
    22 
    23     foreach ($currentPluginLoadOrder as $key => $value) {
    24         if($value == 'atomchat/atomchat.php'){
    25             unset($currentPluginLoadOrder[$key]);
    26         }
    27     }
    28     end($currentPluginLoadOrder);
    29     $key = key($currentPluginLoadOrder);
    30     $currentPluginLoadOrder[$key+1] = 'atomchat/atomchat.php';
    31     update_option('active_plugins', $currentPluginLoadOrder);
    32 }
     20$currentPluginLoadOrder = get_option('active_plugins');
     21foreach ($currentPluginLoadOrder as $key => $value) {
     22    if($value == 'atomchat/atomchat.php'){
     23        unset($currentPluginLoadOrder[$key]);
     24    }
     25}
     26array_push($currentPluginLoadOrder, 'atomchat/atomchat.php');
     27update_option('active_plugins', $currentPluginLoadOrder);
    3328/* End: To change the default plugin load order to avoid buddypress plugin conflict */
    3429
  • atomchat/trunk/includes/atomchat_cloud.php

    r2548965 r2551221  
    154154            /** Check third party membership plugin for role */
    155155            $role = membershipRole($role);
     156
    156157            if(empty($avatar)){
    157158                $avatar = "";
     
    200201            $role = $current_user->membership_level->name;
    201202        }
    202 
     203       
    203204        // To get MemberPres Plugin Membership
    204205        if(is_user_logged_in() && class_exists('MeprUser')){
     
    215216    }
    216217}
    217 
    218218
    219219/**
     
    255255            }
    256256        }
    257 
    258257        /** Avatar configuration for DSP dating  */
     258
    259259        if(function_exists('display_members_photo')){
    260260            $avatar = get_site_url().'/wp-content/'.display_members_photo($current_user->ID, $imagepath);
     
    335335add_shortcode('atomchat', 'atomchatGetShortCode');
    336336
    337 if(is_plugin_active('buddypress/bp-loader.php') && ($groupSync === 'true')) {
     337if((is_plugin_active('buddypress/bp-loader.php') || is_plugin_active('buddyboss-platform/bp-loader.php')) && ($groupSync === 'true')) {
    338338    add_action('atomchat_buddypress_groups_sync_scheduler', 'atomchat_buddypress_groups_sync');
    339339    add_action( 'groups_group_create_complete',  'atomchat_buddypress_groups_sync' );
  • atomchat/trunk/js/atomchat-admin.js

    r2536984 r2551221  
    191191    });
    192192    /* End: Copying the docked layout shortcode */
     193
    193194});
Note: See TracChangeset for help on using the changeset viewer.