Advertisement:
GCWebhosting

Author Topic: Not returning to the Post  (Read 14444 times)

Offline djoos5

  • Jr. Member
  • **
  • Posts: 144
  • Gender: Male
Not returning to the Post
« on: October 11, 2011, 01:13:27 AM »
Not sure if this is a bug with the new release 2.01, and if it has already been reported, but when we post on our boards, it returns to the top of the topic, not to the post just made. How can I correct this, or is it needing fixed?

Thanks in advance!

Offline Kermit

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,365
  • Gender: Male
Re: Not returning to the Post
« Reply #1 on: October 11, 2011, 04:55:18 AM »
I tried now,and it worked as it should,it doesn't seem to be something with new version,please attach your Post.php file to your next post,so we can have a look
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Offline djoos5

  • Jr. Member
  • **
  • Posts: 144
  • Gender: Male
Re: Not returning to the Post
« Reply #2 on: October 11, 2011, 01:14:17 PM »
Here is a copy of the file.

Offline MK4A52

  • Semi-Newbie
  • *
  • Posts: 18
  • Herp Derp
Re: Not returning to the Post
« Reply #3 on: October 11, 2011, 04:25:42 PM »
Works for me. I'm using 2.0.1

Offline djoos5

  • Jr. Member
  • **
  • Posts: 144
  • Gender: Male
Re: Not returning to the Post
« Reply #4 on: October 12, 2011, 06:28:53 PM »
If it is any help, I have applied the following mods to my boards:

Custom View of attachments
which affects the following -
/boards/sources/manageattachments.php
/boards/sources/display.php
/boards/Themes/default/display.template.php
/boards/Themes/default/languages/modifications.english.php

Dice Roller code files
/boards/Sources/subs-editor.php
/boards/sources/subs.php
/boards/sources/subs-post.php
/boards/Themes/default/languages/modifications.english.php
Move the included file "dice_warn.gif" to "./Themes/default/images"
Move the included file "roll.gif" to "./Themes/default/images/bbc"

Justify code files
/boards/Sources/subs-editor.php
/boards/sources/subs.php
/boards/Themes/default/languages/modifications.english.php
Move the included file "justify.gif" to "./Themes/default/images"

Admin Notepad code files
/boards/Themes/default/languages/modifications.english.php
/boards/index.php
/boards/Themes/default/admin.template.php
Move the included file "Notepad2.php" to "./Sources"

I also edit my Subs.php file to change my Menu selection across the top so it looks like the attached.

Offline djoos5

  • Jr. Member
  • **
  • Posts: 144
  • Gender: Male
Re: Not returning to the Post
« Reply #5 on: October 12, 2011, 06:33:46 PM »
All right, forget most of this post, as I just realized that when I post on the SMF forums it does the same thing.

Is there an issue with SMF 2.01 and the new Internet Explorer 9? Do I need to have something turned on when I go to my boards?

It is not that this is a major issue, it just is nicer when you his Post and it immediately reveals your post, instead of returning to the top of the particular Topic.

Thanks in advance for the help.

Offline djoos5

  • Jr. Member
  • **
  • Posts: 144
  • Gender: Male
Re: Not returning to the Post
« Reply #6 on: October 12, 2011, 06:34:02 PM »
Test

Offline djoos5

  • Jr. Member
  • **
  • Posts: 144
  • Gender: Male
Re: Not returning to the Post
« Reply #7 on: October 12, 2011, 06:35:34 PM »
Okay... with the Compatibility View option activated in my IE9 browser, the forum reacts how it should.

Not sure if that is something the programmers want to know, but that is what's happening... at least for me.

Thanks for the help.

Offline Michael Pfaff

  • Semi-Newbie
  • *
  • Posts: 78
Re: Not returning to the Post
« Reply #8 on: October 14, 2011, 02:37:38 PM »
Hey djoos5,

What dice roller mod are you using? I'm looking to install one for my 2.0.1 SMF.

Thanks!

Mike

Offline djoos5

  • Jr. Member
  • **
  • Posts: 144
  • Gender: Male
Re: Not returning to the Post
« Reply #9 on: October 14, 2011, 02:46:11 PM »
I actually have two:

I use the Dice Roller mod that you can get on the SMF site under Modifications, which allows you to roll inside the post. It is a good roller, but it will not allow you to go back and edit the post, if there were any errors. I understand why because it keeps the dice roll from being questioned, but it can sometimes be an inconvenience when GM'ing.

