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 DeepL!
My Extensionen!
User avatar
canam800er
Registered User
Posts: 174
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 - Former Moderator @ phpBB.nl | phpBBservice.nl Team-member
Image My Extensions | buy me a beer Image
User avatar
Theriddler1
Registered User
Posts: 451
Joined: Sat Aug 27, 2011 11:00 pm
Location: NL
Name: Theriddler❶
Contact:

Re: update for 3.2

by Nick225 » Tue Nov 27, 2018 12:20 pm

I installed this great Extension. I tried to add a new Custom Block but the code remains html/php after I submit.
Any suggestion please?
Thanks in advance.
Nick225
Registered User
Posts: 131
Joined: Sat Nov 24, 2018 7:48 pm
Contact:

Re: update for 3.2

by aGoogleplusUser » Tue Jan 01, 2019 5:30 am

Theriddler1 wrote:
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));
I made extra an account here, just to thank you! Thanks :D It works perfectly!
Those texts were gone and the calendar looks so beautiful now! :D I spent an hour to look how to fix this, now thanks to you it worked!
aGoogleplusUser
Registered User
Posts: 2
Joined: Tue Jan 01, 2019 5:25 am
Contact: