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

I need help embedding the chat

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

Post a reply
5 posts • Page 1 of 1

Postby haloflooder » Mon Jan 17, 2011 3:41 am

PFC Version: 1.3
PHP Version: 5

Shared or Dedicated Hosting: http://74.96.203.13:85/ (self hosting)
Link to your website: http://www.izfas.org

Are you able to reproduce the issue on the official demo (http://www.phpfreechat.net/demo)?
no

Have you set any parameters?
no
If so, please include your entire code, using the [code ] and[/code ] tags (without the space).

What is the issue you are experiencing in detail?
I tried to embed the chatroom into a webpage but I don't know how to do it. I looked at the other forum topics but those topics didn't help me at all

Is there a way to embed the chatroom into a zetaboards page?
haloflooder
New member
 
Posts: 3
Joined: Sun Jan 16, 2011 11:39 pm
Top

Postby haloflooder » Tue Feb 01, 2011 3:40 am

[BUMP]
I seriously need to get this chatroom up and running in the forum! Please help me!
haloflooder
New member
 
Posts: 3
Joined: Sun Jan 16, 2011 11:39 pm
Top

Postby Calman45 » Tue Feb 01, 2011 9:22 am

Hi haloflooder,

If you give me more of an idea what you are trying to achieve, I'll do my best to help.

Info on where you are trying to place your chat (standalone, or embedded into your own webpage) ... keeping in mind, it has to be saved as a PHP file, where your Web Host/Server supports PHP scripting.

All the best,
Cal :)
Calman45
Support Team
 
Posts: 150
Joined: Sun Oct 26, 2008 11:09 pm
Location: Western Canada
  • Website
Top

Postby haloflooder » Wed Feb 16, 2011 10:45 pm

Sorry about the late reply. I'm trying to embed the chat ONTO the forum's webpage. I use Zetaboards and I don't know how to embed the chat onto a webpage.
haloflooder
New member
 
Posts: 3
Joined: Sun Jan 16, 2011 11:39 pm
Top

Postby unixguru » Sat Mar 19, 2011 6:54 am

Haloflooder, I did the following and it worked, not sure if zetaboards will get in the way of this or not.

In the directory with the page you want to embed the chat window in, copy these
directories from PFC:

style src themes misc lib i18n data

and the file version.txt

In the page you want to embed the chat in, include the following sections from
the index.php in the main PFC directory:

Everything from the first <?php to the first ?>

Everything in the head section (merge it with your own head section)
Note: The index.php head section uses the $params to create the title. Keep
this instead of your own title - when a user has the page out of focus and a
new message arrives, PFC adjusts the title to show a [#]. If you replace the
title with your own static one, that functionality goes away.

At the point you want the chat, put the line

<?php $chat->printChat(); ?>

And the chat will show up on your page.

Hope this helps.
unixguru
New member
 
Posts: 1
Joined: Sat Mar 19, 2011 6:37 am
Top


Post a reply
5 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 7 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