I also have a java-based roller that I downloaded from Wizards of the Coast site a long time ago. It is simple java and html that opens a separate window for rolling. The only problem with it is that you can't keep record of the rolls, all you can do is cut and paste the results. This roller has to keep players on the honor system. Still, it is a convenient tool. I have no problem zipping the files up if you want them. PM me with an address you'd wna the files to go to. You will just have to tweak your SMF software to open the roller.


Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: Not returning to the Post
« Reply #10 on: October 14, 2011, 03:12:18 PM »
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline djoos5

  • Jr. Member
  • **
  • Posts: 144
  • Gender: Male
Re: Not returning to the Post
« Reply #11 on: October 14, 2011, 03:59:22 PM »
I just read through the attached link. Is there something I need to do to my Load.php file, or is that a bug tracker? I am still a newbie on these boards and I am not sure if that was for me or for the programmers.  ;)

Thanks

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: Not returning to the Post
« Reply #12 on: October 14, 2011, 04:26:10 PM »
I just read through the attached link. Is there something I need to do to my Load.php file, or is that a bug tracker? I am still a newbie on these boards and I am not sure if that was for me or for the programmers.  ;)

Thanks
I've updated this issue as a bug in the bug tracker for our developers to work on it.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline djoos5

  • Jr. Member
  • **
  • Posts: 144
  • Gender: Male
Re: Not returning to the Post
« Reply #13 on: October 14, 2011, 04:31:37 PM »
Thanks for helping me out with this.

Do you want me to mark this topic as solved, or will you guys take care of that?

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: Not returning to the Post
« Reply #14 on: October 14, 2011, 05:26:36 PM »
Thanks for helping me out with this.

Do you want me to mark this topic as solved, or will you guys take care of that?
For now you can leave it as it is.

I've already made a quick fix for it. I'll try to test/debug/re-debug it after landing in home :P.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Not returning to the Post
« Reply #15 on: January 17, 2012, 09:06:39 AM »
Digging around... :P

Is there an issue with SMF 2.01 and the new Internet Explorer 9?
More or less: IE9 is not recognized and so it is not working as expected in few cases (see issue 4850, but also 4887).

A possible fix would be to change:
Code: (find) [Select]
$context['browser']['is_ie'] = $context['browser']['is_ie4'] || $context['browser']['is_ie5'] || $context['browser']['is_ie5.5'] || $context['browser']['is_ie6'] || $context['browser']['is_ie7'] || $context['browser']['is_ie8'];
Code: (replace with) [Select]
$context['browser']['is_ie'] = !$context['browser']['is_opera'] && !$context['browser']['is_gecko'] && !$context['browser']['is_web_tv'] && preg_match('~MSIE \d~', $_SERVER['HTTP_USER_AGENT']) == 1;...even if I wonder why all the !$contex...the preg_match at the end should be enough...or not?

and
Code: (find) [Select]
$context['browser']['ie_standards_fix'] = !$context['browser']['is_ie8'];
Code: (replace with) [Select]
$context['browser']['ie_standards_fix'] = $context['browser']['is_ie4'] || $context['browser']['is_ie5'] || $context['browser']['is_ie5.5'] || $context['browser']['is_ie6'] || $context['browser']['is_ie7'];
in Load.php.


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: Not returning to the Post
« Reply #16 on: January 17, 2012, 09:26:25 AM »
emanuele, some said somewhere (meh memory loss) that the whole browser function is going to be a re-write. Looking forward to it with the fix you have provided ;).
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,254
    • StoryBB/StoryBB on GitHub
Re: Not returning to the Post
« Reply #17 on: January 17, 2012, 12:01:37 PM »
The reason for doing that like that is because a bunch of browsers, especially older ones, used to stuff MS IE into their user agent. Kind of like how every browser out there indicates it's Mozilla compatible.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: Not returning to the Post
« Reply #18 on: January 17, 2012, 12:32:36 PM »
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Not returning to the Post
« Reply #19 on: January 17, 2012, 02:39:36 PM »
I know it will be rewritten.
But at the moment there are issues with browser detection and IE9 and this is a workaround that could be useful. ;)

* emanuele is just throwing few php lines all around. :P


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.