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

phpbb 3.0.7

Quick guides for some common general tasks

Moderators: Dev Team, SGP Team, MODerators

phpbb 3.0.7

PostAuthor: fishtown on Mon Mar 22, 2010 6:20 pm

What about phpbb 3.0.7? Is there a update? or can i use the current version?
fishtown
 
Posts: 2
Joined: Sun Dec 13, 2009 3:52 pm

Re: phpbb 3.0.7

PostAuthor: dodgeboy on Wed Apr 28, 2010 5:45 pm

I implemented it on 3.0.7 and it seems to work ok...
dodgeboy
 
Posts: 2
Joined: Tue Apr 27, 2010 7:15 pm

Re: phpbb 3.0.7

PostAuthor: Joseph Fletcher on Wed Jul 14, 2010 1:55 pm

I'm trying to implement it on 3.0.7 and when I get the the following edit I get stuck: I can't find the $solved_captcha = False; line in posting.php Can anyone help or give me a clue as to where to put the code?

Find:
Code: Select all
$solved_captcha = false;



Add Before:
Code: Select all
//---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---
Joseph Fletcher
 
Posts: 2
Joined: Tue Jul 06, 2010 3:48 am


Return to How To...

Who is online

Users browsing this forum: No registered users and 1 guest

cron