Advertisement:

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

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • 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
Coding Guidelines       

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,161
  • Gender: Male
Re: [Theme] Amber (SMF v1.1RC1 - v1.1RC2)
« Reply #242 on: January 10, 2008, 09:47:49 AM »