Calendar


Upcoming Events (Within next 31 days):
There are no upcoming events

Upcoming Birthdays (Within next 31 days):
Congratulations to: JohnnyTheOne (29 on Sun 19th Sep)
nGAGE™ (35 on Thu 30th Sep)
musta (35 on Wed 29th Sep)
Bingle (40 on Fri 17th Sep)
Donations

All information and modifications on this site are open source and free, but any donations are gratefully received. They also provide the fuel (beer) that keeps me motivated!

Thanks, Stu

Online Users

In total there are 0 users online :: 0 registered, 0 hidden and 0 guests.

Most users ever online was 208 on Mon Jul 12, 2010 8:05 am

Users browsing this forum: No registered users and 0 guests based on users active over the past 60 minutes

phpBB3 Calendar Block

Odds and ends that don't quite make it into the releases

Moderators: Dev Team, SGP Team, MODerators

phpBB3 Calendar Block

PostAuthor: nGAGE™ on Tue Nov 18, 2008 3:42 am

So finally, here is the phpBB3 version of the Calendar Block, for the index.

Simply upload the files from the package, overwrite the existing files and do these 2 simple edits:
calendar_block_phpbb3.rar
(22.91 KiB) Downloaded 1025 times

OPEN calendar.php
FIND
Code: Select all
      events_bdays_panel();

REPLACE WITH
Code: Select all
      events_calendar_block();


OPEN index.php
FIND
Code: Select all
// Assign index specific vars

BEFORE ADD
Code: Select all
include_once($phpbb_root_path . 'includes/functions_calendar.' . $phpEx);
events_calendar_block();


OPEN styles/prosilver/template/index_body.html
FIND
Code: Select all
<!-- INCLUDE forumlist_body.html -->

BEFORE ADD
Code: Select all
<!-- INCLUDE calendar_block.html -->


Those that have CalendarMod 1.0.0b3+ installed already, use the edits in the following spoiler
Spoiler:
OPEN index.php
FIND
Code: Select all
events_bdays_panel();

REPLACE WITH
Code: Select all
events_calendar_block();


OPEN styles/prosilver/template/index_body.html
FIND
Code: Select all
<!-- INCLUDE forumlist_body.html -->

BEFORE ADD
Code: Select all
<!-- INCLUDE calendar_block.html -->

FIND and REMOVE
Code: Select all
<!-- IF S_SHOW_UPCOMING_EVENTS or S_SHOW_UPCOMING_BIRTHDAYS -->
   <!-- INCLUDE upcoming_events.html -->
<!-- ENDIF -->


NOTE wrote:Please report back any issues
It's Official... farcry2mapmakers.com is Live!
User avatar
nGAGE™
Site Admin
 
Posts: 300
Joined: Thu Aug 21, 2008 1:25 am
Location: Probably at a Computer

Re: phpBB3 Calendar Block

PostAuthor: livewirestu on Tue Nov 18, 2008 9:28 am

Nice one,
Thanks nGAGE (:})
User avatar
livewirestu
Site Admin
 
Posts: 582
Joined: Thu Jul 31, 2008 6:18 pm
Location: Hastings, England

Re: phpBB3 Calendar Block

PostAuthor: griso on Tue Nov 18, 2008 10:41 am

Hi.
I have a little problem with the installation of your calendar module for phpBB3 standard.

I have Xampp 1.6.7 with new version of phpBB3.03 in english.
I have changed all the file in your phpbb303_install_for_1.0.0b3+.xml

The last line of you file, report : Go to ACP -&gt; System tab -&gt; Administration Control Panel Choose 'calendar settings' under the bold heading 'Calendar [acp_calendar]' in the drop down box in the bottom right corner next to the 'Add module' button Click 'Add module', then click 'Yes' when prompted 'Are you sure you want to add the selected module with the selected mode?' You should then see 'Installation complete' to confirm if it worked

Ok. I don't receive the Installation complete but this error.

