<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — PunBB and BBClone]]></title>
		<link>https://punbb.informer.com/forums/topic/8583/punbb-and-bbclone/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/8583/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in PunBB and BBClone.]]></description>
		<lastBuildDate>Sun, 07 Oct 2007 09:23:06 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: PunBB and BBClone]]></title>
			<link>https://punbb.informer.com/forums/post/101559/#p101559</link>
			<description><![CDATA[<p>Thank you, i&#039;ll do that <img src="https://punbb.informer.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[null@example.com (glucarelli)]]></author>
			<pubDate>Sun, 07 Oct 2007 09:23:06 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/101559/#p101559</guid>
		</item>
		<item>
			<title><![CDATA[Re: PunBB and BBClone]]></title>
			<link>https://punbb.informer.com/forums/post/101557/#p101557</link>
			<description><![CDATA[<p>Unfortunately I don&#039;t have the time to write code for you, but if you start with this chunk I posted</p><div class="codebox"><pre><code>// Fetch BBlone Stats
require(&quot;bbclone/var/access.php&quot;);
$totalvisits   = $access[&quot;stat&quot;][&quot;totalvisits&quot;];
$totalcount    = $access[&quot;stat&quot;][&quot;totalcount&quot;];
$visitorsmonth = $access[&quot;time&quot;][&quot;month&quot;][date(&quot;n&quot;)-1];
$visitorstoday = $access[&quot;time&quot;][&quot;wday&quot;][date(&quot;w&quot;)];</code></pre></div><p>you should be able to echo() the variables wherever you&#039;d like them to show up.</p><p>Just FYI I posted this quite some time ago and I no longer use BBClone.</p>]]></description>
			<author><![CDATA[null@example.com (pogenwurst)]]></author>
			<pubDate>Sun, 07 Oct 2007 02:40:11 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/101557/#p101557</guid>
		</item>
		<item>
			<title><![CDATA[Re: PunBB and BBClone]]></title>
			<link>https://punbb.informer.com/forums/post/101381/#p101381</link>
			<description><![CDATA[<div class="quotebox"><cite>fantasma wrote:</cite><blockquote><p>use it in header <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>???&nbsp; <img src="https://punbb.informer.com/forums/img/smilies/hmm.png" width="15" height="15" alt="hmm" /></p>]]></description>
			<author><![CDATA[null@example.com (glucarelli)]]></author>
			<pubDate>Wed, 03 Oct 2007 14:57:44 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/101381/#p101381</guid>
		</item>
		<item>
			<title><![CDATA[Re: PunBB and BBClone]]></title>
			<link>https://punbb.informer.com/forums/post/101380/#p101380</link>
			<description><![CDATA[<p>use it in header <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (fantasma)]]></author>
			<pubDate>Wed, 03 Oct 2007 14:46:50 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/101380/#p101380</guid>
		</item>
		<item>
			<title><![CDATA[Re: PunBB and BBClone]]></title>
			<link>https://punbb.informer.com/forums/post/101378/#p101378</link>
			<description><![CDATA[<p>Using bbclone for a long time, and it&#039;s great.<br />Look at post #2 from Pogenwurst, instead of having extra statistics in index.php, i would like to have it centered in in the last line of footer.<br />I&#039;ve tried to make the same modifications in footer.php, but result gives nothing acceptable.<br />Any one for a solution ?</p><p>Regards</p>]]></description>
			<author><![CDATA[null@example.com (glucarelli)]]></author>
			<pubDate>Wed, 03 Oct 2007 14:24:42 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/101378/#p101378</guid>
		</item>
		<item>
			<title><![CDATA[Re: PunBB and BBClone]]></title>
			<link>https://punbb.informer.com/forums/post/77702/#p77702</link>
			<description><![CDATA[<p>I was going to suggest something similar, but got lazy. <img src="https://punbb.informer.com/forums/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p><p>Nice job.</p>]]></description>
			<author><![CDATA[null@example.com (pogenwurst)]]></author>
			<pubDate>Thu, 21 Sep 2006 00:48:03 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/77702/#p77702</guid>
		</item>
		<item>
			<title><![CDATA[Re: PunBB and BBClone]]></title>
			<link>https://punbb.informer.com/forums/post/77697/#p77697</link>
			<description><![CDATA[<p>Found a solution for me perhaps not the perfect one but it works.</p><p>Renamed original index.php to stats.php</p><p>Created a new index.php with this code inside :<br /></p><div class="codebox"><pre><code>&lt;? header(&quot;location:../index.php&quot;); ?&gt;</code></pre></div><p>Added after the first &lt;?php of every of those files : stats.php , show_detailed.php , show_views.php , show_global.php this code :</p><div class="codebox"><pre><code>define(&#039;PUN_ROOT&#039;,
&#039;Link_to_Forum&#039;
);

require PUN_ROOT.&#039;include/common.php&#039;;

if ($pun_user[&#039;g_id&#039;] &gt; PUN_ADMIN) exit;</code></pre></div><p>And finally added a navink to stats.php in /include/functions.php only for admins.</p><p>I&#039;m not a php specialist,maybe there is some mistakes (don&#039;t blame me !) but it works fine for me.</p>]]></description>
			<author><![CDATA[null@example.com (glucarelli)]]></author>
			<pubDate>Thu, 21 Sep 2006 00:06:25 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/77697/#p77697</guid>
		</item>
		<item>
			<title><![CDATA[Re: PunBB and BBClone]]></title>
			<link>https://punbb.informer.com/forums/post/77681/#p77681</link>
			<description><![CDATA[<p>Personally I&#039;d say just to stick with manually creating .htaccess &amp; .htpassword (or .htpswd or whatever I can&#039;t remember) and not bother with integration with the PunBB user system. It sounds like more trouble than it&#039;s worth.</p><p>If you don&#039;t know how to set that up the BBClone forum should have instructions somewhere, or you can do a web search for generic instructions (tip - for some reason or another many sections of the BBClone forum are only visible to registered users).</p>]]></description>
			<author><![CDATA[null@example.com (pogenwurst)]]></author>
			<pubDate>Wed, 20 Sep 2006 21:23:50 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/77681/#p77681</guid>
		</item>
		<item>
			<title><![CDATA[Re: PunBB and BBClone]]></title>
			<link>https://punbb.informer.com/forums/post/77563/#p77563</link>
			<description><![CDATA[<p>Great tool for PunBB</p><p>Is there a way using .htaccess authentification in BBClone directory to restrict access only for the PunBB administrator ?</p>]]></description>
			<author><![CDATA[null@example.com (glucarelli)]]></author>
			<pubDate>Tue, 19 Sep 2006 15:54:18 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/77563/#p77563</guid>
		</item>
		<item>
			<title><![CDATA[Re: PunBB and BBClone]]></title>
			<link>https://punbb.informer.com/forums/post/59784/#p59784</link>
			<description><![CDATA[<div class="quotebox"><cite>Kraeved wrote:</cite><blockquote><p><strong>Manfre</strong>,<br />for some reason I&#039;ve links logged without id=...</p><p>Example:<br />music (section name) links to viewforum.php (should be viewforum.php?id=9),<br />depeche mode (topic name in some section) leads to viewtopic.php (should be viewtopic.php?id=28).</p><p>?</p></blockquote></div><p>Links.... where? Can you give me a screenshot or something? I&#039;m not sure what you&#039;re talking about.</p>]]></description>
			<author><![CDATA[null@example.com (pogenwurst)]]></author>
			<pubDate>Fri, 06 Jan 2006 21:30:39 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/59784/#p59784</guid>
		</item>
		<item>
			<title><![CDATA[Re: PunBB and BBClone]]></title>
			<link>https://punbb.informer.com/forums/post/59755/#p59755</link>
			<description><![CDATA[<p><strong>Manfre</strong>,<br />for some reason I&#039;ve links logged without id=...</p><p>Example:<br />music (section name) links to viewforum.php (should be viewforum.php?id=9),<br />depeche mode (topic name in some section) leads to viewtopic.php (should be viewtopic.php?id=28).</p><p>?</p>]]></description>
			<author><![CDATA[null@example.com (Kraeved)]]></author>
			<pubDate>Fri, 06 Jan 2006 08:47:43 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/59755/#p59755</guid>
		</item>
		<item>
			<title><![CDATA[Re: PunBB and BBClone]]></title>
			<link>https://punbb.informer.com/forums/post/50835/#p50835</link>
			<description><![CDATA[<p>Thanks Manfre! I&#039;m glad you found my post useful.</p><p>Good idea with your edits. I&#039;ve had that problem before too.</p>]]></description>
			<author><![CDATA[null@example.com (pogenwurst)]]></author>
			<pubDate>Fri, 02 Sep 2005 18:42:11 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/50835/#p50835</guid>
		</item>
		<item>
			<title><![CDATA[Re: PunBB and BBClone]]></title>
			<link>https://punbb.informer.com/forums/post/50825/#p50825</link>
			<description><![CDATA[<p>This was really useful. I had to made a minor tweak to the bbclone logging, since my page_title was excessively long and getting truncated in the bbclone display. This will use the $page_title as a last resort, otherwise it will use the current forum name or the current forum with current topic.</p><div class="codebox"><pre><code>// Edits to use BBclone
if (!empty($cur_forum[&#039;forum_name&#039;]))
    $bbclone_page_title = $cur_forum[&#039;forum_name&#039;];
else if (!empty($cur_topic[&#039;subject&#039;]))
    $bbclone_page_title = (!empty($cur_topic[&#039;forum_name&#039;])?$cur_topic[&#039;forum_name&#039;].&#039;/&#039;:&#039;&#039;) . $cur_topic[&#039;subject&#039;];
else
    $bbclone_page_title = $page_title;
define(&quot;_BBC_PAGE_NAME&quot;, $bbclone_page_title);
define(&quot;_BBCLONE_DIR&quot;, &quot;../bbclone/&quot;);
define(&quot;COUNTER&quot;, _BBCLONE_DIR.&quot;mark_page.php&quot;);
if (is_readable(COUNTER)) include_once(COUNTER);</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Manfre)]]></author>
			<pubDate>Fri, 02 Sep 2005 17:06:44 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/50825/#p50825</guid>
		</item>
		<item>
			<title><![CDATA[Re: PunBB and BBClone]]></title>
			<link>https://punbb.informer.com/forums/post/50532/#p50532</link>
			<description><![CDATA[<p>Adding extra statistics to your forum via BBClone in <strong>index.php</strong> (to see how they look, click the link in my sig and scroll to the bottom - <strong>EDIT</strong>: I just upgraded to 1.2.7 and am re-modding everything, so the statistics may or may not show up!):</p><p>Find (around line 184):<br /></p><div class="codebox"><pre><code>while ($pun_user_online = $db-&gt;fetch_assoc($result))
        {
                if ($pun_user_online[&#039;user_id&#039;] &gt; 1)
                        $users[] = &quot;\n\t\t\t\t&quot;.&#039;&lt;dd&gt;&lt;a href=&quot;profile.php?id=&#039;.$pun_user_online[&#039;user_id&#039;].&#039;&quot;&gt;&#039;.pun_htmlspecialchars($pun_user_online[&#039;ident&#039;]).&#039;&lt;/a&gt;&#039;;
                else
                        ++$num_guests;
        }</code></pre></div><p>After, add<br /></p><div class="codebox"><pre><code>// Fetch BBlone Stats
require(&quot;bbclone/var/access.php&quot;);
$totalvisits   = $access[&quot;stat&quot;][&quot;totalvisits&quot;];
$totalcount    = $access[&quot;stat&quot;][&quot;totalcount&quot;];
$visitorsmonth = $access[&quot;time&quot;][&quot;month&quot;][date(&quot;n&quot;)-1];
$visitorstoday = $access[&quot;time&quot;][&quot;wday&quot;][date(&quot;w&quot;)];</code></pre></div><p>Change the second line with respect to where BBClone is installed.</p><p>Then find (it should be right after what you just pasted):<br /></p><div class="codebox"><pre><code>$num_users = count($users);
echo &quot;\t\t\t\t&quot;.&#039;&lt;dd&gt;&#039;. $lang_index[&#039;Users online&#039;].&#039;: &lt;strong&gt;&#039;.$num_users.&#039;&lt;/strong&gt;&lt;/dd&gt;&#039;.&quot;\n\t\t\t\t&quot;.&#039;&lt;dd&gt;&#039;.$lang_index[&#039;Guests online&#039;].&#039;: &lt;strong&gt;&#039;.$num_guests.&#039;&lt;/strong&gt;&lt;/dd&gt;&#039;.&quot;\n\t\t\t&quot;.&#039;&lt;/dl&gt;&#039;.&quot;\n&quot;;</code></pre></div><p>Replace it with:<br /></p><div class="codebox"><pre><code>$num_users = count($users);
echo &quot;\t\t\t\t&quot;.&#039;&lt;dd&gt;&#039;. $lang_index[&#039;Users online&#039;].&#039;: &lt;strong&gt;&#039;.$num_users.&#039;&lt;/strong&gt;&lt;/dd&gt;&#039;.&quot;\n\t\t\t\t&quot;.&#039;&lt;dd&gt;&#039;.$lang_index[&#039;Guests online&#039;].&#039;: &lt;strong&gt;&#039;.$num_guests.&#039;&lt;/strong&gt;&lt;/dd&gt;&lt;dd&gt;Total Hits : &lt;strong&gt;&#039;.$totalvisits.&#039;&lt;/strong&gt;&lt;/dd&gt;&lt;dd&gt;Total Unique Visits: &lt;strong&gt;&#039;.$totalcount.&#039;&lt;/strong&gt;&lt;/dd&gt;&lt;dd&gt;Total Visits This Month: &lt;strong&gt;&#039;.$visitorsmonth.&#039;&lt;/strong&gt;&lt;/dd&gt;&lt;dd&gt;Total Visits Today: &lt;strong&gt;&#039;.$visitorstoday.&#039;&lt;/strong&gt;&lt;/dd&gt;&#039;.&quot;\n\t\t\t&quot;.&#039;&lt;/dl&gt;&#039;.&quot;\n&quot;;</code></pre></div><p>Go to the BBClone website&#039;s documentation if you want to experiment with adding other stats. Good luck!</p><p>BTW, if you use Google&#039;s <a href="http://www.blogger.com/home">Blogger</a>, I wrote a weblog post on <a href="http://hysellstuff.com/pogenwurst/2005/07/using-bbclone-with-blogger.php">using BBClone with Blogger</a>.</p>]]></description>
			<author><![CDATA[null@example.com (pogenwurst)]]></author>
			<pubDate>Mon, 29 Aug 2005 19:35:56 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/50532/#p50532</guid>
		</item>
		<item>
			<title><![CDATA[PunBB and BBClone]]></title>
			<link>https://punbb.informer.com/forums/post/50493/#p50493</link>
			<description><![CDATA[<p><a href="http://bbclone.de/">BBClone</a> is a PHP statistics system. While it isn&#039;t lightweight like PunBB, overall it is very high quality. Anyway, I use it to get more detailed statistics on visits to my forums. To use it with your forums, download and install it, then insert the following code in a file such as header.php (I have it below the &lt;title&gt; tags):</p><div class="codebox"><pre><code>// Edits to use BBclone
define(&quot;_BBC_PAGE_NAME&quot;, $page_title);
define(&quot;_BBCLONE_DIR&quot;, &quot;bbclone/&quot;);
define(&quot;COUNTER&quot;, _BBCLONE_DIR.&quot;mark_page.php&quot;);
if (is_readable(COUNTER)) include_once(COUNTER);</code></pre></div><p>Be sure that it&#039;s between &lt;?php and ?&gt;. Change &quot;bbclone/&quot; on the second line with respect to where BBClone is installed on your server.</p><p>That&#039;s simply the code have BBClone start logging visits; I&#039;ll post how to use it to add some extra stats to your index page later on.</p>]]></description>
			<author><![CDATA[null@example.com (pogenwurst)]]></author>
			<pubDate>Mon, 29 Aug 2005 01:35:21 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/50493/#p50493</guid>
		</item>
	</channel>
</rss>
