[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.
User avatar
edbo1
Registered User
Posts: 105
Joined: Fri Jul 23, 2010 2:41 am

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Post 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.
User avatar
Dr DBW
Registered User
Posts: 194
Joined: Thu Oct 06, 2005 10:37 pm
Location: Ballarat, Victoria
Contact:

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Post 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;
exhibitionpoultry
Registered User
Posts: 41
Joined: Sat Jul 10, 2010 3:41 am

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Post 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.
User avatar
therat
Registered User
Posts: 285
Joined: Sun Apr 07, 2002 6:06 pm
Contact:

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Post 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.
reinhard_g
Registered User
Posts: 1
Joined: Tue Feb 01, 2011 10:41 am

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Post 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
User avatar
lanesharon
Registered User
Posts: 400
Joined: Fri Dec 05, 2003 9:33 pm
Location: º• Confused! •º
Contact:

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Post 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.
Last edited by lanesharon on Wed Feb 02, 2011 4:11 pm, edited 1 time in total.
exhibitionpoultry
Registered User
Posts: 41
Joined: Sat Jul 10, 2010 3:41 am

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Post 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.
User avatar
lanesharon
Registered User
Posts: 400
Joined: Fri Dec 05, 2003 9:33 pm
Location: º• Confused! •º
Contact:

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Post 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:
marian0810
Former Team Member
Posts: 3011
Joined: Mon May 21, 2007 9:17 pm
Location: The Netherlands
Name: Marian
Contact:

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Post by marian0810 »

You could try asking your free forum host to manually empty the cache with ftp.
You and me, time and space. You watch us run!
User avatar
edbo1
Registered User
Posts: 105
Joined: Fri Jul 23, 2010 2:41 am

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Post 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.
Ed
psm
Registered User
Posts: 76
Joined: Thu Apr 24, 2003 3:00 pm

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Post 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?
Image
jmunger
Registered User
Posts: 6
Joined: Thu Jan 27, 2011 6:55 pm

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Post 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.
User avatar
Dr DBW
Registered User
Posts: 194
Joined: Thu Oct 06, 2005 10:37 pm
Location: Ballarat, Victoria
Contact:

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Post 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)
unudoitrei
Registered User
Posts: 2
Joined: Wed Feb 09, 2011 5:57 pm

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Post 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 !
wolfman24
Registered User
Posts: 387
Joined: Tue Mar 07, 2006 12:07 pm

Re: [Beta] phpBB Calendar 0.1.0 (alightner)

Post 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.
Locked

Return to “[3.0.x] Abandoned MODs”

cron