Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: memyselfandI on July 31, 2008, 03:26:24 PM

Title: Need help adding link "show all unread posts" on the main page
Post by: memyselfandI on July 31, 2008, 03:26:24 PM
I looked all over the forum and haven't found this yet but maybe someone could direct me in the right place or show me how to do this.
"
I would like a link to "show all unread posts" added on the main page under "Show unread posts since last visit."

I hope I explained that right. kinda new at this.
Title: Re: Need help adding link "show all unread posts" on the main page
Post by: ccbtimewiz on July 31, 2008, 03:48:18 PM
Why exactly do you want to do that?

Showing all the unread posts when you last visited is essentially the same as viewing all the unread posts, isn't it?
Title: Re: Need help adding link "show all unread posts" on the main page
Post by: memyselfandI on July 31, 2008, 04:25:33 PM
no because that would only show the posts since you last visited. I want the one that shows all the posts you haven't seen on the entire board. you can only use the posts since last visit once per visit not each time you want to see new posts.

I'm probably not explaining this well ....

basically I want to not have 2 actions. if you click on unread posts since last visit and you get nothing there is that other link that says "try all unread posts" I want that link to show on the main page as "show all unread posts"
Title: Re: Need help adding link "show all unread posts" on the main page
Post by: memyselfandI on July 31, 2008, 11:56:21 PM
Thanks for trying to help but I figured it out  ;)





Title: Re: Need help adding link "show all unread posts" on the main page
Post by: hudson_uk on August 31, 2008, 03:32:37 PM
Quote from: memyselfandI on July 31, 2008, 11:56:21 PM
Thanks for trying to help but I figured it out  ;)
That's something I'd like to do as well, would you mind letting me know how you did it please ?
Title: Re: Need help adding link "show all unread posts" on the main page
Post by: [SiNaN] on August 31, 2008, 06:44:16 PM
Copy the normal show unread posts link. Add this to the href:

;all

and change it's name as you like.