<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>irisco forums &#187; Topic: How to change total visits for an other number?</title>
		<link>http://forum.irisco.it/topic.php?id=248</link>
		<description>irisco forums &raquo; Topic: How to change total visits for an other number?</description>
		<language>en-US</language>
		<pubDate>Tue, 07 Sep 2010 01:29:04 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forum.irisco.it/search.php</link>
		</textInput>
		<atom:link href="http://forum.irisco.it/rss.php?topic=248" rel="self" type="application/rss+xml" />

		<item>
			<title>Ezeke on "How to change total visits for an other number?"</title>
			<link>http://forum.irisco.it/topic.php?id=248#post-862</link>
			<pubDate>Mon, 11 Aug 2008 11:58:27 +0000</pubDate>
			<dc:creator>Ezeke</dc:creator>
			<guid isPermaLink="false">862@http://forum.irisco.it/</guid>
			<description>&#60;p&#62;had the same problem but found a solution:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;if(strpos(strtolower($body),&#34;%totalvisits%&#34;) !== FALSE) {&#60;br /&#62;
		$qry = $wpdb-&#38;gt;get_results(&#34;SELECT count(DISTINCT(ip)) as pageview FROM $table_name WHERE spider='' and feed='';&#34;);&#60;br /&#62;
		$body = str_replace(&#34;%totalvisits%&#34;, $qry[0]-&#38;gt;pageview + 1803, $body);&#60;br /&#62;
	}
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;should do it (:
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sugurukun on "How to change total visits for an other number?"</title>
			<link>http://forum.irisco.it/topic.php?id=248#post-857</link>
			<pubDate>Wed, 06 Aug 2008 22:59:47 +0000</pubDate>
			<dc:creator>Sugurukun</dc:creator>
			<guid isPermaLink="false">857@http://forum.irisco.it/</guid>
			<description>&#60;p&#62;Uh!6 Yeah but... I'm not familiar with PHP... What's the line I need to edit?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nv1962 on "How to change total visits for an other number?"</title>
			<link>http://forum.irisco.it/topic.php?id=248#post-847</link>
			<pubDate>Sun, 03 Aug 2008 15:53:23 +0000</pubDate>
			<dc:creator>nv1962</dc:creator>
			<guid isPermaLink="false">847@http://forum.irisco.it/</guid>
			<description>&#60;p&#62;The simplest solution is to edit your statpress.php file and manually force the calculated variable to add a given static (i.e. the value 1803 in your case).&#60;/p&#62;
&#60;p&#62;If looking at / editing raw PHP frightens you, don't bother.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sugurukun on "How to change total visits for an other number?"</title>
			<link>http://forum.irisco.it/topic.php?id=248#post-844</link>
			<pubDate>Sat, 02 Aug 2008 14:12:09 +0000</pubDate>
			<dc:creator>Sugurukun</dc:creator>
			<guid isPermaLink="false">844@http://forum.irisco.it/</guid>
			<description>&#60;p&#62;Hi! I use somekind of different counter before I use Statpress, so... I have 1803 visits when I change for statpress. How do I change the initial count from 0 to 1803?&#60;/p&#62;
&#60;p&#62;I want to start at my old count 1803 visitors!&#60;/p&#62;
&#60;p&#62;I use now wordpress 2,5&#60;/p&#62;
&#60;p&#62;Thanks for your help
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
