Looking for a way to integrate your PlayTube 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 PlayTube 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/PlayTube/” folder
- Upload both the “grupo_bridge” folder and the “login_to_chatroom.php” file to your server in the PlayTube 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_playtube_site_address/login_to_chatroom.php.” When a logged-in user accesses this URL, they will be automatically logged into the Grupo website.
How do you update user information and delete users on Grupo when changes occur on PlayTube?
1) Navigate to the “ajax” folder (PlayTube) and locate the following file: “user.php”
2) Scroll down and search for the line containing “header(“Content-type: application/json”);”
3) Immediately before the “header(“Content-type: application/json”);” line, insert the following code:
require_once 'grupo_bridge/grupo_update_user_info.php';
So it appears as follows:
require_once 'grupo_bridge/grupo_update_user_info.php';
header("Content-type: application/json");
Having trouble with Integration ?
Please feel free to contact us anytime. [email protected]. We are always there to help you out!