<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>ClanWeb Development Log</title>
	<atom:link href="http://dev.clanadmintools.com/log/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.clanadmintools.com/log</link>
	<description>Follow the development of ClanWeb</description>
	<pubDate>Sun, 11 Jan 2009 16:09:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>So, how much has been done with 1.4.2?</title>
		<link>http://dev.clanadmintools.com/log/clanweb/so-how-much-has-been-done-with-142/</link>
		<comments>http://dev.clanadmintools.com/log/clanweb/so-how-much-has-been-done-with-142/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 22:35:54 +0000</pubDate>
		<dc:creator>ArreliuS</dc:creator>
		
		<category><![CDATA[ClanWeb]]></category>

		<category><![CDATA[functions]]></category>

		<guid isPermaLink="false">http://dev.clanadmintools.com/log/clanweb/so-how-much-has-been-done-with-142/</guid>
		<description><![CDATA[Some of may ask how much that actually have been done with the upcoming 1.4.2 version. This post will give you a quick update about the progress.
 News functions
The news management features the following functions:

BBCode
Preview of the post
Ability to save the post for later activation
How many times a post been read
Category

These are the main features, [...]]]></description>
			<content:encoded><![CDATA[<p>Some of may ask how much that actually have been done with the upcoming 1.4.2 version. This post will give you a quick update about the progress.</p>
<p><span id="more-7"></span> <strong>News functions</strong></p>
<p>The news management features the following functions:</p>
<ul>
<li>BBCode</li>
<li>Preview of the post</li>
<li>Ability to save the post for later activation</li>
<li>How many times a post been read</li>
<li>Category</li>
</ul>
<p>These are the main features, the things you can see and notice direct. The things that you may not notice at first is that if you save a post without activating it the post date will be the date when you activate the news-post. This however doesn&#8217;t affect a post that already have been active and afterwards becomes inactive.</p>
<p><strong>Comments</strong></p>
<p>The comment management features following functions:</p>
<ul>
<li>The user who posted the comment</li>
<li>A snippet from the comment</li>
<li>If the comment is verified or not</li>
<li>The date and time when the comment was posted</li>
<li>Ability to block the comment</li>
<li>From which IP address the comment was made</li>
</ul>
<p>Regular functions that are needed to effectively manage comments.</p>
<p><strong>Users</strong></p>
<p>User management features:</p>
<ul>
<li>Admins and regular users are separated</li>
<li>Date when the user registered</li>
<li>The IP the user used when he/she registered and which IP that was used during the last login session</li>
<li>The ability to control if the IP is shared with another user.</li>
</ul>
<p>User data that is needed when the user registers is:</p>
<ul>
<li>Username</li>
<li>Password</li>
<li>Email</li>
</ul>
<p>Besides this you are also able to handle the online sessions that are created when a user logs in on your site. The information that is stored is the date when the user logged in, from which IP and the online session sum that verifies the user. The sum can be modified in the admin panel.</p>
<p><strong>Polls</strong></p>
<p>With the poll management you can add, edit and remove polls with (almost) how many vote alternatives that you want. You can see how many that have voted via the admin panel. You can also reset the stats for each poll if you want.</p>
<p><strong>System stats</strong></p>
<p>When you visit the about page in the admin panel, the script summons what CW, PHP and MySQL versions that you are running. If there is an update available for CW then the script will tell you this.</p>
<p><strong>Statistics</strong></p>
<p>Count how many visitors and unique visitors your site have had since the start. Easy to deactivate and reset if needed.</p>
<p><strong>System configuration</strong></p>
<p>The system configuration features the following:</p>
<ul>
<li>The site name</li>
<li>An admin email</li>
<li>The main URL to the site</li>
<li>META keywords and META description</li>
<li>URL to the images of the site</li>
<li>Activation for RSS feeds</li>
<li>If verification of comments are required or not</li>
<li>Activation for user registration</li>
<li>Activation for downloads</li>
<li>If downloads should be available for the public or registered users</li>
<li>Activation of the site</li>
<li>Activation for polls</li>
</ul>
<p>There&#8217;s of course more system configuration options. Most of them are minor and probably nothing that you will notice if you aren&#8217;t a &#8220;tweak geek&#8221;.</p>
<p><strong>Files</strong></p>
<p>Features the ability to link to downloadable content on your server or other servers. Each time a user clicks to download that click will be counted and the total amounts of clicks are shown in the admin panel. The file manager also contains a demo section where you can link to your demos and fill in various information about them. Information like which map that was played, if its a POV or not etc. Each file can also be categorised in categories that you add by yourself.</p>
<p><strong>Match management</strong></p>
<p>A Clan Management Application ain&#8217;t worth anything if there is no way to manage played games, we know this. When you add games in ClanWeb you can add information like the date when the match was played, who in the clan that played and of course a match report. Other pieces of data that you can store is:</p>
<ul>
<li>Result</li>
<li>League</li>
<li> Opponent/Opponents tag</li>
<li>Which game (Quake, Counter-strike, etc)</li>
</ul>
<p><strong>Sponsors</strong></p>
<p>Every respectable esport team has sponsors. That&#8217;s why ClanWeb contains a simple way to add sponsors to your site. The data that can be stored about the sponsors is:</p>
<ul>
<li>Sponsor name</li>
<li>Sponsor type</li>
<li>URL to site</li>
<li>URL to logo</li>
<li>A description for the sponsor</li>
</ul>
<p><strong>Internal forum</strong></p>
<p>A very light weighted forum has been added to 1.4.2. It contains the ability to add threads and reply to them. The 5 latest forum posts are displayed directly at the first page after you logged in.</p>
<p><strong>Inbox</strong></p>
<p>The contact form are linked to the admin panel so when someone sends a message, the admin mail gets a notifier to read the message in the admin panel. Data that&#8217;s stored from the sender is the email, the ip address (if the ip is shared with a user), the date and the message. For the time being you cant use the admin panel to reply on the message but this will be featured in future versions.</p>
<p><strong>Members</strong></p>
<p>Add up your members, fill in their info about their position in the team, which games they play and some various data about their gaming gear. Here can you also add profile pictures for your teammates.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.clanadmintools.com/log/clanweb/so-how-much-has-been-done-with-142/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A way to handle errors in PHP</title>
		<link>http://dev.clanadmintools.com/log/functions/a-way-to-handle-errors-in-php/</link>
		<comments>http://dev.clanadmintools.com/log/functions/a-way-to-handle-errors-in-php/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 12:57:43 +0000</pubDate>
		<dc:creator>ArreliuS</dc:creator>
		
		<category><![CDATA[functions]]></category>

		<category><![CDATA[error handling]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://dev.clanadmintools.com/log/functions/a-way-to-handle-errors-in-php/</guid>
		<description><![CDATA[Found a built-in error handling in PHP that can be useful in future versions of ClanWeb.

&#60;?php// define a custom error handler

set_error_handler('oops');

// initialize the $string variable

$string = 'a string';

// explode() a string
// this will generate a warning because the number of arguments to explode() is incorrect
// the error will be caught by the custom error handler

explode($string);

// [...]]]></description>
			<content:encoded><![CDATA[<p>Found a built-in error handling in PHP that can be useful in future versions of ClanWeb.</p>
<blockquote>
<pre>&lt;?php// define a custom error handler

set_error_handler('oops');

// initialize the $string variable

$string = 'a string';

// explode() a string
// this will generate a warning because the number of arguments to explode() is incorrect
// the error will be caught by the custom error handler

explode($string);

// custom error handler

function oops($type, $msg, $file, $line, $context) {
   echo "&lt;h1&gt;Error!&lt;/h1&gt;";
    echo "An error occurred while executing this script. Please contact the &lt;a href=mailto:webmaster@somedomain.com&gt;webmaster&lt;/a&gt; to report this error.";
    echo "&lt;p /&gt;";
    echo "Here is the information provided by the script:";
    echo "&lt;hr&gt;&lt;pre&gt;";
    echo "Error code: $type&lt;br /&gt;";
    echo "Error message: $msg&lt;br /&gt;";
    echo "Script name and line number of error: $file:$line&lt;br /&gt;";
    $variable_state = array_pop($context);
    echo "Variable state when error occurred: ";
    print_r($variable_state);
    echo "&lt;/pre&gt;&lt;hr&gt;";
}
?&gt;</pre>
</blockquote>
<p>Example nr 2:</p>
<blockquote>
<pre>&lt;?php// define a custom error handler
set_error_handler('oops');

// initialize $string variable$string = 'a string';

// this will generate a warningexplode($string);

// custom error handlerfunction oops($type, $msg, $file, $line, $context) {
    switch ($type) {
        // notices
        case E_NOTICE:
            // do nothing
            break;

// warnings        case E_WARNING:
            // report error
            print "Non-fatal error on line $line of $file: $msg &lt;br /&gt;";
            break;

// other        default:
            print "Error of type $type on line $line of $file: $msg &lt;br /&gt;";
            break;
    }

}</pre>
</blockquote>
<blockquote>
<pre>?&gt;</pre>
</blockquote>
<p>Hopefully this functions could smoothen the error reporting in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.clanadmintools.com/log/functions/a-way-to-handle-errors-in-php/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Welcome to the Development Log</title>
		<link>http://dev.clanadmintools.com/log/devlog/welcome-to-the-development-log/</link>
		<comments>http://dev.clanadmintools.com/log/devlog/welcome-to-the-development-log/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 12:13:38 +0000</pubDate>
		<dc:creator>ArreliuS</dc:creator>
		
		<category><![CDATA[Devlog]]></category>

		<category><![CDATA[ClanWeb]]></category>

		<guid isPermaLink="false">http://dev.clanadmintools.com/log/clanweb/welcome-to-the-development-log/</guid>
		<description><![CDATA[Since I started working on ClanWeb over 5 years ago I could never imagine that this little project would turn out to grow into a international known management application. But now I realise that the net needed a application like ClanWeb to drive the development of &#8220;Clan Management Systems&#8221; onward. I have since the start [...]]]></description>
			<content:encoded><![CDATA[<p>Since I started working on <strong>ClanWeb</strong> over 5 years ago I could never imagine that this little project would turn out to grow into a international known management application. But now I realise that the net needed a application like ClanWeb to drive the development of &#8220;<em>Clan Management Systems</em>&#8221; onward. I have since the start followed the development of other scripts close and noticed that some of them offered the same functions as ClanWeb, <strong>after</strong> they been made public in a clanweb application. That&#8217;s really nice to see and it is a receipt on how big impact the application have had on the &#8220;market&#8221;.</p>
<p>Two years ago I started the development of the 1.4.x series which have resulted in huge changes of the app since the 1.3.x versions. Sadly I haven&#8217;t been able to live up to all the expectations that people have had on me and ClanWeb. Although I acctually never stopped working on the new version , 1.4.2, I went lazy and didnt post any new updates. I now notice the full effect of this and this <strong>development log</strong> is a counter measure to ensure that people still will find a interest in the powerful application that ClanWeb still is.</p>
<p>This devlog will not only work as a &#8220;news section&#8221; but also as a log for me to keep track of what I have done and what that needs to be done.  But not only that, I also invite <strong>YOU</strong> to help me in the development by posting your comments about different functions, what you acctually think is more important to have and what that need to be fixed from previous versions.</p>
<p>In the coming days this devlog will be updated with a public TODO list aswell as a separete page where you can post bugs that need to be fixed.</p>
<p>Truly yours,<br />
Michael &#8220;ArreliuS&#8221; Winberg<br />
Founder and programmer, ClanWeb</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.clanadmintools.com/log/devlog/welcome-to-the-development-log/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

