[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
ThunderCrew
Registered User
Posts: 1438
Joined: Sat Jun 30, 2007 6:26 pm
Location: Ill, Usa
Contact:

Re: [Alpha] phpBB Calendar 0.0.8 (alightner)

Post by ThunderCrew »

just noticed something on the "week on index page"
the new year is coming up and the calendar changed the "week of" area from 2008 to 2009 since the last day is in 2009 BUT it also made the entire week wrong :lol: It shows like this

Tuesday 29, Wednesday 30, Thursday 31, Friday 1, and so on and the year as 2009
BUT it should show as week 2008 and

Tuesday 30, Wednesday 31, Thursday 1, Friday 2, and so on

I assume it is only bugged for the last week of a year each year for that "week on index page"
Ugg im a t0tal newb again ...... 2 years off cant remember jack ... time to get to it

User avatar
wang5555
Translator
Posts: 599
Joined: Wed Oct 27, 2004 2:57 pm
Location: Taiwan

Re: [Alpha] phpBB Calendar 0.0.8 (alightner)

Post by wang5555 »

Thyron wrote:
wang5555 wrote:Which mod use table "phpbb3_zebra"?
Maybe Profile Views List
I am sorry! It is system default. :oops:
Please compress them under and put up download link.
includes/functions_admin.php
includes/acp/acp_permissions.php
ThunderCrew wrote:I assume it is only bugged for the last week of a year each year for that "week on index page"
Try it:
http://www.phpbb.com/community/viewtopi ... 5#p8218985
It is more blessed to give than to reveive, welcome to letter, thanks & good-bye!
Good luck ^_^
Welcome to my forum!!
http://wang5555.hopto.org/phpBB3/
p.s. Shut down computer before 11 clock night!!!

User avatar
ThunderCrew
Registered User
Posts: 1438
Joined: Sat Jun 30, 2007 6:26 pm
Location: Ill, Usa
Contact:

Re: [Alpha] phpBB Calendar 0.0.8 (alightner)

Post by ThunderCrew »

jeeze missed that by one page :oops:
Ill look into that later thank you. Figured at worst only last one more day :lol:

My php version is higher then that coding suguest but Ill still check into it thanx.
Ugg im a t0tal newb again ...... 2 years off cant remember jack ... time to get to it

Patriz
Registered User
Posts: 43
Joined: Sun May 29, 2005 8:27 am

Re: [Alpha] phpBB Calendar 0.0.8 (alightner)

Post by Patriz »

Hi!
wang5555 wrote:Which mod use table "phpbb3_zebra"?
This is the table with "friends and foes" and it will be used by phpbb.

Patriz

BigBen8151
Registered User
Posts: 2
Joined: Tue Dec 30, 2008 7:03 pm

Re: [Alpha] phpBB Calendar 0.0.8 (alightner)

Post by BigBen8151 »

I appreciate the assistance! However......
tyles wrote:I spent days trying to get this fixed and just found it a few hours ago:
If you have any problems with your permissions please run the following command in phpMyAdmin: select * from phpbb_acl_options where auth_option like '%calendar%'; If you see anything listed twice that's the source of your problem - you must remove all duplicate entries from that table and start over with setting up your permissions in the ACP. These duplicate entries were caused by running the SQL command on the acl_options table more then once.
Once I removed the duplicate entries, all worked great
I ran the query, which yielded no duplicate rows. 7 rows were returned;

a_calendar
m_calendar_edit_other_users_events
m_calendar_delete_other_users_events
u_calendar_view_events
u_calendar_create_events
u_calendar_edit_events
u_calendar_delete_events

I ran the commands on phpbb_acl_options again to create the duplicate entries, then I delete the original entries. This had no affect on setting permissions. I restored the database to a state before running the commands again.

Thyron
Registered User
Posts: 42
Joined: Sat Aug 30, 2008 10:23 am

Re: [Alpha] phpBB Calendar 0.0.8 (alightner)

Post by Thyron »

wang5555 wrote:
Thyron wrote:
wang5555 wrote:Which mod use table "phpbb3_zebra"?
Maybe Profile Views List
I am sorry! It is system default. :oops:
Please compress them under and put up download link.
includes/functions_admin.php
includes/acp/acp_permissions.php
Of course and I suppose it's used by mods too...

acp_permissions.php

functions_admin.php

User avatar
wang5555
Translator
Posts: 599
Joined: Wed Oct 27, 2004 2:57 pm
Location: Taiwan

Re: [Alpha] phpBB Calendar 0.0.8 (alightner)

Post by wang5555 »

Thyron wrote: Of course and I suppose it's used by mods too...

acp_permissions.php

functions_admin.php
I guess:
Your forum yet not update 3.0.4 version.

The file (functions_admin.php) is different from 3.0.4 version very much.
Under modify just a small part, maybe to you have helping:

#
#-----[ OPEN ]-----
#
includes/functions_admin.php

#
#-----[ FIIND ]-----
#

Code: Select all

				$sql = 'DELETE ' . (($db->sql_layer === 'mysqli' || version_compare($db->mysql_version, '4.1', '>=')) ? 'z.*' : ZEBRA_TABLE) . '
#
#-----[ REPLACE WITH ]-----
#

Code: Select all

				$sql = 'DELETE ' . (($db->sql_layer === 'mysqli' || version_compare($db->sql_server_info(true), '4.1', '>=')) ? 'z.*' : ZEBRA_TABLE) . '
#
#-----[ SAVE & CLOSE ]-----
#

In any case, suggest you as soon as possible update to 3.0.4 Version.
It is more blessed to give than to reveive, welcome to letter, thanks & good-bye!
Good luck ^_^
Welcome to my forum!!
http://wang5555.hopto.org/phpBB3/
p.s. Shut down computer before 11 clock night!!!

Thyron
Registered User
Posts: 42
Joined: Sat Aug 30, 2008 10:23 am

Re: [Alpha] phpBB Calendar 0.0.8 (alightner)

Post by Thyron »

I have already updated to 3.0.4! Maybe not everything was successfull.

This change solved the problem with the error. But the description of the permission options for the calendar still don't show up. There's only the language variable...

User avatar
therat
Registered User
Posts: 285
Joined: Sun Apr 07, 2002 6:06 pm
Contact:

Re: [Alpha] phpBB Calendar 0.0.8 (alightner)

Post by therat »

This is similar to what I wanted today, the code below works perfectly.
alightner wrote:
therat wrote:I would like to change the order of the Who can see this event drop down, I have found the following code in calendarpost.php. Is it safe just to re-order this to what I need, will that cause an other problems?
It should be fine as long as you maintain that 0 still corresponds to private events etc. like this:

Code: Select all

$level_sel_code  = "<select name='calELevel' id='calELevel' onchange='update_group_id_state();'>\n";
$level_sel_code .= "<option value='2'>".$user->lang['EVENT_ACCESS_LEVEL_PUBLIC']."</option>\n";
$level_sel_code .= "<option value='1'>".$user->lang['EVENT_ACCESS_LEVEL_GROUP']."</option>\n";
$level_sel_code .= "<option value='0'>".$user->lang['EVENT_ACCESS_LEVEL_PERSONAL']."</option>\n";
$level_sel_code .= "</select>\n";

JeRicHoOL
Registered User
Posts: 449
Joined: Sun Jun 01, 2008 4:02 pm

Re: [Alpha] phpBB Calendar 0.0.8 (alightner)

Post by JeRicHoOL »

JeRicHoOL wrote:This calendar mod is supposed to allow you creating events and stuff. I don't have this option and I also don't have this star icon in my calendar even though the images are uploaded. I have gave myself all the calendar permission but still no success. Can anyone help me out please?
I have managed to solve that issue. I didn't set the right permissions. :|

Thyron
Registered User
Posts: 42
Joined: Sat Aug 30, 2008 10:23 am

Re: [Alpha] phpBB Calendar 0.0.8 (alightner)

Post by Thyron »

Thyron wrote:I have already updated to 3.0.4! Maybe not everything was successfull.

This change solved the problem with the error. But the description of the permission options for the calendar still don't show up. There's only the language variable...
This problem is solved too after I edited my functions_admin.php which hasn't been updated correctly to 3.0.4. I used the freeware Kdiff3 to manage the differences.

Now I have to check all my files if they have been updated or not :evil:

JeRicHoOL
Registered User
Posts: 449
Joined: Sun Jun 01, 2008 4:02 pm

Re: [Alpha] phpBB Calendar 0.0.8 (alightner)

Post by JeRicHoOL »

wang5555 wrote:
wang5555 wrote:
Clementtang wrote:A serious bug occurs, my date on the calendar now is showing 2009 instead of 2008...
Me too. :shock:
But, I assured it was normal yesterday.

Do you have any other modify?
Does not know this means whether right, but it settle my problem.
Under amendment, supplies to your issue:

#
#-----[ OPEN ]-----
#
includes/functions_calendar.php

#
#-----[ FIND ]-----
#

Code: Select all

	if( $date['year'] == "" )
	{
		if (phpversion() < 5.1)
		{
			$date['year']	=	gmdate('Y', $temp_now_time);
		}
		else
		{
			$date['year'] = gmdate("o", $temp_now_time);

		}
	}
#
#-----[ REPLACE WITH ]-----
#

Code: Select all

	if( $date['year'] == "" )
	{
		$date['year'] = gmdate('Y', $temp_now_time);
	}
#
#-----[ SAVE & CLOSE ]-----
#
I just noticed I have the same bug occuring on my calendar. Thanks for the fix. It works now. :)

