SimplePortal

Development => Bugs => Fixed or Bogus Bugs => Topic started by: Burke Knight on December 06, 2008, 07:28:17 AM

Title: Mark as Read Redirect
Post by: Burke Knight on December 06, 2008, 07:28:17 AM
SMF 1.1.7 - SP 2.1.1

When hit Mark as Read on board index, redirects to portal page.


SMF 2.0 Beta 4 - SP 2.1.1

When hit Mark as Read on board index, redirects to board index.

However, get different results with settings:

Blocks set to all pages or all actions, and the blocks show in the forum after redirect.

Blocks set in advanced options, to just Portal & Forum, they do not show when redirect after hitting mark as read.

Reason: Mark as read does not use: ?action=forum
Instead, it uses: ?action=forums

The s at the end is the trouble. In advanced settings, if select Forum, will need to somehow set it to recognize ?action=forums as well as ?action=forum.
Title: Re: Mark as Read Redirect
Post by: ???1031 on December 09, 2008, 05:02:13 PM
Hmmm possible a mistake on the fix, i will look at it tomorrow :). (German Time)
Title: Re: Mark as Read Redirect
Post by: b-machinery on January 01, 2009, 08:43:02 AM
Any news on this issue?
Title: Re: Mark as Read Redirect
Post by: [SiNaN] on January 01, 2009, 10:48:50 AM
Confirmed. It's a typo.

Subs-Boards.php

Find:

Code: [Select]
action=forums
Replace:

Code: [Select]
action=forum
Title: Re: Mark as Read Redirect
Post by: b-machinery on January 01, 2009, 02:32:50 PM
Thanks for the answer! Strange about the solution is, I cannot find the string "action=forums" in my Sub-Boards.php (SMF 1.1.7, SP 2.1.1). Can you give me a line number?

Edit: Guess its line 230, tried it and it works. Thanks a lot!
Title: Re: Mark as Read Redirect
Post by: Burke Knight on January 01, 2009, 10:14:50 PM
Marked thread as solved.

Reason:

Fix stated above.
Has been confirmed as bug, and will be taken care of. :)

Burke, out...
SimplePortal 2.3.8 © 2008-2024, SimplePortal