Hi
I've written some plugins for cacti087b, plugin architecture pre 2.x.
Trying to install those plugins fails on PA 2.0.
It won't even show up under "Utilities" or in User Management / Real Permission.
I copied "setup.php" from a working plugin and changed parts fitting my plugin.
But nothing.
Are there any other changes made?
Problems with old plugin
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
How did you get PIA 1.x working on Cacti 0.87b??
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
sorry, my mistake...
0.8.7a is the old version.
hmm, I see..
but the plugin should be visible under "utilities":
(setup.php)
or should the realm number >100?
0.8.7a is the old version.
hmm, I see..
but the plugin should be visible under "utilities":
(setup.php)
Code: Select all
function licconf_config_arrays () {
global $user_auth_realms, $user_auth_realm_filenames, $menu;
$user_auth_realms[77]='Configure Licenses';
$user_auth_realm_filenames['licconf.php'] = 77;
$temp = $menu["Utilities"]['logout.php'];
unset($menu["Utilities"]['logout.php']);
$menu["Utilities"]['plugins/licconf.php'] = "LicConfig";
$menu["Utilities"]['logout.php'] = $temp;
}
Who is online
Users browsing this forum: No registered users and 0 guests