PHPOpenChat PHP Cross Reference Customer Relationship Management

Source: /contrib/yabbse/README - 59 lines - 2221 bytes - Text - Print

   1  Integration of the PHPOpenChat (POC) into YabbSE
   2  
   3  What I have to do to integrade the POC into my YaBBSE-installation?
   4  
   5  1) Upload the image file 'button_poc.gif' to -> /path_to_forum/YaBBImages/
   6  2) Setup the following properties within the file 'poc.php'
   7  
   8  $poc_doc_root  = '/phpopenchat'; // directory name of your POC installation
   9  $poc_root_path = './../phpopenchat'; // the relative path from YaBBSE installation to POC installation
  10  
  11  Example:
  12  you have YaBBSE in the directory 'forum' and 
  13  your POC in the directory chatb7 already installed.
  14  In this case, your setup must look like as follows:
  15  
  16  $poc_doc_root  = '/chatb7';
  17  $poc_root_path = '../chatb7/';
  18  
  19  Upload the file 'contrib/yabbse/poc.php' into the yabbse install directory
  20  
  21  3) Adaptation of YaBBSE's menu. Go on as follows:
  22  
  23  edit the file 'path_to_forum/Sources/Subs.php'
  24  search for:
  25  $yymenu .= "$menusep<a href=\"$cgi;action=shownotify\">$img[notification]</a>";
  26  
  27  Insert the following code below this line:
  28  $yymenu .= "$menusep<a href=\"poc.php\"><img src=\"$imagesdir/chat.gif\" alt=\"Let's go into the chat!\" width=\"45\" height=\"22\" border=\"0\"></a>";
  29  
  30  Now a chat-button is available for registered member. Guests doesn't get
  31  access to the chat.
  32  
  33  Some relevant properties of POC's 'config.inc.php':
  34  Example 1: You want that only registered users of yabbse can access the chat.
  35  Guests must register to be able to chat.
  36  
  37  define('ALLOW_GUEST_LOGIN',false);
  38  define('SEND_CONFIRMATION_MAIL', false);
  39  define('AUTOLOGIN_DIRECTLY', true);
  40  
  41  okay, users can login to the chat only if they are registered user of yabbse.
  42  
  43  Beispiel 2: You want that
  44              - yabbse's registered users are able to chat,
  45              - users are able to register for the chat only
  46              - guests can access the chat without a yabbse membership.
  47  
  48  define('ALLOW_GUEST_LOGIN',true);
  49  define('SEND_CONFIRMATION_MAIL', true); //switch to false if you don't like registration mails.
  50  define('AUTOLOGIN_DIRECTLY', false);
  51  
  52  With this setup, the POC is successfully integrated into yabbse. 
  53  Users are able to use the chat without registring to the yabbse forum.
  54  Also guest-access is anabled.
  55  
  56  For more informations see the support-forum at http://www.phpopenchat.de/
  57  
  58  HTH
  59  POC-Support-Team

title

Description

title

Description

title

Description

title

title

Body