Koozali.org: home of the SME Server

[Announce] RPM's for Kronolith, Nag, Mnemo, and Gollem

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
[Announce] RPM's for Kronolith, Nag, Mnemo, and Gollem
« Reply #90 on: September 26, 2006, 02:26:11 AM »
Quote from: "ltc6netspec"
I was looking to enable the ADMIN to control horde and came across this setup.  I saw mimp in here and not enabled.  Also still trying to enable admin for horde.


// 120Authentication
{
use esmith::DomainsDB;
my $ddb = esmith::DomainsDB->open_ro or die "Couldn't open DomainsDB\n";
$OUT .= "\$conf['auth']['admins'] = array(" .
join(", ", map { qq('admin@) . $_->key . qq(') } $ddb->domains) . ");" ;
}
$conf['auth']['checkip'] = true;
{
my $Mimp = $mimp{'status'} || 'disabled'; return "\$conf[\'auth\'][\'driver\'] = \'composite\'\;" unless ($Mimp eq "disabled");
$OUT = '$conf[\'auth\'][\'params\'][\'app\'] = \'imp\';
$conf[\'auth\'][\'driver\'] = \'application\';'
}

Thanks for your help


If you look at your horde/config/conf.php, you should have nothing in the 999mimp section.  You need to enable mimp.  The instructions are spelled out in the smeserver-mimp rpm.  In short - config set mimp service status enabled.  Then signal-event email-update.  Now look at the horde/config/conf.php and you should have something in the 999mimp section.  I'd be interested if mimp works for you.  On my phone, I am always taken to imp after I login to horde even with using the composite driver.  That is something I or someone else needs to have a look at.

John Bennett
......

Offline ltc6netspec

  • ***
  • 72
  • +0/-0
    • http://www.lth6.k12.il.us
[Announce] RPM's for Kronolith, Nag, Mnemo, and Gollem
« Reply #91 on: September 26, 2006, 07:01:50 PM »
That worked!

Thanks alot.

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
[Announce] RPM's for Kronolith, Nag, Mnemo, and Gollem
« Reply #92 on: September 26, 2006, 08:48:36 PM »
Quote from: "ltc6netspec"
That worked!

Thanks alot.


Is that a that worked meaning mimp is working for you, or just that the conf file was expanded correctly?

John
......

Offline ltc6netspec

  • ***
  • 72
  • +0/-0
    • http://www.lth6.k12.il.us
[Announce] RPM's for Kronolith, Nag, Mnemo, and Gollem
« Reply #93 on: September 26, 2006, 08:55:42 PM »
Nooo,

It is working on my Ipaq hx2755.

Great job and Thanks again for keeping up on it.

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
[Announce] RPM's for Kronolith, Nag, Mnemo, and Gollem
« Reply #94 on: September 29, 2006, 05:54:37 AM »
Quote from: "ltc6netspec"
Nooo,

It is working on my Ipaq hx2755.

Great job and Thanks again for keeping up on it.


Excellent  :pint:!  I am glad to hear that.
All of my testing showed it should be working as well, but on my phone, I can only get it to use the imp gui.

Thanks for your report.

John
......

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
[Announce] RPM's for Kronolith, Nag, Mnemo, and Gollem
« Reply #95 on: October 08, 2006, 04:08:48 AM »
Quote from: "calisun"
I have created two horde bug reports, if you want to follow them, they are:

http://bugs.horde.org/ticket/?id=4423


I have good news and bad news.  This was a bear to figure out until I installed phpmyadmin.

The good news, here is the format the values need to be in.
// categories
$_prefs['categories'] = array(
    'value' => "Meeting|Lunch|Vacation",
    'locked' => false,
    'shared' => true,
    'type' => 'implicit'
);
 
// category colors
$_prefs['category_colors'] = array(
    'value' => "Meeting:#AABBCC|Lunch:#BBDDCC|Vacation:#EEFFFF",
    'locked' => false,
    'shared' => true,
    'type' => 'implicit'
);

Now for the bad news, the users still have the option to change the colors.  If you set the categories to locked, then users can't create any categories.  If you set category_colors to locked, then all categories are saved as the default color.

So, here is better news, but it will take some extra work to get accomplished.  The default and unfiled categories are defined in these two files:
/home/httpd/html/horde/lib/Horde/Prefs/CategoryManager.php
/home/httpd/html/horde/templates/prefs/categorymanagement.inc
You can modify those files to add your own defaults, plus you can also modify them so that your default settings can not be changed.  The only thing you will have to remember is that if/when there is an update to horde, you will lose those settings, so back those files up.

John Bennett
......

Offline calisun

  • *
  • 601
  • +0/-0
[Announce] RPM's for Kronolith, Nag, Mnemo, and Gollem
« Reply #96 on: October 09, 2006, 08:34:19 AM »
John,
Great work, I don't think I could have ever figured it out myself.

On your example you said that the users still have option to change colors. When the users change colors on shared calendar items, is the change only reflected on their account, or do colors change for everyone who has access to shared items?
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
[Announce] RPM's for Kronolith, Nag, Mnemo, and Gollem
« Reply #97 on: October 10, 2006, 01:51:15 AM »
Quote from: "calisun"
John,
Great work, I don't think I could have ever figured it out myself.

On your example you said that the users still have option to change colors. When the users change colors on shared calendar items, is the change only reflected on their account, or do colors change for everyone who has access to shared items?


I didn't test that.

JB
......

Offline calisun

  • *
  • 601
  • +0/-0
[Announce] RPM's for Kronolith, Nag, Mnemo, and Gollem
« Reply #98 on: October 10, 2006, 07:58:28 AM »
From what I can decipher, I need to enter every category name and color into the prefs.php. If there are several departments ie: accounting, purchasing, estimating, H.R., production, and each department wants to have several unique categories, the list can get long quickly. And when one of the departments decides to create a new category, I would have to go in and add it to prefs.php

Is there a way to take color from original object creator?
 'value' => "Object Creator",  
I know the wording is wrong, but something to that sence.
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
[Announce] RPM's for Kronolith, Nag, Mnemo, and Gollem
« Reply #99 on: October 10, 2006, 02:31:51 PM »
Quote from: "calisun"
From what I can decipher, I need to enter every category name and color into the prefs.php. If there are several departments ie: accounting, purchasing, estimating, H.R., production, and each department wants to have several unique categories, the list can get long quickly. And when one of the departments decides to create a new category, I would have to go in and add it to prefs.php

Is there a way to take color from original object creator?
 'value' => "Object Creator",  
I know the wording is wrong, but something to that sence.


You are out of my league now with that last question, sorry.  Best bet is to try the horde list again.  You could even see if the developers would entertain a new enhancement request to have some fixed-typed categories that could be used system wide that users couldn't change.

John
......

Offline calisun

  • *
  • 601
  • +0/-0
[Announce] RPM's for Kronolith, Nag, Mnemo, and Gollem
« Reply #100 on: October 10, 2006, 07:43:01 PM »
Ok John,
I have posted a question to kronolith developer mail list, the answer I got was:

> Is there a way to take color from original object creator?
> 'value' => "Object Creator",

No. It used to be this way and that caused even more problems than the  
way things are now.

-chuck
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
[Announce] RPM's for Kronolith, Nag, Mnemo, and Gollem
« Reply #101 on: October 11, 2006, 02:44:24 PM »
Quote from: "ltc6netspec"
How do I uninstall MIMP?  I am using HP IPAQs hx2755s to read email since I've installed MIMP I cannot get pass the login screen.  Below is the current Message log:

[mimp] Login success for xxxxxx@xxxx.xxxx.xxxx.xxx [64.107.xxx.6] to {localhost:143} [on line 89 of "/home/httpd/html/horde/mimp/redirect.php"]
Sep 25 08:47:05 roe30 HORDE[5182]: PHP Warning:  fwrite(): 94 is not a valid stream resource in /home/httpd/html/horde/mimp/lib/IMAP/Client.php on line 172
Sep 25 08:47:05 roe30 HORDE[5182]: PHP Warning:  fgets(): 94 is not a valid stream resource in /home/httpd/html/horde/mimp/lib/IMAP/Client.php on line 225
Sep 25 08:47:05 roe30 HORDE[5182]: PHP Notice:  Undefined offset:  1 in /home/httpd/html/horde/mimp/lib/IMAP/Client.php on line 256
Sep 25 08:47:05 roe30 HORDE[5182]: PHP Warning:  fclose(): 94 is not a valid stream resource in /home/httpd/html/horde/mimp/lib/IMAP/Client.php on line 495


Did you every figure out why you are/were getting the above errors?  I'm now getting them when testing with the horde 3.1.x versions.

John Bennett

[edit] From what I can find this is an issue with php 4.3.9.  It doesn't seem to happen with 4.3.10, but there are no 4.3.10 rpms for rhel4.
......

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
[Announce] RPM's for Kronolith, Nag, Mnemo, and Gollem
« Reply #102 on: October 14, 2006, 02:20:52 AM »
......

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
[Announce] RPM's for Kronolith, Nag, Mnemo, and Gollem
« Reply #103 on: October 14, 2006, 02:22:12 AM »
Quote from: "calisun"
Ok John,
I have posted a question to kronolith developer mail list, the answer I got was:

> Is there a way to take color from original object creator?
> 'value' => "Object Creator",

No. It used to be this way and that caused even more problems than the  
way things are now.

-chuck


I am on this list and saw the response.
......

Offline calisun

  • *
  • 601
  • +0/-0
[Announce] RPM's for Kronolith, Nag, Mnemo, and Gollem
« Reply #104 on: October 24, 2006, 06:14:30 PM »
Hi John
I have not tested it with your 3.1.X version, but with your 3.0.X stable release, if there are any users who have created any colors/labels  in their personal calendar prior to me making changes in  // categories and // category colors, they will not see the colors from shared calendar I have created in prefs.php, they only see default white.
Only the users who have not created any personal colors/labels can see the shared calendar colors.

Do you know how to work around this?

Thank you
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite