• 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

utchat - new room via URL?

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 p2d » Thu Mar 27, 2008 12:49 am

How do I do this with utchat?


"By default, the “channel” parameter is auto-generated (based on the “title” parameter), but it's possible to specify it in order to create totally independents channels.

To handle multiple independent channels into one script passing the channel name by URL, just configure the chat like this :

$params["serverid"] = md5(__FILE__);
$params["channel"] = $_GET["channel"];
$chat = new phpFreeChat($params);
[...]

When browsing the script, for example http://.../mychat.php?channel=myroom, a totally private chat will be created and data will be stored into “phpfreechat/data/private/chat/myroom/”. "
p2d
New member
 
Posts: 1
Joined: Thu Mar 27, 2008 12:33 am
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 2 guests

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