View Full Version : Miscellaneous Hacks - Cyb - Advanced 'New Posts' (AJAX)
Valter
01-09-2009, 10:00 PM
Info:
This hack will show how many new posts/threads have been posted in forums since 'last visit' time. "New Posts" in navbar menu will be replaced with "New Posts: x (In y Threads)" which is updated via AJAX - no page refresh. User can manually check for new posts, or you can enable auto-check which is executed in defined time interval. Optionally you can enable and configure Smart Search Menu to give users ability to search only selected forum sections. See screenshots...
Installation:
Import product XML: AdminCP > Plugin System > Manage Products > [Add/Import Product]
To set options:
Go to: AdminCP > vBulletin Options > Cyb - Advanced 'New Posts'
Versions:
v1.0 - Apr 29. 2006.
-First version
v1.5 - Jun 25. 2006.
-Added - advanced searching of new posts (see screenshots)
-Fixed known bugs, code optimized
v1.6 - Jun 26. 2006.
-Advanced searching of new posts splitted into two navbar items
v1.7 - Jun 28. 2006.
-Depending on number of new posts different phrase is used
-Added links to phrases to hack options page so you can easily find and change/translate them.
v1.8 - Aug 04. 2006.
-Release of this hack for vB v3.6
v1.9 - Sep 28. 2006.
-Added Product Version Checking
-Fixed links to phrases in ACP (used to easily customize phrases)
-Added option to change text color
-Fixed bug (unneeded extra space after "SSM" in navbar menu)
-Product name changed to "Cyb - Advanced 'New Posts'"
NOTE: Before upgrading save somewhere content of "Menu Items" field to restore it after upgrade. It will be removed during upgrade process.
v2.0 - Jul 31. 2007.
-Added "No New Posts" to show when there is no new posts after user last visit
-Smart Search Menu (SSM) improved (no more need to write lines of code, just put forum IDs in setting field)
-SSM automatically hidden when there is no new posts
-A lot of improvements and optimization done, including:
*two templates removed
*improved integration with different styles (to avoid manual template edits)
v2.1 - May 03. 2008.
-Compatible with vBulletin 3.7
-Minor bugs fixed
v2.2 - Jan 14. 2009.
-New: New post check is now done via AJAX - no page refresh ;-)
-New: Auto-check for new posts every x seconds
-Ability to set order of items in Smart Search Menu
-Minor bugs fixed
v2.3 - Jan 15. 2009.
-New: Set how often user can manually check for new posts
-New: Option to colorize text only when there are new posts
-New: Option to disable product in selected styles
-Fixed some minor bugs
v2.4 - Jan 18. 2009.
-Added permissions check to fix problems where sometimes incorrect numbers are shown
-Fixed bug where unexpected content is shown on user session expiration
Mark as installed to get support and updates.
thunderclap82
01-12-2009, 04:13 PM
After installing this mod I get an error when clicking on New Posts. It says it can't find the search.php?do=getnew file.
Blue91
01-12-2009, 06:07 PM
Good hack! Installed.
Request for you...
Can it be made so the forums are listed in the order they are inserted into the "hack options" list? Right now, it orders them alphabetically.
Also, can it be made so that the forums listed are ONLY shown if they have new posts made in them? Otherwise, they aren't shown on the dropdown? This way I could add every forum and only the ones posted in latest would show!
Thanks!
Blue91
01-12-2009, 06:19 PM
Also, it works 100% on my forums index (www.pomoforacing.com/forums). However, the "new posts" link does not work on my main page (vbAdvanced cmps).
On the forums index, the link goes to http://www.pomoforacing.com/forums/search.php?do=getnew
On the home page (vbadvanced cmps), the link goes to http://www.pomoforacing.com/search.php?do=getnew (note the absence of "forum"). As a result, I get a "can't be found". How can I fix this?
Thanks!
thunderclap82
01-12-2009, 07:37 PM
Ah! That's the problem I'm having! It works in the main forum, but not vBadvanced. Good catch Blue91.
Funny, I was working on coding something like this today as my second mod ever... now I don't need to. Thanks again!
Although, I'm kinda pissed that I have to think of something new to mess around with! ;)
Ok, I installed, but have some issues.
The issues are, I use a custom style. It changes the default style without a problem. The bigger issue is, if it's enable, it breaks my custom style display.
I know this isn't really a fault of the mod, but am looking for any help you can provide as I'd like to use this!
My custom style has the navbar info in the header template, not the navbar template (Don't ask me why, I didn't make it, I just bought it).
This mod will remove the "new Posts" in the header, but it's not replaced with anything. so it's basically gone.
Can you tell me what I would need to insert into my header section to display this correctly in my custom style?
thunderclap82
01-12-2009, 07:55 PM
UPDATE: I've gotten the link working properly in vBadvanced, but it doesn't seem to be displaying the new message number correctly.
To fix the link search your style(s) for search.php
In the list select cyb_advancednewposts
Find the href="search.php?" and replace with href="/<forum dir>/search.php?"
This will get the links working properly under vBadvanced.
Blue91
01-12-2009, 08:20 PM
That got me fixed thunderclap82. Good job. I just changed it so I haven't gotten enough posts yet since I did it to see if the message number is correct.
Hopefully Cyb can help me with the other inquiries that I had about this mod!
Cybernetec: Do you do any custom work? Meaning I could toss a couple bucks your way? There's no way to contact you privately so... I'm leaving this message.
Anyway, let me know. I just want this mod tweaked to work with my forum templates.
Blue91
01-12-2009, 10:15 PM
thunderclap82.... as it turns out, by adding forums/ in front of the search.php callout like you said, my newposts link on the actual forums doesn't work now.
So I'm back to square one, as described in post #4 (https://vborg.vbsupport.ru/showpost.php?p=1710001&postcount=4). :( Can someone out there help?
I suck at coding but I'm starting to wonder if I'm going to have to turn the entire cyb_advancednewposts template into an if/then statement. I have no idea how to do that (yet).
TimberFloorAu
01-12-2009, 10:19 PM
Blue91 have you added this hack string to vb advanced in admincp.
ie. the bit where you specify prefix urls.?
Infopro
01-12-2009, 10:27 PM
UPDATE: I've gotten the link working properly in vBadvanced, but it doesn't seem to be displaying the new message number correctly.
To fix the link search your style(s) for search.php
In the list select cyb_advancednewposts
Find the href="search.php?" and replace with href="/<forum dir>/search.php?"
This will get the links working properly under vBadvanced.
Change /<forum dir>/ to
{$vbulletin->options[bburl]}/
Infopro
01-12-2009, 10:49 PM
I also had to change this:
<div class="vbmenu_popup" id="cyb_forumsearch_menu" style="display:none">
To this:
<div class="vbmenu_popup" id="cyb_forumsearch_menu" style="display:none;margin-top:3px" align="$stylevar[left]">
Still trying to locate the space in toolbar just before the "New Posts" text.
Blue91
01-12-2009, 11:01 PM
Blue91 have you added this hack string to vb advanced in admincp.
ie. the bit where you specify prefix urls.?
I wouldn't know where to add it. It looks like I got the search issue taken care of though (thanks infopro).
Now the issue is like thunderclap82 mentioned above... the "numbering" feature doesn't work with the main page. It just says "No New Posts". However, it works fine with the forums index, showing how many new posts there really are.
*shrug*
subnet_rx
01-12-2009, 11:07 PM
Why is there so much space on both sides of the new posts link? Can that be fixed?
thunderclap82
01-12-2009, 11:14 PM
thunderclap82.... as it turns out, by adding forums/ in front of the search.php callout like you said, my newposts link on the actual forums doesn't work now.
Really? It works for me. Did you include the slash before forums? (i.e. /forums/) You don't have it listed that way above. If not that could be causing the problem.
Infopro
01-12-2009, 11:24 PM
I wouldn't know where to add it. It looks like I got the search issue taken care of though (thanks infopro).
Now the issue is like thunderclap82 mentioned above... the "numbering" feature doesn't work with the main page. It just says "No New Posts". However, it works fine with the forums index, showing how many new posts there really are.
*shrug*
There are 4 places to add what I posted. Search that template for href to find them.
thunderclap82
01-13-2009, 12:38 AM
I also had to change this:
<div class="vbmenu_popup" id="cyb_forumsearch_menu" style="display:none">
To this:
<div class="vbmenu_popup" id="cyb_forumsearch_menu" style="display:none;margin-top:3px" align="$stylevar[left]">
Still trying to locate the space in toolbar just before the "New Posts" text.
I tried adding this but in vBadvanced it still says "No New Messages".
Dax IX
01-13-2009, 04:02 AM
I tried adding this but in vBadvanced it still says "No New Messages".
You need to add template variables into your vBA configuration under Portal Output Global Variables.
I have:cybanp_ssmforums
cybanp_posts
cybanp_threadsGood luck. :)
I have a question, tho...how would I only show the forums that have new posts in them in the SSM list? Also, how would you only show the forums that a user has permission to view at the same time?
Thanks! :)
thunderclap82
01-13-2009, 11:43 AM
You need to add template variables into your vBA configuration under Portal Output Global Variables.
That did it. Thanks!
Blue91
01-13-2009, 01:16 PM
Yep yep, that worked. Thanks Chani. I too would like to show just the forums that have new posts in the SSM list. Until a way is figured out, I just turned that option off.
Infopro, I added the variable you gave yesterday and it worked. My reply was to the guy who posted above you. :)
Valter
01-13-2009, 10:29 PM
v2.2 - Jan 14. 2009.
-New: New post check is now done via AJAX - no page refresh ;-)
-New: Auto-check for new posts every x seconds
-Ability to set order of items in Smart Search Menu
-Minor bugs fixed
To upgrade:
-Import XML, allow overwrite
-Check settings, update if needed
-Translate new phrases if needed
Blue91
01-13-2009, 10:34 PM
Installed it... overwrote the existing... the link disappeared from the navbar. Removed and reinstalled 2.1, everything back to normal.
Installed, works fine on the default theme and doesn't mess up my custom theme anymore, but still doesn't work on the custom theme. (I'm still willing to pay someone to make this work with my theme if anyone is interested)
Also, when using the default theme, it says there are 5 new posts in 3 threads. However, clicking the link to see the new threads, takes me to the "There are no new posts" page... Which is correct, there are no new posts for me to read.
thunderclap82
01-14-2009, 12:43 AM
Installed it... overwrote the existing... the link disappeared from the navbar. Removed and reinstalled 2.1, everything back to normal.
Same here. Unfortunately I don't have a backup of version 2.1 so I can't reinstall it.
lowey
01-14-2009, 07:17 AM
Installed, works fine on the default theme and doesn't mess up my custom theme anymore, but still doesn't work on the custom theme. (I'm still willing to pay someone to make this work with my theme if anyone is interested)
Also, when using the default theme, it says there are 5 new posts in 3 threads. However, clicking the link to see the new threads, takes me to the "There are no new posts" page... Which is correct, there are no new posts for me to read.Same here! :(
Blue91
01-14-2009, 01:18 PM
Same here. Unfortunately I don't have a backup of version 2.1 so I can't reinstall it.
PM me your email address and I'll email it to you.
dvsDave
01-14-2009, 02:26 PM
Feature Request: Can forum permissions be integrated into this? I want my moderators to be able to see new posts in their private forum, but I don't want normal users to even know it exists.
Pessimist
01-14-2009, 06:37 PM
Feature Request: Extra option for Text Color.
Enable text coloring only when there are new messages: Yes/No
Pessimist
01-14-2009, 07:09 PM
Cybernetec
And one HTML validation fix ;)
Line 48, Col. 125:
&
should be:
&
Valter
01-14-2009, 10:51 PM
v2.3 - Jan 15. 2009.
-New: Set how often user can manually check for new posts
-New: Option to colorize text only when there are new posts
-New: Option to disable product in selected styles
-Fixed some minor bugs
To upgrade:
-Import XML, allow overwrite
-Check product settings, update if needed
thunderclap82
01-14-2009, 11:07 PM
Like v2.2, after the install the New Posts navbar button disappears. Had to revert to v2.1.
gwerzal
01-15-2009, 02:37 AM
Im having the same problem as this dude.
Would really like to use this as well
Installed, works fine on the default theme and doesn't mess up my custom theme anymore, but still doesn't work on the custom theme. (I'm still willing to pay someone to make this work with my theme if anyone is interested)
Also, when using the default theme, it says there are 5 new posts in 3 threads. However, clicking the link to see the new threads, takes me to the "There are no new posts" page... Which is correct, there are no new posts for me to read.
Blue91
01-15-2009, 01:02 PM
Yep, install still isn't working on versions after 2.1. Can you verify the install setup?
webspider
01-15-2009, 04:44 PM
Great mod. Would it be possible to have an exclude forum option?
Blue91
01-15-2009, 06:46 PM
Anyone else having trouble with getting v2.3 to work/show up on the forums?
2.1 is working. 2.2 nor 2.3 worked for me.
Anyone have one of the older versions? 2.3 shows the incorrect numbers, I've attached a screenshot that will show exactly the problem.
Blue91
01-16-2009, 01:52 AM
I can email you 2.1 tomorrow (I have it on my work laptop). I have 2.2 also but it never worked for me (took the entire thing out of the navbar).
Thanks, that'll be great! I found 2.2, but had the same issues with the counts being wrong.
I can email you 2.1 tomorrow (I have it on my work laptop). I have 2.2 also but it never worked for me (took the entire thing out of the navbar).
Dax IX
01-16-2009, 02:51 AM
Here ya go. :)
Thanks for the 2.1, I still have the same problem with that one though, shows the incorrect unread post counts... so 2.1, 2.2 and 2.3 all show incorrect post counts for me. Very odd.
vBA does show the correct counts though, so... it has to be the way it's calculating the unread posts.
Valter
01-16-2009, 01:30 PM
I've fixed permission bug which sometimes shows incorrect numbers. I'll release this new version later.
About navbar link - does your custom styles which you have problems with contains:
$vbphrase[new_posts_nav]</a></td>?
Blue91
01-16-2009, 02:04 PM
2.1 works for me. 2.2 and 2.3 don't, in any of my styles. :(
Blue91
01-16-2009, 02:15 PM
I've fixed permission bug which sometimes shows incorrect numbers. I'll release this new version later.
About navbar link - does your custom styles which you have problems with contains:
$vbphrase[new_posts_nav]</a></td>?
Yes, my navbar templates have this code. Please see what diffferences there are between 2.1 and 2.2/2.3 b/c 2.1 works great but the other versions don't. They install and all, but the link doesn't show up on the navbar.
Blue91,
Someone else helped me with this outside of this thread... drop this variable $cyb_anp where ever you want the "new Posts" link to show up in your style. Works great!
Excellent to hear, I can't wait. I'll finally be able to enable this plugin!
I've fixed permission bug which sometimes shows incorrect numbers. I'll release this new version later.
[/code]?
Roxie
01-16-2009, 04:26 PM
Works great. Would like to be able to remove how many threads though. Thanks Cyb!
TandyServices
01-16-2009, 05:23 PM
Installed but disabled for now. Doesn't show the right amount of new posts and always shows there's one new post. Hoping on a fix soon :)
Valter
01-16-2009, 05:34 PM
Please try this XML and let me know if it works properly on your forums.
As always, import XML as product with 'overwrite' checked.
Installed this one, still doesn't work. Now, it says 0 posts no matter what. I waited for someone else to post, refreshed, I can see that in the new posts list, but this still says 0.
Another thing I noticed is that the first page load, the "New Posts" is not bolded/colored as my theme is. After the AJAX refresh, it looks like it should.
Please try this XML and let me know if it works properly on your forums.
As always, import XML as product with 'overwrite' checked.
fattony69
01-16-2009, 09:28 PM
It doesn't work for me either and my members like live off of this modification.
Valter
01-16-2009, 10:31 PM
Problem solved on fattony69's forums. It was modified product template.
https://vborg.vbsupport.ru/external/2009/01/39.png
Please follow upgrade instructions which I'm writing every time when new version is released.
To revert modified template (use original content) select it on the list and click Revert button, then confirm.
I checked and none of your templates are modified.
Valter
01-17-2009, 08:04 AM
Works great. Would like to be able to remove how many threads though. Thanks Cyb!
You're welcome.
Just edit phrases and remove that part.
Blue91
01-17-2009, 01:13 PM
2.3 is working properly on my forums index but not on my vbadvanced home page. On the index, it shows correct number of posts, etc. On the vbadvanced home page, it stays at "checking...". What code do I need to add so it works on both?
TandyServices
01-17-2009, 02:03 PM
Uninstalled. Xml didnt work, no templates were modified. After installing new xml smilies page kept popping up. Done with it. Nice try though
dvsDave
01-17-2009, 04:03 PM
2.3 is working properly on my forums index but not on my vbadvanced home page. On the index, it shows correct number of posts, etc. On the vbadvanced home page, it stays at "checking...". What code do I need to add so it works on both?
That's the issue I'm getting. I added the global variables to vBadvanced and still get the "checking..." message. I'm running 2.3.0
Dragbike Live
01-17-2009, 04:15 PM
i have found a new problem with this mod... i have been testing it and finally had to uninstall it...because all this when i install it on my board...after a hour it seems to reset the images and navbar and basically stretches the back ground images and everything...hard to explain what it does....but it is this mod that causes it...
maybe the ajax ? is there a version that requires a page refresh by the member....
I really like this mod...
Pessimist
01-17-2009, 09:18 PM
Exactly!
Log in under the account, but don't check "Save me" checkbox!
Wait when updating through an Ajax will update pages and session will expired :)
Cybernetec, please, fix it.
Valter
01-17-2009, 09:53 PM
v2.4 - Jan 18. 2009.
-Added permissions check to fix problems where sometimes incorrect numbers are shown
-Fixed bug where unexpected content is shown on user session expiration
To upgrade:
-Import XML, allow overwrite
-Ensure that hack templates are unmodified
Pessimist
01-17-2009, 10:28 PM
Cybernetec
Great, thanks!
Blue91
01-17-2009, 11:01 PM
2.3 is working properly on my forums index but not on my vbadvanced home page. On the index, it shows correct number of posts, etc. On the vbadvanced home page, it stays at "checking...". What code do I need to add so it works on both?
That's the issue I'm getting. I added the global variables to vBadvanced and still get the "checking..." message. I'm running 2.3.0
Cybernetic,
Can you help address this issue we're having?
I'm now using 2.4, templates unmodified, and it's still doing the same thing shown in my attachments in my previous post.
Thanks.
dvsDave
01-17-2009, 11:29 PM
Cybernetic,
Can you help address this issue we're having?
Thanks.
just upgraded to 2.4 and am still having this issue.
v2.4, still shows 0 new posts when there are posts. On the main VBA page or the forums index. My templates are still unmodified.
I have the same problem as Trek.
canpare
01-18-2009, 09:14 AM
My Forum :
http://img413.imageshack.us/img413/6006/samplesw5.jpg
Thanks Cybernetec (:
Blue91
01-18-2009, 04:32 PM
:( I guess I'll go back to 2.1 since it worked on both the homepage and on the forums index.
I'm using this mod now: https://vborg.vbsupport.ru/showthread.php?t=168303
Basically does the same thing, but not as nicely and no AJAX, but... it's something. At least until/if this mod ever works for me. Would be nice to not be told it's my templates, I didn't install it right and otherwise to just be ignored, but... I guess I can't have everything. ;)
:( I guess I'll go back to 2.1 since it worked on both the homepage and on the forums index.
MoMan
01-18-2009, 06:04 PM
Any version beyond 2.2 does not work at all for me. Furthermore, I'm experiencing the same homepage (vBadvanced) problems as everybody else. My vBa menu simply says "New Posts: Checking..." and does not update. Within the forum, however, everything is fine.
I would appreciate a fix for this in the future if possible. This is truly a great modification and it would be even better if it worked on our homepage (or, if it automatically disabled itself and reverted to default templates when browsing the homepage). If version 2.1 works on the homepage but without AJAX, I'd settle for that, but I can't find where to download that version.
Stefanus
01-18-2009, 06:18 PM
Same here, would like to see a working version of this mod.
(ver 2.1 (https://vborg.vbsupport.ru/showpost.php?p=1714141&postcount=41) does not work on my setup)
Any version beyond 2.2 does not work at all for me. Furthermore, I'm experiencing the same homepage (vBadvanced) problems as everybody else. My vBa menu simply says "New Posts: Checking..." and does not update. Within the forum, however, everything is fine.
I would appreciate a fix for this in the future if possible. This is truly a great modification and it would be even better if it worked on our homepage (or, if it automatically disabled itself and reverted to default templates when browsing the homepage). If version 2.1 works on the homepage but without AJAX, I'd settle for that, but I can't find where to download that version.
MoMan
01-18-2009, 06:50 PM
I've added
$vbulletin->templatecache['header'] = str_replace('$vbphrase[new_posts_nav]</a></td>', $vbulletin->templatecache['cyb_advancednewposts'],$vbulletin->templatecache['header']);
to my installation in order to incorporate the links into those styles which display the new posts link in the header template, and not the navbar. While it's working for me in 2.2 (save the homepage), 2.1 seems to introduce an extra <tr> tag which messes everything up. Guess I'll just wait for the AJAX homepage fix.
rbecking
01-18-2009, 07:31 PM
2.4 works fine for me in the forum and on vba homepage
Blue91
01-19-2009, 02:04 AM
2.4 works fine for me in the forum and on vba homepage
Did you do new install? Upgrade from previous version? Did you make ANY changes to the cyb_advancednewposts template? Did you change any other templates? Can you post the code to the various templates used in this mod for comparison to ours?
Mythor
01-20-2009, 09:04 AM
I installed 2.4 onto vb 3.8.0 and it won't work on my vbadvanced page (even with editing the template manually) nor does it count the new posts inside the forums correctly.
Will give it another chance if/when it's updated. :)
Dax IX
01-20-2009, 04:42 PM
Did you add the template variables to your vBA options?
cybanp_ssmforums
cybanp_posts
cybanp_threads
Blue91
01-20-2009, 05:02 PM
Did you add the template variables to your vBA options?
cybanp_ssmforums
cybanp_posts
cybanp_threads
I, for one, have done that already. Thanks for the suggestion though.
Mythor
01-20-2009, 07:42 PM
Yes, I too tried adding the variables. And every other fix available in this thread plus a few I came up with myself. Nothing seemed to make any improvement.
Hopefully Cybernetec will know what's gone wrong and 2.5 will get the job done. :)
aproape
01-20-2009, 08:56 PM
Greetings everyone,
We installed v2.4 over v2.1. Didn't work at first on our customized template - the links went away from the navbar.
The default template, however, worked on the forum homepage without any issues.
We've read all the posts in here and checked the cyb_advancednewposts template. It was modified since the last version and the new upgrade didn't modify it [of course].
We reverted the cyb_advancednewposts so that we have the new version and.. Voila! The mod works on the forum homepage.
VBA pages, however - still don't work. We're looking into making that work as well. Stay tuned..
Cheers,
aproape
Blue91
01-21-2009, 03:13 PM
I think I'm going to uninstall this until someone posts up that they've got a way to get it working on both the forums navbar and on the navbar on the vbadvanced home page. My users keep PMing me letting me know it works on forums, but constantly says "checking" on home page.
Will keep an eye on this to see if it's ever resolved. :-(
kud0gfx
01-22-2009, 12:52 AM
is there anyway to get a no-ajaxed version? just like the old one... because my forum are getting pretty some max user connection mysql errors.. so I had to deactivate it
Biker_GA
01-22-2009, 09:15 AM
I had to turn it off as well. Load on the forum was unacceptable and we, too, use vBAdbvanvced.
thunderclap82
01-22-2009, 01:37 PM
I'm just sticking with v2.1 since it seems to work properly. I really wish an updated version was released that correct a lot of our issues, but if not I'm quite happy with 2.1 for now.
Blue91
01-22-2009, 10:31 PM
I went with Better New Posts (https://vborg.vbsupport.ru/showpost.php?p=1631845&postcount=4) and changed the "Today's Posts" link in the Quick Links navbar menu to "My Threads from Past Month".
I had my vb 3.03 like this until I upgraded to 3.8. My users actually preferred the ability to search from past visit, past day, past week, and past month so I went ahead and changed it.
What would be the BEST of both worlds for me would be Cyb's AJAX new posts with a dropdown menu like the "Better New Posts" I'm using now so my users can still do a quick search that way as well. *shrug* Oh well.
Skyrider
01-23-2009, 10:06 PM
New Posts: 7 (In 4 Threads)
Sorry, there are no new threads to view.
You may search for threads updated during the previous 24 hours, here.
Is this right?
Kendothpro
01-23-2009, 11:18 PM
Nice hack cyb! I have installed it and wanted to contribute: I think it can be made better with a simple adjustment:
1- For users without javascript, it completely invalidates the "new posts" button (i.e. doesn't degrade gracefully), this can be solved by changing this part:
href="javascript:void(0);" onclick="CAnp_getStats();"
to this
href="search.php?do=getnew" onclick="CAnp_getStats();
return false;"
It will work exactly the same for users with javascript, but will degrade gracefully for those who don't have javascript. It will also be possible to open the link with the "open to new tab" option in firefox (i.e. middle mouse button)
2- The "checking.." text is a bit annoying since it changes the layout in the navbar and moves all the menus, there should be an option to disable/change it
Old versions did this to me, the latest didn't, but never displayed anything but 0's after that. Sorry I can't be of any help, just letting you know, you're not alone. heh
Is this right?
albear
01-25-2009, 10:41 PM
Installed... Thank You !
dresus
01-25-2009, 10:55 PM
uninstalled till a working version is released...
emperatour
01-27-2009, 07:55 AM
this don't work for me :-? why ?
emperatour
01-29-2009, 04:19 AM
I have some newposts in mu froum but newpost is 0 on navbar ...
I have some newposts in mu froum but newpost is 0 on navbar ...
This is the same problem I had, finally gave up, I'll just keep trying new versions as they are released until it's magically fixed.
Blue91
01-29-2009, 03:43 PM
It looks like the developer isn't even trying to fix the issues that most of us are having with this hack.
thunderclap82
01-29-2009, 06:28 PM
It looks like the developer isn't even trying to fix the issues that most of us are having with this hack.
I agree. It seems as if the author isn't even interested in resolving the issues people are having. But, as the saying goes, you get what you pay for. :) (But this mod should be marked as "unsupported" then.)
Valter
01-30-2009, 08:00 PM
If I can not help you to make it working on your custom styles that does not mean the product is unsupported.
thunderclap82
01-30-2009, 08:13 PM
I only made the unsupported comment because it appeared you were ignoring many users concerns trying to use the hack. Please don't take it as me attacking you, just an observation on my part.
If I can not help you to make it working on your custom styles that does not mean the product is unsupported.
I think it's more the ignoring of issues some people (like myself) have. We understand we have custom styles and that it's our problem. However, when we ask a question and get nothing back at all... it doesn't look good.
If you choose not to support anything done with custom styles, no problem. Say so. Otherwise, we'll be waiting for help/a fix to get things working. If we're not going to get that, we'll move on to other products as needed. No harm done.
Blue91
01-31-2009, 01:22 PM
Hell, it doesn't work on my "stock" VB style, so please stop blaming the issues on the users' "custom styles."
thunderclap82
01-31-2009, 02:09 PM
Hell, it doesn't work on my "stock" VB style, so please stop blaming the issues on the users' "custom styles."
And how many users use the vB stock style? I'd wager 95% of users customize their style.
M_Portiss
01-31-2009, 02:25 PM
Working great on 3.8! I have the stock style with only colours modified.
Thanks!
Great little touch.
Valter
01-31-2009, 02:31 PM
Hell, it doesn't work on my "stock" VB style, so please stop blaming the issues on the users' "custom styles."
Why it then works perfect here:
bihforum.com
or here:
noitats.com ?
I can not fix *something which I can not reproduce. I don't know what's your config, are there edited files, wrong file versions, bad settings, some php problems, other problematic hacks installed, problems with templates etc...
Chadi
01-31-2009, 10:27 PM
It doesn't work for me either on 3.8.1 / custom style.
Jack Black
02-01-2009, 07:22 PM
Is there anyway of making the post count amend itself once someone has read a new post?
TsirhCitna
02-02-2009, 04:17 PM
Not working for me as well on any style. It refreshes and always comes up with 0 new posts which is wrong.
dvsDave
02-03-2009, 06:24 PM
Hey Cyb,
I've got the default theme with no manual template edits, and it's not working for me either.
chiapeterson
02-03-2009, 07:41 PM
It used to show you a list of "unread" threads... even if there were no "new" threads. Now it doesn't. Was that a "feature" change?
Edit: Just realized... it's not working at all! :-(
Valter
02-03-2009, 10:29 PM
If you are interested create temp admin account for me so I can check it on your forums during next weekend.
MikesSite
02-04-2009, 01:52 AM
Install & nominated. Very nice!
What would be the easiest way to adjust the width of it? There seems to be way too much space to the left and right of the New Posts notification. Check the attachment to see what I am talking about.
sectomy
02-06-2009, 08:11 AM
yeah it shows always: 1 New Post
even if i marked all as read.
if i can change this to 0, then it should work :D
but how ? :)
Urinemachine
02-12-2009, 03:07 PM
I installed this mod but it doesn't do anything on my page :(
imedic
02-13-2009, 05:04 AM
Great mode. For me the new post count is always 0 :( but Forum specific search works and that is great for my board.
Just wondering can this mode be enhanced to consider new posts for a group not a person?
I have 5 moderators on my forum and all we need to read what is posted to be sure we don't miss something and we dont have a clue what other has read/moderate already.
If It was to have an additional link to work as search new posts but when you read it (moderate it) then it counts read for the whole group not only for you.
This way Group moderators is counted as a person reading new posts thus each moderator needs to read a part of the new posts (as much as he can) others finishing the rest so no duplication in reading.
I am not using post in moderation queue but let people post directly and we (moderators) read and react after (if it is the case).
Regular new posts (this mod) should be separate from this.
I have no coding knowledge (I do understand some stuff) and I was asking how tough it will be to do this. Possible to be a separate mode not a feature on this one but you know better.
Possible problem I think can be conflicts on 2 moderators reading the same thread ...
MasterofWorlds
02-18-2009, 12:58 AM
It's not working for me either now, it's always showing 0 even when there are new post and i can tell as the icons have the new post icons showing when scrolling down the site.
Blue91
02-18-2009, 03:17 AM
Oh but wait... according to Cyb, ALL of our problems are solely OUR fault b/c we must ALL have modified styles, etc.
If you read each posts... it's clear to see this doesn't work 100% correctly for the majority of those who've posted here.
dvsDave
02-19-2009, 02:14 AM
@Blue
Give it a rest. Cyb knows, I know, we all know it doesn't work with some people's installs.
Have you tried to disable each product individually to see if there is a conflicting product?
I haven't done this yet, but I think I'll try now. Why don't you post the results back here if you find something, and even if you don't, post what products you have running, that way we can compare notes to find similarities?
dvsDave
02-20-2009, 12:45 AM
hmm... is there anybody who is having the problems NOT using vbSEO ?
Honk0815
02-20-2009, 08:13 AM
I once read a post on top he was still unread.
Does not
paintballer.ie
02-20-2009, 10:37 AM
Hi, it works great for me on standard theme, but does not on my custom theme. It is a fresh install on a test board. Any help?
here is my custom header code
<!-- logo -->
<a name="top"></a>
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="wrapper">
<tr>
<td class="headerwrap"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="logowrap"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="images/geram/spacer.gif" alt="$vboptions[bbtitle]" width="234" height="96" border="0" /></a></td>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td class="topnav"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td class="topnavR"> </td>
</tr>
</table></td>
</tr>
<tr>
<td class="navwrap"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<!-- nav buttons bar -->
<div id="navstyle" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
<if condition="$show['member']">
<td><a href="usercp.php$session[sessionurl_q]"><!--$vbphrase[user_cp]-->User Settings</a></td>
</if>
<if condition="$show['registerbutton']">
<td><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
$template_hook[navbar_buttons_left]
<td><a id="vbbloglinks" href="blog.php$session[sessionurl_q]">$vbphrase[blogs]</a><script type="text/javascript">vbmenu_register("vbbloglinks");</script></td>
<!--<td><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>-->
<if condition="$show['communitylink'] AND $show['popups']">
<td><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community"); </script></td>
<else />
<if condition="$show['memberslist']">
<td><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
</if>
<if condition="$show['quick_links_groups']">
<td><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td>
</if>
<if condition="$show['quick_links_groups']">
<td><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td>
</if>
</if><!--<td><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>-->
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td><a id="navbar_search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
</if>
<if condition="$show['member']">
<td><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_contacts]</a></td>
</if>
</if>
$template_hook[navbar_buttons_right]
<if condition="$show['member']">
<td><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>
<!-- / nav buttons bar --></td>
<td class="navR"> </td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top" class="cwrap">
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
$ad_location[ad_header_end]
samuelss
02-20-2009, 02:11 PM
I am getting a database error like this:
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to MySQL server on 'mysqlname' (10061) C:\Domains\mydomainname\wwwroot\forum\includes\cla ss_core.php on line 311
Any ideas.
Thanks.
hmm... is there anybody who is having the problems NOT using vbSEO ?
I am not using VBSEO and it doesn't work for me, always shows 0 new posts. One of the old versions worked at some point, but the count was wrong, but it showed somethign other than 0. Now though, it just doesn't work, even on the default template.
b6gm6n
02-20-2009, 08:56 PM
vba...checking.... same as the rest of you... might be working else where, haven't tried, tried all suggestions in this thread, using 3.8.1 custom style and vba
-b6
jgommel
02-21-2009, 10:38 PM
I just installed this in on my site (3.8.1), and can confirm that it is not working. Just like everyone else - stays at zero, even though there are new posts. I've disabled it until the developer fixes the issue.
ErrorLog
02-22-2009, 11:08 AM
Thanks installing...
M_Portiss
02-23-2009, 06:17 PM
Uninstalled. :( Unfortunately
Was working brilliantly, however was making my "C&D Garage" hack inaccessible for IE7 users. Disabled this mod, bang, back to working with IE7.
Thanks for the great mod! Not your fault I am running conflicting mods!
Hornstar
02-27-2009, 06:13 AM
yeh not working, it stays at 0 for me to :/
dvsDave
02-27-2009, 02:16 PM
Anybody know how to disable the "New Posts since: " feature and still have the Smart Search Menu working? (at least until Cyb gets the New Posts since issue ID'd)
Switch02
02-27-2009, 03:41 PM
Thanks nice mod
mgurain
02-28-2009, 07:41 AM
Hi,
Cybernetec your hacks were perfect before, I hope to see it fixed soon, may Allah help you.
It's not working properly (means: sometime it works fine but other no and I need to refresh it!)
Thanks any way.
SeV3n
03-04-2009, 09:43 PM
Anybody got the v2.2 to downgrade to?
crazlunatic
03-20-2009, 12:59 PM
The mod works for me but there is one main problem. The post count does not reset (say you have 10 and you checked 5 threads, it stays at 5) unless you log out.
How can it be fixed so the updates are live? Thanks.
Valter
03-21-2009, 07:34 AM
With the current version you can mark forums as read to reset it.
crazlunatic
03-22-2009, 12:27 AM
is it possible to get this automatic? for example, once I read it forum, it will automatically know I read it?
Valter
03-22-2009, 09:48 AM
Such feature may be added in next version. I can not talk about time, because I'm very very busy these days...
Il Pompa
03-27-2009, 10:39 AM
Not working on my vBulletin 3.8.1 patch level 1 :(
AdrianH
03-28-2009, 06:15 AM
Previous version was working for me on v3.8.1, changed to new version and new posts do not show on any skin.
Previous version was working for me on v3.8.1, changed to new version and new posts do not show on any skin.
Ditto on 3.8.2
aztecboi2003
04-08-2009, 06:15 PM
UPDATE: I've gotten the link working properly in vBadvanced, but it doesn't seem to be displaying the new message number correctly.
To fix the link search your style(s) for search.php
In the list select cyb_advancednewposts
Find the href="search.php?" and replace with href="/<forum dir>/search.php?"
This will get the links working properly under vBadvanced.
Where exactly do I find this search.php? Can you show me in the default, then I can see if it works. I'm running 3.8.2 and it works fine on the forums but just says checking on the cmps. Thanks.
jgommel
04-14-2009, 09:30 PM
...so is it safe to say this mod is dead? I keep hanging around hoping it gets fixed.
Furcal15
04-15-2009, 06:17 AM
Real simple question...How do you change the color of the New Post text?
teenhut
04-15-2009, 12:02 PM
Uninstalled =/
Valter
04-15-2009, 05:10 PM
Real simple question...How do you change the color of the New Post text?
There is a setting in product options.
Furcal15
04-15-2009, 08:18 PM
Wow. I didn't even look there. I was all looking in the navbar template. Thanks buddy buddy. I appreciate it.
Jamey
04-16-2009, 12:22 PM
Can we make this to also show New posts within last week or last so many days?
biocyberman
04-20-2009, 10:55 AM
Sorry, false alarm :P
biocyberman
04-21-2009, 06:51 AM
Here is other thing:
I alwas see
New posts: 0 What's wrong?
Using vb3.8.1 PL1
Sayid
04-22-2009, 04:19 PM
Wow Very nice mod !
I have to try it . I need this mod but I'm afraid from the last posts !!
I hope it will work without problems .. ;)
Valter
04-23-2009, 11:15 AM
Is there someone who can create temp admin account for me so I can check why this does not work on some forums? Please send me a PM with account details if you want to help...
sparkster666
04-23-2009, 02:17 PM
is it possible to get this automatic? for example, once I read it forum, it will automatically know I read it?
Great mod will reinstall when this is added. It seems a little useless without it
Morsolo
04-23-2009, 03:24 PM
*Installed*
This mod is working 100% for me, however there is a slight problem I'm having, but I don't think it's actually related to the mod, as it's on vBA as well...
Say I click on the "8" for new posts and read each post, it'll stay at 8 for however long until I hit "Mark all read"... Why doesn't it go down? I'm thinking it might not be the mod as the "New Posts" in the vBA Welcome Block doesn't decrease either.
To make it worse, if there is 1 new post and I post in that thread... It goes to 2!
(EDIT: Yeah, what the past couple of people have said, lol)
sbsforum.us
04-28-2009, 03:30 PM
Installed and using
Thanks!
dmark101
04-28-2009, 09:14 PM
Install & nominated. Very nice!
What would be the easiest way to adjust the width of it? There seems to be way too much space to the left and right of the New Posts notification. Check the attachment to see what I am talking about.
i'm curious about this as well. i've got it installed on vB 3.8.2 and it works flawlessly, however i would also like to know about changing the width. there is way too much space being taken up by this.
also, is there any way this could be added above the navbar, instead of on it? :)
Biker_GA
04-28-2009, 09:17 PM
For those of you that have it loaded, what is your server load now? Earlier versions produced an unacceptable load on our server.
Kolbi
05-03-2009, 07:05 AM
Sorry, don´t know but i have a little problem:
There ist always standing 0 new posts, although there are new posts... ?!?
The new posts link is in the header templat, but i modified your addon...
How do i get this working in a custom style? thanks
visitangeles
05-16-2009, 05:39 AM
it works just fine for me except on the vbadvanced home page. what is the issue there? it is in the menu bar.
also, how could you put New Posts (the number of new posts) next to each Forum Title in the list, not menu bar, but each Forum on the Forum Home page like they do in UBBthreads?
thanks in advance.
flasher33
05-16-2009, 06:54 AM
many thanks to CYB for another fantastic hack
if I may, I have Translated the Hack to Arabic and here it is
Is there someone who can create temp admin account for me so I can check why this does not work on some forums? Please send me a PM with account details if you want to help...
I have a new installation of 3.8.2 (testing before deploying my new Politics site) with vBa 3.1.0, and upon installing, found that it doesn't show new posts.
Cyb, I'd be happy to let you poke around on my test site. Shoot me a PM if you're still looking.
monkeyboy1916
05-23-2009, 03:53 PM
I'm using the Security Token Notification (https://vborg.vbsupport.ru/showthread.php?t=177017) mod to eliminate Security Token errors as they come, and it reports a security token error alot of the time when your mod updates..
I'm not sure if it's a problem with the actual notifier (since your mod still works perfectly fine and updates correctly) or with this mod, but I tried checking the Ajax and I don't see any mention of the security token, and I'm not sure how to/if to add it.
Any ideas?
ragtek
05-26-2009, 12:25 PM
hmm
It's working for me, but when i read the posts, the number (novi postovi: 1) stays and don't reset to 0
Valter
05-26-2009, 04:31 PM
You need to mark forums as read to have 0.
In next version I'll make it work with db-based thread/forum read marking. It currently works only with cookie-based marking type.
SnowBot
05-26-2009, 05:39 PM
You need to mark forums as read to have 0.
In next version I'll make it work with db-based thread/forum read marking. It currently works only with cookie-based marking type.
Now that would be good, thx
visitangeles
06-05-2009, 12:02 AM
Can u do "New Posts: x (In y Threads)" per forum? like they do in UBB Threads?
we just changed over and our members do u like the fact that they can go to the forum home and see all the unread posts and threads per line and if no unread posts or threads then they keep moving on.
is that possible?
any code for that? like adding a forum ID or something to the query?
dmark101
06-06-2009, 06:03 PM
cyb, first, thanks for a great product. :)
i have a few of your mods on the board i help run but this one is creating something a bit odd. when a person clicks on the XX in XX threads portion, they're getting a peculiar search timeout message. it gives the default vB message for search, but then it says they can perform a search again not in the default 30 seconds, but in very large number, like 1600 seconds. it's happened to a few people, but i haven't been able to replicate this. some are using FF and others IE.
also, a couple of people have had to re-log in after clicking the "new posts" portion. again, i haven't been able to replicate this, so i'm not sure what might be causing it.
any help you could provide would be apprecaited. :)
Selene
06-07-2009, 01:13 PM
<a href="http://pakstop.com/pmforums" target="_blank">http://pakstop.com/pmforums</a>
I dont see the "new post in " tab ....
what am I doing wrong
adwolf1
06-08-2009, 09:51 PM
this mod is causing undue load on my server -- like from 1.10,0.60,0.50 to 5,6,6; mysql is returning slow queries like no ones business; i maybe run 20-30 concurrent users.
Any ideas on how to improve the speed of the queries this thing is performing? Is there an index that can be added?
otherwise, great mod. Thanks.
ctrlbrk
06-17-2009, 11:53 PM
You need to mark forums as read to have 0.
In next version I'll make it work with db-based thread/forum read marking. It currently works only with cookie-based marking type.
Ok that explains what I was seeing. I've uninstalled for now, I look forward to the next version!
Mike
http://forum.bigmiketrading.com
Xencored
07-05-2009, 11:13 PM
Edit Done it lolol!!!
Great mod mate thanks :)
dinamik
07-06-2009, 08:04 AM
hello,
great plugin, but i have a problem with it. I installed it w/o any problem,seemed fine at begining,but then i realised that even if i read the post,the number wont go down :)
willy888
07-06-2009, 03:05 PM
It does not count new posts although there are
XShava
07-08-2009, 08:24 PM
I am using VBSEO and this works fine.
Only it used to show a list of "unread" threads... even if there were no "new" threads. Now it doesn't. But in Smart Search Menu "New Posts In" -> "View all new post" - show unread thread.
Can you Cyb add that feature some time :)
Andyrew
07-19-2009, 01:58 PM
Not working for me, never shows any new posts. :confused:
Saint Dean
07-20-2009, 09:43 AM
Is this possible to have this mod, underneath the time? We currently have one their, be nice to have an ajax one instead because we dont use a navbar(flash header)
Unfortunately, it also does not function with me. In spite of new contributions it always indicates zero, all the same what I change in the settings. vB 3.8.2.
corsacrazy
08-24-2009, 08:19 PM
Not working for me, never shows any new posts. :confused:
ditto.. nothin at all showing for me.. maybe theres a prob with my style?
corsacrazy
08-27-2009, 09:44 AM
Can no one fix the issue with it just saying 0 all the time?
vBulletin® Version 3.8.4
does not work with my style. but works ok in default style.
vb,3.8.4
corsacrazy
08-29-2009, 04:35 PM
does not work with my style. but works ok in default style.
vb,3.8.4
mine on vb 3 8 4 always has 0 posts.... is yours the same?
MissKalunji
08-31-2009, 07:54 PM
Can someone tell me what's smart search?
MissKalunji
08-31-2009, 07:56 PM
what's smart search?
Gotmian
09-08-2009, 05:36 PM
So, great mod, but can't leave it on as when the forums are off (for maintenance or something) it will copy ALL of the "offline" message and paste it over the top nav bar...
http://www.myxbox.gr/gotmian/bugonmod.JPG
Can you please fix this? If it is not template specific....?
archet1337
09-17-2009, 09:22 PM
I'm adding this to a custom theme and would like to add it in the header template like in the picture below.
http://www.digi-tech.org/images/allowed/temp_header_q.png
Could anyone please tell me what code to add to the header and I'll get the rest sorted.
Thanks :)
MissKalunji
09-18-2009, 03:10 AM
not sure because this works with a phrase that's in a template and replaces it
$vbulletin->templatecache['navbar'] = str_replace('$vbphrase[new_posts_nav]</a></td>', $vbulletin->templatecache['cyb_advancednewposts'],$vbulletin->templatecache['navbar']);}]]
so i'm not sure how you would do that..
crazymilk
09-18-2009, 09:15 AM
I all ready have a new posts button in my forums. Just wondering why i would want this one?
MissKalunji
09-18-2009, 11:35 AM
because it will add (# of threads and # post) next to it look at the screenshots?
chrisbeau
09-19-2009, 05:51 PM
You can see my problem from the attached pic, I cant see the text on the drop down menu. Its there but in white font against a white background.
104582
carcomp
10-03-2009, 02:29 AM
Do you plan on doing any updates for this Cyb?
Check out how i've implemented it on my forum. Its a VERY VERY integral 'seen always' part.
I've noticed that it will timeout after awhile just 'stuck' on checking for new posts. Any ideas?
www.quad4forums.com
Arrangements
10-06-2009, 07:26 AM
For anyone looking to download the old working version:
aztecboi2003
10-24-2009, 10:52 PM
Is there any way to get this to not list the RSS feed posts and new posts?
reddyink
10-27-2009, 09:25 PM
I would like to Move New Posts links (New Posts and Menu) to a different location.
What URL should I be copying from the navbar. newposts.php?search=
Thanks!
Scalemotorcars
10-30-2009, 02:23 PM
Anyone know how I can Exclude RSS posts from the post count.
I added a plugin at the search_start hook to exclude showing the RSS forums and that works fine.
$_REQUEST['exclude'] .= ',xx,xx,xx';
All I need now is for the search result to exclude those forums form the post and thread count.
Any suggestions would be great. Thanks...
Kosmic1
12-02-2009, 08:55 AM
You need to mark forums as read to have 0.
In next version I'll make it work with db-based thread/forum read marking. It currently works only with cookie-based marking type.
Yeah, that's the only problem I have :( It would be nice if we don't have do mark forums as read to have 0.
Installed but disable for now. Can't wait for the new version... :)
PlayersBay
12-14-2009, 04:57 AM
Installed this mod but it doesn't show any new post when I log in as another user after making some posts...
MrRem
12-14-2009, 02:53 PM
Is there a way to make this show new posts in Social Groups?
PlayersBay
12-21-2009, 03:28 AM
For anyone looking to download the old working version:
Thanks, had to install this 3.7 version on my 3.8.4 board to get it working. Would love to see the 3.8.4 bugs get solved though as I like the extra settings it allows.
BadgerDog
01-08-2010, 04:32 PM
You need to mark forums as read to have 0.
In next version I'll make it work with db-based thread/forum read marking. It currently works only with cookie-based marking type.
Installed, but now I'm beginning to wonder if I'll have a logic conflict for members.
We run with our setting as:
Database (automatic forum marking) - this option is the same as a previous option, but forums are automatically marked as read when the last new thread is read.
Will this mod be compatible with our settings?
Thanks .. :)
Regards,
Badger
BadgerDog
01-08-2010, 04:50 PM
Different questions ...
I notice when a user selects SSM as an option and turns it ON, there's an additional "New Posts In" drop down box that appears on the Navbar. It works great, except if someone selects any forum where there's no new posts, it uses the search page to look for any, as below...
http://www.xxx.com/search.php
The problem is that when it doesn't find any new posts, it gives the standard vBulletin message:
"Sorry, there are no new threads to view.
You may search for threads updated during the previous 24 hours, here."
Unfortunately, that page changes the Navbar and the user no longer sees the"New Posts In"drop down box on it, however the "New Posts (1)" button from this mod is still there?
Where do we get this mod to add to the Navbar "New Posts In" drop down box so that it appears when the search turns up nothing, of course only optionally if this component of the mod is active (or the entire mode itself)?
Second ...
I notice that forums that are hidden (ie: moderator forum) appears in the "New Posts In" drop down list, if it's forum number is added to the SSM field. Having said that, if a user clicks on it, the "permissions" function prevents the user from seeing the contents, but why does it appear in the first place? Shouldn't hidden forums be "hidden" if a member has no Usergroup permissions to see them?
Thanks .. :)
Regards,
Badger
darkitalia
01-09-2010, 04:51 PM
got some problem with this new version...
count for new post remains 0 ever. :(
pablete
01-09-2010, 11:28 PM
I hope this hack upgrade to run on vb4. I love this hack and my users also!
Gotmian
01-19-2010, 01:21 PM
After installing it, it tried and failed to find new posts at all :(
too bad as the plug in really looks good :( uninstalled.
Also if the forum is closed, the plug in creates a double page of what the "we are closed" html content has.
IS NOT WORKING.
It´s always says that i have 0 new messages all the time.
And when i post a new one, still said "0 new messages.
I have Vbulletin 3.8.2
What happend with this hack Cyb??? I use a lot your hacks!! you are a great coder!! I will wait a new release and desinstall the 2.4. Thanks in advance for your work.
YAHOME
02-02-2010, 03:29 AM
Hi dear Valter :
Now i have a little problem ... this nice mod don't work at vBadvanced CMPS navbar !
i follow right instruction for install hacks at navbar in instruction like in this option at vBadvanced 3.2.1 CP say :
Portal Output Global Variables
and this is its description content
If you have other hacks installed (especially to hacks located within the vBulletin navbar), it may be necessary to globalize some of the variables used in those hacks for the CMPS. You may enter a list of variables to globalize here. It is NOT necessary to add the $ mark before the variable name. Separate each variable with a carriage return (new line).
and i put for your hack : cybpoststhreadscounter to enable this mod at my navbar and doesn't work too
only appear at the navbar : New Posts: Checking... without any counters numbers or any link
also i chose and enable SSM ... its work perfectly at the forum and don't work at vBadvanced
please help me i need it work so much at my vBadvanced CMPS pages
and thanks for your help
YAHOME
02-03-2010, 03:59 PM
hiiiiiiiiiiiiiiiiiii any one
fatdr
02-04-2010, 10:07 AM
thanks working good on 3.8.4
SirShaw
02-06-2010, 06:41 PM
Anyone know how I can Exclude RSS posts from the post count.
I added a plugin at the search_start hook to exclude showing the RSS forums and that works fine.
$_REQUEST['exclude'] .= ',xx,xx,xx';
All I need now is for the search result to exclude those forums form the post and thread count.
Any suggestions would be great. Thanks...
I too would like to know how to do this, I cant seem to get it..
YAHOME
02-08-2010, 10:25 AM
Hi dear Valter :
Now i have a little problem ... this nice mod don't work at vBadvanced CMPS navbar !
i follow right instruction for install hacks at navbar in instruction like in this option at vBadvanced 3.2.1 CP say :
Portal Output Global Variables
and this is its description content
If you have other hacks installed (especially to hacks located within the vBulletin navbar), it may be necessary to globalize some of the variables used in those hacks for the CMPS. You may enter a list of variables to globalize here. It is NOT necessary to add the $ mark before the variable name. Separate each variable with a carriage return (new line).
and i put for your hack : cybpoststhreadscounter to enable this mod at my navbar and doesn't work too
only appear at the navbar : New Posts: Checking... without any counters numbers or any link
also i chose and enable SSM ... its work perfectly at the forum and don't work at vBadvanced
please help me i need it work so much at my vBadvanced CMPS pages
and thanks for your help
Please i need help...
necessary and important support required my members complain about that !! what shall i do ???
Teemberland
03-02-2010, 02:57 AM
Awesome hack! Working on 3.8.2! I wish after you read the posts/thread, the counter goes to 0 but what the hell.. :)
daddy.
03-14-2010, 06:17 PM
I'm getting security token errors right and left since installing this mod. I have tried all typical fixes for security token errors but continue to get them with this mod. Any help?
michael5472
03-16-2010, 03:43 PM
Any chance of this not pulling in the information from my RSS Sections ?
Basically if a person makes a post then it shows new posts but if my RSS feed posts it doesnt ?
Thanks,
Mike
Taringa! CS
03-25-2010, 11:40 AM
Is it possible to make it work on "header" template? not on navbar... because i don't use navbar for navigation on my template
chrisbeau
04-13-2010, 10:11 PM
I'm getting security token errors right and left since installing this mod. I have tried all typical fixes for security token errors but continue to get them with this mod. Any help?
https://vborg.vbsupport.ru/showthread.php?t=212444
Hellmaster
06-30-2010, 05:45 PM
I always get "0" :(
trotskid
08-24-2010, 05:26 PM
Not working on my 3.8.4.
Hostboard
08-30-2010, 01:05 AM
This decimated our server when tried to implement on a "big board" No matter how long I made between searches it ground our server to a halt.
Uninstalled...
muckleroy
09-16-2010, 03:51 AM
I've spent the last couple of days figuring out how to make this work with a custom style that has the navbar in header. I'm a long time IT person, but new to HTML and PHP. Anyway I have it working but it fails to decrement the new posts as I read the posts.
The only way to get the count to update is to log off and log back on to the site.
I'm running 2.4 and 3.8 vBulletin. I'm continuing to hack at it, but if anyone has a suggestion where to look, I would greatly appreciate it.
Xexiu
09-25-2010, 05:53 PM
Hello,
I have a simple question. How can I delete the "new posts :" ?
I want to delete the bold thing ( : ), but I can't find it. I searched in phrases but I still didn't find it :(.
I would be much appreciated if you can land me a hand.
Thank you.
nexus_dublin
11-30-2010, 09:50 PM
Had to uninstall as counts displayed do not match counts/threads displayed on the new messages page (search.php?do=getnew)
nexus_dublin
11-30-2010, 10:17 PM
I want to delete the bold thing ( : ), but I can't find it. I searched in phrases but I still didn't find it :(.
Open cyb_advancednewposts template and your colons are in these two lines:
document.getElementById("cybanp_newposts").innerHTML = ": $vbphrase[cybanp_checking]";
and
CAnp_NPStatsDiv.innerHTML = ': ' + CAnp_NPStats.handler.responseText;
MikesSite
12-15-2010, 01:54 PM
Some of our members lately have been experiencing the "Error - 400" page loading where it says "New Posts" in navbar. Any ideas?
Gadget_Guy
03-20-2011, 11:14 PM
Just installed. Seems to be working fine on my main forum pages.
It stays on "checking" on my main home page that uses VbAdvanced.
Any idea how to fix?
D.
Fenriz
03-30-2011, 05:54 PM
This hack rises a high load on a big board (200-300 registered users online). Any chance to make it lower? Is it possible to optimize this hack?
ShackMaster
11-28-2011, 10:32 PM
Feature Request: Can forum permissions be integrated into this? I want my moderators to be able to see new posts in their private forum, but I don't want normal users to even know it exists.
Had to uninstall due to lack of this feature... or what I might call a bug. My staff wants the ability to see some of our private forums in the new posts search, but we do not want regular members to know these exist... NOT cool. If you ever get it fixed, let me know... I might reinstall it.
Emeralda
11-28-2011, 10:57 PM
For some reason it stopped working for me at all. I did work on the same version and server before, but not anymore. Is it possible something is blocking it?
WendM
12-04-2011, 11:19 PM
tried to click your https://vborg.vbsupport.ru/external/2012/03/7.gif for your good advice but it denied me the option, so thanks for solving my issue! :)
Blue91,
Someone else helped me with this outside of this thread... drop this variable $cyb_anp where ever you want the "new Posts" link to show up in your style. Works great!
oxblood12
12-28-2011, 03:04 PM
thanks for add
viper357
11-07-2014, 09:15 AM
Got this running fine on vb 3.8.5 with a custom style.
I added this line to my Navbar template in order to get it to show up as it wasn't showing up automatically:
<td class="vbmenu_control">$cyb_anp</td>Then to get it working on vBAdvanced home page I added the following to the Portal Output Global Variables section in the Main Settings option under the vBa CMPS settings page.
cyb_anpIt's working perfectly. With no noticeable increase in server load....yet *touchwood* :p
pet0etie
06-11-2015, 05:29 PM
if u have a database with a prefix, the query isn't working
current version :
SELECT COUNT(*) AS posts, post.threadid, thread.forumid FROM " . TABLE_PREFIX . "post LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (thread.threadid = post.threadid) WHERE post.visible = '1' $cybanp_exclforums AND post.dateline >= " . $db->escape_string($vbulletin->userinfo['lastvisit']) . " GROUP BY post.threadid
correct version :
SELECT COUNT(*) AS posts, post.threadid, thread.forumid FROM " . TABLE_PREFIX . "post as post LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (thread.threadid = post.threadid) WHERE post.visible = '1' $cybanp_exclforums AND post.dateline >= " . $db->escape_string($vbulletin->userinfo['lastvisit']) . " GROUP BY post.threadid
otherwise the result will always be 0
thanks for correcting this !
ManuelW
08-26-2016, 05:40 AM
if u have a database with a prefix, the query isn't working
current version :
SELECT COUNT(*) AS posts, post.threadid, thread.forumid FROM " . TABLE_PREFIX . "post LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (thread.threadid = post.threadid) WHERE post.visible = '1' $cybanp_exclforums AND post.dateline >= " . $db->escape_string($vbulletin->userinfo['lastvisit']) . " GROUP BY post.threadid
correct version :
SELECT COUNT(*) AS posts, post.threadid, thread.forumid FROM " . TABLE_PREFIX . "post as post LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (thread.threadid = post.threadid) WHERE post.visible = '1' $cybanp_exclforums AND post.dateline >= " . $db->escape_string($vbulletin->userinfo['lastvisit']) . " GROUP BY post.threadid
otherwise the result will always be 0
thanks for correcting this !
It makes it working, but it makes my forum very slow and opens a lot processes in mysql :(
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.