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?

September 24, 2022, 04:52:08 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 193513
  • Total Topics: 21092
  • Online today: 38
  • Online ever: 3540
  • (September 02, 2022, 06:38:54 PM)
Users Online
Users: 0
Guests: 31
Total: 31

Author Topic: Karma Leaders Block  (Read 22310 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 »