TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 25, 2024, 11:51:56 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,173
  • Total Topics: 21,219
  • Online today: 319
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 106
  • Total: 106

Karma Leaders Block

Started by Xarcell, October 25, 2005, 03:48:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nokonium

Quote from: IchBinâ„¢ on March 22, 2006, 12:57:26 AM
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.

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>';

Nokonium

Quote from: OnTap! on March 22, 2006, 05:07:13 AM

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

Thanks that is really appreciated  ;D