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 (https://vborg.vbsupport.ru/showthread.php?t=231060)

Paul M 03-26-2010 06:03 PM

I would guess this is the relevant bit for you ;

Quote:

You must also make sure the template hook (header_userinfo) is present.
You new style is probably missing it.

sticky 03-26-2010 07:03 PM

Quote:

Originally Posted by Paul M (Post 2010686)
I would guess this is the relevant bit for you ;



You new style is probably missing it.

Ah I see!

So, I apologize if this sounds stupid, but how do I add the template hook?

Paul M 03-26-2010 09:33 PM

Its a line of code in the template that looks like this ;

{vb:raw template_hook.header_userinfo}

You need to compare the default header with your custom style header to find where to insert it.

sticky 03-26-2010 11:02 PM

Quote:

Originally Posted by Paul M (Post 2010801)
Its a line of code in the template that looks like this ;

{vb:raw template_hook.header_userinfo}

You need to compare the default header with your custom style header to find where to insert it.

Managed to do it, thanks.

The full code would have been much more helpful ;)

Paul M 03-27-2010 09:28 AM

How could I know the code in your style ?

sticky 03-27-2010 10:02 AM

Quote:

Originally Posted by Paul M (Post 2011004)
How could I know the code in your style ?

I guess you couldn't?

Regardless, thanks :) Oh, and how do you add a space in the template? The style added a search box directly underneath where your mod shows and everything works perfect except for guests who have overlap with the search box and remember me box.

Paul M 03-27-2010 12:30 PM

Not exactly sure what you mean as guests dont have unread posts, but everything is build from phrases, so edit them as you need.

robbiefritz 04-05-2010 01:56 PM

Please see image below. If I only have an unread post, everything shows fine. When I get an unread reputation as well as a post I get this garbled mess. Any ideas? Thanks.

https://vborg.vbsupport.ru/external/2010/04/71.jpg

If it is only 1 unread post, it seems ok. See image.

https://vborg.vbsupport.ru/external/2010/04/72.jpg

Paul M 04-05-2010 09:42 PM

You have old customised phrases in there somewhere, you need to remove them.

youngaussie 04-07-2010 10:16 PM

thanx heaps :D


All times are GMT. The time now is 12:36 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.01966 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
  • (2)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