![]() |
Well it counts the posts since your last visit, not the posts that you haven't viewed since your last visit.
|
Quote:
That way is better and more noticeable by the user!!! i didnt make alter to the sql tables.I must do that?the hack works ok tho... Nice hack! Thanks a lot! |
I slipped it down a bit to after this:
Code:
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if> |
I'd like to install this plug-in, but is running that SQL query required? I know how to access phpMyAdmin, but I don't know where to run the query. I'd like to just not do it if at all possible.
|
If you don't run the query then you'll be scanning your entire post and thread tables each time you featch the data (load the page that shows the totals). I wouldn't reccomend not running the sql query if you have more then a few thousand threads and/or posts.
|
Quote:
|
Click the SQL link in phpmyadmin, or you can run sql queries from Maintenance >> Execute SQL Query in your forum's AdminCP.
|
great mod,works fine, even at vb3.5gold
|
find
PHP Code:
PHP Code:
|
~~~ removed ~~~
Just fixed it. Forgot to uninstall the other "New posts" hack before installing this one :) Thanks anyways :) Matt |
Very very nice!!!
/me installed! |
A couple of our members are reporting a small glitch with the new post count.
Sometimes when they go to the main index page it says "there has been 1 new posts and 0 new threads since your last visit.", but when they click on the "New Posts" link, it says: "Sorry, there are no new threads to view. You may search for threads updated during the previous 24 hours, here." Any ideas ??? |
Quote:
|
Quote:
It happens when they have already marked the previous posts as read.So in this case,no they haven't already read it. |
Good hack :nervous:
|
could someone please explain this
I have noticed when I go to my board it says there are 5 new post since last visit etc. No problem when I go to these threads and read them, and go back to the main page I would expect them to say there are 0 new message (posts) not emails that are unread. I have to phyiscally mark the forums read is there a way to mark a thread read once I read it automatically? I want it to say there are X unread posts now. Is it possible to also set this for subscribed threads so it dosent say there are 4000 posts, but there are 12 posts in your subscribed threads!? |
Quote:
https://vborg.vbsupport.ru/showthread.php?t=99690 |
Paul yes, but I want to change it to tell me # of unread posts. and I dont know how
|
You can't, without re-writing it.
|
Will this hack work for Version 3.5.1 ?
|
Quote:
|
Do you have a test login so I can see it in action?
Thanks By the way, how do you get this on the non-forum page? Members: 13059 Forum Posts: 78791 |
How do I get this to show on the navbar of EVERY page? Thanks
|
Anyone?
|
Quote:
|
Quote:
|
hmm. Got it fixed.
|
I change up the navbar code. it looked to cluttered, this is simpler.
PHP Code:
|
Hmmm. Curious.
I am wondering if it is possible to add this in the Who's Online page, so that people could see whether there is new post or new threads while idling in the who's online page. |
Installed, thanks!
|
excellent
|
I decided to go with having it displayed on every page on my site thinking overhead is not that great a problem because it's a small site. However, I'm having a little trouble with it where the new posts count shows nothing on any search page and also my CMPS homepage. I mean it just doesn't show anything at all, no zero, no nothing. I thought it might be related to the global_start hook. Would I need to change that to something else?
|
I am also unable to get this hack to work on the CMPS homepage, any clues on what to do?
|
Code:
<a href="$vboptions[bburl]/search.php?do=getnew">New threads</a>:$newthreads </span></if> Greetz Snatch |
Will this work outside the navbar? We don't use it but I'd like these stats to show on the left column we have that shows a user his stats when he logs in....I installed it but the links with the stats don't appear. The $newposts and $newthreads variables don't appear to work...
|
New Turn,
how i can search only vor new threads since last visit ? |
search.php?do=getnew&oldmethod=1
|
Screenshots?
|
This working on 3.5.3?
|
Quote:
|
All times are GMT. The time now is 04:20 AM. |
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:
|