Page 5 of 284

Re: [Alpha] phpBB Calendar 0.0.0 (alightner/spacedog)

Posted: Sun Jan 06, 2008 6:25 pm
by lifeguard81

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_calendar.php on line 968: Undefined offset: 1
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3437: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2913)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3439: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2913)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3440: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2913)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3441: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2913)
Something wrong?

Re: [Alpha] phpBB Calendar 0.0.0 (alightner/spacedog)

Posted: Sun Jan 06, 2008 6:33 pm
by alightner
moozer wrote:Hey Alightner, thanks you for this great script :D

I noticed a few minor mistakes. Mostly layouting things but those I will modify myself.
One thing that maybe you can fix for the next release, in every month the current date is highlighted. Today its the 6th and when viewing for example March, the 6th is also highlighted.

You are doing a great job on this! Thank you very very very much :)
That was a requested feature... there are two different highlight options going on. The current day is highlighted (if it's in the current view) and the day selected from the pulldown menu is highlighted too.

So for example if you use the pulldown menus to look at January 9th, 2008 you will see that 1/9/2008 highlights, but so does today's date (1/6/08): http://calendar.hypermutt.net/calendar. ... &calY=2008 also notice the highlighting is slightly different for the two dates. The current date's header is darker than the header for the current selected day from the pulldown menu.

My guess is that when you jumped forward to march 2008, you had the 6th selected on the pulldown menu... like this: http://calendar.hypermutt.net/calendar. ... &calY=2008
Likewise you can also make march 9th highlight if you change the day in the pulldown menu like this: http://calendar.hypermutt.net/calendar. ... &calY=2008

What were the other style problems you observed?

Re: [Alpha] phpBB Calendar 0.0.0 (alightner/spacedog)

Posted: Sun Jan 06, 2008 6:39 pm
by alightner
lifeguard81 wrote:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_calendar.php on line 968: Undefined offset: 1
Something wrong?
Interesting it's blowing up on this line:

Code: Select all

if( $month_names[1] !== "January" )
I wonder if that's not valid in your version of php or if you have something else wrong in the install? What version of php are you running?

If anyone knows why this is unacceptable please shout out. Also if you have successfully installed the calendar let me know what version of php your running so we can help narrow down lifeguard81's problem.

Thanks!

Re: [Alpha] phpBB Calendar 0.0.0 (alightner/spacedog)

Posted: Sun Jan 06, 2008 6:45 pm
by alightner
Lifeguard81 try changing:

Code: Select all

if( $month_names[1] !== "January" )
to

Code: Select all

if( count($month_names) == 0 )

Re: [Alpha] phpBB Calendar 0.0.0 (alightner/spacedog)

Posted: Sun Jan 06, 2008 6:58 pm
by lifeguard81
My php version is 5.0.4 ? :)

I'll give it a try.

Re: [Alpha] phpBB Calendar 0.0.0 (alightner/spacedog)

Posted: Sun Jan 06, 2008 6:59 pm
by lifeguard81
alightner wrote:Lifeguard81 try changing:

Code: Select all

if( $month_names[1] !== "January" )
to

Code: Select all

if( count($month_names) == 0 )

Many thanks!

Works like a charm!!

Re: [Alpha] phpBB Calendar 0.0.0 (alightner/spacedog)

Posted: Sun Jan 06, 2008 7:05 pm
by moozer
alightner wrote:What were the other style problems you observed?
Personally I wouldnt use the navbar class in the first div (to give it a similair like other phpbb pages).
Also I alligned the CALENDAR_HEADER to the left and the pull-downs inline to the right (also to make it more universal, and also to use a little less space in the page).

in the "post event" page, i noticed the preview/submit div is IN the post div and not seperate like it is in other phpbb pages.

currently i dont envy you, cause you will be quite busy answering all the question for this first release ;)
so a "good luck" from me :D

edit.
other layout problems are due to the changes in my board, so I keep those to myself :)

Re: [Alpha] phpBB Calendar 0.0.0 (alightner/spacedog)

Posted: Sun Jan 06, 2008 7:14 pm
by lifeguard81
Oeps!

When i would like to add an event this error shows up

Code: Select all

[phpBB Debug] PHP Notice: in file /calendarpost.php on line 328: Undefined variable: error
[phpBB Debug] PHP Notice: in file /calendarpost.php on line 748: Undefined index: event_access_level
[phpBB Debug] PHP Notice: in file /calendarpost.php on line 749: Undefined index: event_access_level
[phpBB Debug] PHP Notice: in file /calendarpost.php on line 752: Undefined index: group_id
[phpBB Debug] PHP Notice: in file /calendarpost.php on line 753: Undefined index: group_id
[phpBB Debug] PHP Notice: in file /calendarpost.php on line 756: Undefined index: event_access_level
[phpBB Debug] PHP Notice: in file /calendarpost.php on line 796: Undefined variable: error
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3437: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2913)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3439: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2913)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3440: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2913)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3441: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2913)

