vb.org Archive

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

mariocaz 03-18-2008 04:11 AM

very very nice mod

Phaedrus 03-23-2008 02:23 AM

Quote:

Originally Posted by midlandi (Post 1466416)
Can you help me please. I have this installed and is working great. I need to omit from the unread posts certain forums, I cannot find where to do this. I am aware of the code i need to amend, but fail to find where?? I have tried in the navbar template but cannot find, I search for do=getnew so I can edit but it only finds the other nav bar link for that.
Help!!

There is no need to remove them as users cannot search forums they have no access to and this mod uses the search function. It won't tell users about posts they can't see.

joerns 03-28-2008 09:34 PM

Great hack, thanks! Is it possible to exclude certain forums? I've got a whole lot of RSS feeds that drive the unread posts number through the ceiling. Alternatively, is it possible to specifiy which forums to track for unread posts? I think that would be a great feature...

Paul M 03-30-2008 12:50 PM

An excludes feature is on my list of things too look into at some point.

JustAskJulie 03-30-2008 11:36 PM

Installed, have database option enabled but still nothing shows up in the Welcome block.

IrPr 04-14-2008 08:24 AM

First special thanks goes to Paul Marsden for his mods specially this mod that im using for about an year on my major forum n my members luv this mod

i've about 70k threads, 700k posts n 140k members with 2k avg onlines in my forum but from some weeks ago my forum loads increases n when i analyze mysql queries i found that this query by this mod is killin my forum
Code:

SELECT COUNT(post.postid) as unread
FROM post as post FORCE INDEX (dateline)
...

Query uses INDEX but sometimes specially at forum peak it takes more than 2-5 sec which makes me turn it off :(

is there any optimize method for this mod Paul or with this huge posts its impossible ?

Paul M 04-14-2008 10:15 AM

I'm guessing that its probably members returning after quite some time that are doing this, so the posts being counted is quite high. It was a problem I hit a long time ago, and actually wrote a time limit into the code on our forum (we use a totally custom version of this, not released anywhere). If I think about it I'll see if I can incorporate that into the 3.7 version at some point. I'm afraid it will not get added to the 3.6 version as I never support more than one active version, and by the time I do this, that will be the 3.7 version.

IrPr 04-14-2008 12:01 PM

Quote:

Originally Posted by Paul M (Post 1490299)
I'm guessing that its probably members returning after quite some time that are doing this, so the posts being counted is quite high. It was a problem I hit a long time ago, and actually wrote a time limit into the code on our forum (we use a totally custom version of this, not released anywhere). If I think about it I'll see if I can incorporate that into the 3.7 version at some point. I'm afraid it will not get added to the 3.6 version as I never support more than one active version, and by the time I do this, that will be the 3.7 version.

Thanks for answer,
Cant wait for 3.7.0 Gold

frosch68 04-19-2008 01:14 PM

how can i change the position of unread postings ? i want to show it in another template

thank

greetz
frosch

deepmob 04-24-2008 05:42 AM

see when I am click the new posts, i am getting this dropbox, why please tell me.

thanks


All times are GMT. The time now is 05:49 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.01292 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_code_printable
  • (2)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