angelmlewis
Registered User
Posts: 19
Joined: Sun Apr 24, 2005 11:59 pm

Re: [Alpha] phpBB Calendar 0.0.8 (alightner)

Post by angelmlewis »

I have subsilver theme base and I am not sure if the calendar is supposed to look like this.

http://pawstastic.net/calendar.php

Help

ngru-kamikazie
Registered User
Posts: 1
Joined: Sun Jan 04, 2009 1:10 am

Re: [Alpha] phpBB Calendar 0.0.8 (alightner)

Post by ngru-kamikazie »

The caendar is not showing up on the main page and the ACP is giving errors when trying to go to the settings and etype tabs.
General Error
SQL ERROR [ mysqli ]

Table 'php-nuke.calendar_event_types_table' doesn't exist [1146]

SQL

SELECT * FROM CALENDAR_EVENT_TYPES_TABLE ORDER BY etype_index

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/acp/acp_calendar.php
LINE: 486
CALL: dbal_mysqli->sql_query()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_calendar->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Also the thing is now showing up at all on any page. I successfully rest the cache and the style added in the files from the prosilver folder.

EDIT

Im a total noob when t comes to php and phpbb3
Last edited by ngru-kamikazie on Sun Jan 04, 2009 5:12 pm, edited 1 time in total.

User avatar
derkubi
Registered User
Posts: 79
Joined: Fri Feb 15, 2008 10:47 am
Contact:

Re: [Alpha] phpBB Calendar 0.0.8 (alightner)

Post by derkubi »

Hello

i have phpbb V3.0.0 and calendar V0.0.4 . i dont want to upgrade my board to 3.0.4 at the moment , maybe in a few weeks ( holiday 8-) ) . but have some problems with calendar and want to upgrade this one .

which version is still working under V3.0.0 ?
Is there a link for older versions ?
I am german , so sorry for my bad english !

Locked

Return to “[3.0.x] Abandoned MODs”