MyBB Community Forums

Full Version: Curious with this
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello..im a new to mybb..
i want to ask a little bit here..when i've right click mya page and view the page source.i got this words..i know this is the seperator but where can i find this words,on my screet shot below..
im to curious..i try to find it on the templates..but not there...i'd went to mysql try yo find there,but not..where that woeds located?is it on mybb folder?and where?thanks..


sorry for my english..
It's under Navigation Templates -> nav.
yeah ive found the codes but this word where can i found this like this..
<!-- start: header_welcomeblock_guest -->
<!-- start: forumbit_depth1_cat -->
<!-- end: headerinclude -->
etc.. that looks like this..
because on vbulletin you can find this on template editor..
They are comments and have no effect on the outcome of the code, they are just so people viewing the source know whats going on. Is that what you mean?

They are put there by the MYBB software when it is "Assembling" all the different templates i believe. I don't think you can edit it without editing the MYBB source code.
You can turn them off if you wish by going to your MyBB ACP.

1. Click on "Configuration".
2. Scroll down the list and click on "Server and Optimization Options".
3. Scroll down the list and change "Output template start/end comments?" to "No".
4. Save settings.
yeah i know that is comment..
(2008-10-22, 11:15 AM)_Tim Wrote: [ -> ]They are comments and have no effect on the outcome of the code, they are just so people viewing the source know whats going on. Is that what you mean?

They are put there by the MYBB software when it is "Assembling" all the different templates i believe. I don't think you can edit it without editing the MYBB source code.

yeah i know this is comment and it doesnt effect to mybb.
what i want is where can i find this word?from what .php file
i want to know..coz on vbulletin you can see this word, while you editing templates..

heres example template of vb
inside header ..
lime you can see comments are there,like <!-- logo -->
hope you got it...hehehe!!im to curious..

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
	<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
	<td align="$stylevar[right]" id="header_right_cell">
		<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
	</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
See inc/class_templates.php.

In this file is the function "get", which outputs the comments. As far as I gather it's literally just the "title" of the templates that are used in the template tags...