Hey,
I think I got the issue. Please reinstall the plugin now and see if you still get the same error.
Thank you so much for your feedback.
Calin
Thread Starter
SiKth
(@sikth)
Hi, sorry, same error.
I get it when I update the page. If I remove the plugin, save the page with the shortcode, activate the plugin and show the page everything is there but totally without css.
EDIT: Off course I get the same error when I’m reload the page frontend.
Thank you!
Hey,
Please try to reinstall it now …
Thanks
Calin
Thread Starter
SiKth
(@sikth)
Well, its getting better 🙂
Now the [starbox] work as expected. But not the [starbox id=X]. No error message, just looks strange, listed, like its without CSS. Tell me if you want a screenshot.
From earlier post, the PHP solution with <?php echo starBoxShow( X ); ?> works, and if i put the code (Listed below for reference) in my functions.php file and then <?php echo starBoxShow( <ANY NUMBER> ); ?> in a page template, then the [starbox id=X] works on the page with this template.
Tried to put 0 in the php, then the pageauthor shows and all the [starbox id=X] works great.
I am very thankful for this support! Fantastic! 🙂
add_action('init','starBoxCustom');
function starBoxCustom(){
if (!class_exists('ABH_Controllers_Frontend'))
return;
ABH_Classes_ObjController::getController('ABH_Controllers_Frontend')->custom = true;
}
function starBoxShow($user_id) {
if (!class_exists('ABH_Controllers_Frontend'))
return;
ABH_Classes_ObjController::getController('ABH_Classes_Tools');
$theme = ABH_Classes_Tools::getOption('abh_theme');
$str = '';
$str .= '<script type="text/javascript" src="' . _ABH_ALL_THEMES_URL_ . $theme . '/js/frontend.js?ver=' . ABH_VERSION . '"></script>';
$str .= '<link rel="stylesheet" href="' . _ABH_ALL_THEMES_URL_ . $theme . '/css/frontend.css?ver=' . ABH_VERSION . '" type="text/css" media="all" />';
$str .= ABH_Classes_ObjController::getController('ABH_Controllers_Frontend')->showBox($user_id);
return $str;
}
It should work in 1.0.6.
Please send me the URL so I can see the html code.
[starbox id=ID] or [starbox id=login_name]
Kind regards
Calin
Thread Starter
SiKth
(@sikth)
The login_name works! And thats good enough for me 🙂 Thank you very much!
5 star coming..
Here is the link: http://mroffshore.se/om-2/