I just wanted a note of this before I forgot it again. Mark all as read, or unread, would be useful for keeping track of when I had or hadn't read something in a forum. This should be on a "to-do" list if it's not already.

Comments

ax’s picture

and is available here. after checking that your feature hasn't been implemented / wasn't requested yet, you can add one.

michelle’s picture

Just ran into this issue, nearly 6 years later... If you still want it, Advanced Forum has it. ;)

Michelle

--------------------------------------
See my Drupal articles and tutorials or come check out life in the Coulee Region.

Anonymous’s picture

haha this is what we were just talking about the other day on IRC, michelle! :P

-=- christopher

michelle’s picture

Yeah, that's where I saw it. :)

Michelle

--------------------------------------
See my Drupal articles and tutorials or come check out life in the Coulee Region.

nicholas.alipaz’s picture

I have some issues with advanced forums for one reason or another, anyone know if there is a solution without it?

michelle’s picture

The only other solution I know of is http://wtanaka.com/drupal/markasread . I have no idea how that works with nodecomment/nodeforum which would appear to be your "issue" based on another post of yours.

Michelle

nicholas.alipaz’s picture

Actually I am not using nodecomment/nodeforum. I opted not to use them. My issue is more that advanced forum is breaking previews and there is no way for me to set it not to use any template. It breaks previews when I have a lot of alterations done to the posting form area.

I just want to have that one feature added to the default forum module. I have seen that other solution but it is only d5

michelle’s picture

Ah, well I went looking to see what issue(s) you had filed in the advanced forum queue and ran into a post where you said you were using nc/nf. AF includes a seperate template for previewing, btw.

You could always take the code from AF and put it in your own module. It's fairly encapsulated and decoupled.

Michelle

nicholas.alipaz’s picture

You could always take the code from AF and put it in your own module. It's fairly encapsulated and decoupled.

Yep, I figured. Trying to do exactly that, just having a bit of trouble getting everything I need out of it.

nicholas.alipaz’s picture

I have take the following function verbatim, changing the namespace:

// MARK AS READ **************************************************************/

/**
 * Marks all posts in forums or in a given forum as read by the current user.
 */
function markasread_markasread() {...

Then I am not sure what I should print out in my template, and also not sure if there would be additional things needed.

michelle’s picture

You need the menu code as well. You just put a link to the menu path in your template.

Michelle

nicholas.alipaz’s picture

BTW, I am trying to "steal" the markasread function from advanced forum module but little luck here.