On the index i get this error ( only on the index)

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_calendar.php on line 924: Undefined index: username_colour
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3437: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2913)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3439: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2913)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3440: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2913)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3441: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2913)
Can i fix this?

Re: [Alpha] phpBB Calendar 0.0.0 (alightner/spacedog)

Posted: Sun Jan 06, 2008 7:52 pm
by PaoDoc
Hi! I tried to install the mod, but now my gold version has become an RC7 :o
The Calendar works, but the 2 modules don't appear under General!
I've purged the cache!
Can you explain in details how to install the 2 modules with all the steps?

I've retranslated all in italian and I'm providing an italian installation guide!

Let me know!

Re: [Alpha] phpBB Calendar 0.0.0 (alightner/spacedog)

Posted: Sun Jan 06, 2008 7:59 pm
by alightner
lifeguard81 wrote:Oeps!

When i would like to add an event this error shows up

Code: Select all

[phpBB Debug] PHP Notice: in file /calendarpost.php on line 328: Undefined variable: error

On the index i get this error ( only on the index)

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_calendar.php on line 924: Undefined index: username_colour
Can i fix this?
Apparently my version of php is more lenient on uninitialized variables than yours... sorry about that... I guess I missed a few.

To fix the first bug open calendarpost.php find:

Code: Select all

init_calendar_data();
and just before it add

Code: Select all

$error = array(); 
To fix the second bug go to functions_calendar.php and find:

Code: Select all

$poster_data['username_colour']
and change it to:

Code: Select all

$poster_data['user_colour']

Re: [Alpha] phpBB Calendar 0.0.0 (alightner/spacedog)

Posted: Sun Jan 06, 2008 8:08 pm
by alightner
PaoDoc wrote:but now my gold version has become an RC7 :o
Not sure how that happens... I started with a clean build to the gold standard files then wrote my mod on top of that. I'm not sure that my mod could have caused a version change for your entire forum.

As for installation of the modules:
  1. Go to your ACP.
  2. Select the "System" tab.
  3. On the bottom left you should see a section titled "Module Management". Select Administration Control Panel from that section.
  4. At the bottom of the page there is a pulldown menu of available modules and a button that says "Add Module". Find "Calendar Settings" in that pulldown menu and click "Add Module".
  5. Now Find "Manage Calendar Event Types" in the pulldown menu and click "Add Module".
  6. Notice the modules are now listed above, but you must click where it says "Enable" to activate them.
  7. After enabling both modules, return to the General tab and purge your cache. Viola

Re: [Alpha] phpBB Calendar 0.0.0 (alightner/spacedog)

Posted: Sun Jan 06, 2008 8:12 pm
by PaoDoc
I made the right things but the modules are not under general! I think it's something about that change from Gold to RC7! Now I'm going to try the mod in a clean version!
Check you email and let me know for the translation ;)

Re: [Alpha] phpBB Calendar 0.0.0 (alightner/spacedog)

Posted: Sun Jan 06, 2008 8:21 pm
by lifeguard81
alightner wrote:
To fix the second bug go to functions_calendar.php and find:

Code: Select all

$poster_data['username_colour']
and change it to:

Code: Select all

$poster_data['user_colour']
Change it, but no result :(

The index error was my mistake. sorry for that...

Error update on
Calendar.php

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_calendar.php on line 968: Undefined offset: 1
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3437: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2913)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3439: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2913)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3440: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2913)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3441: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2913)

Re: [Alpha] phpBB Calendar 0.0.0 (alightner/spacedog)

Posted: Sun Jan 06, 2008 8:32 pm
by moifest
Fixes above worked for the problems I was having.

Discovered a language bug, when user has no access to add an event it shows USER_CANNOT__EVENT

Double underscore between CANNOT and EVENT


EDIT: Still seeing

Code: Select all

[phpBB Debug] PHP Notice: in file /calendarpost.php on line 749: Undefined index: event_access_level
[phpBB Debug] PHP Notice: in file /calendarpost.php on line 750: Undefined index: event_access_level
[phpBB Debug] PHP Notice: in file /calendarpost.php on line 753: Undefined index: group_id
[phpBB Debug] PHP Notice: in file /calendarpost.php on line 754: Undefined index: group_id
[phpBB Debug] PHP Notice: in file /calendarpost.php on line 757: Undefined index: event_access_level
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3495: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2924)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3497: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2924)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3498: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2924)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3499: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2924)
on trying to enter en event

OTHER EDIT:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_calendar.php on line 677: Undefined variable: error
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3495: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2924)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3497: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2924)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3498: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2924)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3499: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2924)
Seeing this when clicking on an event from the index page.

Re: [Alpha] phpBB Calendar 0.0.0 (alightner/spacedog)

Posted: Sun Jan 06, 2008 8:46 pm
by ncc50446
Hey
Your mod looks great! I'll be trying to install it later today hopefully, but I was wondering if you might be able to make it so that you had add a yearly event? LIke Christmas, New Years, Canada Day, and things like that? Would be awesome if you could.
Keep up the great work!

EDIT: haha!! The year only goes to 2012. Predicting the end of the world?