<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged output</title>
<link>https://www.question2answer.org/qa/tag/output</link>
<description>Powered by Question2Answer</description>
<item>
<title>HTML output instead of badges</title>
<link>https://www.question2answer.org/qa/49487/html-output-instead-of-badges</link>
<description>Hi, my users page output the raw HTML code instead of the badges, see &lt;a href=&quot;http://www.acadclass.com/?qa=users&quot; rel=&quot;nofollow&quot;&gt;http://www.acadclass.com/?qa=users&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Do you have an idea why?&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Thanks</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/49487/html-output-instead-of-badges</guid>
<pubDate>Sun, 20 Dec 2015 06:23:26 +0000</pubDate>
</item>
<item>
<title>ob_gzhandler' conflicts with 'zlib output compression</title>
<link>https://www.question2answer.org/qa/44180/ob_gzhandler-conflicts-with-zlib-output-compression</link>
<description>

&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;I just set up 1.7 version in my website. I'm on php 5.3 &amp;nbsp;but I do have that message :&lt;/p&gt;

&lt;p&gt;
&lt;br&gt;&lt;strong&gt;Warning&lt;/strong&gt;&lt;span style=&quot;color:rgb(136, 136, 136); font-family:helvetica neue,helvetica,arial,sans-serif&quot;&gt;: ob_start() [&lt;/span&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://questions2musculation.com/ref.outcontrol&quot;&gt;ref.outcontrol&lt;/a&gt;&lt;span style=&quot;color:rgb(136, 136, 136); font-family:helvetica neue,helvetica,arial,sans-serif&quot;&gt;]: output handler 'ob_gzhandler' conflicts with 'zlib output compression' in&amp;nbsp;&lt;/span&gt;&lt;strong&gt;/home/u924205102/public_html/qa-include/qa-index.php&lt;/strong&gt;&lt;span style=&quot;color:rgb(136, 136, 136); font-family:helvetica neue,helvetica,arial,sans-serif&quot;&gt;&amp;nbsp;on line&amp;nbsp;&lt;/span&gt;&lt;strong&gt;170&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As explained in that forum I turn off html compilation in the config file but I stil have that message&lt;/p&gt;

&lt;p&gt;you can have a look in my website :&amp;nbsp;&lt;a href=&quot;http://questions2musculation.com/&quot; rel=&quot;nofollow&quot;&gt;http://questions2musculation.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;Anykind of help will be much appreciated.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/44180/ob_gzhandler-conflicts-with-zlib-output-compression</guid>
<pubDate>Sat, 07 Mar 2015 12:46:45 +0000</pubDate>
</item>
<item>
<title>pop up login and register</title>
<link>https://www.question2answer.org/qa/43428/pop-up-login-and-register</link>
<description>hi&lt;br /&gt;
&lt;br /&gt;
i want to make 2 pop up windows for login and register&lt;br /&gt;
&lt;br /&gt;
1 ) i make pop up widnows&lt;br /&gt;
&lt;br /&gt;
2 ) i get the login codes from qa-theme.php (snow theme) and login pop up is done now !&lt;br /&gt;
&lt;br /&gt;
but i cant add register form into pop up window!&lt;br /&gt;
&lt;br /&gt;
is there any code or outputs like $this-&amp;gt;form_register ();&lt;br /&gt;
&lt;br /&gt;
to add register form or forgot form to qa-theme.php like what q2amarket do for login form in snow theme ?&lt;br /&gt;
&lt;br /&gt;
thank you</description>
<category>Themes</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/43428/pop-up-login-and-register</guid>
<pubDate>Sat, 31 Jan 2015 00:44:23 +0000</pubDate>
</item>
<item>
<title>How to output sidebar below main content</title>
<link>https://www.question2answer.org/qa/40841/how-to-output-sidebar-below-main-content</link>
<description>For a responsive theme i want the sidebar do show below the main content. how can i do this? greets</description>
<category>Themes</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/40841/how-to-output-sidebar-below-main-content</guid>
<pubDate>Fri, 07 Nov 2014 07:21:55 +0000</pubDate>
</item>
<item>
<title>Tip: How to output DIV below question title (use advanced theme)</title>
<link>https://www.question2answer.org/qa/29357/tip-how-to-output-div-below-question-title-use-advanced-theme</link>
<description>If you need to output some DIV between question title H1 (.entry-title) and question body (.q-view) you can use an advanced theme*:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;function q_view($q_view) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$this-&amp;gt;output('&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;div class=&amp;quot;adholder-top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;My custom content here&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;');&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// call default method output&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;qa_html_theme_base::q_view($q_view);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
That should do it.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
*advanced theme: put the code in this file: qa-theme/yourtheme/qa-theme.php</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/29357/tip-how-to-output-div-below-question-title-use-advanced-theme</guid>
<pubDate>Thu, 28 Nov 2013 02:50:36 +0000</pubDate>
</item>
<item>
<title>How to put variable or function inside $this-&gt;output or html??</title>
<link>https://www.question2answer.org/qa/27445/how-to-put-variable-or-function-inside-%24this-output-or-html</link>
<description>

&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;div&gt;
	

&lt;div&gt;
		I am thinking this is probably a syntax error?. &amp;nbsp;Basically all I want to do is put the search bar inside another div that is inside the login-bar div.&lt;/div&gt;
	

&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	

&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	

&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	

&lt;div&gt;
		This is shortened version of the code&lt;/div&gt;
	

&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	

&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	

&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	

&lt;div&gt;
		

&lt;blockquote&gt;
			

&lt;div&gt;
				&lt;span style=&quot;color:#008080;&quot;&gt;&lt;span style=&quot;font-size:14px;&quot;&gt;function body_header()&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
			

&lt;div&gt;
				&lt;span style=&quot;color:#008080;&quot;&gt;&lt;span style=&quot;font-size:14px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
			

&lt;div&gt;
				&lt;span style=&quot;color:#008080;&quot;&gt;&lt;span style=&quot;font-size:14px;&quot;&gt;$this-&amp;gt;output('&amp;lt;div id=&quot;qa-login-bar&quot;&amp;gt;&amp;lt;div id=&quot;qa-login-group&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
			

&lt;div&gt;
				&amp;nbsp;&lt;/div&gt;
			

&lt;div&gt;
				&lt;span style=&quot;color:#008080;&quot;&gt;&lt;span style=&quot;font-size:14px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;output ('&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
			

&lt;div&gt;
				&amp;nbsp;&lt;/div&gt;
			

&lt;div&gt;
				&lt;span style=&quot;color:#008080;&quot;&gt;&lt;span style=&quot;font-size:14px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;div&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
			

&lt;div&gt;
				&amp;nbsp;&lt;/div&gt;
			

&lt;div&gt;
				&lt;span style=&quot;color:#008080;&quot;&gt;&lt;span style=&quot;font-size:14px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;search();&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
			

&lt;div&gt;
				&amp;nbsp;&lt;/div&gt;
			

&lt;div&gt;
				&lt;span style=&quot;color:#008080;&quot;&gt;&lt;span style=&quot;font-size:14px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
			

&lt;div&gt;
				&amp;nbsp;&lt;/div&gt;
			

&lt;div&gt;
				&lt;span style=&quot;color:#008080;&quot;&gt;&lt;span style=&quot;font-size:14px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ');&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
			

&lt;div&gt;
				&amp;nbsp;&lt;/div&gt;
			

&lt;div&gt;
				&amp;nbsp;&lt;/div&gt;
			

&lt;div&gt;
				&lt;span style=&quot;color:#008080;&quot;&gt;&lt;span style=&quot;font-size:14px;&quot;&gt;&amp;nbsp;$this-&amp;gt;output('&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;');&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
			

&lt;div&gt;
				&lt;span style=&quot;color:#008080;&quot;&gt;&lt;span style=&quot;font-size:14px;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
		&lt;/blockquote&gt;
	&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	When I do this, I get a blank page. &amp;nbsp;Any suggestions of what I'm doing wrong? t/y&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/27445/how-to-put-variable-or-function-inside-%24this-output-or-html</guid>
<pubDate>Tue, 10 Sep 2013 05:25:07 +0000</pubDate>
</item>
<item>
<title>Tip: Core Hack to output userid in user profile page (only admin)</title>
<link>https://www.question2answer.org/qa/23796/tip-core-hack-to-output-userid-in-user-profile-page-only-admin</link>
<description>1. open qa-page-user.php (from v1.6.3 it is file: qa-page-user-profile.php)&lt;br /&gt;
&lt;br /&gt;
2. After line:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;qa_lang_sub($favorite ? 'main/remove_x_favorites' : 'users/add_user_x_favorites', $handle));&lt;br /&gt;
&lt;br /&gt;
Insert:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// output userid on user profile page&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$userIdOutput = '';&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if($loginlevel&amp;gt;=QA_USER_LEVEL_ADMIN) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$userIdOutput = ' &amp;amp;rarr; UserID: '.$userid;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
3. Then change line:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;'label' =&amp;gt; qa_lang_html('users/member_type'),&lt;br /&gt;
&lt;br /&gt;
to:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'label' =&amp;gt; qa_lang_html('users/member_type').$userIdOutput,&lt;br /&gt;
&lt;br /&gt;
4. Check and go to any of your user-profiles. You need to be admin!</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/23796/tip-core-hack-to-output-userid-in-user-profile-page-only-admin</guid>
<pubDate>Sun, 12 May 2013 06:59:24 +0000</pubDate>
</item>
<item>
<title>Why is $this-&gt;output() removing the slash in the end of /&gt;</title>
<link>https://www.question2answer.org/qa/20486/why-is-%24this-output-removing-the-slash-in-the-end-of</link>
<description>

&lt;p&gt;
	I just discovered that today.&lt;/p&gt;


&lt;p&gt;
	In my advanced theme I have the output line:&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;&amp;nbsp; $this-&amp;gt;output('&amp;lt;meta content=&quot;never&quot; name=&quot;expires&quot; /&amp;gt;');&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	And checking the HTML source after site load I get:&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;&amp;nbsp; &amp;lt;meta content=&quot;never&quot; name=&quot;expires&quot;&amp;gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	
&lt;br&gt;
	&lt;strong&gt;Why is q2a removing the slash in the end?&lt;/strong&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/20486/why-is-%24this-output-removing-the-slash-in-the-end-of</guid>
<pubDate>Wed, 09 Jan 2013 06:06:45 +0000</pubDate>
</item>
<item>
<title>Help on function output_raw($html)</title>
<link>https://www.question2answer.org/qa/20431/help-on-function-output_raw-%24html</link>
<description>

&lt;p&gt;
	I try to figue the problem with php warning headers not found.&lt;/p&gt;


&lt;p&gt;
	So I need to know what: function output_raw($html) is doing.&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function output_raw($html)
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;/*
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Output $html at the current indent level, but don't change indent level based on the markup within.
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Useful for user-entered HTML which is unlikely to follow the rules we need to track indenting
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;*/
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (strlen($html))
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo str_repeat(&quot;\t&quot;, max(0, $this-&amp;gt;indent)).$html.&quot;\n&quot;;
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;
&lt;br&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	Do I understand correctly that it just adds TAB jumps to indent the HTML code?&lt;/p&gt;


&lt;p&gt;
	Could I replace it with:&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (strlen($html))
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo $html.&quot;\n&quot;;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	?&lt;/p&gt;


&lt;p&gt;
	Thanks!&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/20431/help-on-function-output_raw-%24html</guid>
<pubDate>Sun, 06 Jan 2013 13:57:38 +0000</pubDate>
</item>
<item>
<title>Clarification of qa_html vs qa_lang_html</title>
<link>https://www.question2answer.org/qa/19722/clarification-of-qa_html-vs-qa_lang_html</link>
<description>

&lt;p&gt;
	As &lt;a rel=&quot;nofollow&quot; href=&quot;http://question2answer.org/qa/8933/new-plugin-user-activity-plus?show=19671#a19671&quot;&gt;reported here&lt;/a&gt; there was a potential XSS vulnerability in one of my plugins. I was under the impression that the qa_lang_html functions escaped the output for display, given the name similarity to qa_html. However it appears this is not always the case, for example this:&lt;/p&gt;


&lt;blockquote&gt;
	

&lt;p&gt;
		qa_lang_html_sub('myplugin/string', '&amp;lt;script&amp;gt;alert(1)&amp;lt;/script&amp;gt;');&lt;/p&gt;
&lt;/blockquote&gt;


&lt;p&gt;
	...will output a script tag directly. &lt;strong&gt;Is this the intended behaviour or a bug?&lt;/strong&gt; It feels wrong to me, given there is already qa_lang_sub for raw output - qa_lang_html_sub should be escaping the data.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/19722/clarification-of-qa_html-vs-qa_lang_html</guid>
<pubDate>Thu, 06 Dec 2012 12:40:58 +0000</pubDate>
</item>
<item>
<title>$themeobject-&gt;output throws question mark when qa_lang_html() is given</title>
<link>https://www.question2answer.org/qa/16180/%24themeobject-output-throws-question-mark-qa_lang_html-given</link>
<description>

