update for 3.2 - Board3 Portal
update for 3.2
The first one is this error at top of the portal page
[phpBB Debug] PHP Warning: in file [ROOT]/ext/board3/portal/portal/fetch_posts.php on line 137: A non-numeric value encountered
The second one is a style issue with the latest news topic
-
- Registered User
- Posts: 58
- Joined: Thu May 14, 2015 1:07 pm
- Contact:
Re: update for 3.2
My Extensionen!
- canam800er
- Registered User
- Posts: 174
- Joined: Thu Jul 21, 2011 7:42 pm
- Contact:
Re: update for 3.2
OPEN: /ext/board3/portal/portal/fetch_posts.phpmark5228 wrote: Ive installed this on phpbb 3.2 and as far as i can see there is only two errors.
The first one is this error at top of the portal page
[phpBB Debug] PHP Warning: in file [ROOT]/ext/board3/portal/portal/fetch_posts.php on line 137: A non-numeric value encountered
Find (line 137):
Code: Select all
$post_time = $this->get_setting_based_data($time == 0, '', 'AND t.topic_time > ' . (time() - $time * 86400));
Code: Select all
$post_time = $this->get_setting_based_data($time == 0, '', 'AND t.topic_time > ' . (time() - (int)$time * 86400));
My Extensions | buy me a beer
- Theriddler1
- Registered User
- Posts: 451
- Joined: Sat Aug 27, 2011 11:00 pm
- Location: NL
- Name: Theriddler❶
- Contact:
Re: update for 3.2
Any suggestion please?
Thanks in advance.
-
- Registered User
- Posts: 131
- Joined: Sat Nov 24, 2018 7:48 pm
- Contact:
Re: update for 3.2
I made extra an account here, just to thank you! Thanks It works perfectly!Theriddler1 wrote:OPEN: /ext/board3/portal/portal/fetch_posts.phpmark5228 wrote: Ive installed this on phpbb 3.2 and as far as i can see there is only two errors.
The first one is this error at top of the portal page
[phpBB Debug] PHP Warning: in file [ROOT]/ext/board3/portal/portal/fetch_posts.php on line 137: A non-numeric value encountered
Find (line 137):Replace with:Code: Select all
$post_time = $this->get_setting_based_data($time == 0, '', 'AND t.topic_time > ' . (time() - $time * 86400));
Code: Select all
$post_time = $this->get_setting_based_data($time == 0, '', 'AND t.topic_time > ' . (time() - (int)$time * 86400));
Those texts were gone and the calendar looks so beautiful now! I spent an hour to look how to fix this, now thanks to you it worked!
-
- Registered User
- Posts: 2
- Joined: Tue Jan 01, 2019 5:25 am
- Contact: