• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Joomla, Drupal, and Wordpress (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

How to make work in Joomla 2.5

Integration help for Joomla, Drupal, and Wordpress

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
1 post • Page 1 of 1

Postby akb1982 » Wed Apr 18, 2012 5:16 pm

Hi,
Sorry if this is in the wrong place, but I got it working and wanted to share.
Just thought I would post a few steps to get this wonderful chat working in Joomla 2.5 or how I did it as jpfchat plug-in is no more, or I could not find it.
Step 0 => Backup Backup Backup!
Step 1, create a new template.
Setp 2, move contents of chat folder into template + update "templateDetails.xml" file to suit.
step 3, template index.php file is where you write all your chat setup including printing your chat.
Step 4, disable mootools in this new template (Google will help you)
step 5, make a new Article, give it this new template + attach to menu.
Step 6, add prams to your template index.php file:

// setup urls
$params["data_public_url"] = "http://YourURL/templates/YourTemplatName/data/public";
$params["server_script_url"] = "http://YourURL/templates/YourTemplatName/index.php";
$params["theme_default_url"] = "http://YourURL/templates/YourTemplatName/themes";
$params['prototypejs_url'] = 'http:/YourURL/templates/YourTemplatName/data/public/js/prototype.js';
$params['theme_url'] = "http://YourURL/templates/YourTemplatName/themes";

// setup paths
$params["container_type"] = "File";
$params["server_script_path"] = "FullPath/templates/YourTemplateName";
$params['theme_path'] = 'FullPath/templates/YourTemplateName/themes';
$params['data_public_path'] = 'FullPath/templates/YourTemplateName/data/public';
$params["data_private_path"] = "FullPath/templates/YourTemplateName/data/private";
//$params["container_cfg_chat_dir"] = "FullPath/templates/YourTemplateName/data/private/chat";
$params["proxies_path_default"] = "FullPath/templates/YourTemplateName/src/proxies";
$params["cmd_path_default"] = "FullPath/templates/YourTemplateName/src/commands";
$params["client_script_path"] = "FullPath/templates/YourTemplateName";
$params['theme_default_path'] = 'FullPath/templates/YourTemplateName/themes';

Ensure the phpFreeChat code is at the top of your file.

Upload and enjoy, note that mootools might be needed for some modules, but at least this chat is working :)
akb1982
New member
 
Posts: 1
Joined: Wed Apr 18, 2012 4:55 pm
Top

Post a reply
1 post • Page 1 of 1

Return to Joomla, Drupal, and Wordpress (v1.x)

Who is online

Users browsing this forum: No registered users and 6 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub