[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-plugins
Subject:    Re: [SM-PLUGINS] Shared calendar admin does not appear in options
From:       p dont think <pdontthink () angrynerds ! com>
Date:       2004-06-26 6:24:03
Message-ID: 40DD1683.2090209 () angrynerds ! com
[Download RAW message or body]

> If indeed it's a user name problem, wouldn't this (in config.php)
> make it work, or no:
> 
> '*'    => 'yes',

Hmm, I think so...  I take it that doesn't work either?  Careful of
giving EVERYONE access to admin the calendars!

> When you suggest to "reinstall" do you mean just the shared_calendar
> plugin and if so, should I remove it from 'installed plugins' via
> conf.pl then rm-r the calendar folder, then I tar-zxvf another copy
> of the plugin again and follow INSTALL...correct?

Yup

> PS. I'm unable to find that debug code that prints out and compair
> usernames, I've grepped for "debug" and "username" in all files
> within the calendar directory, and I'm wondering if anyone can point
> me closer.  If not, no worries.  I'm not a programmer, should I
> assume I would find this code commented out, since it is for
> debugging?

your grep wasn't written correctly.  are you really using the most 
recent version of the plugin?  or maybe this isn't in the latest version 
(it's being massively re-written)...  open up functions.php, look for 
function approve_cal_admin and the first line is $debug = 0;.  Change 
that to a 1 if that code is there.  If not.... blech... my code is in no 
shape to give out; you'll have to verify on your own that your username 
is correct.  Insert this code somewhere that makes sense:

global $username; echo "<hr>$username<hr>";

  - Paul


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
--
squirrelmail-plugins mailing list
List Address: squirrelmail-plugins@lists.sourceforge.net
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
http://squirrelmail.org/cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic