Jump to content

Community

MisterPhilip

Download: View Unread Replies

Recommended Posts

nice work! thank you!

but why this hook not working with mobile skin?

I'm trying to put the link in global template and it appears in menu,, but search of unread replies results as zerro

cheers

Share this post


Link to post
Share on other sites

Hi guys -



Sorry for the delayed reply, have been away from the office. I'll take a look at both problems tomorrow night!



Misterphilip, did you check the hook, to understans where's the problem?
I'll appreciate.

Share this post


Link to post
Share on other sites

I've been looking into it, and I am pretty sure I know where the problem is.. however, given the limitations of IPB's item marking it is proving more difficult than originally thought.

Basically what it is doing now is pulling the last X (the # set in the admin panel) topics that you've posted in, ordered by most recent at the top. From there, we loop through all of those results and compare it with the cookie values and see if it has been read or not. Problem with this is, if you've read all of the last X topics that were updated, it doesn't pull any older ones. I've been working on a few different ideas to help pull more accurate info from the database to begin with, but no luck so far. I could do it to loop until X replies have been found... but that would pull a lot more server resources (a bunch of queries) which is something I'm trying to avoid. Don't worry though, I'm not giving up ;)

As far as only having 1 reply show up, I still haven't found anything (unless the above scenario is the case with you.) Is it for all accounts, or just yours?

And finally, not showing up in hooks, each skin has a little bit different of hook points. I'm trying to find a good place, but it seems most hook points within that dropdown aren't always there. Any good suggestions? I've also thought about making it a side hook for the main page like the recent content hook or what have you. Thoughts?

Share this post


Link to post
Share on other sites

Just an update: it looks like the topic marking system is going to get fixed (well, improved but really its a fix lol) which will hopefully do what I need it to do then... we'll have to see what they come up with.

Share this post


Link to post
Share on other sites

MisterPhilip, I am also experiencing the problem of only one result coming up, despite VNC showing a number of unread topics in which I have previously posted. I have upped the Limit as far as 5000 and it still hasn't brought any additional results in, aside from the most recent unread reply.

This is occurring regardless of skin, affecting the default IPB skin as well as our regular one.

I have just replaced v 1.0.2 with v 1.0.1, which brings up all the expected results, so it's definitely something within the latest version that is causing the issue.

Hope this helps. As soon as it's resolved I'll definitely be reinstalling. Very good idea.

Share this post


Link to post
Share on other sites

Require few changes on the document .pdf you provided you wrote "There are 2 setting options with this hook. You can find these options under Forum > Topics, Posts, and Polls"

change that to "There are 2 setting options with this hook. You can find these options under System > Tools & Settings > Forum > Topics, Posts, and Polls"

:)

Share this post


Link to post
Share on other sites

http://community.invisionpower.com/index.php?app=core&module=search&do=user_activity supplies, if I'm not wrong.
and it bumps from the recent replies to the latest.
It should be useful if a tab is dedicated on the nav bar.

Share this post


Link to post
Share on other sites

That's true. I was moderator on SMF.
This hook is nice, but never used it, finding other ways to monitor new replies, as it never worked properly on my board. But if an upgrade will be done...why not?

Share this post


Link to post
Share on other sites

Hi guys, sorry for the hiatus on here. I was going to start working on updating this for 3.2, but as others have pointed out... it is indeed (finally) a default function. You can get the same results as the SMF function by doing the following "View New Content" options:

%7Boption%7D

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy