![]() |
Hey, i reckon something that would be really good for this mod would be:
to make it so users can choose what particular forums they want to know how many unread posts are in it. So say they choose forum A, forum D, forum M; then when they next come back online it will say 'XX Unread Posts', then they can click that and it will show unread posts like 'search.php?do=getnew' does, but just from the selected forums. What do you reckon? to hard to do? |
Found finally a way to opt out forumIDs
find Code:
AND post.dateline > IF(threadread.readtime IS NULL, $cutoff, threadread.readtime) Code:
AND thread.forumid NOT IN (xx,xx) |
Quote:
Bob |
Not yet.
|
Thanks Paul !
I'm using this plugin with "Opt-Out Forums from Get New Posts" by Andreas and i had trouble when i exclude some forums from Get New Posts, then i had modified Paul's Hack to make integration with ;) Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
probably the most missed mod on my site.. Can't wait untill 3.6 is out
|
Quote:
|
Quote:
|
Hi Paul.
I have the vB Advanced issue (and know you dont use it - got that bit). I added the absolute path to the plugin but to no avail. I then uninstalled the plugin but it still shows in my forum and vBA hhomepage no matter how hard I F5 my screen! The absolute path is definately in the plugin so its got me stumped. Why would this plugin still show if its uninstalled? I couldnt see it in the navbar template so its got me stumped. |
Quote:
I added your code to our own forum and it works maginificently. I tried to take it a bit futher by modifying Andreas's Opt-Out Forums from Get New/Get Daily MOD with default forum exclusions. Which works however the Display count of unread posts in welcome box still picks up new posts, although it will not list them. I was hoping perhaps someone here could help figure out what changes need to be done for it to work fully with the modifications. Code:
PHP Code: To have one specific forum thats will not show up at all in new posts ACP / Plugin System / Plugin Manager. Locate the Plugin on Hook search_getnew_start for this Hack, click edit. Find and edit Code:
The comma-separated list of excluded forums - add your ID to it. This only kicks in if the user has defined custom excludes as well. If you want it to be always active, undo the edit and place Code:
$vbulletin->GPC['exclude'] .= ',8'; *** all of these changes work nicely however the Display unread will only filter out excluded forums completely if it is done via the user control panel. Otherwise(this method) it partially filters out the new posts. ex: it shows a new post(no.) but will not display them when clicked on. Anyone know what needs to be done to get the Display to filter out the excluded forums completely? |
This is a great hack and it's been working great so far!
Recently i edited my navbar and removed the welcome/pm/post count because i added a right column to every page of the forum. I updated this new right column in header and footer templates in the style manager for my style. I pasted the exact same navbar bit that had the unread postcount (that previously worked great) into it and now it won't show the count? I haven't changed anything except where i display the actual unread post count, it shows the rest of the phrase just not the physical # of actual posts unread now. Is it sensitive where its being displayed? Basically i cleaned up our design and put that type of info on the right column thus bumping the forums up .. any help is appreciated |
TBH, I don't really follow what you are describing - can you post a sceen shot, or better still, a link and test login.
|
I'll try to post a screenshot here in a bit. This is a temp design so a login won't work since its not active to show.
Basically you're familiar with navbar and how your hack goes into that template to display X Unread Posts. I have removed everything from navbar except the breadcrumb portion which gives the breadcrumb nav as people use the forums. I then added a right column to the entire forum. I took the Welcome/PM/Unread Posts from the navbar and added it into my right column on the top. Therefore what navbar had, i removed, and put inside of my right column. Basically in the end, all i did was move $newposts to my right column and removed it from navbar template. Everything the phrase has displays just fine, just the actual count of how many posts are unread doesn't show up. For instance i changed mine to say # Unread Posts since your last visit. It now says Unread posts since your last visit It doesn't even render that $newposts variable to show the actual number of posts. If this still isn't clear let me know and i'll find a way to get a good screen shot in the half_done design that we're trying this in. Thanks for your help on this support issue Paul, its truly appreciated. |
Shouldn't I be able to take this:
Quote:
|
There is no such variable as $newposts, I'm not sure where you got that from, try $postcount[unread].
|
Ah sorry thanks, i meant to use that variable.
I believe what it was is the end of the if condition ='index'. I removed that if condition and it seems to show up great on all the other pages now. |
*install*
Thanks PaulM! |
Thank you so much for this :) I love it. Installed.
|
All times are GMT. The time now is 06:21 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:
|