Support Forum
Problem automatic (and not required) redirection url sub-forums
Yellow Swordfish
Glinton, England
SP Master
Offline
OK - here we go.
The file you need is /forum/content/classes/sp-forum-view-class.php
The line of code (line 454) is quite a long way down. If you find the start of the function - sp_forumview_build_subforums() - then the line we need is not far above that.
It currently reads:
if ($f[$forumid]->children) {
and you can change it to:
if (isset($f[$forumid]->children) && $f[$forumid]->children) {
be interested to hear back from you.
YELLOW
SWORDFISH
|
laura.dl
Member
Free Members
Offline
Then: I copied and put the code in the specified line.
I also reported the slug of a forum of the previous version (the same as the page).
I tried a couple of times and seems to work.
For safety during the day I will try again every so often to see if the erroroccurs again.
For the moment everything is ok, thanks!
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626