vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   which templates are called here??? (https://vborg.vbsupport.ru/showthread.php?t=177165)

nirvana43 04-25-2008 05:26 PM

which templates are called here???
 
somebody please tell me which templates are called on following page :
http://www.projectsplanet.com/ready-...presentations/

and which template is used here : http://www.projectsplanet.com/ready-...sentation.html

please help :(

there are w3c validation errors...
i just want to know the template names. :(

Lynne 04-25-2008 05:55 PM

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.

nirvana43 04-26-2008 01:11 AM

Quote:

Originally Posted by Lynne (Post 1499233)
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.

its not working man!! it aint showing me template names!! thats why i'm asking here. please tell me template names man :(

Lynne 04-26-2008 02:44 AM

Did you turn on the option I told you to? If you did, then the template name will be in the source code.

nirvana43 04-26-2008 02:45 AM

Quote:

Originally Posted by Lynne (Post 1499460)
Did you turn on the option I told you to?

OK SORRY MY FAULT!! I kept clean html source option ON thats why it was removing those comments from source!! i got the template name :D
thanks

Lynne 04-26-2008 02:50 AM

Too many templates are used on that page, or any page. If you can't be more specific about exactly what part of the page you need to know about and you can't get the template names turned on, then I can't help you with it. I suppose your other option is to turn on debug mode and then every single template called on that page will be listed on the bottom.

edit: I just looked again and now you have turned the template names on. So, just view your source code around the part you are wondering about and the template name will be there.

nirvana43 04-26-2008 03:02 AM

thanks a million man..
but it seems like line numbers are not matching. i mean i cant figure out on which line error is caousing..
btw here is code block where error persist
can u plz tell me hwere that <table> tag suppose to be closed??

Here :

<tbody>
<tr align="center">
<td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">

<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
<td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
<td>
<div>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
</div>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
</table>

</td>
<!-- START REMOVE LAST POST SUB-FORUMS IN FORUMDISPLAY FOR GUESTS -->
<if condition="$bbuserinfo[usergroupid] == 1">
<td class="alt2">$forum[threadcount]</td>
<td class="alt1">$forum[replycount]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt2"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>
<else />
<td class="alt2">$forum[lastpostinfo]</td>
<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>
</if>
<!-- END REMOVE LAST POST SUB-FORUMS IN FORUMDISPLAY FOR GUESTS -->
</tr>
</tbody>
<if condition="$childforumbits">
<tbody>
$childforumbits
</tbody>
</if>



These are the errors i'm getting :
http://validator.w3.org/check?uri=ht...Inline&group=0

Lynne 04-26-2008 03:07 AM

Actually, it's right before that block of code. You forgot the </thead> tag that goes right before the <tbody> tag you have in your code above.

nirvana43 04-26-2008 03:21 AM

Quote:

Originally Posted by Lynne (Post 1499478)
Actually, it's right before that block of code. You forgot the </thead> tag that goes right before the <tbody> tag you have in your code above.

nop not happening man! i tried </thead> at all positions before <tbody> in forumhome_forumbit_level1_post template. but its not working

also another thing here is only 1 error
http://validator.w3.org/check?uri=ht...Inline&group=0
i even know in what block of code it exist but cant figure out the template name. please can you tell me template name?? :(

Lynne 04-26-2008 03:36 AM

Quote:

Originally Posted by nirvana43 (Post 1499483)
nop not happening man! i tried </thead> at all positions before <tbody> in forumhome_forumbit_level1_post template. but its not working

It's not in that template. It's in the template prior to that one being called. Probably the FORUMDISPLAY template. That's where I would look anyway. In fact, I just looked at mine and I have a </thead> prior to the $forumbits being called. You need to start comparing your templates to the default templates to see if you are missing tags that should be there.

As for other errors on pages, read what it says in the validator. It usually tells you what is wrong. Good luck.


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