Board3 Portal

update for 3.2 - Board3 Portal

update for 3.2

by mark5228 » Sun Jan 08, 2017 3:38 pm

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

The second one is a style issue with the latest news topic
Image
mark5228
Registered User
Posts: 58
Joined: Thu May 14, 2015 1:07 pm
Contact:

Re: update for 3.2

by canam800er » Sat Jan 14, 2017 10:24 am

Hi
The portal works with 3.2.0
You have to make some changes.
Sorry for my bad english, I am German and translated with Google!
My Extensionen!
User avatar
canam800er
Registered User
Posts: 100
Joined: Thu Jul 21, 2011 7:42 pm
Contact:

Re: update for 3.2

by Theriddler1 » Mon Oct 22, 2018 4:04 pm

mark5228 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
OPEN: /ext/board3/portal/portal/fetch_posts.php

Find (line 137):

Code: Select all

$post_time = $this->get_setting_based_data($time == 0, '', 'AND t.topic_time > ' . (time() - $time * 86400));
Replace with:

Code: Select all

$post_time = $this->get_setting_based_data($time == 0, '', 'AND t.topic_time > ' . (time() - (int)$time * 86400));
Theriddler - Moderator @ phpBB.nl | phpBBservice.nl Team-member
ImageSupport Tools | Image My Extensions | buy me a beer Image
User avatar
Theriddler1
Registered User
Posts: 447
Joined: Sat Aug 27, 2011 11:00 pm
Location: NL
Name: Theriddler❶
Contact: