} elseif (!IS_MEMBER()) {
// Not logged in
LOAD_URL("modules.php?module=index");
-} elseif (!EXT_IS_ACTIVE("surfbar")) {
- // Extension "surfbar" is not active
+} elseif ((!EXT_IS_ACTIVE("surfbar")) && (!IS_ADMIN())) {
ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "surfbar");
return;
}
'surfbar_static_reward' => TRANSLATE_COMMA($_CONFIG['surfbar_static_reward']),
'surfbar_static_time' => CREATE_FANCY_TIME($_CONFIG['surfbar_static_time']),
'surfbar_static_lock' => CREATE_FANCY_TIME($_CONFIG['surfbar_static_lock']),
+ 'surfbar_total_urls' => SURFBAR_GET_TOTAL_URLS("ACTIVE", "0")
);
// In dynamic mode we need some more data