<?xml version="1.0" encoding="UTF-8"?>
                <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
                  <channel>
                    <title>weSEO - webSPELL Mods and Addons News Feed</title>
                    <link>http://weseo.de</link>
                    <atom:link href="http://weseo.de/tmp/rss.xml" rel="self" type="application/rss+xml" />
                    <description>Latest news from http://weseo.de</description>
                    <language>uk-uk</language>
                    <pubDate>Mon, 05 Mar 2012 07:48:32 +0100</pubDate>
                    <item>
	                       <title>Facebook Like for News</title>
	                       <description><![CDATA[<br />
After <a href="/blog/googleplus-button-for-news">Google+ Button for News</a> and <a href="/blog/tweet-button-webspell">Tweet Button for webSPELL</a> here is a quick guide how you can add the Facebook-Like-Button to your webSPELL News.[break]<br />
<br />
<h3>The basic setup</h3><br />
This part is required to make the Like-Button work (using the <b>F</b>ace<b>b</b>ook <b>M</b>arkup <b>L</b>anguage). This Code should be added into your <i>index.php</i> right before the closing body-Tag.<br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div></div></td><td valign="top"><div class="codeline0">&lt;div&nbsp;id=&quot;fb-root&quot;&gt;&lt;/div&gt;&lt;script&nbsp;src=&quot;http&#58;//connect.facebook.net/en_US/all.js#xfbml=1&quot;&gt;&lt;/script&gt;</div></td></tr></table></div></div><br />
<br />
<h3>The webSPELL-Part</h3><br />
Now that we made the basic setup we can add our Facebook-Like-Button into the News, Articles, Forums, etc. I'll explain it with the News.<br />
<br />
<h3>Facebook-Like-Button for News</h3><br />
The following Code has to be added somewhere into your <i>templates/news.html</i><br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div></div></td><td valign="top"><div class="codeline0">&lt;fb&#58;like&nbsp;href=&quot;http&#58;//$hp_url/index.php?site=news_comments&newsID=$newsID&quot;&nbsp;send=&quot;true&quot;&nbsp;layout=&quot;button_count&quot;&nbsp;width=&quot;450&quot;&nbsp;show_faces=&quot;true&quot;&nbsp;font=&quot;&quot;&gt;&lt;/fb&#58;like&gt;</div></td></tr></table></div></div><br />
<br />
<h3>Facebook-Like-Button for Articles</h3><br />
The following Code has to be added somewhere into your <i>templates/articles.html</i><br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div></div></td><td valign="top"><div class="codeline0">&lt;fb&#58;like&nbsp;href=&quot;http&#58;//$hp_url/index.php?site=articles&action=show&articlesID=$articlesID&quot;&nbsp;send=&quot;true&quot;&nbsp;layout=&quot;button_count&quot;&nbsp;width=&quot;450&quot;&nbsp;show_faces=&quot;true&quot;&nbsp;font=&quot;&quot;&gt;&lt;/fb&#58;like&gt;</div></td></tr></table></div></div><br />
<br />
To customize your Like-Button here is what you can do:<br />
<div style="border-left:2px solid #06F; padding:0 0 0 5px;"><i><div>https://developers.facebook.com/docs/reference/plugins/like/ wrote:</div><h2>Attributes</h2><ul><li><code>href</code> - the URL to like. The XFBML version defaults to the current page. </li><li><code>send</code> - specifies whether to include a <a href="http://developers.facebook.com/docs/reference/plugins/send/">Send button</a> with the Like button. This only works with the XFBML version. </li><li><code>layout</code> - there are three options. <ul><li><code>standard</code> - displays social text to the right of the button and friends' profile photos below. Minimum width: 225 pixels. Default width: 450 pixels. Height: 35 pixels (without photos) or 80 pixels (with photos). </li><li><code>button_count</code> - displays the total number of likes to the right of the button. Minimum width: 90 pixels.  Default width: 90 pixels. Height: 20 pixels. </li><li><code>box_count</code> - displays the total number of likes above the button. Minimum width: 55 pixels.  Default width: 55 pixels. Height: 65 pixels.</li></ul></li><br />
<li><code>show_faces</code> - specifies whether to display profile photos below the button (standard layout only) </li><br />
<li><code>width</code> - the width of the Like button. </li><br />
<li><code>action</code> - the verb to display on the button. Options: 'like', 'recommend' </li><br />
<li><code>font</code> - the font to display in the button. Options: 'arial', 'lucida grande', 'segoe ui', 'tahoma', 'trebuchet ms', 'verdana' </li><br />
<li><code>colorscheme</code> - the color scheme for the like button. Options: 'light', 'dark' </li><br />
<li><code>ref</code> - a label for tracking referrals; must be less than 50 characters and can contain alphanumeric characters and some punctuation (currently +/=-.:_). The ref attribute causes two parameters to be added to the referrer URL when a user clicks a link from a stream story about a Like action: <ul><li><code>fb_ref</code> - the ref parameter </li><br />
<li><code>fb_source</code> - the stream type ('home', 'profile', 'search', 'other') in which the click occurred and the story type ('oneline' or 'multiline'), concatenated with an underscore.</li></ul></li></ul></i></div>I hope you can see how it works. If you need help, let me know in the Comments!]]></description>
	                       <author>pascal@pascalmh.de (Pascal K.)</author>
	                       <guid><![CDATA[http://weseo.de/blog/facebook-like-news]]></guid>
	                       <link><![CDATA[http://weseo.de/blog/facebook-like-news]]></link>
	                     </item><item>
	                       <title>Google+ Button for News</title>
	                       <description><![CDATA[<br />
As Google+ is getting popular at the moment here is a quick guide on how to use it on your webSPELL-News.<br />
<br />
You should give the <a href="http://code.google.com/apis/+1button/" target="_blank">+1 button API</a> a read first. After you've added <a href="http://code.google.com/apis/+1button/#javascript" target="_blank">the Javascript</a> to your <b>index.php</b> you can add this part into your <b>templates/news.html</b>:<br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div></div></td><td valign="top"><div class="codeline0">&lt;g&#58;plusone&nbsp;href=&quot;http&#58;//$hp_url/index.php?site=news_comments&newsID=$newsID&quot;&gt;&lt;/g&#58;plusone&gt;</div></td></tr></table></div></div><br />
<br />
We give the plusone-button the address to the News that is to be +'ed this way it even works on the News-Overview-Page (index.php?site=news).<br />
<br />
You might also like: <a href="http://weseo.de/blog/tweet-button-webspell" target="_blank">Tweet Button for webSPELL</a>]]></description>
	                       <author>pascal@pascalmh.de (Pascal K.)</author>
	                       <guid><![CDATA[http://weseo.de/blog/googleplus-button-for-news]]></guid>
	                       <link><![CDATA[http://weseo.de/blog/googleplus-button-for-news]]></link>
	                     </item><item>
	                       <title>Delete unactivated Users</title>
	                       <description><![CDATA[Yesterday I was taking a look at weSEO's User-Table in our Database. There were a lot (about 700) Accounts that were not activated and had Mail-addresses that proved my suspicion that these Accounts never would have been activated.<br />
<br />
What I've done now is deleting the Accounts that are older then 48h and haven't been activated.<br />
<br />
Here is the Code I use:<br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div><div class="codeline1">2.</div><div class="codeline0">3.</div><div class="codeline1">4.</div><div class="codeline0">5.</div><div class="codeline1">6.</div><div class="codeline0">7.</div></div></td><td valign="top"><div class="codeline0">$time&nbsp;=&nbsp;time&#40;&#41;-172800;</div><div class="codeline1">$result=safe_query&#40;&quot;SELECT&nbsp;userID&nbsp;FROM&nbsp;&quot;.PREFIX.&quot;user&nbsp;WHERE&nbsp;`registerdate`&nbsp;&lt;&nbsp;$time&nbsp;AND&nbsp;`activated`&nbsp;!=&nbsp;1&quot;&#41;;</div><div class="codeline0">while&#40;$ds=mysql_fetch_array&#40;$result&#41;&#41;&nbsp;&#123;</div><div class="codeline1">&nbsp;&nbsp;$deluserID&nbsp;=&nbsp;$ds&#91;'userID'&#93;;</div><div class="codeline0">&nbsp;&nbsp;safe_query&#40;&quot;DELETE&nbsp;FROM&nbsp;&quot;.PREFIX.&quot;user&nbsp;WHERE&nbsp;userID='&quot;.$deluserID.&quot;'&quot;&#41;;</div><div class="codeline1">&nbsp;&nbsp;safe_query&#40;&quot;DELETE&nbsp;FROM&nbsp;&quot;.PREFIX.&quot;user_groups&nbsp;WHERE&nbsp;userID='&quot;.$deluserID.&quot;'&quot;&#41;;&nbsp;&nbsp;&nbsp;</div><div class="codeline0">&#125;</div></td></tr></table></div></div>I have placed it into the register.php<br />
I've also added a notice into the Mail the User gets (edit /languages/**/register.php for that) so he knows that the Link is only valid for 48h.]]></description>
	                       <author>pascal@pascalmh.de (Pascal K.)</author>
	                       <guid><![CDATA[http://weseo.de/blog/delete-unactivated-users]]></guid>
	                       <link><![CDATA[http://weseo.de/blog/delete-unactivated-users]]></link>
	                     </item><item>
	                       <title>Login with your Email Address or Username</title>
	                       <description><![CDATA[<br />
Ever had the experience that you tried to Login to a Website but you couldn't remember your Username? If you don't want your Users to go through this your simply have to change 2 lines of code in the <u>checklogin.php</u> [break]<br />
<br />
<div class="searchsmall">Search for:</div><br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div></div></td><td valign="top"><div class="codeline0">$check&nbsp;=&nbsp;safe_query&#40;&quot;SELECT&nbsp;*&nbsp;FROM&nbsp;&quot;.PREFIX.&quot;user&nbsp;WHERE&nbsp;username='&quot;.$ws_user.&quot;'&quot;&#41;;</div></td></tr></table></div></div><br />
<div class="editsmall">Change to:</div><br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div></div></td><td valign="top"><div class="codeline0">$check&nbsp;=&nbsp;safe_query&#40;&quot;SELECT&nbsp;*&nbsp;FROM&nbsp;&quot;.PREFIX.&quot;user&nbsp;WHERE&nbsp;username='&quot;.$ws_user.&quot;'&nbsp;OR&nbsp;email='&quot;.$ws_user.&quot;'&quot;&#41;;</div></td></tr></table></div></div><br />
<div class="searchsmall">Search for:</div><br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div></div></td><td valign="top"><div class="codeline0">$check&nbsp;=&nbsp;safe_query&#40;&quot;SELECT&nbsp;*&nbsp;FROM&nbsp;&quot;.PREFIX.&quot;user&nbsp;WHERE&nbsp;username='&quot;.$ws_user.&quot;'&nbsp;AND&nbsp;activated='1'&quot;&#41;;</div></td></tr></table></div></div><br />
<div class="editsmall">Change to:</div><br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div></div></td><td valign="top"><div class="codeline0">$check&nbsp;=&nbsp;safe_query&#40;&quot;SELECT&nbsp;*&nbsp;FROM&nbsp;&quot;.PREFIX.&quot;user&nbsp;WHERE&nbsp;username='&quot;.$ws_user.&quot;'&nbsp;OR&nbsp;email='&quot;.$ws_user.&quot;'&nbsp;AND&nbsp;activated='1'&quot;&#41;;</div></td></tr></table></div></div><br />
<h2>Wrapping it up</h2>That's it! Your Users can now Login with their Username or their Email Address! You might want to tell them that they have both options now, open <u>templates/login.html</u> and add the information there.]]></description>
	                       <author>pascal@pascalmh.de (Pascal K.)</author>
	                       <guid><![CDATA[http://weseo.de/blog/login-with-email]]></guid>
	                       <link><![CDATA[http://weseo.de/blog/login-with-email]]></link>
	                     </item><item>
	                       <title>Shorten webSPELL Texts</title>
	                       <description><![CDATA[<br />
You may come to the point where you find a really long text and you want to shorten it up.<br />
E.g. your File-Categories-Overview - if you provide detailed Information for your Downloads the List can get pretty long. I'm showing you 3 ways to shorten Texts up. If you have any additional methods, let me know ;) [break]<br />
<br />
<h2>BBCode: toggle</h2>You don't want to open any PHP or HTML-File? Just add the toggle-BBCode arround the Text that shouldn't be visible right away.<br />
<br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div><div class="codeline1">2.</div></div></td><td valign="top"><div class="codeline0">This&nbsp;is&nbsp;the&nbsp;sentence&nbsp;everyone&nbsp;should&nbsp;read&nbsp;right&nbsp;away</div><div class="codeline1">&#91;toggle=read&nbsp;more&#93;This&nbsp;is&nbsp;hidden&nbsp;and&nbsp;can&nbsp;be&nbsp;seen&nbsp;&#40;without&nbsp;page-reload&#41;&nbsp;by&nbsp;clicking&nbsp;on&nbsp;&quot;read&nbsp;more&quot;&#91;/toggle&#93;</div></td></tr></table></div></div><br />
<br />
Result:<br />
<br />
<br />
<h2>Shorten after a specific number of letters</h2>This is pretty easy too and doesn't need any work afterwards, <b>if you didn't use BBCode or HTML</b> in the Texts you're about to shorten. As you just cut after, lets say 200 letters, it could otherwise happen that you opened BBCode- or HTML-Tags and you never closed them - you should look out for that!<br />
<br />
Lets shorten the output of the File-Categories-Overview-Description-Text.<br />
First thing we need to know is what the variable is called.<br />
Easiest way is to go into your templates-Folder and search for the right HTML-File, in our case its <b>files_category_list.html</b> here is it's content:<br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div><div class="codeline1">2.</div><div class="codeline0">3.</div><div class="codeline1">4.</div><div class="codeline0">5.</div><div class="codeline1">6.</div><div class="codeline0">7.</div></div></td><td valign="top"><div class="codeline0">&lt;tr&gt;</div><div class="codeline1">&nbsp;&nbsp;&nbsp;&nbsp;&lt;td&nbsp;bgcolor=&quot;$bg1&quot;&gt;$filename&lt;/td&gt;</div><div class="codeline0">&nbsp;&nbsp;&nbsp;&nbsp;&lt;td&nbsp;bgcolor=&quot;$bg1&quot;&gt;$fileinfo&lt;/td&gt;</div><div class="codeline1">&nbsp;&nbsp;&nbsp;&nbsp;&lt;td&nbsp;bgcolor=&quot;$bg1&quot;&nbsp;align=&quot;center&quot;&gt;$fileload&lt;/td&gt;</div><div class="codeline0">&nbsp;&nbsp;&nbsp;&nbsp;&lt;td&nbsp;bgcolor=&quot;$bg1&quot;&gt;$ratingpic&lt;/td&gt;</div><div class="codeline1">&nbsp;&nbsp;&nbsp;&nbsp;&lt;td&nbsp;bgcolor=&quot;$bg1&quot;&nbsp;align=&quot;center&quot;&gt;$link&lt;/td&gt;</div><div class="codeline0">&nbsp;&nbsp;&lt;/tr&gt;</div></td></tr></table></div></div><br />
You guessed it, its <b>$fileinfo</b>. Now we need to edit <b>files.php</b>!<br />
Search for:<br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div></div></td><td valign="top"><div class="codeline0">$fileinfo</div></td></tr></table></div></div><br />
<br />
Add below (200 = number of letters that are shown):<br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div><div class="codeline1">2.</div><div class="codeline0">3.</div><div class="codeline1">4.</div></div></td><td valign="top"><div class="codeline0">if&#40;mb_strlen&#40;$fileinfo&#41;&gt;200&#41;&nbsp;&#123;</div><div class="codeline1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$fileinfo=mb_substr&#40;$fileinfo,&nbsp;0,&nbsp;200&#41;;</div><div class="codeline0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$fileinfo.='...';</div><div class="codeline1">&#125;</div></td></tr></table></div></div><br />
<br />
It can happen that you will finde a variable for several times in the same File. So what are you supposed to do?<br />
a) You know what the code is saying and you can say eather it is the right spot or not.<br />
b) You don't know if it is the right spot so you just past the Code blow the line you found the variable, save the file, upload it, test (if it wasn't the right spot - undo your change and start over again)<br />
<br />
<h2>The "Read More"</h2>You might know the <a href="/blog/read-more">Easy "Read More" for webSPELL</a>, we could also use this to Shorten our File-Categories-Overview-Description-Text.<br />
<br />
So we are opening files.php and searching for the <b>$fileinfo</b>.<br />
<br />
Add this below:<br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div><div class="codeline1">2.</div></div></td><td valign="top"><div class="codeline0">$foo=explode&#40;'&#91;break&#93;',&nbsp;$fileinfo&#41;;</div><div class="codeline1">$fileinfo&nbsp;=&nbsp;$foo&#91;0&#93;.'...';&nbsp;</div></td></tr></table></div></div><br />
<br />
Now you can add the BBCode <div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div></div></td><td valign="top"><div class="codeline0">&#91;break&#93;</div></td></tr></table></div></div> into your File-Description and it will be shorten.<br />
As we see in <b>templates/files_display.html</b> the variable that contains the File-Description is also called <b>$fileinfo</b> so we have to find the right spot again and add this below:<br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div><div class="codeline1">2.</div></div></td><td valign="top"><div class="codeline0">$foo=explode&#40;'&#91;break&#93;',&nbsp;$content&#41;;</div><div class="codeline1">$content&nbsp;=&nbsp;$foo&#91;0&#93;.''.$foo&#91;1&#93;;</div></td></tr></table></div></div><br />
If we wouldn't do this the BBCode [<b>break</b>] would always show in the Description.]]></description>
	                       <author>pascal@pascalmh.de (Pascal K.)</author>
	                       <guid><![CDATA[http://weseo.de/blog/shorten-text-webspell]]></guid>
	                       <link><![CDATA[http://weseo.de/blog/shorten-text-webspell]]></link>
	                     </item><item>
	                       <title>Tweet Button for webSPELL</title>
	                       <description><![CDATA[<br />
<a href="http://twitter.com/derwebdesigner">@derwebdesigner</a> wrote a tweet about the <a href="http://twitter.com/goodies/tweetbutton">Tweet Button</a> - I already removed the <a href="/blog/retweet-news-webspell">Tweetmeme Button</a> and added the Tweet Button here on weSEO.de, mainly because the Design of the Tweet Button fits weSEO much better then the <a href="/blog/retweet-news-webspell">Tweetmeme</a> one. [break]<br />
<br />
<h2>Tweet Button for the News</h2><div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div></div></td><td valign="top"><div class="codeline0">&lt;a&nbsp;href=&quot;http&#58;//twitter.com/share&quot;&nbsp;class=&quot;twitter-share-button&quot;&nbsp;data-count=&quot;vertical&quot;&nbsp;data-via=&quot;weSEOde&quot;&nbsp;data-url=&quot;http&#58;//$hp_url/index.php?site=news_comments&newsID=$newsID&quot;&nbsp;data-text=&quot;$headline&quot;&gt;Tweet&lt;/a&gt;&lt;script&nbsp;type=&quot;text/javascript&quot;&nbsp;src=&quot;http&#58;//platform.twitter.com/widgets.js&quot;&gt;&lt;/script&gt;</div></td></tr></table></div></div><br />
<br />
As you see it is really easy, here is what you can change:<br />
<b>data-count</b> - choose the Layout of you Button (<a href="http://twitter.com/goodies/tweetbutton">Tweet Button</a> #1)<br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div><div class="codeline1">2.</div><div class="codeline0">3.</div></div></td><td valign="top"><div class="codeline0">data-count=&quot;vertical&quot;</div><div class="codeline1">data-count=&quot;horizontal&quot;</div><div class="codeline0">data-count=&quot;none&quot;</div></td></tr></table></div></div><br />
<br />
<b>data-via</b> - your twitter-account<br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div></div></td><td valign="top"><div class="codeline0">data-via=&quot;YOURTWITTERNAME&quot;</div></td></tr></table></div></div><br />
<br />
<b>data-text</b> - the Text in front of the Link to your News<br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div><div class="codeline1">2.</div></div></td><td valign="top"><div class="codeline0">data-text=&quot;$headline&quot;</div><div class="codeline1">data-text=&quot;$headline&nbsp;#$rubrikname&quot;</div></td></tr></table></div></div>]]></description>
	                       <author>pascal@pascalmh.de (Pascal K.)</author>
	                       <guid><![CDATA[http://weseo.de/blog/tweet-button-webspell]]></guid>
	                       <link><![CDATA[http://weseo.de/blog/tweet-button-webspell]]></link>
	                     </item><item>
	                       <title>Delete Spam Easiely</title>
	                       <description><![CDATA[As I found a Topic on webSPELL.org asking for a method to delete Spam, I figuered out an easy but quiet powerfull way to do so. [break]<br />
<br />
<strike>Here is the Content of the <b>delspam.php</b><br />
<br />
Now all you have to do is go to yoursite.com/<b>index.php?site=delspam</b> enter the Keyword of the Spam you want to delete: e.g. <b>wow-gold</b> and hit "Search" - you will see a List of all Comments that will be deleted - scroll to the bottom, there is the Link to delete them all.<br />
<br />
The next thing you should do is installing the <a href="http://www.bazic.net/index.php?site=files&file=23"><b>Badword Addon </b></a> from bazic.net.<br />
<br />
Remember: Delete the Spam first, <b>then</b> add it to the Badword-List!</strike><br />
<br />
Take a look at this Addon<br />
<div style="float: left;"><a class="boldbuttons" style="margin: 5px 0pt 0pt;" href="/download/badworddelete-spam-easiely" title="Badword+Delete Spam Easiely"><span>DL: Badword+Delete Spam Easiely</span></a><br style="clear: both;"></div><br style="clear: both;"><br />
<br />
<h2>Use the Badword-Filter agains Fake-Accounts.</h2><br />
The Spammers use the same keywords everywhere. They also register Accounts with their keywords, to prevent them from signing up fake accounts just add this two lines into your register.php<br />
Search for:<br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div><div class="codeline1">2.</div></div></td><td valign="top"><div class="codeline0">//&nbsp;check&nbsp;nickname</div><div class="codeline1">if&#40;!&#40;mb_strlen&#40;trim&#40;$nickname&#41;&#41;&#41;&#41;&nbsp;$error&#91;&#93;=$_language-&gt;module&#91;'enter_nickname'&#93;;</div></td></tr></table></div></div><br />
Add below:<br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div><div class="codeline1">2.</div><div class="codeline0">3.</div></div></td><td valign="top"><div class="codeline0">//&nbsp;check&nbsp;nickname&nbsp;with&nbsp;badword</div><div class="codeline1">if&#40;checkcomment&#40;$nickname&#41;==&quot;spam&quot;&#41;&nbsp;$error&#91;&#93;='This&nbsp;Nickname&nbsp;is&nbsp;not&nbsp;allowed!';</div><div class="codeline0">if&#40;checkcomment&#40;$username&#41;==&quot;spam&quot;&#41;&nbsp;$error&#91;&#93;='This&nbsp;Username&nbsp;is&nbsp;not&nbsp;allowed!';</div></td></tr></table></div></div><br />
Then at the end of the register.php add the checkcomment-function:<br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div><div class="codeline1">2.</div><div class="codeline0">3.</div><div class="codeline1">4.</div><div class="codeline0">5.</div><div class="codeline1">6.</div><div class="codeline0">7.</div><div class="codeline1">8.</div><div class="codeline0">9.</div><div class="codeline1">10.</div></div></td><td valign="top"><div class="codeline0">function&nbsp;checkcomment&#40;$commentquery&#41;&nbsp;&#123;</div><div class="codeline1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$spamdetected&nbsp;=&nbsp;&quot;&quot;;</div><div class="codeline0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$erg=mysql_query&#40;&quot;SELECT&nbsp;*&nbsp;from&nbsp;&quot;.PREFIX.&quot;badword&quot;&#41;;</div><div class="codeline1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;while&nbsp;&#40;$da=mysql_fetch_array&#40;$erg&#41;&#41;&nbsp;&#123;</div><div class="codeline0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&#40;stristr&#40;$commentquery,&nbsp;$da&#91;'badword'&#93;&#41;&#41;&#123;&nbsp;</div><div class="codeline1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$spamdetected=&quot;spam&quot;;</div><div class="codeline0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#125;</div><div class="codeline1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#125;</div><div class="codeline0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;$spamdetected;</div><div class="codeline1">&#125;</div></td></tr></table></div></div>]]></description>
	                       <author>pascal@pascalmh.de (Pascal K.)</author>
	                       <guid><![CDATA[http://weseo.de/blog/easy-spam-deleating]]></guid>
	                       <link><![CDATA[http://weseo.de/blog/easy-spam-deleating]]></link>
	                     </item><item>
	                       <title>Google Maps Membermap</title>
	                       <description><![CDATA[<br />
I'm currently working on a Membermap for webSPELL using Google Maps.<br />
Your Location is determined by your IP-Address, using the <a href="http://www.maxmind.com/app/javascript_city" target="_blank">MaxMind-API</a>.<br />
<br />
Take a look yourself: <a href="http://weseo.de/wobinich/" target="_blank">http://weseo.de/wobinich/</a>]]></description>
	                       <author>pascal@pascalmh.de (Pascal K.)</author>
	                       <guid><![CDATA[http://weseo.de/blog/google-maps-membermap]]></guid>
	                       <link><![CDATA[http://weseo.de/blog/google-maps-membermap]]></link>
	                     </item><item>
	                       <title>webSPELL 4.2.2a Release</title>
	                       <description><![CDATA[<blockquote><b>webSPELL 4.2.2a Clan Edition & webSPELL 4.2.2a Society Edition</b><br />
And again we have just finished a new webSPELL release for you. As you are able to see at the version numbering this is again a pure bugfix release. You are able to see the changes we have made in our changelog. We wish you all a lot of fun with this brand new webSPELL release!<br><a href="http://www.webspell.org/index.php?site=files&file=39" target="_blank">Download webSPELL 4.2.2a Esports & Clan Edition</a><br />
<br />
<b>webSPELL goes social</b><br />
As you may have noticed already we have added a <a href="http://www.facebook.com/group.php?gid=318886266854" target="_blank">webSPELL Facebook Group</a> and a <a href="http://www.facebook.com/pages/webSPELL/344817222274" target="_blank">webSPELL Facebook Fan Site</a>, don't hesitate to become a member of the group and a fan of webSPELL at Facebook! Additionally you might want to follow our <a href="http://twitter.com/webspell" target="_blank">twitter feed</a>, which will be updated more frequently in the future. Another service we added for you is the Addthis bookmark service which enables you to bookmark various pages of webspell.org in your favourite bookmark service.</blockquote>Source: <a href="http://www.webspell.org/index.php?site=news_comments&newsID=157">webSPELL.org</a>]]></description>
	                       <author>pascal@pascalmh.de (Pascal K.)</author>
	                       <guid><![CDATA[http://weseo.de/blog/webspell-422a]]></guid>
	                       <link><![CDATA[http://weseo.de/blog/webspell-422a]]></link>
	                     </item><item>
	                       <title>Styling webSPELL buttons</title>
	                       <description><![CDATA[Tutorial on styling those ugly default webspell buttons.<br />
<br />
Add following code to your stylesheet and modify to your needs.<br />
<div style="width:610px;height:100%;overflow:auto;background-color:#FFFFFF;border: 1px #666666 solid;" class="code"><b>Code:</b><hr /><div class="codeinner"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="20"><div style="text-align: right;"><div class="codeline0">1.</div><div class="codeline1">2.</div><div class="codeline0">3.</div><div class="codeline1">4.</div><div class="codeline0">5.</div><div class="codeline1">6.</div><div class="codeline0">7.</div><div class="codeline1">8.</div><div class="codeline0">9.</div></div></td><td valign="top"><div class="codeline0">input&#91;type=&quot;button&quot;&#93;,&nbsp;input&#91;type=&quot;submit&quot;&#93;,&nbsp;input&#91;type=&quot;reset&quot;&#93;&nbsp;&#123;</div><div class="codeline1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background&#58;url&#40;design/btn.gif&#41;&nbsp;repeat-x&nbsp;top;&nbsp;/*&nbsp;Button&nbsp;background&nbsp;*/</div><div class="codeline0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58;#FFFFFF;&nbsp;/*&nbsp;Font&nbsp;color&nbsp;*/</div><div class="codeline1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-weight&#58;bold;</div><div class="codeline0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding&#58;2px;</div><div class="codeline1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-size&#58;11px;</div><div class="codeline0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border&#58;1px&nbsp;solid&nbsp;#525252;&nbsp;/*&nbsp;Outer&nbsp;border&nbsp;*/</div><div class="codeline1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cursor&#58;pointer;&nbsp;/*&nbsp;make&nbsp;button&nbsp;a&nbsp;link&nbsp;*/</div><div class="codeline0">&#125;</div></td></tr></table></div></div>Also you can add :hover and :focus selectors.]]></description>
	                       <author> (Karlo Mikus)</author>
	                       <guid><![CDATA[http://weseo.de/blog/styling-webspell-buttons]]></guid>
	                       <link><![CDATA[http://weseo.de/blog/styling-webspell-buttons]]></link>
	                     </item></channel>
                 </rss>
