Looking for a way to integrate your Sngine website with Grupo? No worries! We’ve got you covered. Connect your website and Grupo in a wave of a wand. Single sign-on functionality, allowing users to log in through Sngine and access Grupo without the need for separate authentication

  • Before getting started, Make sure you have installed Grupo in your hosting server. How to Install Grupo in your hosting server ?
  • To get started, go to Codecanyon and download the latest version of the Grupo Chat Script. It should download a single ZIP file.
  • Decompress the contents of the zip file downloaded from CodeCanyon to a folder on your computer.
  • Open the “Integrations/Sngine/” folder
  • Upload both the “grupo_bridge” folder and the “login_to_chatroom.php” file to your server in the Sngine directory.
  • Open the “grupo_bridge/grupo_config.php” file and modify the variables “$grupo_web_address” and “$grupo_api_secret_key” to match your Grupo web address and API secret key.
  • Note : For Grupo API Secret Key, Login to your Grupo Website > Select Settings > Select General Settings > Find “API Secret Key”

Try to access “your_sngine_site_address/login_to_chatroom.php.” When a logged-in user accesses this URL, they will be automatically logged into the Grupo website.

How to update user information (username, display name, email address, and avatar) on Grupo when updates are made in the Sngine platform.

1) Open the “includes/class-user.php” file within your Sngine folder.

2) Locate the “public function settings($edit, $args)” section.

3) Right before the closing curly bracket of the “settings” function, at approximately line 17976, insert the following code:

require(ABSPATH . 'grupo_bridge/grupo_update_user_info.php');

1) Open the “includes/ajax/users/image_crop.php” file located in your Sngine folder.

2) Scroll through the code and locate the comment “// return & exit.” Just above this comment, insert the following line:

require(ABSPATH . 'grupo_bridge/grupo_update_user_info.php');

How to delete a user on Grupo when a user deletes their account on the Sngine platform.

1) Open the “includes/class-user.php” file within your Sngine folder.

2) Locate the “public function delete_user($user_id)” section.

3) Right after the line that begins with “if ($can_delete) {“, insert the following code:

require(ABSPATH . 'grupo_bridge/grupo_delete_user.php');

Having trouble with Integration ?
Please feel free to contact us anytime. [email protected]. We are always there to help you out!