![]() |
New Posts & Threads Since Last visit
Um. I think this one is fairly self explaintiory by now.
It gets a count of the newest posts and threads since their last visit. Optionally you should add indexes on your post and thread tables for the dateline columns [sql] ALTER TABLE `post` ADD INDEX ( `dateline` ); ALTER TABLE `thread` ADD INDEX ( `dateline` ); [/sql] |
Installed and working :)
Satan |
Quote:
|
Quote:
Can't expect to understand the plugin system unless you install and test everything now can ya ;) Satan |
Installed and working :D
|
Just a question, does this work with any type of Read system option? Or just cookie based?
|
*Installed :)
|
Installed, but I don't think that is a good location for the text. It should be in the 'Hello, $username' box. IMO.
|
Is the same thing as Gary Kings hack?
|
Installed plugin but nothing is displayed for me.
|
Ah, I see how this works. It goes by cookie based mark read system. Not bad, but I'd like to see it work with the other read systems too.
|
Quote:
|
Right, but if you're using the new mark read system and don't view the threads from your last visit, those posts should still count as new.
|
Quote:
BTW, i removed the separate (get new posts) link as there is already a link under the posts and threads counts,and i also placed it under the pm stats (same position as Gary's 3.0 hack). Just my own preference. Thanks for the hack though Zach. |
Any way to get this to work wherever you are in the forum? I have this beside new posts (just new posts, not threads, so it shows a number and no text).
|
Quote:
|
Quote:
PHP Code:
|
Quote:
|
Quote:
|
Quote:
|
Installed, seems to be working fine ;)
[high]* burnist clicks install[/high] |
Since putting this in global start, if there are no new threads, instead of saying 0 it shows nothing, is this normal?
|
Quote:
However one strange thing did happen earlier,it showed -1 new threads. No threads were deleted,so don't know why it was a minus count.:confused: |
Hi,
does it shows only the number of new posts in forums and threads the user has access to or does it show the number of ALL news posts posted in ALL forums since the last visit?! I do not want my users to ask me, why they only can see 2 new postings, but the mod shows them that there are 10 new postings ;) Regrads, Tobi |
Quote:
|
Quote:
|
Here's a screenie to show the " -1 "
|
Quote:
|
Quote:
Seems as though the thread total decreases each time i view a thread and then go back to it in the same session. I think this only started when i moved the plugin to global_start and removed some of the code as suggested earlier. |
Quote:
|
Quote:
|
Sigh, let's hope vB devs come out with a workable solution.
|
Quote:
|
True, but it could be an option to turn on / off. On 3.0.x I have had this working in the navbar on every page an have not had any performance issues with ~20 members online.
------ edit: After playing with this a little more, it works great when you are using the cookie mark read system, but if you are using the Database (automatic forum marking) system then that's where the problem comes in. Lets say user 1 posts a new thread, user 2 logs in and doesn't read it, the new posts option shows as new like it should, user 2 logs out, logs in 2 days later ( Database Read Marking Limit is set to 1 day) and the new posts still reads as one, but when user 2 clicks on New Posts, nothing shows up- But, if you switch back to cookie base mark read system, the thread will show up. Is there a fix / work around for this? |
Quote:
|
I just tried that under the Database (automatic forum marking) system, and the forum with the new thread does show as "new" but when I click on New Posts, the thread does not show, since I logged out and logged in w/o reading that thread.
<a href="search.php?$session[sessionurl]do=getnew&oldmethod=1" accesskey="2"> |
Has this been updated to beta 2 yet? Liz
|
It works with Beta 2 :)
Satan |
Thanks, :) Liz
|
There was something I needed to do in the nav bar specifically for beta 2 that screwed up with this on the thread tools.
Quote:
Can y'all help? Liz |
All times are GMT. The time now is 04:52 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|