&lt;p&gt;
	Maybe a bug or maybe I am doing something wrong?&lt;/p&gt;


&lt;p&gt;
	Within function &lt;strong&gt;output_widget(...)&lt;/strong&gt; I read the language string and save it with data in a loop:&lt;/p&gt;


&lt;p&gt;
	foreach
&lt;br&gt;
	$bestusers .= DATA . &lt;strong&gt;qa_lang_html&lt;/strong&gt;('qa_best_users_per_month/points');&lt;/p&gt;


&lt;p&gt;
	then I use:&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $themeobject-&amp;gt;output('&amp;lt;div id=&quot;bestusers&quot;&amp;gt;');
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $themeobject-&amp;gt;output( $bestusers );
&lt;br&gt;
	
&lt;br&gt;
	This returns the entire $bestusers (including the language string), however, in the very beginning there is a question mark!&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	I can &lt;span style=&quot;text-decoration: underline;&quot;&gt;only see&lt;/span&gt; the question mark if I copy the HTML from my site, and paste it into a text editor - invisible char? weird!&lt;/p&gt;


&lt;p&gt;
	&amp;lt;DIV CLASS=&quot;qa-widget-side qa-widget-side-high&quot;&amp;gt;
&lt;br&gt;
	&lt;span style=&quot;color:#ff0000;&quot;&gt;&lt;strong&gt;?&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div id=&quot;bestusers&quot;&amp;gt;&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	## Could it be that &lt;strong&gt;qa_lang_html&lt;/strong&gt; wants to output immediately? But how can I then store the language string within the loop?&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	PS: I use the same code for a custom page, there it works &lt;em&gt;with $qa_content['custom'.++$c]=...&lt;/em&gt; without the question mark, strange.&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/16180/%24themeobject-output-throws-question-mark-qa_lang_html-given</guid>
<pubDate>Mon, 25 Jun 2012 08:18:41 +0000</pubDate>
</item>
<item>
<title>PHP Warning: output handler 'ob_gzhandler' conflicts with 'zlib output compression' in qa-index.php</title>
<link>https://www.question2answer.org/qa/13498/warning-output-handler-ob_gzhandler-conflicts-compression</link>
<description>

&lt;p&gt;
	[13-Mar-2012 19:09:55] &lt;strong&gt;PHP Warning:&amp;nbsp; ob_start() [&amp;lt;a href='ref.outcontrol'&amp;gt;ref.outcontrol&amp;lt;/a&amp;gt;]: output handler 'ob_gzhandler' conflicts with 'zlib output compression' in .../qa-include/qa-index.php on line 158&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	Today I changed the php.ini of my server to send compressed data:&lt;/p&gt;


&lt;p&gt;
	zlib.output_compression = On
&lt;br&gt;
	zlib.output_compression_level = 4&lt;/p&gt;


&lt;p&gt;
	Now I have seen that the error.log of my server is full of the php warning above.&lt;/p&gt;


&lt;p&gt;
	To prevent these errors, in &lt;strong&gt;qa-config.php&lt;/strong&gt; you have to change line 149 to:&lt;/p&gt;


&lt;p&gt;
	&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define('QA_HTML_COMPRESSION', false);&lt;/strong&gt;
&lt;br&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	&lt;strong&gt;Question to the developers:&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	What is better for gzip: Using QA_HTML_COMPRESSION (php) or zlib ( extension = &quot;zip.so&quot; of Apache)?&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/13498/warning-output-handler-ob_gzhandler-conflicts-compression</guid>
<pubDate>Tue, 13 Mar 2012 16:09:17 +0000</pubDate>
</item>
<item>
<title>Put a line break in qa-lang-question.php</title>
<link>https://www.question2answer.org/qa/11451/put-a-line-break-in-qa-lang-question-php</link>
<description>

&lt;p&gt;
	Is it possible to put a line break after&amp;nbsp;'your_answer_title' =&amp;gt; 'Your Anwser', in qa-lang-question.php file?&lt;/p&gt;


&lt;p&gt;
	If so, how?&lt;/p&gt;


&lt;p&gt;
	I also want to put a URL after to look like this:&lt;/p&gt;


&lt;p&gt;
	eg: You Anwser Or &amp;nbsp;&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;Do a New Question&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;
	Thanks!&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/11451/put-a-line-break-in-qa-lang-question-php</guid>
<pubDate>Mon, 26 Dec 2011 10:03:02 +0000</pubDate>
</item>
</channel>
</rss>