[ABD] phpBB Calendar 0.1.1 (alightner)

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
lifeguard81
Registered User
Posts: 147
Joined: Tue Dec 04, 2007 10:11 am

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

Post by lifeguard81 » Sun Jan 06, 2008 6:25 pm

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?
Bye phpBB, hello Compo.sr A complete website package with news, forum, chat, gallery and much more!

alightner
Registered User
Posts: 1118
Joined: Fri Mar 23, 2007 12:42 pm

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

Post by alightner » Sun Jan 06, 2008 6:33 pm

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?
My phpbb3 mods:
Calendar
User Attachment Quota
Do not PM me with questions about my mods.
Support will only be given through the topic threads above.

alightner
Registered User
Posts: 1118
Joined: Fri Mar 23, 2007 12:42 pm

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

Post by alightner » Sun Jan 06, 2008 6:39 pm

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!
My phpbb3 mods:
Calendar
User Attachment Quota
Do not PM me with questions about my mods.
Support will only be given through the topic threads above.

alightner
Registered User
Posts: 1118
Joined: Fri Mar 23, 2007 12:42 pm

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

Post by alightner » Sun Jan 06, 2008 6:45 pm

Lifeguard81 try changing:

Code: Select all

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

Code: Select all

if( count($month_names) == 0 )
My phpbb3 mods:
Calendar
User Attachment Quota
Do not PM me with questions about my mods.
Support will only be given through the topic threads above.

lifeguard81
Registered User
Posts: 147
Joined: Tue Dec 04, 2007 10:11 am

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

Post by lifeguard81 » Sun Jan 06, 2008 6:58 pm

My php version is 5.0.4 ? :)

I'll give it a try.
Bye phpBB, hello Compo.sr A complete website package with news, forum, chat, gallery and much more!

lifeguard81
Registered User
Posts: 147
Joined: Tue Dec 04, 2007 10:11 am

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

Post by lifeguard81 » Sun Jan 06, 2008 6:59 pm

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!!
Bye phpBB, hello Compo.sr A complete website package with news, forum, chat, gallery and much more!

moozer
Registered User
Posts: 102
Joined: Sat Nov 10, 2007 10:36 pm
Location: Netherlands
Contact:

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

Post by moozer » Sun Jan 06, 2008 7:05 pm

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 :)
Board at http://www.noobdude.com , Running phpbb3, Template(s) used: ProSilver, Language(s) used: English, Its hosted on a local server, Version of PHP used: 5.2.0, Database and version used: MySQL 5

lifeguard81
Registered User
Posts: 147
Joined: Tue Dec 04, 2007 10:11 am

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

Post by lifeguard81 » Sun Jan 06, 2008 7:14 pm

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?
Bye phpBB, hello Compo.sr A complete website package with news, forum, chat, gallery and much more!

PaoDoc
Registered User
Posts: 30
Joined: Tue Dec 25, 2007 9:12 pm

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

Post by PaoDoc » Sun Jan 06, 2008 7:52 pm

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!

alightner
Registered User
Posts: 1118
Joined: Fri Mar 23, 2007 12:42 pm

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

Post by alightner » Sun Jan 06, 2008 7:59 pm

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']
My phpbb3 mods:
Calendar
User Attachment Quota
Do not PM me with questions about my mods.
Support will only be given through the topic threads above.

alightner
Registered User
Posts: 1118
Joined: Fri Mar 23, 2007 12:42 pm

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

Post by alightner » Sun Jan 06, 2008 8:08 pm

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
My phpbb3 mods:
Calendar
User Attachment Quota
Do not PM me with questions about my mods.
Support will only be given through the topic threads above.

PaoDoc
Registered User
Posts: 30
Joined: Tue Dec 25, 2007 9:12 pm

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

Post by PaoDoc » Sun Jan 06, 2008 8:12 pm

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 ;)

lifeguard81
Registered User
Posts: 147
Joined: Tue Dec 04, 2007 10:11 am

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

Post by lifeguard81 » Sun Jan 06, 2008 8:21 pm

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)
Bye phpBB, hello Compo.sr A complete website package with news, forum, chat, gallery and much more!

moifest
Registered User
Posts: 251
Joined: Tue Nov 06, 2007 4:58 pm

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

Post by moifest » Sun Jan 06, 2008 8:32 pm

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.

ncc50446
Registered User
Posts: 26
Joined: Thu Aug 02, 2007 9:39 pm

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

Post by ncc50446 » Sun Jan 06, 2008 8:46 pm

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?
Last edited by ncc50446 on Sun Jan 06, 2008 9:00 pm, edited 1 time in total.

Locked

Return to “[3.0.x] Abandoned MODs”