<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Handmade &quot;Bad behavio(u)r 2&quot; include - Version 3.x Mod Discussion and Development				            </title>
            <link>https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Sun, 10 May 2026 23:05:44 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Handmade &quot;Bad behavio(u)r 2&quot; include</title>
                        <link>https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/3/#post-21601</link>
                        <pubDate>Thu, 25 Apr 2024 10:23:34 +0000</pubDate>
                        <description><![CDATA[If somebody needs this for PHP 8, the fatal error is because missing backslash in language file. %s  should be \%s (see lans above)]]></description>
                        <content:encoded><![CDATA[<p>If somebody needs this for PHP 8, the fatal error is because missing backslash in language file. %s  should be \%s (see lans above)</p>]]></content:encoded>
						                            <category domain="https://efiction.org/community/version-3-x-mod-discussion-and-development/">Version 3.x Mod Discussion and Development</category>                        <dc:creator>Jimmi</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/3/#post-21601</guid>
                    </item>
				                    <item>
                        <title>RE: Handmade &quot;Bad behavio(u)r 2&quot; include</title>
                        <link>https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/3/#post-21508</link>
                        <pubDate>Tue, 24 Oct 2023 00:47:08 +0000</pubDate>
                        <description><![CDATA[Is this included in 3.5.5?]]></description>
                        <content:encoded><![CDATA[<p>Is this included in 3.5.5?</p>]]></content:encoded>
						                            <category domain="https://efiction.org/community/version-3-x-mod-discussion-and-development/">Version 3.x Mod Discussion and Development</category>                        <dc:creator>Jan_AQ</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/3/#post-21508</guid>
                    </item>
				                    <item>
                        <title>Re: Handmade &quot;Bad behavio(u)r 2&quot; include</title>
                        <link>https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/3/#post-20827</link>
                        <pubDate>Fri, 24 Aug 2018 20:04:46 +0000</pubDate>
                        <description><![CDATA[I updated the download package in the first topic, if you already have BB2 set up, only upload the contents of the bad-behavior folder inside the archive, no need for the files in the archiv...]]></description>
                        <content:encoded><![CDATA[I updated the download package in the first topic, if you already have BB2 set up, only upload the contents of the bad-behavior folder inside the archive, no need for the files in the archive root, they have not changed since they are custom.]]></content:encoded>
						                            <category domain="https://efiction.org/community/version-3-x-mod-discussion-and-development/">Version 3.x Mod Discussion and Development</category>                        <dc:creator>Sheepcontrol</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/3/#post-20827</guid>
                    </item>
				                    <item>
                        <title>Re: Handmade &quot;Bad behavio(u)r 2&quot; include</title>
                        <link>https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/3/#post-20826</link>
                        <pubDate>Fri, 24 Aug 2018 15:26:13 +0000</pubDate>
                        <description><![CDATA[So after reading this post from Kate about her site getting hacked, I&#039;m a little nervous. Our install of Bad Behaviour seems to be doing okay (knock on wood) but I see a marked increase...]]></description>
                        <content:encoded><![CDATA[So after reading <a class="go2wpf-bbcode" rel="nofollow" target="_blank" href="https://efiction.org/forums/index.php?topic=9160.0">this post</a> from Kate about her site getting hacked, I&#039;m a little nervous. Our install of Bad Behaviour seems to be doing okay (knock on wood) but I see a marked increase of access attempts. Normally the &quot;blocked access attempts&quot; number is between 75~150 but right now it&#039;s about 1900! Is there a Bad Behaviour update we should looking at adding? Or is the increased number just a sign that BB is doing it&#039;s job?]]></content:encoded>
						                            <category domain="https://efiction.org/community/version-3-x-mod-discussion-and-development/">Version 3.x Mod Discussion and Development</category>                        <dc:creator>LD-MTT</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/3/#post-20826</guid>
                    </item>
				                    <item>
                        <title>Re: Handmade &quot;Bad behavio(u)r 2&quot; include</title>
                        <link>https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/3/#post-20807</link>
                        <pubDate>Tue, 19 Jun 2018 16:20:55 +0000</pubDate>
                        <description><![CDATA[HiIve now got it on 2 sites and got it to work on both. No problems. Had to read instructions which was easy to follow. :biggrin:many thanksKate]]></description>
                        <content:encoded><![CDATA[Hi<br><br>Ive now got it on 2 sites and got it to work on both. No problems. Had to read instructions which was easy to follow. :biggrin:<br><br>many thanks<br><br>Kate<br>]]></content:encoded>
						                            <category domain="https://efiction.org/community/version-3-x-mod-discussion-and-development/">Version 3.x Mod Discussion and Development</category>                        <dc:creator>Kate</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/3/#post-20807</guid>
                    </item>
				                    <item>
                        <title>Re: Handmade &quot;Bad behavio(u)r 2&quot; include</title>
                        <link>https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/3/#post-20804</link>
                        <pubDate>Sun, 10 Jun 2018 04:05:14 +0000</pubDate>
                        <description><![CDATA[Added this with no problems thanks for it.]]></description>
                        <content:encoded><![CDATA[Added this with no problems thanks for it.]]></content:encoded>
						                            <category domain="https://efiction.org/community/version-3-x-mod-discussion-and-development/">Version 3.x Mod Discussion and Development</category>                        <dc:creator>marcy</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/3/#post-20804</guid>
                    </item>
				                    <item>
                        <title>Re: Handmade &quot;Bad behavio(u)r 2&quot; include</title>
                        <link>https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/3/#post-20803</link>
                        <pubDate>Wed, 06 Jun 2018 02:59:12 +0000</pubDate>
                        <description><![CDATA[Lucy, did you follow the instructions on Page 1? Are you getting an error message? And which version of eFiction are you trying to apply Bad Behaviour to?]]></description>
                        <content:encoded><![CDATA[Lucy, did you follow the instructions on Page 1? Are you getting an error message? <br><br>And which version of eFiction are you trying to apply Bad Behaviour to?]]></content:encoded>
						                            <category domain="https://efiction.org/community/version-3-x-mod-discussion-and-development/">Version 3.x Mod Discussion and Development</category>                        <dc:creator>Sue</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/3/#post-20803</guid>
                    </item>
				                    <item>
                        <title>Re: Handmade &quot;Bad behavio(u)r 2&quot; include</title>
                        <link>https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/2/#post-20802</link>
                        <pubDate>Mon, 04 Jun 2018 07:37:22 +0000</pubDate>
                        <description><![CDATA[So I&#039;ve tried to add the stats to my site, but with no luck. this is what the page setup looks like: &lt;?php// ----------------------------------------------------------------------// ...]]></description>
                        <content:encoded><![CDATA[So I&#039;ve tried to add the stats to my site, but with no luck. this is what the page setup looks like: <br><br><pre>&lt;?php<br>// ----------------------------------------------------------------------<br>// Copyright (c) 2007 by Tammy Keefer<br>// Based on eFiction 1.1<br>// Copyright (C) 2003 by Rebecca Smallwood.<br>// http://efiction.sourceforge.net/<br>// ----------------------------------------------------------------------<br>// LICENSE<br>//<br>// This program is free software; you can redistribute it and/or<br>// modify it under the terms of the GNU General Public License (GPL)<br>// as published by the Free Software Foundation; either version 2<br>// of the License, or (at your option) any later version.<br>//<br>// This program is distributed in the hope that it will be useful,<br>// but WITHOUT ANY WARRANTY; without even the implied warranty of<br>// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&nbsp; See the<br>// GNU General Public License for more details.<br>//<br>// To read the license please visit http://www.gnu.org/copyleft/gpl.html<br>// ----------------------------------------------------------------------<br><br><br>/* <br>This file does some of the setup of the common elements of the pages within your site. <br>It also checks the common $_GET variables and cleans them up to prevent hacking and attacks.<br>*/<br><br>if(!defined(&quot;_CHARSET&quot;)) exit( );<br><br>$favtypes = array(&quot;SE&quot; =&gt; &quot;series&quot;, &quot;ST&quot; =&gt; &quot;stories&quot;, &quot;AU&quot; =&gt;&quot;authors&quot;);<br>$revtypes = array(&quot;SE&quot; =&gt; &quot;series&quot;, &quot;ST&quot; =&gt; &quot;stories&quot;);<br><br>$catlist = array( );<br>$catresults = dbquery(&quot;SELECT * FROM &quot;.TABLEPREFIX.&quot;fanfiction_categories ORDER BY leveldown, displayorder&quot;);<br>while($cat = dbassoc($catresults)) {<br>$catlist] = array(&quot;name&quot; =&gt; stripslashes($cat&#091;&#039;category&#039;]), &quot;pid&quot; =&gt; $cat&#091;&#039;parentcatid&#039;], &quot;order&quot; =&gt; $cat&#091;&#039;displayorder&#039;], &quot;locked&quot; =&gt; $cat&#091;&#039;locked&#039;], &quot;leveldown&quot; =&gt; $cat&#091;&#039;leveldown&#039;]);<br>}<br>$charlist = array( );<br>$result = dbquery(&quot;SELECT charname, catid, charid FROM &quot;.TABLEPREFIX.&quot;fanfiction_characters ORDER BY charname&quot;);<br>while($char = dbassoc($result)) {<br>$charlist] = array(&quot;name&quot; =&gt; stripslashes($char&#091;&#039;charname&#039;]), &quot;catid&quot; =&gt; $char&#091;&#039;catid&#039;]);<br>}<br>$classlist = array( );<br>$classresults = dbquery(&quot;SELECT * FROM &quot;.TABLEPREFIX.&quot;fanfiction_classes ORDER BY class_name&quot;);<br>while($class = dbassoc($classresults)) {<br>$classlist] = array(&quot;type&quot; =&gt; $class&#091;&#039;class_type&#039;], &quot;name&quot; =&gt; stripslashes($class&#091;&#039;class_name&#039;]));<br>}<br>$classtypelist = array( );<br>$classtyperesults = dbquery(&quot;SELECT * FROM &quot;.TABLEPREFIX.&quot;fanfiction_classtypes ORDER BY classtype_name&quot;);<br>while($type = dbassoc($classtyperesults)) {<br>$classtypelist] = array(&quot;name&quot; =&gt; $type&#091;&#039;classtype_name&#039;], &quot;title&quot; =&gt; stripslashes($type&#091;&#039;classtype_title&#039;]));<br>}<br>$ratlist = dbquery(&quot;SELECT * FROM &quot;.TABLEPREFIX.&quot;fanfiction_ratings&quot;);<br>while($rate = dbassoc($ratlist)) {<br>$ratingslist] = array(&quot;name&quot; =&gt; $rate&#091;&#039;rating&#039;], &quot;ratingwarning&quot; =&gt; $rate&#091;&#039;ratingwarning&#039;], &quot;warningtext&quot; =&gt; $rate&#091;&#039;warningtext&#039;]);<br>}<br>unset($catresult, $result, $classresults, $classtyperesults, $ratlist, $type, $rate, $class, $char, $cat);<br>$action = escapestring($action);<br>// Set up the page template<br><br>if($action != &quot;printable&quot;) {<br>$tpl-&gt;assignInclude( &quot;header&quot;, &quot;./$skindir/header.tpl&quot; );<br>$tpl-&gt;assignInclude( &quot;footer&quot;, &quot;./$skindir/footer.tpl&quot; );<br>}<br>$tpl-&gt;prepare( );<br>// End page template setup<br><br>if(file_exists(&quot;$skindir/variables.php&quot;)) include(&quot;$skindir/variables.php&quot;);<br><br>// If they weren&#039;t set in variables.php, set the defaults for these <br>if(!isset($up)) $up = &quot;&lt;img src="&quot;images/arrowup.gif&quot;" border=&quot;0&quot; width=&quot;13&quot; height=&quot;18&quot; align=&quot;left&quot; alt=&quot;&quot;._UP.&quot;&quot;&gt;&quot;;<br>if(!isset($down)) $down = &quot;&lt;img src="&quot;images/arrowdown.gif&quot;" border=&quot;0&quot; width=&quot;13&quot; height=&quot;18&quot; align=&quot;right&quot; alt=&quot;&quot;._DOWN.&quot;&quot;&gt;&quot;;<br><br>$linkquery = dbquery(&quot;SELECT * from &quot;.TABLEPREFIX.&quot;fanfiction_pagelinks ORDER BY link_access ASC&quot;);<br>if(!isset($current)) $current = &quot;&quot;;<br><br>while($link = dbassoc($linkquery)) {<br>if($link&#091;&#039;link_access&#039;] &amp;&amp; !isMEMBER) continue;<br>if($link&#091;&#039;link_access&#039;] == 2 &amp;&amp; uLEVEL &lt; 1) continue;<br>if($link&#091;&#039;link_name&#039;] == &quot;register&quot; &amp;&amp; isMEMBER) continue;<br>if(strpos($link&#091;&#039;link_url&#039;], &quot;http://&quot;) === false &amp;&amp; strpos($link&#091;&#039;link_url&#039;], &quot;https://&quot;) === false) $link&#091;&#039;link_url&#039;] = _BASEDIR.$link&#091;&#039;link_url&#039;];<br>$tpl-&gt;assignGlobal($link&#091;&#039;link_name&#039;], &quot;&lt;a href="&quot;&quot;.$link&#091;&#039;link_url&#039;"].&quot;&quot; title=&quot;&quot;.$link&#091;&#039;link_text&#039;].&quot;&quot;&quot;.($link&#091;&#039;link_target&#039;] ? &quot; target=&quot;_blank&quot;&quot; : &quot;&quot;).(!empty($link&#091;&#039;link_key&#039;]) ? &quot; accesskey=&#039;&quot;.$link&#091;&#039;link_key&#039;].&quot;&#039;&quot; : &quot;&quot;).($current == $link&#091;&#039;link_name&#039;] ? &quot; id=&quot;current&quot;&quot; : &quot;&quot;).&quot;&gt;&quot;.$link&#091;&#039;link_text&#039;].&quot;&lt;/a&gt;&quot;);<br>$pagelinks] = array(&quot;id&quot; =&gt; $link&#091;&#039;link_id&#039;], &quot;text&quot; =&gt; $link&#091;&#039;link_text&#039;], &quot;url&quot; =&gt; $link&#091;&#039;link_url&#039;], &quot;key&quot; =&gt; $link&#091;&#039;link_key&#039;], &quot;link&quot; =&gt; &quot;&lt;a href="&quot;&quot;.$link&#091;&#039;link_url&#039;"].&quot;&quot; title=&quot;&quot;.$link&#091;&#039;link_text&#039;].&quot;&quot;&quot;.(!empty($link&#091;&#039;link_key&#039;]) ? &quot; accesskey=&#039;&quot;.$link&#091;&#039;link_key&#039;].&quot;&#039;&quot; : &quot;&quot;).($link&#091;&#039;link_target&#039;] ? &quot; target=&quot;_blank&quot;&quot; : &quot;&quot;).($current == $link&#091;&#039;link_name&#039;] ? &quot; id=&quot;current&quot;&quot; : &quot;&quot;).&quot;&gt;&quot;.$link&#091;&#039;link_text&#039;].&quot;&lt;/a&gt;&quot;);<br>}<br><br>if($action != &quot;printable&quot;) $tpl-&gt;newBlock(&quot;header&quot;);<br>$tpl-&gt;assignGlobal(&quot;sitename&quot;, $sitename);<br>$tpl-&gt;assignGlobal(&quot;slogan&quot;, $slogan);<br>$tpl-&gt;assignGlobal(&quot;page_id&quot;, $current);<br>$tpl-&gt;assignGlobal(&quot;basedir&quot;, _BASEDIR);<br>$tpl-&gt;assignGlobal(&quot;skindir&quot;, $skindir);<br>$tpl-&gt;assignGlobal(&quot;rss&quot;, &quot;&lt;a href="&#039;&quot;._BASEDIR.$pagelinks&#091;&#039;rss&#039;"]&#091;&#039;url&#039;].&quot;&#039;&gt;&lt;img src="&#039;&quot;._BASEDIR.&quot;images/xml.gif&#039;" alt=&#039;RSS&#039; title = &#039;RSS&#039; border=&#039;0&#039;&gt;&lt;/a&gt;&quot;);<br>if(isset($pagelinks&#091;&#039;rss&#039;])) $tpl-&gt;assignGlobal(&quot;columns&quot;, $displaycolumns);<br>if($action != &quot;printable&quot;) {<br>$tpl-&gt;newBlock(&quot;footer&quot;);<br>$copy = dbquery(&quot;SELECT message_text FROM &quot;.TABLEPREFIX.&quot;fanfiction_messages WHERE message_name = &#039;copyright&#039; LIMIT 1&quot;);<br>if($copy) list($copyright) = dbrow($copy);<br><br>foreach($blocks as $block=&gt;$value) {<br>if(empty($value&#091;&#039;status&#039;]) || ($value&#091;&#039;status&#039;] == 2 &amp;&amp; $current != &quot;home&quot;)) continue;<br>if(empty($value&#091;&#039;file&#039;])) continue;<br>if($value&#091;&#039;status&#039;] &amp;&amp; file_exists(_BASEDIR.&quot;blocks/&quot;.$value&#091;&#039;file&#039;])) {<br>$content = &quot;&quot;;<br>$tpl-&gt;assignGlobal($block.&quot;_title&quot;, !empty($value&#091;&#039;title&#039;]) ? stripslashes($value&#091;&#039;title&#039;]) : &quot;&quot;);<br>if(file_exists(_BASEDIR.&quot;blocks/&quot;.$value&#091;&#039;file&#039;])) include(_BASEDIR.&quot;blocks/&quot;.$value&#091;&#039;file&#039;]);<br>$tpl-&gt;assignGlobal($block.&quot;_content&quot;, $content);<br>}<br>}<br>$tpl-&gt;assign( &quot;footer&quot;, $copyright);<br>if ( function_exists(&#039;bb2_insert_stats&#039;) )<br>$tpl-&gt;assign(&quot;bb2stats&quot;, bb2_insert_stats() );<br>$tpl-&gt;gotoBlock( &quot;_ROOT&quot; );<br>}<br><br><br>$tpl-&gt;gotoBlock( &quot;_ROOT&quot; );<br>?&gt;</pre>]]></content:encoded>
						                            <category domain="https://efiction.org/community/version-3-x-mod-discussion-and-development/">Version 3.x Mod Discussion and Development</category>                        <dc:creator>lucy</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/2/#post-20802</guid>
                    </item>
				                    <item>
                        <title>Re: Handmade &quot;Bad behavio(u)r 2&quot; include</title>
                        <link>https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/2/#post-20741</link>
                        <pubDate>Mon, 11 Dec 2017 17:10:43 +0000</pubDate>
                        <description><![CDATA[Hi Suethanks u for ur help. I don&#039;t use a forum on the site since it isn&#039;t needed.my site can be viewed heredon&#039;t have user registration in use either as it is for my own fict...]]></description>
                        <content:encoded><![CDATA[Hi Sue<br><br>thanks u for ur help. I don&#039;t use a forum on the site since it isn&#039;t needed.<br><br>my site can be viewed here <a class="go2wpf-bbcode" rel="nofollow" target="_blank" href="http://www.adriftindreams.com">http://www.adriftindreams.com</a>.<br><br>I don&#039;t have user registration in use either as it is for my own fiction and poetry, so I have not used the login block or links.<br><br>regards, Kate]]></content:encoded>
						                            <category domain="https://efiction.org/community/version-3-x-mod-discussion-and-development/">Version 3.x Mod Discussion and Development</category>                        <dc:creator>Kate</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/2/#post-20741</guid>
                    </item>
				                    <item>
                        <title>Re: Handmade &quot;Bad behavio(u)r 2&quot; include</title>
                        <link>https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/2/#post-20739</link>
                        <pubDate>Sat, 09 Dec 2017 23:50:20 +0000</pubDate>
                        <description><![CDATA[Kate, I can really recommend the modifications that Ladama has shared on this thread as well.It adds a challenge question to the Registration process. Just this simple step has made a huge d...]]></description>
                        <content:encoded><![CDATA[Kate, I can really recommend the modifications that Ladama has <a class="go2wpf-bbcode" rel="nofollow" target="_blank" href="https://efiction.org/forums/index.php?topic=9121.msg46332#msg46332">shared on this thread</a> as well.<br><br>It adds a challenge question to the Registration process. Just this simple step has made a huge difference to a phpBB (bulletin board) site I administer, and I am confident that it will similarly defeat the (dental) bots.]]></content:encoded>
						                            <category domain="https://efiction.org/community/version-3-x-mod-discussion-and-development/">Version 3.x Mod Discussion and Development</category>                        <dc:creator>Sue</dc:creator>
                        <guid isPermaLink="true">https://efiction.org/community/version-3-x-mod-discussion-and-development/handmade-bad-behaviour-2-include/paged/2/#post-20739</guid>
                    </item>
							        </channel>
        </rss>
		