error in portal_recent.php

Current Version: 2.0.2
Released: 2013-10-27
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked
User avatar

Topic author
FIGMENT
Active Member
Posts: 1
Joined: 19. September 2011 21:19

error in portal_recent.php

Post by FIGMENT »

Hi,

There is an error in portal_recent.php which prevents the exclude forum option from working for this module. With Debug on, it gives the error:
[phpBB Debug] PHP Notice: in file /portal/modules/portal_recent.php on line 68: Undefined index: board3_exclude_forums_30
where '30' is the module number and may be different.


To fix this, edit /portal/modules/portal_recent.php and on line 68 replace:

Code: Select all

 $config['board3_exclude_forums_' . $module_id])
with:

Code: Select all

 $config['board3_recent_exclude_forums_' . $module_id])


Regards
User avatar

cpg
Sponsor
Posts: 119
Joined: 3. September 2010 19:42
phpBB.de User: cpg
Location: Ringsberg
Contact:

Re: error in portal_recent.php

Post by cpg »

Moin,

wenn ich den Fehler bereinige, so wie Du angegeben hast, dann werden die "recent" Themen nicht mehr richtig angezeigt.
Deshalb habe ich wieder die Originaldatei genommen.

Gruß
CPG
Locked

Return to “Board3 Portal 2.0.x - English Support”