Advertisement:

Author Topic: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)  (Read 176988 times)

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,116
  • Gender: Male
  • I don't speak German.
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #240 on: September 16, 2007, 08:54:36 PM »
The text variable may be empty, or not be installed properly. But you can bypass that just by changing the variable to hard coded text. The only problem with this is that if you use other languages it will still show Chat, and it won't be in their language.
Code: [Select]
// FlashChat!
if ($context['user']['is_logged'])
echo $tab1, $ca== 'chat' ? '1' : '2' , '"><a href="', $scripturl, '?action=chat">Chat</a></td>';
IchBin™        TinyPortal

Offline lemur21

  • Jr. Member
  • **
  • Posts: 190
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #241 on: September 16, 2007, 09:40:12 PM »
And, of course, that worked...

You guys are great! Thanks so much!!!

Chris

Offline Deaks

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 22,531
  • Gender: Male
    • trekkiesforyes on Facebook
    • pouvik on GitHub
    • @trekkies4yes on Twitter
    • YES
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #242 on: January 10, 2008, 09:47:49 AM »