TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,983
  • Total Topics: 21,321
  • Online today: 431
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 99
  • Total: 99

Mark all messages as read sends you to front page

Started by MyFSI, April 17, 2006, 06:49:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MyFSI

First of all, since this is my first post, i'd like to say thanks to bloc for the great themes and also for Tinyportal, they are all great.

Second, i would like to point out a bug when using tinyportal (tp 0.8.6 and smf rc2):
On the forum index, when clicking 'Mark all messages as read' it will redirect you to the front page (http://ironz.myfxh.com/forum/index.php) and not the forum index (http://ironz.myfxh.com/forum/index.php?action=forum). (you can see this by clicking the button in this forum's index)

it's a little annoying and it would be great if someone can provide a fix for this, thx.

MyFSI

sorry for double posting but does anyone have a fix for this?

Thanks.

G6Cad

I think this issue is something that regards the forum, and not the portal.
If you take the question over to SMF forums, i think you get better answers there :)

MyFSI

well i thought it was a hard thing to do, that's why i asked for help. but in fact it's very easy and here's the fix for it if anyone is interested.

open Sources/Subs-Boards.php:
Search for: elseif (isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'unreadreplies')


and just before it you'll find: redirectexit();

replace it with: redirectexit('action=forum');

or for wider use, replace it with: redirectexit($_SERVER['HTTP_REFERER']);which will redirect you back to wherever you came from.

bloc

Yes, its an easy fix. I haven't applied it because modifying that file for just that option seemed a bit much. But as it turns out, more places go back to frontpage, so I am looking to change all.

Cholo

If I want to redirect my users to the main forum instead of the front page on registration, so I do this same edit? Thanks a lot!

Cholo

I think it's fair if I bump this?  Please someone.. :(

G6Cad

It's not fair as it still is a SMF issue, and not TP ;)

Please refer your question to Simplemachines forums as the forum and posts issues are their doing and not TP

Zetan

Quote from: colB on April 20, 2006, 01:26:11 AM
Yes, its an easy fix. I haven't applied it because modifying that file for just that option seemed a bit much. But as it turns out, more places go back to frontpage, so I am looking to change all.

ummm.... I think it is a TP issue. If TP wasn't installed then it wouldn't have a homepage to go to.  :-X
I never noticed it to be honest, but I have noticed it elsewhere in the forum.  ::)

IchBin

Quote from: colB on April 20, 2006, 01:26:11 AM
Yes, its an easy fix. I haven't applied it because modifying that file for just that option seemed a bit much. But as it turns out, more places go back to frontpage, so I am looking to change all.

This website is proudly hosted on Crocweb Cloud Website Hosting.