• 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

Themes

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

Post a reply
4 posts • Page 1 of 1

Postby chattunnel » Thu May 24, 2012 8:34 pm

I'm having trouble changing the theme?
Code: Select all
$params["theme"] = "/themes/green";
http://www.chattunnel.com/chat/ctchat.php
chattunnel
Member
 
Posts: 10
Joined: Fri May 11, 2012 3:16 pm
Location: http://www.chattunnel.com
  • Website
Top

Postby phpfreechat » Thu May 24, 2012 8:43 pm

maybe

$params["theme"] = "green";
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby chattunnel » Fri May 25, 2012 12:53 am

I tried but still the same default theme. http://chattunnel.com/phpfreechat-x.x/p ... ctchat.php
http://www.chattunnel.com/chat/ctchat.php
chattunnel
Member
 
Posts: 10
Joined: Fri May 11, 2012 3:16 pm
Location: http://www.chattunnel.com
  • Website
Top

Postby Myth024 » Thu Jun 14, 2012 5:14 pm

I've found that sometimes a /rehash doesn't always apply the correct theme. I've had to leave the chat site, clear my browser cache and cookies and then log back in.
If you've used the sql database integration as mentioned on these forums then I've found that you have to edit the settings.php file in the login folder to reflect the chat theme there and then make sure you have
Code: Select all
$params['theme']               = $chatTheme;

on the index page for it to work correctly.

It's also possible that you may need single quotes. So instead of
Code: Select all
$params["theme"]

you would need
Code: Select all
$params['theme'] = "green";

I've also made the mistake of forgetting to add a ; at the end of a params line lol
Myth024
Member
 
Posts: 19
Joined: Sun Jun 03, 2012 3:35 am
Top


Post a reply
4 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

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