|
Navigator
Show Some Love
Recent Topics
Firefox 3
by: Joseph Fletcher Mon Aug 23, 2010 5:41 pm View latest reply... Calendar (posting.ph... by: miguel.arce Thu Aug 19, 2010 8:26 pm View latest reply... mktime() expects par... by: airsoftpacific Wed Aug 18, 2010 5:14 pm View latest reply... New Install SQL Fail by: KND Mon Jul 19, 2010 12:28 pm View latest reply... phpbb 3.0.7 by: Joseph Fletcher Wed Jul 14, 2010 1:55 pm View latest reply... Help with different ... by: breck68 Sat Jul 10, 2010 6:17 am View latest reply... Help with new instal... by: esthardreams Thu Jul 08, 2010 12:55 am View latest reply... Sup Fellas! by: Drak Tue May 18, 2010 2:40 am View latest reply... Calendar with phpb3 ... by: DRA6N Mon May 10, 2010 1:43 am View latest reply... Pull the "UPCOMING E... by: dodgeboy Wed Apr 28, 2010 3:51 pm View latest reply...
Calendar
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.0.6 install issue - hopefully minor!Moderators: Dev Team, SGP Team, MODerators
8 posts • Page 1 of 1
phpbb3.0.6 install issue - hopefully minor!Very excited to get this working, a couple of issues though... i uploaded all the correct files, installed it fine, just one bug that i can't figure out and it seems to be very important!
$solved_captcha = false; this line does not exist in the posting.php file, as a result i cannot add before: //---BEGIN CALENDAR MOD--- // Load topic calendar event data // Note that if the data got into the database, it should be valid - Hence we just check that // the event start time exists, rather than re-validating all the event data if(isset($post_data['topic_calendar_time']) && !$submit) // We must be editing or correcting { if ($post_data['topic_calendar_time'] != '') //if this is blank, don't populate! { $post_data['topic_calendar_time'] += $user->timezone + $user->dst; list($post_data['event_start_date'], $post_data['event_start_time']) = explode('|', gmdate('m-d-Y|h:i a', $post_data['topic_calendar_time'])); if(isset($post_data['topic_calendar_duration'])) { list($post_data['event_end_date'], $post_data['event_end_time']) = explode('|', gmdate('m-d-Y|h:i a', ($post_data['topic_calendar_duration'] + $post_data['topic_calendar_time']))); } } if(!empty($post_data['event_repeat'])) { extract_repeat_params($post_data['event_repeat'], $post_data); } } //---END CALENDAR MOD--- Same problem for: $post_need_approval = (!$auth->acl_get('f_noapprove', $data['forum_id']) && !$auth->acl_get('m_approve', $data['forum_id'])) ? true : false; //---BEGIN CALENDAR MOD--- // Are we adding repeat events too? if(!empty($data['event_repeat'])) { if($mode == 'edit' || $mode == 'post') { put_repeat_events($mode, $data); } } //---END CALENDAR MOD--- Any advice?
Re: phpbb3.0.6 install issue - hopefully minor!Witch version of phpbb are you using?
It's in my files (and I use PHPBB 3.0.5) Try one of the other lines in the file: In posting.php find
And ad the 1st lines you pasted after that. And find
And ad the second lines you posted before It should work now
Re: phpbb3.0.6 install issue - hopefully minor!Thanks for the reply - i'm using 3.0.6 - i even downloaded it again and searched the posting.php file and couldn't find either of the afore mentioned lines - should i post up postings.php file here when i get home - would you be kind enough to have a look?
Not finding '$solved_captcha = false;' and the other one seems odd, should i be adding this into the file? Thanks again Michael
Re: phpbb3.0.6 install issue - hopefully minor!followed those instructions, purged cache, then refresh all style componants.
nothing, no suggestion on the board that a calendar is installed - where have i gone wrong? http://www.tjfofficial.com/phpBB3/index.php Cheers for reading again Michael
Re: phpbb3.0.6 install issue - hopefully minor!little help?
Re: phpbb3.0.6 install issue - hopefully minor!Find:
Add Before:
Re: phpbb3.0.6 install issue - hopefully minor!Hi,
I am having exactly the same issue. I did as suggested by jsmoke222000 but it doesn't work. Associated events cannot be created - everything is there in the tab but when you "submit" you get the topic but no event - you also get this:
This is the line on which the first piece of code listed by michaeldcoates was pasted. So either wrong code or wrong place ? Furthermore, repeat events is playing up (cannot be edited) - this must be linked to the second piece of code listed by michaeldcoates. Surely we are not the only two people with this problem? Any idea what can be done to rectify this?
Re: phpbb3.0.6 install issue - hopefully minor!There were 2 finds in my updated 3.0.6 version of posting.php I could not find. The first, already mentioned:
for which I used the find suggested by jsmoke222000:
The other was:
The closest I could find was, which also deals with post approval, is:
I can create associated events in a topic. So maybe the problems the OP and bignacboy are having are not related to the first find but the second. I do have an issue with repeat events which may be related to this issue or a completely separate issue. I created a repeat event for 1 January repeating every month for 2 years. On the calendar this shows as:
1 Feb 4 Mar 1 Apr 2 May 1 Jun 2 Jul 1 Aug 1 Sep 2 Oct Anybody have any idea what is going on there?
8 posts • Page 1 of 1
Return to General Calendar Chat Who is onlineUsers browsing this forum: Yahoo [Bot] and 1 guest | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||