vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - New posts and reputation comments. (https://vborg.vbsupport.ru/showthread.php?t=123931)

wii 10-09-2006 11:39 AM

Can this be modified to show in the header between calendar and seach, like this:

Calendar - New Posts (45) - Search

45 is just an example, this would be post count.

Thanks

texasf1racer 10-27-2006 03:17 AM

Thx very much, works nicely! :)

abramelin 10-28-2006 12:04 PM

installed! this is a lovely mod. thanks Paul but there is only one thing unnecessary. If the user have no comments then it always shows the "you have no reput comments" how can we disable it. I think if the system only warns the user when a new comment come is much better. because navbar is a limited area and its not good to list unnecessary phrased there.

Paul M 10-28-2006 02:35 PM

I'm happy with it as it is. :cool:

If you want to change it then you will need to edit the plugin "New Posts and Reputation (1)"

Change
PHP Code:

$vbulletin->userinfo['rcount'] = construct_phrase($vbphrase['no_new_reputation'],$repcount['rcount']); 

to
PHP Code:

$show['rcount'] = false


abramelin 10-28-2006 02:51 PM

ohh sorry i looked it now and it was working just likely what i want. thanks paul :)

Paul M 10-28-2006 03:23 PM

I don't understand the question. The count is already reset when you visit the usercp to read them.

imranbaig 10-29-2006 04:54 AM

Hey Paul, nice hack, Is there a way to Deduct one from some one who is giving negative reputation so that it regulates unnecessary reps?

TheBlackPoet 10-31-2006 03:20 AM

works great.. fills out that empty space with meaningful information...

thank you

Canis Firebrand 10-31-2006 11:07 AM

Nice modification.

I already had in place your unread posts one. But I wanted a notification for new reputation comments. So, I installed this one, and just made the template edit for the rep comments part.

Works like a charm.

Thanks again!

MillerLight 11-05-2006 03:13 AM

Paul,

Works great, thanks for your continued dedication.


All times are GMT. The time now is 03:31 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
  • Page Generation 0.01106 seconds
  • Memory Usage 1,732KB
  • 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
  • (2)bbcode_php_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