Page 251 of 284

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Posted: Sun Jan 23, 2011 4:07 am
by edbo1
Hippie459MN wrote:
edbo1 wrote:Seeing as how nobody will help or there is no fix and the author does not care, I uninstalled the great mod.

Installing this mod will prevent your auto-prune from running. I guess you could not add the commands for pruning in the CRON and one more area but why should I?

No fix, no install.
I dont ever use auto prune but I tried it and mine still works with this mod. :)
Odd. I was not the only one with this problem. Autoprune runs fine for me without the calendar installed. I may give it another go when I'm up to it. Thanks for the update.

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Posted: Mon Jan 24, 2011 1:02 am
by Dr DBW
Currently trying to work on an import Australian Holidays script for this.

Two things that I can't work out at the moment, what is the meaning of these two variables?

Code: Select all

$week_index[0] = 0;
$first_day_of_week[0] = 0;

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Posted: Fri Jan 28, 2011 5:54 am
by exhibitionpoultry
Can some one please help me with this. I have tried every way that has been suggested to me

I need to change the colour of my calendar as it is way to dark.

http://www.exhibitionpoultryforum.com/calendar.php

I want the dark blue the same colour as the links navbar.

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Posted: Fri Jan 28, 2011 8:40 pm
by therat
exhibitionpoultry wrote:Can some one please help me with this. I have tried every way that has been suggested to me

I need to change the colour of my calendar as it is way to dark.

http://www.exhibitionpoultryforum.com/calendar.php

I want the dark blue the same colour as the links navbar.
Check the first post of this topic, Troubleshooting and tips to avoid problems number 5 should solve your problem.

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Posted: Tue Feb 01, 2011 11:11 am
by reinhard_g
There seems to be a small bug in the Holydays add on http://www.phpbb.com/community/viewtopi ... #p12022565

If a week is displayed and the month changes within this week, the number of the day will not be reset to "one".

This is my solution:

Please change the original line 401 in includes/functions_calendar.php:

Old: $calendar_days['NUMBER'] = $true_j;

New:

Code: Select all

		      $hdj = $date['year'];
		      $hdm = $date['month_no'];
		      if ($j > $true_j)
		      {
		      	// Neuer Monat innerhalb der angezeigten Woche:
		      	// Feiertagsermittlung muss fuer den naechsten Monat erfolgen
		      	// New month within the week: search holidays for the next month
		      	$hdm++;
		      	if ($hdm > 12)
		      	{
		      		$hdm = 1;
		      		$hdj++;
		      	}
		      }
		      $hdays = holidays($hdj);
          $hday = $hdays[gmmktime(0,0,0,$hdm,$true_j,$hdj)][0];
          if(!empty($hday))
          {
             if($hdays[gmmktime(0,0,0,$hdm,$true_j,$hdj)][1] == 1)
             {
                $calendar_days['NUMBER'] = '<strong style="color: red;">' . $true_j . '<br />' . $hday . '</strong>';
             }
             else
             {
                $calendar_days['NUMBER'] = '<strong>' . $true_j . '<br />' . $hday . '</strong>';
             }
          }
          else
          {
             $calendar_days['NUMBER'] = '<strong>' . $true_j . '<br />';
          }
Reinhard

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Posted: Tue Feb 01, 2011 11:39 pm
by lanesharon
I got it to AutoMod on a new 3.0.8 installation. I got one error message about the changes to colours.css from the prosilver.xml file. It clearly states what the error is and how to manually remedy it.

It seems to all be there and got it to load up on ACP as tabbed modules for both Manage Calendar Events and Calendar Settings. That took a little manuevering (Auto Mod is NOT self explanatory :mrgreen: ). It all is displaying okay. I will have to do some tweaking on the css for it (did this on the old 0.0.8 for another board).

Also had to get right into permissions and set myself up to access it and for others to see it. I will let you know how it goes for me. Thanks.

Addendum: Had the same problem another poster explained --> Here

Looks like AutoMod doesn't like partial line edits.

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Posted: Wed Feb 02, 2011 12:58 pm
by exhibitionpoultry
therat wrote:
exhibitionpoultry wrote:Can some one please help me with this. I have tried every way that has been suggested to me

