Quote:
Originally Posted by Juggernaut
Got it to work just like you said, all I had to do was place that vb widget, and it worked from then on, however if I make changes in the settings, I have to do the same thing over again, and I also have to clear the cms cache.
|
Thanks, you've confirmed my suspicion about what was going wrong. I've got a fix; will release once I've tested it some more. For now, if you try going into packages/topposters/widget/topposters.php and add the following:
require_once DIR . "/includes/functions_user.php";
require_once DIR . '/includes/functions.php';
after:
if($cachedata)
{
$view->class = $cachedata['class'];
$view->title = $view->widget_title = $cachedata['title'];
$view->description = $cachedata['description'];
$view->users = $cachedata['users'];
$view->type = $cachedata['type'];
$view->user = $cachedata['user'];
$view->useravatar = $cachedata['useravatar'];
return;
}
it should fix the issue.