Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 12, 2022, 06:34:15 PM

Login with username, password and session length
Members
  • Total Members: 3842
  • Latest: Kokoro
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 50
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 0
Guests: 31
Total: 31

Author Topic: Karma Leaders Block  (Read 22235 times)

0 Members and 1 Guest are viewing this topic.

Offline Nokonium

  • Aging Hippie
  • Friends
  • *
  • Posts: 1384
    • Our-Local
Re: Karma Leaders Block
« Reply #30 on: March 21, 2006, 11:56:00 PM »
Maybe try setting some sizes on your tables or something. Its hard to say when I can't fiddle myself. :)

I went the other way and got rid of the tables, but still a blank block.

Code: [Select]
echo '<div style="padding: 5px;" class="smalltext">';

global $context, $settings, $options, $scripturl, $txt, $modSettings;

if( $modSettings['karmaMode'] == 1 )
{
echo '<span class="windowbg2"  width="80%" align="left">';

foreach($context['htkarma'] as $htkarma)
{
$total = $htkarma['Good'] - $htkarma['Bad'];'</span>';
echo '<span class="windowbg2" width="20%" align="right">'.$total.'</span>';
}
}
echo '</div>';

Offline Nokonium

  • Aging Hippie
  • Friends
  • *
  • Posts: 1384
    • Our-Local
Re: Karma Leaders Block
« Reply #31 on: March 21, 2006, 11:57:38 PM »

i will make a karma block... leave it with me  ;)

Thanks that is really appreciated  ;D

ontap

  • Guest
Re: Karma Leaders Block
« Reply #32 on: March 22, 2006, 04:55:47 AM »