vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Display count of unread posts in welcome box (https://vborg.vbsupport.ru/showthread.php?t=96522)

GoNz00 11-03-2005 12:18 PM

happend to me on 3.5 and still on 3.5.1

would be nice if this could be fixed ???

TygerTyger 11-03-2005 12:21 PM

Quote:

Originally Posted by GoNz00
happend to me on 3.5 and still on 3.5.1

would be nice if this could be fixed ???

It was supposed to have been in this version:

http://www.vbulletin.com/forum/bugs3...1518&status=20

I'm sure Paul would follow it up since he filed the original bug report.

michaelbenson 11-03-2005 01:23 PM

I would have preferred to be able to place the count of unread posts where we wanted in the navbar box much easier. I ended up having to made aload of edits to the search text bit to make it replace the correct area that i wanted!

Paul M 11-03-2005 03:35 PM

Quote:

Originally Posted by TygerTyger
It was supposed to have been in this version:

http://www.vbulletin.com/forum/bugs3...1518&status=20

I'm sure Paul would follow it up since he filed the original bug report.

They only agreed to "fix" it for new threads, not new posts to existing threads.

Paul M 11-03-2005 03:38 PM

Quote:

Originally Posted by michaelbenson
I would have preferred to be able to place the count of unread posts where we wanted in the navbar box much easier. I ended up having to made aload of edits to the search text bit to make it replace the correct area that i wanted!

I don't see you would need to make "aload of edits". If you want to place it somewhere custom, just put a comment in the template at the location you want ( like <!-- unread posts here --> ) and change the search to look for that comment. Simple really. :)

Bubble #5 11-11-2005 05:07 PM

Quote:

Originally Posted by Paul M
change the search to look for that comment.

So if I understand this correctly, if we want it to show up from our forumhome template, then we would change this line of code:

HTML Code:

$vbulletin->templatecache['navbar'] = str_replace($search_text,$search_text.$unread,$vbulletin->templatecache['navbar']);
to this?

HTML Code:

$vbulletin->templatecache['forumhome'] = str_replace($search_text,$search_text.$unread,$vbulletin->templatecache['forumhome']);
...and then add "<!-- unread posts here -->" in the forumhome template where we want it to show up? Is that correct Paul?

Bubble #5 11-11-2005 05:21 PM

Does it matter which one we have it set to "Database (no automatic forum marking)" or "Database (automatic forum marking)"?

Paul M 11-11-2005 06:17 PM

Quote:

Originally Posted by Bubble #5
Does it matter which one we have it set to "Database (no automatic forum marking)" or "Database (automatic forum marking)"?

It makes no difference to the working of this hack, either will do.

vtx1800 11-15-2005 06:25 AM

I installed in my board, 3.5.1, nothing showed.

Tried both settings of yes and no in the ACP, nothing. :(

Cheertobi 11-15-2005 08:01 AM

Quote:

Originally Posted by vtx1800
I installed in my board, 3.5.1, nothing showed.

Tried both settings of yes and no in the ACP, nothing. :(

Do you have a customized style?!

Tobi


All times are GMT. The time now is 09:26 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,740KB
  • 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_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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