vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   where is "forums contain new posts" at in template? (https://vborg.vbsupport.ru/showthread.php?t=192701)

pooker 10-04-2008 08:56 PM

where is "forums contain new posts" at in template?
 
I was wanting to put a background box behind the two images on the bottom of my forum that says "forum contains new posts " "forum contains no new posts" where are these located at in the templates?

Thanks

Lynne 10-04-2008 09:44 PM

To find the template name - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.

pooker 10-04-2008 10:11 PM

The comment line says "Icons and login code" where the code is but I do not see that in the templates.

Lynne 10-04-2008 10:44 PM

You need to find the comment line above that then. It will look something like this:
<!-- BEGIN TEMPLATE: templatename -->

pooker 10-04-2008 11:13 PM

I did a find next through the text editor and it appears to not be labeled as being apart of a template.

Lynne 10-04-2008 11:20 PM

All of a page is part of a template in vb. The words may be from a phrase, but that phrase is found in a template.

But, it sounds like you found it, so that is good.

pooker 10-06-2008 12:01 AM

Actually I didn't find it and still can't

Lynne 10-06-2008 03:29 AM

Well, it has to be in a template - it happens to be in the FORUMHOME template and I think also the FORUMDISPLAY template - do a search in templates for the phrase "$vbphrase[forum_contains_new_posts]" and you should see all the templates it's in. They are in tables so you should be able to put a background image in the row or columns.


All times are GMT. The time now is 10:43 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.00975 seconds
  • Memory Usage 1,714KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete