Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue Jul 23, 2019 8:31 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Banner-Instant messaging plugin
PostPosted: Mon Nov 12, 2007 6:50 pm 
Offline
Cacti User

Joined: Thu Sep 29, 2005 5:03 am
Posts: 324
Location: switzerland
Banner version 0.2

Here a new simple plugin. It shows a banner at the top of cacti and all plugins (scrolling, blinking or not, with picture).

used for:
When some office are not together or for a another group and your want give a feed back
like "maintenance", "location X because of power outage", "don't panic we are working on this problem".
or something else.

features:
- changing the banner by clicking on the banner (user with rights) or under "Configuration Settings/Misc"
- add a picture in the banner
- scrolling the banner
- banner color background
- color text, Fontsize
- active deactive the banner
- when text is empty the banner is hidden

To install it:
1/ copy the files of the folder "banner" under ".pathToYourCacti./plugins"
2/ either:
    A/ copy the files "./install/top_graph_header.php" and "./install/top_header.php" under ".pathToYourCacti./include"
    or
    B/ do a patch with the delivered ".diff" files on the "top_graph_header.php" and "top_header.php" of the cacti under ".pathToYourCacti./include"
3/ active in the ".pathToYourCacti./include/global.php" the plugin:
$plugins[] = 'banner';
4/ allow user to edit the banner. In cacti/User Management/ for each user with editing rights, active "edit banner"
in the Realm permissions control of cacti

PS: when "Show the banner instant messaging" is not selected, the banner is hidden and cannot be edited by clicking.
[/list]


Attachments:
banner0.2.zip [17.69 KiB]
Downloaded 592 times

_________________
Jean-Michel
cacti 0.8.7e | cmd & cactid (cactid 0.8.x) | Linux | MySQL Ver 14.7 Distrib 4.1.12, for Win32 | PHP v5.2.6 | Apache v2.x | Thold | Plugin Architecture | plugin "configuration manager" http://cactiusers.org/forums/topic257.html | plugin "IP subnet calculator IPv4 / IPV6" http://forums.cacti.net/viewtopic.php?t=15428 | plugin banner http://docs.cacti.net/userplugin:banner | Net-SNMP 5.5.2 | cygwin 1.5.18 of 02.07.2005


Last edited by pepj on Tue Nov 13, 2007 10:45 am, edited 4 times in total.
Top
 Profile  
 
 Post subject: some images
PostPosted: Mon Nov 12, 2007 6:51 pm 
Offline
Cacti User

Joined: Thu Sep 29, 2005 5:03 am
Posts: 324
Location: switzerland
Here some images


Attachments:
tempbanner-scrollingBanner.JPG
tempbanner-scrollingBanner.JPG [ 21.87 KiB | Viewed 4066 times ]
tempbanner-howedit.JPG
tempbanner-howedit.JPG [ 27.58 KiB | Viewed 4066 times ]
tempbanner-editting.JPG
tempbanner-editting.JPG [ 84.56 KiB | Viewed 4066 times ]

_________________
Jean-Michel
cacti 0.8.7e | cmd & cactid (cactid 0.8.x) | Linux | MySQL Ver 14.7 Distrib 4.1.12, for Win32 | PHP v5.2.6 | Apache v2.x | Thold | Plugin Architecture | plugin "configuration manager" http://cactiusers.org/forums/topic257.html | plugin "IP subnet calculator IPv4 / IPV6" http://forums.cacti.net/viewtopic.php?t=15428 | plugin banner http://docs.cacti.net/userplugin:banner | Net-SNMP 5.5.2 | cygwin 1.5.18 of 02.07.2005
Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 13, 2007 9:55 am 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 6016
Location: Michigan, USA
Instead of replacing Cacti files, you should be using patches.

But, even there, you should talk to Cigamit about adding any missing hooks you need.

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 13, 2007 11:12 am 
Offline
Cacti User

Joined: Thu Sep 29, 2005 5:03 am
Posts: 324
Location: switzerland
rony wrote:
Instead of replacing Cacti files, you should be using patches.


The diff-files for the patch are already delivered in the plugin.

rony wrote:
But, even there, you should talk to Cigamit about adding any missing hooks you need.

OK I will ask .... (in the cactiusers forum) http://cactiusers.org/forums/viewtopic.php?p=4488#4488

_________________
Jean-Michel
cacti 0.8.7e | cmd & cactid (cactid 0.8.x) | Linux | MySQL Ver 14.7 Distrib 4.1.12, for Win32 | PHP v5.2.6 | Apache v2.x | Thold | Plugin Architecture | plugin "configuration manager" http://cactiusers.org/forums/topic257.html | plugin "IP subnet calculator IPv4 / IPV6" http://forums.cacti.net/viewtopic.php?t=15428 | plugin banner http://docs.cacti.net/userplugin:banner | Net-SNMP 5.5.2 | cygwin 1.5.18 of 02.07.2005


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group