Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Marios on December 30, 2013, 01:03:29 PM

Title: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on December 30, 2013, 01:03:29 PM
I have a problem,
till 2.06 when i was posting i was returning to topic but the last post,
since i updated to 2.06 i return to the topic but the first post.
Any idea how can i change that?
Thank you
Title: Re: Come back to topic after sending a quick reply
Post by: Kindred on December 30, 2013, 01:51:01 PM
Please do not post new questions in ancient topics which have nothing to do with your question AND have already been marked as solved.

Start your own thread with your question...
(split)
Title: Re: Come back to topic after sending a quick reply
Post by: Marios on January 01, 2014, 05:29:18 PM
Quote from: Marios on December 30, 2013, 01:03:29 PM
I have a problem,
till 2.06 when i was posting i was returning to topic but the last post,
since i updated to 2.06 i return to the topic but the first post.
Any idea how can i change that?
Thank you

Anyone?


Title: Re: Come back to topic after sending a quick reply
Post by: azasmith on January 01, 2014, 07:41:12 PM
When you make a new post, do you have #new in your address bar when you're returned to the first post?
Title: Re: Come back to topic after sending a quick reply
Post by: kat on January 02, 2014, 07:58:42 AM
The topic title says "When sending a quick reply". It should do that, anyway.

If you mean "When making a reply", have a look in your profile>Look and Layout.
Title: Re: Come back to topic after sending a quick reply
Post by: Marios on January 02, 2014, 04:36:57 PM
Quote from: K@ on January 02, 2014, 07:58:42 AM
The topic title says "When sending a quick reply". It should do that, anyway.

If you mean "When making a reply", have a look in your profile>Look and Layout.
Both,
no matter if it is quick or just a reply.

Quote from: azasmith on January 01, 2014, 07:41:12 PM
When you make a new post, do you have #new in your address bar when you're returned to the first post?

Yes

Thank you both for your time.
Title: Re: Come back to topic after sending a quick reply
Post by: Marios on January 02, 2014, 04:49:51 PM
Quote from: K@ on January 02, 2014, 07:58:42 AM

If you mean "When making a reply", have a look in your profile>Look and Layout.
Yes this is what i mean,
in my profile nothing was changed.
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Branko. on January 03, 2014, 06:41:33 AM
Return to newly post in topic (at the top of topic) after posting or first post at the top? Only for you or for all users?
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 03, 2014, 07:29:34 AM
Yep,
return to the newly post in the topic,
but at the bottom of the topic.
If i do it for me i can do it and for all others.
The real problem is that the settings change on their own after the last update.
This is what i dont get.
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: kat on January 03, 2014, 08:17:32 AM
You can do that by going to Admin>Themes and Layout>Member Options and setting the option, in each theme's poorly-worded "Reset all members' current options for this theme section".

For some reason that I'll never understand, that option's not global, though. You have to set that for each theme, individually.
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 03, 2014, 08:19:13 AM
The problem is that the option is set  :-\
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: kat on January 03, 2014, 08:38:04 AM
I have no idea why it should take you to the first post. Does it do that, even if there're more than one page of posts? Or, does it just take you to the first post on the right page?

I have to suspect your browser, if it's the first post on the same page. Try emptying the cache/cookies. Maybe, even, try emptying the forum cache, although I doubt it'll be that.
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 03, 2014, 08:40:53 AM
Many pages ,all browsers, 1 post of the topic, not the newest (last post of the topic)
Cache - cookies,cloud cache, forum cache cleaned and recleaned :(
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: kat on January 03, 2014, 08:44:17 AM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.katzy.dsl.pipex.com%2FSMF%2Fmods.gif&hash=575cde144371ee8546dba47e75bf7f7b9adde06f)

Has this always happened? Or, has it started happening after installing a mod, making edits, or anything?

What if you use the SMF default theme? Does it do it, then?

Any errors, in the ol' error log?
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 03, 2014, 08:57:01 AM
All started after i updated to 2.0.6,
nothing else was changed.
Not edits no new mods, i will look for error logs.
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: kat on January 03, 2014, 09:05:02 AM
Updated from which version? How did you do that update?
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 03, 2014, 09:08:12 AM
2.0.5 by uploading
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: kat on January 03, 2014, 09:13:47 AM
By uploading?

Not sure what you mean, as all updates/upgrades involve uploading...

It should've been done via Package manager, as you'd install a mod. Or, clicking the notification in Package manager.
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 03, 2014, 09:31:24 AM
via Package manager i mean when i say by uploading sorry,
i am not used to post here so i dont use the correct terms.
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: kat on January 03, 2014, 03:30:33 PM
Quote from: K@ on January 03, 2014, 08:44:17 AM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.katzy.dsl.pipex.com%2FSMF%2Fmods.gif&hash=575cde144371ee8546dba47e75bf7f7b9adde06f)
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 04, 2014, 03:55:15 PM
http://prntscr.com/2gj15f
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 04, 2014, 03:56:47 PM
****** i was not thinng and  i pressed delete mod list
>:( >:( >:(
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: kat on January 04, 2014, 04:04:29 PM
Restore your most recent backup?

If they're still installed, you can reget the mods and upload them to your packages directory. :) Deleting them doesn't uninstall them.

It COULD be that the SEO mod was causing your problem.
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Illori on January 04, 2014, 04:32:19 PM
Quote from: K@ on January 04, 2014, 04:04:29 PM
Restore your most recent backup?

If they're still installed, you can reget the mods and upload them to your packages directory. :) Deleting them doesn't uninstall them.

It COULD be that the SEO mod was causing your problem.

the package list is stored in the database, so the files/packages should still be in place but listed to be installed.

http://wiki.simplemachines.org/smf/Manually_setting_a_package_installed_or_uninstalled
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 04, 2014, 05:25:34 PM
Thank you,
this is fixed.
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: kat on January 05, 2014, 12:43:05 PM
Yay!
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 05, 2014, 12:45:14 PM
but is not the return,
the initial problem :(
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: kat on January 05, 2014, 01:06:47 PM
Let me get this right....

Even when you make a rely, using the "Quick reply", you get taken to thee first post in the topic.

Whatever browser you use?

Can you set up a test account, so that we can see this with our own eyes, as it were?
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 05, 2014, 01:15:08 PM
you have pm
all browsers, is not matter of browser or cache.
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: kat on January 05, 2014, 01:21:52 PM
******, man... With all the other stuff that's going-on, around your forum, this is gonna be REALLY difficult to figure-out!

Give me a while, possibly quite a LONG while to look at a few things, will you?

If you don't hear anything, for a few days, give this a bump, to remind me, OK?
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 05, 2014, 01:24:34 PM
ok
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 10, 2014, 09:48:08 AM
reminderrrrrrr
:D :D :D :D
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 17, 2014, 10:49:41 AM
Anybody can help ?
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: margarett on January 17, 2014, 10:53:08 AM
Can you give us a link and a test user to check?
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: kat on January 17, 2014, 02:41:24 PM
PM on it's way, Bruno. :)
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 17, 2014, 03:39:59 PM
Quote from: margarett on January 17, 2014, 10:53:08 AM
Can you give us a link and a test user to check?

Sorry i just saw the message

Quote from: K@ on January 17, 2014, 02:41:24 PM
PM on it's way, Bruno. :)

Thank you K@
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: margarett on January 17, 2014, 08:23:35 PM
So, a quick look. This could have something to do with the security measures added in 2.0.6. Specifically because you are running your forum inside an iframe...

So, when I post, I'm redirected to the following address:
/index.php/topic,1111111.new.html#new

In my test board:
/index.php/topic,2.new.html#new
(so they are OK, just yours have a much higher messade ID, of course...
Looking at the page code, in my test board:
(https://www.simplemachines.org/community/index.php?action=dlattach;topic=516351.0;attach=228031;image)
In your forum:
(https://www.simplemachines.org/community/index.php?action=dlattach;topic=516351.0;attach=228033;image)
See the missing <a id="new">? That's the anchor for the jump to last post to happen. I cannot tell you why it is missing. But, since you said this started to happen after upgrade to 2.0.6, maybe just do a quick test and comment out this piece of code from index.php:
header('X-Frame-Options: SAMEORIGIN');
header('X-XSS-Protection: 1');
header('X-Content-Type-Options: nosniff');

Warning: you are ignoring some security measures introduced by 2.0.6 but this is just a test. So just comment out this code and try again.
If it doesn't solve,let us know.
If it does, restore one line at a time until you find the culprit.
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Kindred on January 17, 2014, 09:21:19 PM
iframes are bad.
iframes will almost certainly screw up your forum experience and urls related to your forum
do not use iframes
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 18, 2014, 07:27:46 PM
@margarett
I tried it with no results.

I comment the line 164 - 166
header('X-Frame-Options: SAMEORIGIN');
header('X-XSS-Protection: 1; mode=block');
header('X-Content-Type-Options: nosniff');

of index.php and the problem continues.
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Kindred on January 18, 2014, 09:24:42 PM
Repeat after me......

Quote from: Kindred on January 17, 2014, 09:21:19 PM
iframes are bad.
iframes will almost certainly screw up your forum experience and urls related to your forum
do not use iframes
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 18, 2014, 10:27:10 PM
Kindred i asked for help not for lesson,no need to post twice i am not blind,
anyway thank you for the lesson even if i didnt ask for it.

Now if there is someone that maybe can help me, like Margaret i am here.
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Kindred on January 18, 2014, 10:46:05 PM
You asked for help doing something that is not recommended and barely supported, if at all...

Running any php script that uses sessions and generates urls is going to cause problems. What you seem to have encountered at the moment is just the tip of the potential iceberg.
Title: Re: Dont returns to topic's last post after sending a reply or a quick reply
Post by: Marios on January 18, 2014, 11:03:52 PM
After 7-8 years this is my first problem,
Maybe is not recommended but this is my site and i just asked for help,
if the you dont agree with how s made my site ok this is your opinion and maybe is not asked but is respected.
Please let those that they are trying to help me to do so.