• 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

How to contain this php chat in a neat box (table)

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

Post a reply
11 posts • Page 1 of 1

Postby panpan333 » Tue Oct 25, 2011 12:17 pm

Hi folks
I downloaded this and it works, but I dont like webpages that resize to window .. i find them messy and hard to work with in terms of working a design into the page.

I want the app window itself to be in a neat box.. so what i did was create a new project, then made a table of 850 x 400 (absolute locked down values).. i copy and pasted the app part of the php code over from index.php then pasted it into the table on my test page. I then saved it as index.html

the chat dosent work tho


Can someone help me work this out?
here is a link to a another chat app,
http://www.fractalscapes.net/btb/chat.html
you can see what i mean about it being in a nice neat box that is centered on page, that dosent resize. and is embedded into a table wher I can put a nice design around.
I am finding it difficult to work with php chat in the same way as the above link

can anyone help?
Last edited by panpan333 on Tue Oct 25, 2011 12:19 pm, edited 1 time in total.
panpan333
New member
 
Posts: 6
Joined: Tue Oct 25, 2011 12:09 pm
Top

Postby panpan333 » Tue Oct 25, 2011 12:59 pm

is there any other place on the internet i can get help with phpchat thing?
I just read some of the forum, and it looks completely dead.. many many many post from many years ago still not responded to

perhaps i could make more progress talking to a brick wall
panpan333
New member
 
Posts: 6
Joined: Tue Oct 25, 2011 12:09 pm
Top

Postby OldWolf » Wed Oct 26, 2011 3:33 am

panpan333 wrote:is there any other place on the internet i can get help with phpchat thing?
I just read some of the forum, and it looks completely dead.. many many many post from many years ago still not responded to

perhaps i could make more progress talking to a brick wall

Yup, these sort of posts will certainly get you help. You didn't even give us an hour to respond.

You could try phpfreaks or another php or html help site. This is the only site for support for phpfreechat, as this is where it's released (and it's not widely used, so other sites for it have not formed).
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby panpan333 » Wed Oct 26, 2011 1:55 pm

"Yup, these sort of posts will certainly get you help. You didn't even give us an hour to respond."

I whole heartily agree, there is little excuse other then to say I was having one incredibly bad day.
I have since remembered that you guys have firstly provided a great free applet and secondly providing free support via the forum, so who am I to come waltzing in here with my attitude

I do apologise to you and whoever might have noticed this too.

regards
pan

ps. thanks for the link/advice I shall follow up on it
panpan333
New member
 
Posts: 6
Joined: Tue Oct 25, 2011 12:09 pm
Top

Postby OldWolf » Thu Oct 27, 2011 4:53 am

Thank you for that response, we all have bad days or say things we realize later might not have been fair... no harm done. I appreciate that you recognized that everything here is provided voluntarily as well. :)

To answer your question, the file has to be saved as a .php in order for the server to know it has to parse the php in it before displaying it. Saving it as html will send the entire contents, without interaction in the php engine, to your client. Start by changing it to a .php file and then post a link to your results if it's still not working.
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby panpan333 » Fri Oct 28, 2011 3:52 pm

Hi there oldwolf, hows things.
Thanks for the reply again.. yup.. i must state first tho I dont have a clue about programming or scripting of any sort, so Im not really sure what Im doing. When im messing about with designing websites or web content.. I do it visualy with things like dreamweaver or flash.. when it comes to all the "backend" tech stuff im pretty clueless.

Basically what im trying to achieve is something like this:
http://www.fractalscapes.net/btb/chat.html
You notice the actual chat window is contained in an absolute sized table/frame. that auto centres to the page. I could then build a design around it. ( I will of course have your logo/link built into the design somewhere)
I know what phpfreechat has already is perfectly good, its just Im trying to "theme" the chat page to the rest of the website, so ide rather the chat window not rezise to window.

Anyway, actually I did try firstly to rename the html to php.. but I still wasnt working.

Also, and i relies this isnt in context to this thread title,.. I noticed when viewing a test page in IE the text was messed up a bit, the nick list wasnt displaying, and there was alot of boxes with red X's .. whereas in FF it seems to be looking ok according to what im seeing in dreaweaver. I did find a post here relating to this issue or at least I assumed it sounded like it was in relation to this problem, so as advised i added the line:
<meta http-equiv=“X-UA-Compatible” content=“IE=7” />

into the top part of the html in my index.php file (I assumed the post was refaring to that file) ..

hence the top part of the html part looks like this right now:
__________________________________________________
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<meta http-equiv=“X-UA-Compatible” content=“IE=7” />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>phpFreeChat- Sources Index</title>
_______________________________________________________

After doing that, IE looks the same as it was
http://www.fractalscapes.net/phpchat/01.jpg

This is FF
http://www.fractalscapes.net/phpchat/02.jpg

.. but as I said, i really dont even know if im doing this right :/

anyway.. hope you are someone could give me some advice on how to tackle both issues.

regards
pan
Last edited by panpan333 on Fri Oct 28, 2011 3:54 pm, edited 1 time in total.
panpan333
New member
 
Posts: 6
Joined: Tue Oct 25, 2011 12:09 pm
Top

Postby OldWolf » Fri Oct 28, 2011 4:23 pm

Actually, this is unrelated to the IE bug... what you're seeing is your browser saying that it can't find any of the images for your chat. IE just renders that error differently that FF (IE shows the x's, FF just doesn't display anything). Did you change the structure of your chat folder?
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby panpan333 » Fri Oct 28, 2011 5:10 pm

hi there oldwolf :)

Well im pretty sure i didnt change any folder names or structure.. however I did mess about with index.php and a couple of other php files in the style folder, one of them being content.php .. (I was messing about with them hoping to solve the first issue)...

however on noticing the IE issue i did unzip a fresh copy of phpfreechat, and then delete root folder off my server.. then re-uploaded the whole thing freshly .. but still noticed IE doing its thing.. but i guess now that you mention it .. in FF isnt there meant to be smilies? I did wonder about that, but thought the text was ok.

Anyway.. I must have messed up somewhere while trying to get it into a table.

I guess i can try making new folder on my server and upload another fresh version of phpfree chat.
panpan333
New member
 
Posts: 6
Joined: Tue Oct 25, 2011 12:09 pm
Top

Postby OldWolf » Sat Oct 29, 2011 3:34 am

Well, it would be a lot easier if we could see your code and chat... I'm kind of having to just take guesses at the moment.
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby Von » Tue Dec 20, 2011 12:30 pm

Im having the same problem. Ive used the chat within a fixed table. It has fixed size. 720 in width.
0 top,30 left. I dont want to create my own stylesheet ( .css ) to customize my chat to fit into the
size of my website. any help with this ?
Von
New member
 
Posts: 6
Joined: Mon Dec 19, 2011 3:39 am
Top

Postby Von » Tue Dec 20, 2011 3:44 pm

Hi again. anybody please help what part of the style.css to fix so that my phpfreechat will not look like a rubberband Stretching before it fits into my table where chat is.

my table has fixed size. 720 in width.
0 top,30 left. I dont want to create my own stylesheet ( .css ) to customize my chat to fit into the
size of my website. any help with this ?
Von
New member
 
Posts: 6
Joined: Mon Dec 19, 2011 3:39 am
Top


Post a reply
11 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

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