<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — Please help with Attention Mod]]></title>
		<link>https://punbb.informer.com/forums/topic/20150/please-help-with-attention-mod/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/20150/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Please help with Attention Mod.]]></description>
		<lastBuildDate>Mon, 03 Nov 2008 20:12:43 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Please help with Attention Mod]]></title>
			<link>https://punbb.informer.com/forums/post/118856/#p118856</link>
			<description><![CDATA[<p>Weeww!! thank you very much <img src="https://punbb.informer.com/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[null@example.com (flux7d)]]></author>
			<pubDate>Mon, 03 Nov 2008 20:12:43 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/118856/#p118856</guid>
		</item>
		<item>
			<title><![CDATA[Re: Please help with Attention Mod]]></title>
			<link>https://punbb.informer.com/forums/post/118854/#p118854</link>
			<description><![CDATA[<p>Hmm. That all looks OK.</p><p>However, consider this, which I got from Googling those characters you are seeing:</p><div class="quotebox"><blockquote><p>Yes, &quot;ï»¿&quot; is the Byte Order Mark (BOM) of the Unicode Standard. Specifically it is the hex bytes EF BB BF, which form the UTF-8 representation of the BOM, misinterpreted as ISO 8859/1 text instead of UTF-8.</p><p>Probably what it means is that you are using a text editor that is saving files in UTF-8 with the BOM, when it should be saving without the BOM. It could be PHP files that have the BOM, in which case they&#039;d appear as literal text on your page. Or it could be translated text you pasted into Joomla! edit windows. </p><p>The Unicode Consortium&#039;s FAQ on the Byte Order Mark is at <a href="http://www.unicode.org/faq/utf_bom.html#BOM">http://www.unicode.org/faq/utf_bom.html#BOM</a></p></blockquote></div><p>One of the suggestions for dealing with the problem Google turned up was:</p><div class="quotebox"><blockquote><p>ftp download the most likely php files you edited, open them in notepad, do a file save-as and be sure to set the encoding to ANSI (at the bottom of the save-as window), then upload the files back again.</p></blockquote></div><p> Try that.</p>]]></description>
			<author><![CDATA[null@example.com (sirena)]]></author>
			<pubDate>Mon, 03 Nov 2008 20:04:44 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/118854/#p118854</guid>
		</item>
		<item>
			<title><![CDATA[Re: Please help with Attention Mod]]></title>
			<link>https://punbb.informer.com/forums/post/118850/#p118850</link>
			<description><![CDATA[<p>main.tpl<br /></p><div class="codebox"><pre><code>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; dir=&quot;&lt;pun_content_direction&gt;&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=&lt;pun_char_encoding&gt;&quot; /&gt;
&lt;pun_head&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id=&quot;punwrap&quot;&gt;
&lt;div id=&quot;pun&lt;pun_page&gt;&quot; class=&quot;pun&quot;&gt;

&lt;div id=&quot;brdheader&quot; class=&quot;block&quot;&gt;
    &lt;div class=&quot;box&quot;&gt;
        &lt;div id=&quot;brdtitle&quot; class=&quot;inbox&quot;&gt;
            &lt;pun_title&gt;
            &lt;pun_desc&gt;
        &lt;/div&gt;
        &lt;pun_navlinks&gt;
        &lt;pun_status&gt;
    &lt;/div&gt;
&lt;/div&gt;



&lt;div align=&quot;center&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-3806911217709370&quot;;
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = &quot;728x90_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel = &quot;&quot;;
google_color_border = &quot;000000&quot;;
google_color_bg = &quot;FFFF66&quot;;
google_color_link = &quot;CC0000&quot;;
google_color_text = &quot;0066CC&quot;;
google_color_url = &quot;80FF00&quot;;
google_ui_features = &quot;rc:10&quot;;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/div&gt;&lt;br&gt;

&lt;pun_include &quot;attention.php&quot;&gt;

&lt;pun_announcement&gt;

&lt;pun_main&gt;
&lt;pun_footer&gt;

&lt;/div&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;</code></pre></div><p>attention.php<br /></p><div class="codebox"><pre><code>&lt;?php

// Show login if not logged in
if($pun_user[&#039;is_guest&#039;])
{
    if(!isset($focus_element) || (isset($focus_element) &amp;&amp; !in_array(&#039;login&#039;, $focus_element)))
    {

    // Load the language files
    require PUN_ROOT.&#039;lang/&#039;.$pun_user[&#039;language&#039;].&#039;/common.php&#039;;
    require PUN_ROOT.&#039;lang/&#039;.$pun_user[&#039;language&#039;].&#039;/login.php&#039;;
?&gt;
&lt;div id=&quot;announce&quot; class=&quot;block&quot;&gt;
    &lt;h2&gt;&lt;span style=&quot;font-size:1.5em; color: #FF0000; font-weight: bold;&quot;&gt;Attention&lt;/span&gt;&lt;/h2&gt;
    &lt;div class=&quot;box&quot;&gt;

        &lt;div class=&quot;inbox&quot;&gt;
            &lt;div&gt;&lt;span style=&quot;font-size: 1.3em; color: #FF0000; font-weight: bold;&quot;&gt;You have not registered yet and have limited access! Register now to be able to view the entire forum!&lt;/span&gt;&lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;?php
    }
}
?&gt;</code></pre></div><p>Before this mod i&#039;ve installed quite few which didn&#039;t give me any kind of this error, only after installing this mod I got this.. and I&#039;m using notepad as an editor, which i&#039;m using for years like that and it never gave me an error like that...</p>]]></description>
			<author><![CDATA[null@example.com (flux7d)]]></author>
			<pubDate>Mon, 03 Nov 2008 16:30:55 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/118850/#p118850</guid>
		</item>
		<item>
			<title><![CDATA[Re: Please help with Attention Mod]]></title>
			<link>https://punbb.informer.com/forums/post/118834/#p118834</link>
			<description><![CDATA[<div class="quotebox"><cite>flux7d wrote:</cite><blockquote><p>I&#039;m using FlashFXP...<br />from youre code, my main.tpl looks fine, but I have a google syndicate ad, but that can cause the problem?</p></blockquote></div><p>With your FTP client, dig around in the settings and just make sure that *.php and *.tpl files are treated as ASCII format text files, and transferred that way when uploading/downloading, instead of as BINARY format files. Every FTP client handles these formats differently, but all will let you tell them how to do transfers properly. Transferring text files as binary, and vice versa, is usually bad.</p><p>The Google ad code shouldn&#039;t be a problem. Well, not normally.</p><p>Can you post the relevant section of your main.tpl that shows both the google code and also the attention.php?</p>]]></description>
			<author><![CDATA[null@example.com (sirena)]]></author>
			<pubDate>Mon, 03 Nov 2008 10:40:06 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/118834/#p118834</guid>
		</item>
		<item>
			<title><![CDATA[Re: Please help with Attention Mod]]></title>
			<link>https://punbb.informer.com/forums/post/118832/#p118832</link>
			<description><![CDATA[<p>I&#039;m using FlashFXP...<br />from youre code, my main.tpl looks fine, but I have a google syndicate ad, but that can cause the problem?</p>]]></description>
			<author><![CDATA[null@example.com (flux7d)]]></author>
			<pubDate>Mon, 03 Nov 2008 09:07:42 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/118832/#p118832</guid>
		</item>
		<item>
			<title><![CDATA[Re: Please help with Attention Mod]]></title>
			<link>https://punbb.informer.com/forums/post/118824/#p118824</link>
			<description><![CDATA[<p>OK, what does your YOURFORUM\include\template\main.tpl look like?</p><p>I&#039;ve used this mod with no problems in the past and this is what the relevant section of main.tpl looks like when I use it:<br />ETC ETC<br /></p><div class="codebox"><pre><code>&lt;div id=&quot;punwrap&quot;&gt;
&lt;div id=&quot;pun&lt;pun_page&gt;&quot; class=&quot;pun&quot;&gt;
&lt;div id=&quot;brdheader&quot; class=&quot;block&quot;&gt;
    &lt;div class=&quot;box&quot;&gt;
        &lt;div id=&quot;brdtitle&quot; class=&quot;inbox&quot;&gt;
        &lt;pun_desc&gt;
        &lt;/div&gt;
        &lt;pun_navlinks&gt;
        &lt;pun_status&gt;
    &lt;/div&gt;
&lt;/div&gt;

&lt;pun_include &quot;attention.php&quot;&gt;
&lt;pun_announcement&gt;
&lt;pun_main&gt;
&lt;pun_footer&gt;</code></pre></div><p> ETC ETC</p><p>And this is the contents of my PUNFORUM\include\user\attention.php, which displays without any issues:<br /></p><div class="codebox"><pre><code>&lt;?php
if($pun_user[&#039;is_guest&#039;])
{
?&gt;
&lt;div class=&quot;block&quot;&gt;
    &lt;div class=&quot;box&quot;&gt;
        &lt;div class=&quot;inbox&quot;&gt;&lt;p align=&quot;center&quot;&gt;&lt;b&gt;Welcome Guest!&lt;/b&gt; To post a message, please &lt;a title=&quot;site registration link&quot; href=&quot;register.php&quot;&gt;register&lt;/a&gt;! Registration is easy and free. If you have registered, please &lt;a title=&quot;site login link&quot; href=&quot;login.php&quot;&gt;login&lt;/a&gt;.&lt;/p&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;?php
}
?&gt;</code></pre></div><p>Another thought: make sure that you have uploaded (via FTP) any files you have modified&nbsp; as ASCII text. What you are seeing might be some sort of binary artefact.</p>]]></description>
			<author><![CDATA[null@example.com (sirena)]]></author>
			<pubDate>Mon, 03 Nov 2008 03:14:39 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/118824/#p118824</guid>
		</item>
		<item>
			<title><![CDATA[Re: Please help with Attention Mod]]></title>
			<link>https://punbb.informer.com/forums/post/118821/#p118821</link>
			<description><![CDATA[<p>Well my will not qualify with the rules here <img src="https://punbb.informer.com/forums/img/smilies/tongue.png" width="15" height="15" alt="tongue" /> so I don&#039;t know if I should put an adress</p><p>here the link to the mod:<br /><a href="http://www.punres.org/desc.php?pid=387">http://www.punres.org/desc.php?pid=387</a></p><p>I did exactly what the install readme said..</p>]]></description>
			<author><![CDATA[null@example.com (flux7d)]]></author>
			<pubDate>Mon, 03 Nov 2008 00:18:54 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/118821/#p118821</guid>
		</item>
		<item>
			<title><![CDATA[Re: Please help with Attention Mod]]></title>
			<link>https://punbb.informer.com/forums/post/118816/#p118816</link>
			<description><![CDATA[<p>Also what is the URL to the mod you are using from punres?</p>]]></description>
			<author><![CDATA[null@example.com (sirena)]]></author>
			<pubDate>Sun, 02 Nov 2008 20:08:11 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/118816/#p118816</guid>
		</item>
		<item>
			<title><![CDATA[Re: Please help with Attention Mod]]></title>
			<link>https://punbb.informer.com/forums/post/118810/#p118810</link>
			<description><![CDATA[<p>OK. Please give your forum&#039;s url, then I can check whats wrong, and upload / paste code of the mod file.</p>]]></description>
			<author><![CDATA[null@example.com (Olli)]]></author>
			<pubDate>Sun, 02 Nov 2008 15:18:29 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/118810/#p118810</guid>
		</item>
		<item>
			<title><![CDATA[Please help with Attention Mod]]></title>
			<link>https://punbb.informer.com/forums/post/118809/#p118809</link>
			<description><![CDATA[<p>After almost a week that my post wasn&#039;t answered @ punres I hope here I can get some help..<br />I&#039;ve setted the mod correctly, checked it couple of times, but I get this &quot;ï»¿&quot; before the table of the attention, I mean it shows this letters for some reason..</p><p><a href="http://img396.imageshack.us/my.php?image=attentionuw6.jpg"><span class="postimg"><img src="http://img396.imageshack.us/img396/1228/attentionuw6.th.jpg" alt="http://img396.imageshack.us/img396/1228/attentionuw6.th.jpg" /></span></a><a href="http://g.imageshack.us/thpix.php"><span class="postimg"><img src="http://img396.imageshack.us/images/thpix.gif" alt="http://img396.imageshack.us/images/thpix.gif" /></span></a></p><p>hope you can help me,<br />thank you <img src="https://punbb.informer.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>btw, I see punbb develops greatly i&#039;m very happy with that, I will upgrade soon... now i&#039;m with 1.2.20</p>]]></description>
			<author><![CDATA[null@example.com (flux7d)]]></author>
			<pubDate>Sun, 02 Nov 2008 14:07:26 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/118809/#p118809</guid>
		</item>
	</channel>
</rss>
