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)

Paul M 10-16-2008 10:17 AM

Looks like it was working to me - you did read this in the main post ?

Quote:

.. if a member has not visited for more than x days then a simple unread posts link will be displayed, not an actual count ..

Charlie98902 10-16-2008 12:37 PM

No I didn't see that post but like I said After I click mark posts as read it was fix as it sould of said this:

Welcome, Charlie.
No Unread Posts since your last visit.
You last visited: 10-16-2008 at 05:04 AM
Private Messages: Unread 0, Total 0.

Notice it now says No instead of display.

Paul M 10-17-2008 10:41 AM

It should not have said that at all, notice the LV date in your previous post ;

You last visited: 09-15-2008 at 09:44 PM

That date was more than the X days limit, therefore it defaulted to the simple unread posts link, irrespective of how many you actually had. It worked as expected/designed. :)

Daky 10-21-2008 12:08 AM

Hi
great mod, very nice..

is it possible to display unread posts from specific category or forum only?

tnx

Paul M 10-21-2008 01:24 AM

No, there is no such facility.

struff 10-25-2008 01:03 AM

How long should this take to import? It's been on Adding Index for about 30 minutes so far.
Thanks.

struff 10-25-2008 01:49 AM

Quote:

Originally Posted by struff (Post 1652141)
How long should this take to import? It's been on Adding Index for about 30 minutes so far.
Thanks.

I gave up after an hour.

How long should it take?

Paul M 10-25-2008 05:05 PM

Depends on how big your posts table is, but sounds to me like it hung, just try again.

struff 10-25-2008 11:15 PM

Quote:

Originally Posted by struff (Post 1652152)
I gave up after an hour.

How long should it take?

Quote:

Originally Posted by Paul M (Post 1652543)
Depends on how big your posts table is, but sounds to me like it hung, just try again.

1,015,857 posts. I tried it twice and it was the same both times. I'll try again. Does the board have to be off for the whole time?

Paul M 10-26-2008 11:42 AM

I suggest you add the index manually via phpmyadmin. Mysql is taking so long to add the index that php is timing out.


All times are GMT. The time now is 03:12 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.01374 seconds
  • Memory Usage 1,734KB
  • 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
  • (4)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