Results 1 to 9 of 9

Thread: Add integrated chat rooms to your template FREE!

  1. #1
    Join Date
    Mar 2008
    Location
    Dayton, Ohio
    Posts
    52

    Default Add integrated chat rooms to your template FREE!

    Ok so I have seen other topics in here about members asking how to add chat to their site. Instead of tossing this tutorial within their mess, I just added this topic. Bare with me because I have written tutorials before and always seem to make a typo or forget something. If you have any issues let me know and I will try to help. Also, the chat provider has customer support which isn't too bad. Ok here we go.

    I added Userplane chat to my website. I have used this software several other times in many of my other websites, even adult. Now the best thing about Userplane is that you can integrate it to work with your database AND it's free. Oh, and it has audio and video! Woo Hoo!

    Remember, I am writing this from memory and sometimes I tend to forget things so hit me up if something is wrong.

    Step One -
    Go to Userplane's Wiki and download the 'Example Code' and be prepared to unzip them. Now unzip the Userplane_Webchat2 folder. Note: If you don't have software for unzipping, find WinRAR.exe. It's probably on Download.com. Now open up your FTP to your root directory. Don't upload anything until the next step. :) Just to keep things in order.

    Step Two -
    Now I am going to hand you over to Userplane's docs to instruct you more. This will be better for you and easier for me. Go to Userplane's Steps to Integration and follow their instructions. Please don't just skim through it quickly because you are excited to add chat to your site. Read this thoroughly. When you are ready to upload the 'userplane' directory(folder), make sure you use PHP since that is what vshare is written in. Oh and make sure everything is inside of it that you need and just keep it called 'userplane'. Make sure to update the strFlashcomServer, strDomainID, strSessionGUID variables. And make sure....make sure...make sure....lol that's a lot of 'make sures'. sorry

    Now that you have read through the instructions and uploading everything you need FTP, you are probably wondering how to add the strSessionGUID variable. Open userplane/wc.php and add the following code to the top of the file.
    Code:
    <?php
    	require("../include/config.php");
    	require("../include/function.php");
    Now go down to about line 11 where you see -
    Code:
    	$strSessionGUID = '';          // The session identifier for the currently logged in user
    and add the username session. So it will look like this.
    Code:
    	$strSessionGUID = $_SESSION['USERNAME'];          // The session identifier for the currently logged in user
    Step Three -
    Open up the userplane/CSXML.php file. Go down to about line 160-165, some where around there and you will see this code
    Code:
    // This first section is all about authenticating a sessionGUID that gets passed in
    					$sessionGUIDsUserID = "INVALID";
    					// Only validate the URL.sessionGUID if it is there, otherwise this could just be a data request for other users
    					if( strlen(trim($strSessionGUID)) != 0 )
    					{
    						$bSessionGUIDIsValidSession = true; // You need to put something in here that sets this boolean accurately
    						if( $bSessionGUIDIsValidSession )
    						{
    							$sessionGUIDsUserID = "639742"; // You need to lookup the userID that corresponds to the sessionGUID
    							$userIDArray[] = $sessionGUIDsUserID;
    						}
    					}
    There are a few things you need to change here. See below.
    Code:
    // This first section is all about authenticating a sessionGUID that gets passed in
    					$sessionGUIDsUserID = $strSessionGUID;
    					// Only validate the URL.sessionGUID if it is there, otherwise this could just be a data request for other users
    					if( strlen(trim($strSessionGUID)) != 0 )
    					{
    						$bSessionGUIDIsValidSession = $sessionGUIDsUserID; // You need to put something in here that sets this boolean accurately
    						if( $bSessionGUIDIsValidSession )
    						{
    							$sessionGUIDsUserID = $strSessionGUID; // You need to lookup the userID that corresponds to the sessionGUID
    							$userIDArray[] = $sessionGUIDsUserID;
    						}
    					}
    Step Four -
    One you have uploaded the correct files and updated them with the correct variables. Email Userplane and tell them the request info from their docs in their step 7. Email Support for Account Creation. It will take about a day for them to set up your flash sever on their end and they will email you when its finished. Once you receive the email, you will need to add a link to your site. I removed the silly 'TAGS' link from my site and replaced it with the 'CHAT' link. I believe this is done in the templates/header.tpl file. Make sure if you are going to use their FREE software that you place THEIR ads at the bottom on your chat room. To do this just have the CHAT link open the userplane/wc_ads.php file. Note: Make sure that all links, include functions, and iframes point to the correct file location which all your files(except for CROSSDOMAIN.XML) should be inside your userplane directory (http://YOURDOMAIN.com/userplane/).

    I think I am done but I am sure I thought tons of things so just reply and i will try to help.

    If you want to customize your chat room look or add additional features to it like images, buddylist, instant messenger, edit the userplane/CSXML.php file or just read through userplane's docs or even give them a call.

    Hope no one has any problems. :)

  2. #2
    Join Date
    Nov 2008
    Posts
    3

    Default Re: Add integrated chat rooms to your template FREE!

    Can you help me to set it up for my website at www.deaf-bikers.net/index.php to add chat rooms? I dont understand web develop myself no good...

  3. #3
    Join Date
    Mar 2008
    Location
    Dayton, Ohio
    Posts
    52

    Default Re: Add integrated chat rooms to your template FREE!

    hmmm...well I tried to write those steps the best I could. If you run into any issues just let me know and I will do my best to help you.

  4. #4
    Join Date
    Nov 2008
    Posts
    3

    Default Re: Add integrated chat rooms to your template FREE!

    I can't put any rish in my website. I rather perfer for someone who know how to set it up for me. Let me know....Tonight, I just found web develop help me it out... thanks for offering. Clifon

  5. #5
    Join Date
    Mar 2008
    Location
    Dayton, Ohio
    Posts
    52

    Default Re: Add integrated chat rooms to your template FREE!

    I will be contacting you. Thanks

  6. #6
    Join Date
    Aug 2009
    Posts
    1

    Default

    Hi cobralv!

    Did you manage to get the chat room on your website?

    If not you could try this free live chat software. It only takes less than 5 minutes to set up and is straight forward.

    I've got it on my own website so if you need any help just email or pm me :)

    Michael

  7. #7

    Default

    I am new to this forum so can you explain about the live chat?
    .............

  8. #8
    Join Date
    Apr 2010
    Posts
    3

    Default

    From the concern information,I come to know the basic way to install and merge the integrated chat room to the template for free.I hope all other get the new basic information that how to add the chat application in the HTML and supported views.

  9. #9
    Join Date
    Nov 2009
    Posts
    3

    Question didn't work in 2.8

    its now working in 2.8, if i goto http://mydomain.com/usaerplane/wc.php give error

    PHP Code:
    Fatal error:  Cannot redeclare check_admin_login() in /home/mydomain/public_html/include/functions.php on line 5 
    did some one integrated or can help plz

Similar Threads

  1. NEW! Modified Highly Graphical User Profile Template FREE
    By Blazingeagle in forum Template Modifications
    Replies: 10
    Last Post: 04-23-2012, 12:25 PM
  2. Live Chat Room
    By GreenGambler in forum Feature Requests
    Replies: 3
    Last Post: 04-12-2010, 06:12 AM
  3. Any free template?
    By nitramf in forum General Discussions
    Replies: 1
    Last Post: 01-01-2009, 07:19 PM
  4. Free of Youtube Niche Video Script template download it ?
    By lovepzt in forum Template Modifications
    Replies: 0
    Last Post: 08-17-2008, 03:24 PM
  5. chat and forums
    By harvey in forum General Discussions
    Replies: 3
    Last Post: 11-29-2007, 02:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •