PasswordMaker Forums

Miscellaneous => Other => Topic started by: Miquel 'Fire' Burns on September 22, 2005, 01:52:43 AM

Title: Goto first unread post button hidden
Post by: Miquel 'Fire' Burns on September 22, 2005, 01:52:43 AM
May I ask why the button for the link to goto the first unread post is hidden (with CSS display:none). For someone like me, not having this link annoys me when trying to keep up with some topics because I have no clue where I last read the topic at time (and having poor memory doesn't help).
Title: Goto first unread post button hidden
Post by: Eric H. Jung on September 22, 2005, 03:22:55 AM
Quixin, can you answer this one since you worked on the forums?
Title: Goto first unread post button hidden
Post by: quixin on September 22, 2005, 03:36:00 AM
miquelfire, I believe the button you are refering to was replaced with a script that puts all new unread threads in bold text.  You will also see the word New: next to the topics title.  If you click directly on the word New:, you will be taken to the first unread message in that topic.

Hope this helps.
Title: Goto first unread post button hidden
Post by: Eric H. Jung on September 22, 2005, 04:27:25 AM
But then don't you have to go into each forum to see if there are new messages? There is a "View New Posts" link in the upper-right (next to Inbox), but it never quite works for me.
Title: Goto first unread post button hidden
Post by: tanstaafl on September 22, 2005, 11:48:00 AM
I think it only gives you the error when there are no new posts to view. I thought it was malfunctioning randomly too at first. I could be wrong though...
Title: Goto first unread post button hidden
Post by: tanstaafl on September 22, 2005, 11:52:50 AM
Yeah, just confirmed - and this is so hilarious... I actually finally *read* the error message that it gives - is this the error you see?

********************
Sorry, an error occurred. If you are unsure on how to use a feature, or don't know why you got this error message, try looking through the help files for more information.

The error returned was:

Sorry, but we did not find any matches to display. Try again and broaden your search criteria. If you were searching for new posts since your last visit, it's possible that there are none to show.
********************

I never even noticed the last three sentences...   :hehe:
Title: Goto first unread post button hidden
Post by: quixin on September 22, 2005, 12:29:50 PM
This was posted on the InvisionFree support board by a support member.

Quote
We're aware of View New Posts issues and are attempting to rectify them. We apologise for any inconvenience.
Title: Goto first unread post button hidden
Post by: Eric H. Jung on September 22, 2005, 05:55:22 PM
Um, yeah, right. View New Posts hasn't worked since this forum was started. I see they're about as quick to fix that bug as I am to add FTP support into PasswordMaker :)
Title: Goto first unread post button hidden
Post by: quixin on September 22, 2005, 10:52:49 PM
The 'View New Posts' button seems to finally be working for me.  Please try it out yourself and post your results here.

If this works, your going to have to go ahead and add that FTP support Eric. :D

Also, everyone may find this link very useful.  I bookmarked this page:

Todays Active Topics (http://forums.passwordmaker.org/index.php?&act=Search&CODE=getactive)
Title: Goto first unread post button hidden
Post by: Miquel 'Fire' Burns on September 23, 2005, 01:08:39 AM
The new 'link' doesn't work with middle clicking for a new tab. Considering how many tabs I can have with a forum... I have 10 now, and only four is not this forum actually. I'll check to see if the others will work for me.
Title: Goto first unread post button hidden
Post by: Eric H. Jung on September 23, 2005, 01:52:18 AM
Preliminary results on "'View New Posts" -- seems it might work! miquelfire, what other forums do you frequent?
Title: Goto first unread post button hidden
Post by: Miquel 'Fire' Burns on September 24, 2005, 01:20:21 AM
The "View New Posts" only seem to show the newest topic. Too bad it's only place I can go tab crazy here.

Right now, I frequent three othre forums, one IPB like here (at least here the skin doesn't lead itself as being IPB), one vBulletin forum for my webhost, and a custom made one.

[edit] This topic doesn't even appear... What logic is that using?
Title: Goto first unread post button hidden
Post by: Eric H. Jung on September 24, 2005, 01:57:14 AM
OK, I just tried View New Posts and it says I don't have any--even thought the above post by miquelfire was new. So much for that :(
Title: Goto first unread post button hidden
Post by: Miquel 'Fire' Burns on September 30, 2005, 12:55:50 AM
What I'm doing for now is that I made a bookmarklet in which shows the unread button. As of now, it kills the bold for the link as well, so I need to make it smarter in that case (just kill the style attribute if 'display: none' is in it's value basically)
Title: Goto first unread post button hidden
Post by: Eric H. Jung on September 30, 2005, 01:19:27 AM
Can you share the bookmarklet with us?
Title: Goto first unread post button hidden
Post by: quixin on September 30, 2005, 01:30:05 AM
Just FYI,  the View New Posts link will only show 'New Topics' not new posts in an old topic.
Title: Goto first unread post button hidden
Post by: Miquel 'Fire' Burns on September 30, 2005, 02:43:27 AM
Just made it smarter too ;):
java script:var a=document.getElementsByTagName('a');for(i=0;i<a.length;i++){if((/display: ?none;/i).test(a.item(i).getAttribute('style'))){a.item(i).setAttribute('style','');}}
Title: Goto first unread post button hidden
Post by: quixin on September 30, 2005, 03:23:57 AM
FYI, clicking on New: performs the same action as the 'unread button'.
Title: Goto first unread post button hidden
Post by: Miquel 'Fire' Burns on October 01, 2005, 01:39:23 AM
Middle click doesn't work for some reason.
Title: Goto first unread post button hidden
Post by: Eric H. Jung on October 01, 2005, 04:36:35 PM
That's because "New" itself isn't a link. Clicking on it (middle or left) won't do anything.
Title: Goto first unread post button hidden
Post by: Miquel 'Fire' Burns on October 02, 2005, 12:59:54 AM
That's the point I'm trying to put through quixin's head. :P
Title: Goto first unread post button hidden
Post by: Romeo on October 02, 2005, 01:14:12 AM
Quote
That's because "New" itself isn't a link. Clicking on it (middle or left) won't do anything.
FWIW, I always click on new and it takes me straight to the most recent post.  If it is not supposed to, I am sorry, but it works great for me.
Title: Goto first unread post button hidden
Post by: Miquel 'Fire' Burns on October 02, 2005, 01:18:49 AM
It's some Javascript magic. An onclick event of sorts. I think making "New" a link itself would have been better, in case someone comes along without javascript (disabled most likely)
Title: Goto first unread post button hidden
Post by: Romeo on October 02, 2005, 01:58:23 AM
Quote
It's some Javascript magic. An onclick event of sorts. I think making "New" a link itself would have been better, in case someone comes along without javascript (disabled most likely)
I do not know what all the fuss is about, but New is a link.  At least for me it's working.  I click on New and it takes me straight to the newest post.
Title: Goto first unread post button hidden
Post by: quixin on October 02, 2005, 02:01:56 AM
Quote
FWIW, I always click on new and it takes me straight to the most recent post.  If it is not supposed to, I am sorry, but it works great for me.
Ditto.
Title: Goto first unread post button hidden
Post by: Eric H. Jung on October 02, 2005, 03:06:04 AM
hmm... i'll have to try again. will re-post.

edit: yep, so it is a link. must be implemented in javascript as miquelfire pointed out, because there are no visual cues telling you it's clickable (e.g., cursor: hand, underline, or onhover color change). i'll see if i can find the time to at least give it the cursor: hand style... quixin feel free to give it a whirl yourself since you have access on the forums to do that sort of thing.
Title: Goto first unread post button hidden
Post by: Miquel 'Fire' Burns on October 03, 2005, 01:17:23 AM
But middle clicking still won't work.
Title: Goto first unread post button hidden
Post by: Eric H. Jung on October 03, 2005, 10:45:45 PM
I know. :gaah:
Title: Goto first unread post button hidden
Post by: quixin on October 04, 2005, 12:09:39 AM
I believe I have a fix for that New: link.  I'll post when I have an update.
Title: Goto first unread post button hidden
Post by: quixin on October 04, 2005, 01:22:25 AM
Ok this is fixed.  miquelfire, you can now use your middle-click without the bookmarklet.

Enjoy!
Title: Goto first unread post button hidden
Post by: Miquel 'Fire' Burns on October 04, 2005, 01:28:49 AM
Woot!
Title: Goto first unread post button hidden
Post by: Romeo on October 04, 2005, 01:29:39 AM
Good work.
Title: Goto first unread post button hidden
Post by: Eric H. Jung on October 04, 2005, 01:46:10 AM
Nice :applause: