vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Display Unread Posts and New Reputation Comments (https://vborg.vbsupport.ru/showthread.php?t=168303)

CPOWA 01-05-2009 12:56 PM

Excellent mod! Installed.

Thank you, Paul :)

Nita

aciurczak 01-05-2009 05:13 PM

Quote:

Originally Posted by mattcaswell (Post 1679129)
Paul,
I love the mod and use it with my RSS feeds. Is there some code I can change in the NavBar for "New Posts" that will point it to the same seach as the Unread Posts code? I blocked the RSS forums in your mod and it works great.. but when the users click on "new posts" in the navbar, they see all the RSS posts also.

I've searched all over this thread for this answer and if I missed it.. I apologize.

Thanks
matt

You can do this with a 1-line plugin:

add it to the search_getnew_start hook:

PHP Code:

$vbulletin->GPC['exclude'] .= ',22'

Change the 22 to the ID of whichever forum you want excluded from the new posts search. Add more with commas if you need more than one excluded.

BamaStangGuy 01-15-2009 09:51 PM

I just thought it might be cool to have the unread posts part (or all of it. I just use the Unread Posts) check x seconds for updates to posts. That way you can just leave the page up and people can come back and see they have new posts without reloading the page. Cyb's Forum Stats shows latest posts with ajax and its pretty cool.

As always, you can always make it optional for those that don't want to see the performance impact. Just a thought :)

ePrOmD 01-31-2009 01:42 AM

Hi Paul

Again thanks for your great work. Sorry to do a bump of a request made some time ago.

But I really think that would be very useful if your hack also alert users when new posts are made in the social groups they belong to, or comments made on their blog.

I ask again apologize for the bump, and thank you very much again for your time!

Paul M 01-31-2009 10:15 AM

Sorry, I dont use social groups or blogs, so there is little chance this will be modified.

ePrOmD 01-31-2009 10:41 AM

Thanks for your answer.
What a pity, it would really be a very useful addition for those who use social groups and blogs.

Anyway thank you and hopefully someday you can include it. Thank you very much for your hard work and time!.

greetings!

peratik 02-11-2009 03:56 AM

Doesn't show new Reputation on navbar only shows new Unread Posts. How can i show new reputation!? please help me

mariocaz 03-27-2009 05:54 AM

Hi Paul,

I want to know how can I delete(clean) all the unread posts of all my users in my forum ??, because I know that almost all my users have a lot of unread posts, so I want to clean that and start from zero today and then every 5 days the unread posts erase it automatically.

Thank you Paul!!

Mario

Paul M 03-27-2009 08:13 AM

You cant do that.

mariocaz 03-27-2009 03:53 PM

So all that unread post are a lot of memory (cache) in the server ???


All times are GMT. The time now is 05:29 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
  • Page Generation 0.01330 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete