|
|
#1 |
![]() Join Date: Nov 2003
Location: Germany-Berlin
Posts: 1,120
![]() |
i have inserted a new feature for the administration of mambo.
this make possible to indicate the occupied total webspace by mambo, to see under system/system info i think, particularly for small webspace packages it is importantly always to have an overview of the used up Webspace. perhaps the coreteam can transfer this function into the mambo core. that would be surely very meaningful. changed file: administrator/components/com_admin/toolbar.admin.php new file: $mosConfig_live_site/total_size.php an additional installation of this feature is very simple: 1. overwrite the administrator/components/com_admin/toolbar.admin.php with this file. 2. copy the total_size.php into the mambo root directory. thats all :-) greeting alpha
__________________
macht mit beim day of Om! |
|
|
|
|
|
#2 |
![]() Join Date: Feb 2004
Location: France
Posts: 2,188
![]() |
Danke.
__________________
joe http://www.eyezberg.com - Flash News |
|
|
|
|
|
#3 |
![]() Join Date: Feb 2004
Location: France
Posts: 2,188
![]() |
I quickly modded this to make it multilanguage.
Everything is explained in the zip's comments, just in case you can't read these: use total_size.php as indicated; replace toolbar.admin.php as indicated PLUS replace your language file with the included one. you will find both english and french. choose. I added a new var: $A_TOTAL_FILESIZE = 'The Total Filesize of your Mambospace is: ' (for the english file) into the class adminLanguage; so if you have your own language, just copy this var into it and change the value, I use $A_TOTAL_FILESIZE = 'Les fichiers de votre répertoire Mambo occupent au total ' for French language, in casse you want to use that ;-) I'm sorry, can't upload the file here as I only have 50k quota and 30k are used up already, just was refused! You will have to get it on my site (in downloads/mambo/hacks), or do it yourself as everything is explained above.. ![]() In case anyone could tell me: My DocMan 1.1 settings are "Registered Users: No" in the frontend ("If no, permits anonymous users to access files marked as owned by 'Everybody'") and this file IS set to Everybody, so I have no idea why you can't access the file if not registered/logged in!??
__________________
joe http://www.eyezberg.com - Flash News |
|
|
|
|
|
#4 |
![]() Join Date: Nov 2003
Location: Germany-Berlin
Posts: 1,120
![]() |
hi eyezberg,
thanks for your arrangement! greeting alpha
__________________
macht mit beim day of Om! |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|