NYCdev
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Plugins
In reply to: [Wise Chat] Chat for buddypress groupsHi Georgi.io I created a plugin to add Wise Chat to BuddyPress Groups, https://github.com/gil–/bp-wisechat let me know if this helps.
Forum: Plugins
In reply to: [Wise Chat] BuddyPress Groups IntegrationOk, I created a very simple plugin to dynamically create and add Wise Chat to BuddyPress groups: https://github.com/gil–/bp-wisechat
Still not sure if it will be possible to grant Group admins the ability to remove chat messages and ban users.
Forum: Plugins
In reply to: Updating current session data?figured it out.
/* * Update last activity for a user */ add_action( 'init', 'update_session_activity' ); function update_session_activity() { if ( is_user_logged_in() ) { $manager = WP_Session_Tokens::get_instance( get_current_user_id() ); $token = wp_get_session_token(); $current_user_session = $manager->get( $token ); // update last activity to current server time $current_user_session['last_activity'] = time(); // update current session with new activity time $manager->update($token, $current_user_session); } }Forum: Plugins
In reply to: [WooCommerce] Remove Stock/Inventory FunctionaliyAh brilliant! Thank you for the insanely quick reply.
Forum: Plugins
In reply to: [WooCommerce] Remove Stock/Inventory FunctionaliyAwesome, thanks!
Any idea what the best approach for renaming “Product(s)” to “Game(s)” would be? Do I need to change every value in the language files? If so, was not quite sure where the files should go to not get over-written on plugin update.
Viewing 5 replies - 1 through 5 (of 5 total)