Try making a new PHP block with the following in it:
function display_tags_block()
{
// For TaggingSystem2.4.3
// System created by vbgamer45
global $txt, $smcFunc, $modSettings, $scripturl, $context, $user_info;
if (!isset($modSettings['smftags_set_cloud_tags_to_show']))
echo 'There are no tags to show...';
echo '
<div align="center">';
$result = $smcFunc['db_query']('', '
SELECT
t.tag AS tag, l.ID_TAG, COUNT(l.ID_TAG) AS quantity
FROM {db_prefix}tags as t, {db_prefix}tags_log as l WHERE t.ID_TAG = l.ID_TAG
GROUP BY l.ID_TAG
ORDER BY l.ID DESC
LIMIT {int:limit}',
array(
'limit' => $modSettings['smftags_set_cloud_tags_to_show'],
)
);
$tags = array();
$tags2 = array();
while ($row = $smcFunc['db_fetch_assoc']($result))
{
$tags[$row['tag']] = $row['quantity'];
$tags2[$row['tag']] = $row['ID_TAG'];
}
if (count($tags2) > 0)
{
$max_size = $modSettings['smftags_set_cloud_max_font_size_precent'];
$min_size = $modSettings['smftags_set_cloud_min_font_size_precent'];
$max_qty = max(array_values($tags));
$min_qty = min(array_values($tags));
$spread = $max_qty - $min_qty;
if (0 == $spread)
$spread = 1;
$step = ($max_size - $min_size)/($spread);
$context['poptags'] = '';
$row_count = 0;
foreach ($tags as $key => $value)
{
$row_count++;
$size = $min_size + (($value - $min_qty) * $step);
// uncomment if you want sizes in whole %:
// $size = ceil($size);
$context['poptags'] .= '<a href="' . $scripturl . '?action=tags;tagid=' . $tags2[$key] . '" style="font-size: ' . $size . '%" title="' . $value . ' things tagged with ' . $key . '">' . $key . '</a> ';
if ($row_count > ($modSettings['smftags_set_cloud_tags_per_row'] - 1))
{
$context['poptags'] .= '<br />';
$row_count = 0;
}
}
}
if (isset($context['poptags']))
echo $context['poptags'];
echo '
</div>';
}
display_tags_block();