• 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

Time zone doesn\'t change

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

Post a reply
5 posts • Page 1 of 1

Postby itsjareds » Sat Nov 24, 2007 6:46 pm

I try to change the time zone to +7, but it doesn't change at all. I rehashed and I refreshed plenty of times, but still nothing.

I think this is a bug. Anybody else notice this?

Also, how could I edit the "send" button to make it the default button for the user's browser?
Last edited by itsjareds on Sat Nov 24, 2007 11:22 pm, edited 1 time in total.
Later,
Jared

My site: ItsJareds.co.nr
itsjareds
Member
 
Posts: 13
Joined: Sat Nov 24, 2007 12:13 am
Location: North Carolina, USA
  • Website
Top

Postby captn_ron » Sun Nov 25, 2007 3:50 am

My time stamp was off by 4 hours. I entered this parameter into the initial chat.php which corrected the time offset.

$params['time_offset'] = 60*60*4; // offset in seconds


edit: hmmm come to find out my time was off by 16 hours. forgot about the 24hour clock. SO the following corrected my time.

$params['time_offset'] = 60*60*16; // offset in seconds
Last edited by captn_ron on Sun Nov 25, 2007 5:27 pm, edited 1 time in total.
I'm not a coder. I'm not even a hacker. At least hackers know what their doing...
captn_ron
Member
 
Posts: 12
Joined: Sun Nov 18, 2007 9:10 pm
  • Website
Top

Postby phpfreechat » Sun Nov 25, 2007 1:47 pm

itsjareds wrote:Also, how could I edit the "send" button to make it the default button for the user's browser?

What is a "default button" ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby captn_ron » Sun Nov 25, 2007 5:46 pm

kerphi wrote:What is a "default button" ?

I think he wants to know if he can change the appearance of the "click to send" button. That would be done with a theme by incorporating a graphic element.

itsjareds: dig around in the themes image directories, look for pfc_send.png. Then you'll have to do some editing of the input#pfc_send entery in the style.css.php file to tie it all together.

uh, I'm not a coder, I just hack around with existing files to attempt to get what I want... so if I'm wrong, somebody pleas slap me. heh

-captn ron
http://www.rcfreas.com
Last edited by captn_ron on Sun Nov 25, 2007 5:48 pm, edited 1 time in total.
I'm not a coder. I'm not even a hacker. At least hackers know what their doing...
captn_ron
Member
 
Posts: 12
Joined: Sun Nov 18, 2007 9:10 pm
  • Website
Top

Postby itsjareds » Sun Nov 25, 2007 6:50 pm

ahh :)

thanks a lot captn

But i still can't find where to actually change the button it uses. I have made a button and put it in themesimages and named it pfc_send.. but no cigar.

I've made some edits to the css, but i'm not sure if it's correct.

It's probably wrong.
Code: Select all
input#pfc_send {
}
input#pfc_send img {
url(images/pfc_send.png);
}

And I get at the top of my screen:
Warning: copy(C:JaredEasyPHPwwwsrc/../data/public/themes/Vistaimages
Thumbs.db) [function.copy]: failed to open stream: Permission denied in C:JaredEasyPHPwwwsrcpfctools.php on line 179
Last edited by itsjareds on Sun Nov 25, 2007 7:28 pm, edited 1 time in total.
Later,
Jared

My site: ItsJareds.co.nr
itsjareds
Member
 
Posts: 13
Joined: Sat Nov 24, 2007 12:13 am
Location: North Carolina, USA
  • Website
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 23 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