Bubbamon

Good ideas? Share with us!

Bubbamon

Postby Puma » 06 Dec 2011, 00:54

Excito,

Will you please take underneath change of the stat.php in the next update 2.4 ??
This to get bubbamon working as normal, now we have to do that manually every time we update :cry:

Open /usr/share/web-admin/admin/controllers/stat.php in your preferred editor.

function stat(){
parent::Controller();

require_once(APPPATH."/legacy/defines.php");
require_once(ADMINFUNCS);

if(!($this->uri->segment(2) == 'index' && $this->uri->segment(3) == 'json'))

{
$this->Auth_model->enforce_policy('web_admin','administer', 'admin');
$this->Auth_model->EnforceAuth('web_admin');
}

load_lang("bubba",THEME.'/i18n/'.LANGUAGE);

Thanks in advance,

puma
Last edited by Puma on 11 Dec 2011, 15:51, edited 1 time in total.
Puma
 
Posts: 158
Joined: 29 Sep 2008, 12:30

Re: Bubbamon

Postby johannes » 06 Dec 2011, 09:55

Hmm, I didn't know this (or perhaps I just don't recognize it). What issue does this fix? For 2.4 we have done some other stuff 6feet5 have asked for but I didn't know about this. 6feet5, can you comment?
johannes
Site Admin
 
Posts: 1138
Joined: 31 Dec 2006, 14:12
Location: Sweden

Re: Bubbamon

Postby Binkem » 06 Dec 2011, 11:33

This should prevent Bubbamon form reconnecting to the server every second. We now change it manually, but every time there's a new software version we need to do this again. This gets annoying after four of five updates ;)
Binkem
 
Posts: 327
Joined: 10 Jul 2008, 08:26

Re: Bubbamon

Postby 6feet5 » 06 Dec 2011, 18:55

Hi Johannes,

This is the work around for the authorization problem I mentioned in our conversation. The code sample you showed me should correct this issue.

/Johan
6feet5
 
Posts: 265
Joined: 13 Apr 2007, 23:32
Location: Gnesta, Sweden

Re: Bubbamon

Postby johannes » 06 Dec 2011, 23:54

Understood, then @Puma, this is already solved and will be in the 2.4 release. :)
johannes
Site Admin
 
Posts: 1138
Joined: 31 Dec 2006, 14:12
Location: Sweden

Re: Bubbamon

Postby Puma » 10 Dec 2011, 22:45

Hi Johannes,

Thanks, this is very appreciated!

Puma
Puma
 
Posts: 158
Joined: 29 Sep 2008, 12:30

Re: Bubbamon

Postby Ubi » 11 Dec 2011, 10:51

I hope you did not actually put the dutch comment line in there as well? :D
Ubi
 
Posts: 1028
Joined: 17 Jul 2007, 15:01

Re: Bubbamon

Postby Puma » 11 Dec 2011, 15:52

Hello Ubi,

Thanks for your ''comments'' my dutch comments are now deleted.... :D

Puma
Puma
 
Posts: 158
Joined: 29 Sep 2008, 12:30

Re: Bubbamon

Postby Puma » 28 Jan 2012, 21:45

Hi Johannes,

Thanks, for the 2.4 Release it is working faster then the last one!

But I still had to change my

/usr/share/web-admin/admin/controllers/stat.php

Maybe in next bugfix? :wink:

Puma
Puma
 
Posts: 158
Joined: 29 Sep 2008, 12:30

Re: Bubbamon

Postby johannes » 29 Jan 2012, 23:16

Hmm, now it's possible that I don't understand things right since I wasn't very involved in this code, but the fix is done in B3, but needs updating from Johan as well in bubbamon to use it though. Judging on the normal development speed of bubbamon I would think it's just minutes away. :D
johannes
Site Admin
 
Posts: 1138
Joined: 31 Dec 2006, 14:12
Location: Sweden

Re: Bubbamon

Postby 6feet5 » 01 Feb 2012, 21:16

I've started to work on the new version but discovered some problems with the interface between bubbamon and the server. Use the old fix until it's been solved.

/Johan
6feet5
 
Posts: 265
Joined: 13 Apr 2007, 23:32
Location: Gnesta, Sweden

Re: Bubbamon

Postby johannes » 02 Feb 2012, 09:59

Yes, we forgot some infromation, will be added in 2.4.1 soon!
johannes
Site Admin
 
Posts: 1138
Joined: 31 Dec 2006, 14:12
Location: Sweden


Return to B2 & B3 Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest