We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Dashboard vs. Index - User Credits | Forum

Musik
Musik Jan 8 '16
Hello, my site does not use the Dashboard due to loading/speed issues. Is it possible to have credit total for users appear on the Index? I attempted to edit the activate.php file with the following lines of code since this method works for other plugins but no luck so far.


$widgetService = BOL_ComponentAdminService::getInstance();$widget = $widgetService->addWidget('USERCREDITS_CMP_MyCreditsWidget', false);$placeWidget = $widgetService->addWidgetToPlace($widget, BOL_ComponentService::PLACE_INDEX);$widgetService->addWidgetToPosition($placeWidget, BOL_ComponentService::SECTION_LEFT);


Any guidance is appreciated. Thanks!

Musik
Musik Jan 10 '16
Nevermind, fixed this. The final step is add that code and then disable/enable the plugin.
You do not have permission to reply this topic