Facebook Like for News

After Google+ Button for News and Tweet Button for webSPELL here is a quick guide how you can add the Facebook-Like-Button to your webSPELL News.more
Google+ Button for News

As Google+ is getting popular at the moment here is a quick guide on how to use it on your webSPELL-News.
You should give the +1 button API a read first. After you've added the Javascript to your index.php you can add this part into your templates/news.html:
1. | <g:plusone href="http://$hp_url/index.php?site=news_comments&newsID=$newsID"></g:plusone> |
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).
You might also like: Tweet Button for webSPELL
Delete unactivated Users
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.
What I've done now is deleting the Accounts that are older then 48h and haven't been activated.
Here is the Code I use:
I have placed it into the register.php
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.
Login with your Email Address or Username

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 checklogin.php more
Shorten webSPELL Texts

You may come to the point where you find a really long text and you want to shorten it up.
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 ;) more