[phpBB Debug] PHP Notice: in file /includes/acp/info/acp_calendar.php on line 58: acp_calendar_info::include(./../includes/db/create_schema.php) [acp-calendar-info.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /includes/acp/info/acp_calendar.php on line 58: acp_calendar_info::include() [function.include]: Failed opening './../includes/db/create_schema.php' for inclusion (include_path='.;/xampp/php/pear/')

Fatal error: Class 'create_dbms' not found in C:\xampp\htdocs\phpBB3\includes\acp\info\acp_calendar.php on line 61


Where is the problem?

Sorry for my English.

Thanks for your help.
griso
 
Posts: 1
Joined: Mon Nov 17, 2008 11:33 pm

Re: phpBB3 Calendar Block

PostAuthor: livewirestu on Tue Nov 18, 2008 11:42 am

Please make sure you have the file
includes/db/create_schema.php
It should be in the original 1.0.0b3 package (not the 1.0.0b3+).

However, you may need to run the uninstaller script (in the spoiler) before having a second attempt at this otherwise your permissions might get a bit whacked.
User avatar
livewirestu
Site Admin
 
Posts: 582
Joined: Thu Jul 31, 2008 6:18 pm
Location: Hastings, England

Re: phpBB3 Calendar Block

PostAuthor: nGAGE™ on Tue Nov 18, 2008 3:24 pm

Yes, I agree... I believe you're missing files from the 1.00b3 package. 1.00b3+ only contains the updated files.
It's Official... farcry2mapmakers.com is Live!
User avatar
nGAGE™
Site Admin
 
Posts: 300
Joined: Thu Aug 21, 2008 1:25 am
Location: Probably at a Computer

Re: phpBB3 Calendar Block

PostAuthor: Drak on Tue Dec 02, 2008 10:24 pm

This is awesome! Great job, thx fellas!

*Edit - There seems to be certain days on the calendar that you can click on but not others. Once you click on them it says there are no events or birthdays for this day. Notice December 5th. On January its the 3rd and 17th. Feb. is 13th and 23rd. Not sure if there is a pattern going on.

Image


Image
User avatar
Drak
 
Posts: 61
Joined: Thu Oct 02, 2008 8:18 pm

Re: phpBB3 Calendar Block

PostAuthor: livewirestu on Tue Dec 02, 2008 11:06 pm

Yup I think this is some sort of timezone issue. There's a whole bunch of those at the moment (sob) but hoping to nut them all out in next release (since it all hangs together quite differently in the new version).
I'm at the point now where I have stopped fixing 1.0.0b3 errors and giving them out because at the rate the bugs are showing up, I would never get any development on the new version done! But I am fixing stuff as it is found in my working copy.
User avatar
livewirestu
Site Admin
 
Posts: 582
Joined: Thu Jul 31, 2008 6:18 pm
Location: Hastings, England

Re: phpBB3 Calendar Block

PostAuthor: Drak on Tue Dec 02, 2008 11:29 pm

Hehe, sounds good. Thanks!

*EDIT: Seems I'm having a problem with cookies or something. Not sure exactly whats going on but when i go to the forums I'm logged out. No biggie, log back in and everything is good. Problem is when i try to log in to the administration it keeps telling me i don't have the proper permissions. Remember I'm using the phpnuke => phpbb3 bridge. Not sure if that is what's causing this problem...hope not!
User avatar
Drak
 
Posts: 61
Joined: Thu Oct 02, 2008 8:18 pm

Re: phpBB3 Calendar Block

PostAuthor: livewirestu on Wed Dec 03, 2008 9:28 am

If you are using firefox, go to tools -> options -> Privacy tab
Click ‘Show Cookies’, scroll down and find phpbbireland, select it and click ‘Remove cookies’ (don’t click remove all cookies otherwise you’ll delete everything (:P)
Then in the ‘Private data’ panel in the same tab, click settings. Make a note of the current settings.
Tick cache, cookies and authenticated sessions then click ok.
Then click the clear now button. Don’t attempt to navigate anywhere on the phpbbireland site just yet.
Close firefox and wait about 15 seconds for it to unload itself from memory, then reopen firefox.

Might work (:S)
User avatar
livewirestu
Site Admin
 
Posts: 582
Joined: Thu Jul 31, 2008 6:18 pm
Location: Hastings, England

Re: phpBB3 Calendar Block

PostAuthor: Drak on Wed Dec 03, 2008 9:18 pm

I'm able to get into the admin panel now but I still get logged out when i close my browser. Does this addon have anything to do with user accounts? It may just be something on my end.
User avatar
Drak
 
Posts: 61
Joined: Thu Oct 02, 2008 8:18 pm

Next

Return to Add-Ons

Who is online

Users browsing this forum: No registered users and 1 guest

cron