To Think About . . .

It’s not whether you win or lose, it’s how you place the blame. Oscar Wilde

 

 

 

My Latest Book

Product Details

Also available on Amazon.com, Amazon.fr, and other Amazons and bookshops worldwide! 

Search This Site
Log-in
Latest Comments
My Other Books

Product Details

Product Details

Product Details

The Pathway to Awesomeness

Click to order other recommended books.

Find Us on Facebook Badge

Discussion Forum > Andreas Hofmann's helper script

Off topic, I know. I've been using the script for months and it's wonderful, but it has recently started to fail. On the main discussion board where it lists all of the topics, none of the topics ever show as unread or new, so I'm having a hard time keeping track of which threads I've read. Also, when I open a thread, every individual comment within the thread shows as new. I've tried uninstalling and reinstalling but that didn't fix it. Does anyone know how to fix it or how to get in touch with Andreas so he can help me? (I'm using Chrome, latest version.)
December 9, 2011 at 15:50 | Registered CommenterjFenter
I am having exactly the same problem using Firefox. I assume that there has been some change with Mark's website -- something in the code has changed. Perhaps Mark knows what might have changed? It started going wrong while he was away a couple of weeks ago.
December 9, 2011 at 20:49 | Registered CommenterWooba
No idea, I'm afraid. It wasn't anything I did, officer. Honest.
December 9, 2011 at 21:47 | Registered CommenterMark Forster
I heard that the new version of Greasemonkey broke some other scripts, so it could be related to that. I haven't tried to reinstall an older version. Right now, I am using version 0.9.1.3 which I updated 12 Nov and I have exactly the same problems described above.

There have also been several versions of Firefox lately, so that may be contributing to the problem if it changes where and how information from Greasemonkey and its scripts can be stored.
December 11, 2011 at 14:45 | Registered CommenterMartyH
I'll look into it.
December 11, 2011 at 17:45 | Registered CommenterAndreas Hofmann
I installed the script in Firefox 8 and Chrome 15 on Mac OS X 10.7. No obvious errors so far. Menu shows up in left sidebar, highlighting of Mark's posts works. No posts are highlighted as new. Let's see if Chrome highlights this topic/post when I submit it in Firefox.
December 11, 2011 at 18:10 | Registered CommenterAndreas Hofmann
Nope, no highlighting. But I do not experience all posts in a thread being highlighted as jFenter described.
December 11, 2011 at 18:12 | Registered CommenterAndreas Hofmann
Other way around?
December 11, 2011 at 18:13 | Registered CommenterAndreas Hofmann
Yup, its's broken alright. Have to find a way to trouble-shoot this without further spamming.
December 11, 2011 at 18:15 | Registered CommenterAndreas Hofmann
By the way, if you installed my script, you can get in touch with me by clicking on my name at the bottom of the userscript options box in the left sidebar. ;-)
December 11, 2011 at 18:50 | Registered CommenterAndreas Hofmann
I just looked at this post: http://www.markforster.net/forum/post/1630099

Leon's post from Oct 25 was not highlighted, so apparently I had read it. All the following posts were highlighted. So at some time after Oct 25th the script stopped marking individual posts as read. Previously marked posts appear to retain the marking.

Hope this helps with troubleshooting.
December 12, 2011 at 4:06 | Registered CommenterMartyH
Little status update: I decided to rewrite the script from scratch and take that opportunity to improve it by tracking read states for each topic instead of only one "last visit" date. Of course, I've had little time until today (Merry Christmas btw.) and I'm running into strange problems.

Currently my problem is that the dates on the overview page don't match with the dates inside a topic. Take the electric task lists topic: http://www.markforster.net/forum/post/1671656

The last post was written 16:15, but in the overview it says the last change was 16:26. Which triggers my script to permanently flag it as unread and drives me crazy. :-)

Be that as it may, I'll soon post a link to the first version of the new script.
December 24, 2011 at 16:37 | Registered CommenterAndreas Hofmann
Good luck with your efforts, Andreas, and thank you for taking so much trouble over something that benefits so many people.

And a Merry Christmas to you and all Forum members and readers.
December 24, 2011 at 16:47 | Registered CommenterMark Forster
Thank you, Mark.

For the adventurous: http://dl.dropbox.com/u/1008673/mfimprovement2.js

The time differences are a result of the 'revise post' function. I fixed the problem by checking both date and post count.
December 24, 2011 at 17:18 | Registered CommenterAndreas Hofmann
The 'final' version of the user script is now available, please uninstall the old one as well as the above adventurous one if you have installed them.

Get the script from here: http://cdn.ahofmann.de/markforster.net/improvements.user.js

The reason why it's 'final' is that it doesn't do that much anymore. It only loads the real script and a css file directly from my server. This means: if you install this script, you'll get all future updates and new functionality automatically.

Currently, only the "Highlight New Posts" function is available, but I will add new features soon.
December 25, 2011 at 7:43 | Registered CommenterAndreas Hofmann
The script ignores posts older than a month. So if you install it for the first time, every topic within the last 30 day will be highlighted. You can either click through all of them once, or simply wait until they cross the time threshold.
December 25, 2011 at 8:10 | Registered CommenterAndreas Hofmann
Hint for Chrome users: Chrome seems to download the script instead of installing it if you click on the above link. Probably a security measure since the domain names don't match. Just copy the link and paste it into the location bar and it will prompt you to install it. I'll update my script download page to amend this issue.
December 25, 2011 at 15:16 | Registered CommenterAndreas Hofmann
It's kind of fun that I have the forum for myself, but it doesn't help with testing. :-)
December 25, 2011 at 15:18 | Registered CommenterAndreas Hofmann
Here'a a test messgae for you ;)
I'll check the script out once I get back.
December 25, 2011 at 15:28 | Registered CommenterHugo Ferreira
Thank you Andreas. It appears to be functioning properly for me on Firefox 8.0.
December 25, 2011 at 21:17 | Registered Commentermoises
Thank you so much, Andreas. I had even stopped reading the forums after your script stopped working. :)
December 26, 2011 at 11:05 | Registered CommenterNatalia
Tested successfully with Chrome 16.0.912.63 m

Thx a lot for repairing
December 26, 2011 at 13:14 | Registered CommenterJoerg R.
Seems to be fine in Firefox 9.0.1 with Greasemonkey 0.9.13.

Thanks for taking the time to work on this over the holidays. I do miss the other features, but this shouldn't take you away from family at this time of year.

Merry Christmas everyone! Today, it's back to work (at least a little) for me.
December 27, 2011 at 13:01 | Registered CommenterMartyH
One of the best Christmas presents I've received this year. Thanks, Andreas! Is there a PayPal link on *your* site? :)
December 27, 2011 at 16:18 | Registered CommenterjFenter
Andreas:

Any change of github'ing this version of the script? I'd like to help out with it…

I think the user script you have there now is quite outdated, right? https://github.com/andreashofmann
December 27, 2011 at 17:38 | Registered CommenterHugo Ferreira
Hugo:

Alright, I will. Yes, the current one is outdated. Like everything in my github account. :-\

Everyone:

Well, I suck, and therefore everyone please uninstall and reinstall the script from http://cdn.ahofmann.de/markforster.net/improvements.user.js one more time. Final indeed. The good news is that you won't lose your saved read data.
December 28, 2011 at 8:45 | Registered CommenterAndreas Hofmann
I can't get this script to work, using IE8.0.6001. Microsoft JScript runtime error "top" is undefined.
January 6, 2012 at 17:17 | Registered CommenterDave D
I'm not sure about running scripts in IE, but the original script was designed for Greasemonkey in Firefox. This one runs fine in that environment as well.
January 7, 2012 at 1:21 | Registered CommenterMartyH
Andreas:

With today's redesign, the comment highlights do not show up in each topic page: it's all grey, both new and Mark's posts.

However, the script does work in the main discussion forum listing page:
http://www.markforster.net/forum
January 17, 2012 at 17:23 | Registered CommenterHugo Ferreira
Hugo:

Should be fixed, no reinstall needed.

Dave:

IE doesn't support userscripts (as far as I know). Supported browsers are Firefox with GreaseMonkey, Chrome without an extension or NinjaKit and Safari with NinjaKit. Other GreaseMonkey-compatible extensions may exist, Opera will probably work.
January 17, 2012 at 18:53 | Registered CommenterAndreas Hofmann
Unfortunately, my employer only allows IE.
January 17, 2012 at 20:19 | Registered CommenterDave D
Andreas:
Many thanks, it's working fine now.
January 17, 2012 at 23:51 | Registered CommenterHugo Ferreira
Andreas:
Hugo Ferreira:

I'm also using Firefox 9.0.1 and Greasemonkey 0.9.13, but having trouble with the script highlighting new posts. As Hugo said, works fine in the main forum page, but is not highlighting the individual posts in each topic. Scrolling to the first unread post is working fine.

Any ideas?
January 18, 2012 at 1:27 | Registered CommenterLachlan Black
Lachlan:
Clear browser cache?
Close/restart the browser?
January 18, 2012 at 2:37 | Registered CommenterHugo Ferreira
Hugo:

Unfortunately, no. Clearing the cache resets the script but doesn't change its behaviour and restarting doesn't change anything either. No-one else seems to be having a problem, so I'm beginning to suspect the problem lies with my Firefox install -- which has been acting a bit buggy of late. Maybe time for a re-install.

Anyway, thanks for the suggestions. In any case, the script still does what it needs to do, so I can live with the loss of individual post highlighting!

By the way, Mark: congratulations on the new look. Very classy!
January 18, 2012 at 3:57 | Registered CommenterLachlan Black
Update: It's working again! Bizarre ...
January 18, 2012 at 4:22 | Registered CommenterLachlan Black
On Christmas Day, Andreas posted this:

<The 'final' version of the user script is now available, please uninstall the old one as well as the above adventurous one if you have installed them.

Get the script from here: http://cdn.ahofmann.de/markforster.net/improvements.user.js

The reason why it's 'final' is that it doesn't do that much anymore. It only loads the real script and a css file directly from my server. This means: if you install this script, you'll get all future updates and new functionality automatically.>

He has updated it a couple of times since then and it seems that after a couple of visits to the forum, the updated version kicks in automagically.
January 18, 2012 at 5:21 | Registered CommenterMartyH
At first, the individual comments weren't being highlighted for me, either, in Chrome. All I did to fix it was to uncheck the "Highlight New Posts" option then check it again. The next discussion thread I viewed had the highlighting. I also noticed that the new "High Contrast" option didn't show up until then, either. My guess is that doing something that specifically set an option made the script reload all of the options and apply then as it should.
January 18, 2012 at 17:38 | Registered CommenterjFenter
Hi, Andreas! Long time user of your script! I think the new version is not working for me when a forum topic has more than one page. When I go to page 2, everything is highlighted, all the time. Is it a hiccup in my installation? I use Chrome and http://cdn.ahofmann.de/markforster.net/improvements.user.js -- thanks!
March 19, 2012 at 17:59 | Unregistered CommenterNatalia
I've noticed that too. I'm also using Chrome.
Mark had been limiting a topic to 50 posts but now several have surpassed that number and in the process a possible bug in the user script has been revealed. I'm going to uncheck and recheck the boxes in the lower right hand margin to see if that does the trick.

This did not fix it; all previously read posts on second pages are still highlighted as unread.
March 19, 2012 at 22:17 | Unregistered CommenterMike D