I need to change the colour of my calendar as it is way to dark.

http://www.exhibitionpoultryforum.com/calendar.php

I want the dark blue the same colour as the links navbar.
Check the first post of this topic, Troubleshooting and tips to avoid problems number 5 should solve your problem.
I have tried this several times but with no luck.

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Posted: Wed Feb 02, 2011 4:15 pm
by lanesharon
exhibitionpoultry wrote:Can some one please help me with this. I have tried every way that has been suggested to me

I need to change the colour of my calendar as it is way to dark.

http://www.exhibitionpoultryforum.com/calendar.php

I want the dark blue the same colour as the links navbar.
I had the same problem yesterday. Try entering one test item to as an event. Once I did that, everything magically grabbed the CSS that I had entered. Don't know why, but it works. :mrgreen:

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Posted: Wed Feb 02, 2011 6:23 pm
by marian0810
You could try asking your free forum host to manually empty the cache with ftp.

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Posted: Wed Feb 02, 2011 6:30 pm
by edbo1
Another thing that works well is to open your styles/xxx/theme/stylesheet.css and put the calendar @import at the top of the list instead of toward the bottom.

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Posted: Mon Feb 07, 2011 1:31 pm
by psm
Hi there!

I would like to add a custom profile field to the event display, next to the username (or maybe even replace it).
But I couldn't figure out where to add the php functions.

Can you help me out here?

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Posted: Tue Feb 08, 2011 2:30 am
by jmunger
Just a quick question:

I have seen some implementation of this mod but was wondering if anyone had tried to include a monthly calendar and edit the css so as to make a smaller calendar, around 300 pixels wide... would that work? I would like to display the calendar somewhere in a column or header.

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Posted: Tue Feb 08, 2011 11:30 pm
by Dr DBW
Dr DBW wrote:Currently trying to work on an import Australian Holidays script for this.

Two things that I can't work out at the moment, what is the meaning of these two variables?

Code: Select all

$week_index[0] = 0;
$first_day_of_week[0] = 0;
Are they meant to represent X and Y from the recurring events info, if so, from the variable name that is not obvious.
Recurring events - events will be occurrenceable with 12 different options:

1. A: Day [X] of [Month Name] every [Y] Year(s)
2. A: [Xth] [Weekday Name] of [Month Name] every [Y] Year(s)
3. A: [Xth] [Weekday Name] of full weeks in [Month Name] every [Y] Year(s)
4. A: [Xth from last] [Weekday Name] of [Month Name] every [Y] Year(s)
5. A: [Xth from last] [Weekday Name] of full weeks in [Month Name] every [Y] Year(s)
6. M: Day [X] of month every [Y] Month(s)
7. M: [Xth] [Weekday Name] of month every [Y] Month(s)
8. M: [Xth] [Weekday Name] of full weeks in month every [Y] Month(s)
9. M: [Xth from last] [Weekday Name] of month every [Y] Month(s)
10. M: [Xth from last] [Weekday Name] of full weeks in month every [Y] Month(s)
11. W: [Weekday Name] every [Y] Week(s)
12. D: Every [Y] Day(s)

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Posted: Wed Feb 09, 2011 6:15 pm
by unudoitrei
Hello !

I was using the calendar for couple of months and had no problem with it, since today when I got this error:
SQL ERROR [ mysql4 ]

Table 'drumsro.CALENDAR_EVENT_TYPES_TABLE' doesn't exist [1146]

SQL

SELECT * FROM CALENDAR_EVENT_TYPES_TABLE ORDER BY etype_index

BACKTRACE

FILE: includes/db/mysql.php
LINE: 175
CALL: dbal->sql_error()

FILE: includes/functions_calendar.php
LINE: 1928
CALL: dbal_mysql->sql_query()

FILE: includes/functions_calendar.php
LINE: 41
CALL: init_calendar_data()

FILE: calendar.php
LINE: 94
CALL: calendar_display_month()
Maybe someone has a clue about... Thanks !

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Posted: Wed Feb 09, 2011 8:08 pm
by wolfman24
Table 'drumsro.CALENDAR_EVENT_TYPES_TABLE' doesn't exist [1146]
means that you have overwritten or removed the changes in your includes/constants.php. Maybe you should check other edits too.