Computer And Internet, Personal, Short Reviews, Tips & Trick

Having WordPress site which received massive traffic hits could make a trouble, I said again… a BIG TROUBLE. This happen to me many times. Hosting provider seems don’t like when their client use wordpress but they continue promoting their hosting support for wordpress. In this short articles I will write short review about wp super cache and some configuration you may need to set it up.

Each hosting provider have they own rules. Especially for people stay in shared hosting. Example you may not pass blablabla percent server load, blablabla, and another d*mn blablabla… I read in a secret forums, technical claims if 500 static (html) site may perform better than 1 dynamic site with bad coding on it. That’s the problem why they don’t tell us from the first time…

Using wp super cache we can make our wordpress dynamic site become static. Actually it not 100 percent become static, We still can set anything needed to make it semi dynamic. If VPS/COLO/DEDICATED is not possible option for you at the moment keep reading this article.

Because of limitation we need to setup semi dynamic site. What is benefit we got from this changes?

  1. Your pages load faster! Search engine today using this factor to give score for your SERP.
  2. Your server load do the opposite from high load. Because all cached files are in HTML format and server no need to run PHP for all the time when there is hit to that pages. Your hosting provider will smile… (Yeah because they can got more client to put on that shared server, more money mean LOL)
  3. Your visitors/readers will be happy because they can find what they need faster (oh yeaaaaaaH)
  4. You can sleep and dreaming about world domination… LOL

Enough for that LOL thing, now let’s talk about setup and configuration for wp super cache.

Read More »

Related Search Terms:

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Computer And Internet, Personal, Tips & Trick

If you are using wordpress or other cms and have a lot of data in you sql, your site usually will unavailable with common message database error. What actually error on your database? Nothing, this is all about query limitation on your hosting. Your blog will grown in time, say in the last months you got 10,000 readers and in the next month you got 1,000,000 readers. When people access your site it’s continuously reading data again from your database, when it to much some hosting will stop it to executed. This is not good for SEO because your potential readers will gone (robots also can’t indexing full your site). Usually bad hosting will ask you to upgrade into vps or dedicated server. Everyone know it, there is no free lunch, you will have to pay more and more, if you got good revenue maybe it’s fine but how if not?

In this short articles I will give some tips and trick to fix common wordpress database problem. When you’re planning to get a lot of visitors to your site you better looking for a ways to optimize your sql query. There is one options for this, using DB cache so when people coming to your site request the articles server don’t need to re-query database again. You just need to sacrifice some memory and space which may be better in result if you’re not planning to go for vps or dedicated at the moment.

[to_plus]

How to do this? Search on google is good idea, I found many articles for database caching last night, this is the best one. For wordpress users there is a simple solution. Just get and install DB-CACHE-RELOADED plugin, setting it as you need, example you want cache stays for 24 hours or maybe just 10 minutes.

In this sample I set 180 minutes (3 hours). Cache will stay for 3 hours and then when it expired all cache files will deleted from cache folder and generated new cache. The result after using this plugin is better than not using it. When I tested it I have never seen wordpress database error again (of course because when someone read articles again server doesn’t need to re-read again from the sql). If you like this plugin you can spare some money for Ivan for his great works 😀

The effect?? I’m not sure but in the past when I’m using similar plugin like this I have error on feed, when this happen disable the plugin clear all the cache files and reactivate plugin again. But if not then you don’t need to do anything just keep monitors your site availability and traffic. Before I close this articles I want to tell you, you can also combine this plugin with auto cron job to repair and optimize your mysql, just search on my blog you will find the articles. This combination will giving a better result.

That’s share for today, I need back to work on project he he, Have a great day everyone 🙂

[/to_plus]

Related Search Terms:

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Computer And Internet, Miscellaneous

This stupid idea come into my head when I analyze the most keywords coming to one of my lyrics site. Mostly people coming to my site with a relevant keyword, example: song title and artist name. I need something to make an interactive place for them to keep them coming back. I was thinking about an video preview and it ended with related video idea.

On this short articles I will share the way to created youtube related video using combination of PHP and javascript (using wordpress as CMS, of course you can edit it to fit your site). This feature will fits for mp3 sites or reviews related site which may need related video to give more information to visitors.

First we will need this javascript code:

function ytlist(data) {
var feed = data.feed;
var entries = feed.entry || [];
var html = [‘<ul class=”yt-related”>’];
for (var i = 0; i < entries.length; i++) {
var entry = entries[i];
var thumbnailUrl = entries[i].media$group.media$thumbnail[0].url;
var playerUrl = entries[i].media$group.media$content[0].url;
html.push(‘<li onclick=”loadVideo(\”, playerUrl, ‘\’, true)”>’, ‘<img src=”‘, thumbnailUrl, ‘” width=”130″ height=”90″/>’, ‘</span></li>’);
}
html.push(‘</ul><br style=”clear: left;”/>’);
document.getElementById(‘ytlist’).innerHTML = html.join(”);
if (entries.length > 0) {
loadVideo(entries[0].media$group.media$content[0].url, false);
}
}
function loadVideo(playerUrl, autoplay) {
var atts = {
id: ‘ytbox’
};
swfobject.embedSWF(playerUrl + ‘&fs=1&enablejsapi=1&autoplay=’ + (autoplay ? 1 : 0), ‘player’, ‘500’, ‘300’, ‘9.0.0’, false, false, {
allowfullscreen: ‘true’
}, {
allowscriptaccess: ‘always’
});
}
function setVisibility(id, visibility) {
document.getElementById(id).style.display = visibility;

[to_plus]

Save it as yt.js or get it directly from here yt.js upload it into the right place (in this sample I used wordpress so I put it into themes folder). Next in your header site put this code before </head> tag

<script type=”text/javascript” src=”http://YOURDOMAIN/PATH/yt.js”></script>
<script type=”text/javascript” src=”http://swfobject.googlecode.com/svn/trunk/swfobject/swfobject.js”></script>

After this done create CSS file or add this code bellow if you’re already have the CSS file.

#yt{background:#FFF;width:575px}
.close{background:#eee;font-size:12px;height:20px;text-align:right;width:500px}
.close a{color:#111}
ul.yt-related li{cursor:pointer;float:left;list-style:none;margin:5px;width:130px}
ul.yt-related{margin-bottom:10px;margin-top:10px}
#ytbox{display:none;float:left;height:300px;margin:20px;width:500px}
#player{margin-bottom:20px}
#ytlist{margin-top:10px}

Last step is just put this code in area where you want related video shown. Because in this sample I used wordpress I put this code on single.php and using <?php the_title(); ?> as the keyword for related video (you can change this to anything you like).

<div id=”yt”> <h4>Video Terkait Tentang <?php the_title(); ?></h4>
<div id=”ytbox”>
<div class=”close”
onclick=”setVisibility(‘ytbox’, ‘none’);”>
<center><a href=”javascript:void(0)”>Selesai Menonton</a></center>
</div>
<object id=”player”></object>
</div>
<div id=”ytlist” onclick=”setVisibility(‘ytbox’, ‘block’);”>
</div>
<center><script type=”text/javascript”
src=”http://gdata.youtube.com/feeds/api/videos?q=<?php the_title(); ?>&alt=json-in-script&callback=ytlist&max-results=4&format=5″>
</script></center>
</div>
<div id=”yt”> <h4>Video Terkait Tentang <?php the_title(); ?></h4>
<div id=”ytbox”>
<div class=”close”
onclick=”setVisibility(‘ytbox’, ‘none’);”>
<center><a href=”javascript:void(0)”>Selesai Menonton</a></center>
</div>
<object id=”player”></object>
</div>
<div id=”ytlist” onclick=”setVisibility(‘ytbox’, ‘block’);”>
</div>
<center><script type=”text/javascript”
src=”http://gdata.youtube.com/feeds/api/videos?q=<?php the_title(); ?>&alt=json-in-script&callback=ytlist&max-results=4&format=5“>
</script></center>
</div>

The result will be like this sample:

You can check the live sample in here http://lyrics.mp3zap.net/judas.html Try opening another post and check the related video it will automatically searching related video on youtube using post title as keyword.

Have problem to integrate? don’t be shy to asking as long I’m not busy I will help. That’s share for today, Have a nice day 🙂

[/to_plus]

Related Search Terms:

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Computer And Internet, Personal

After 2 days ago my server already cleaned from mso.sys yesterday it’s spreading again in my local networks and download new Trojan called Virut.56 then infected one of my computers client. I think I’m lucky because I detect this Trojan early before it infected all clients. I’m pretty sure this is a new virut variant which coming from mso.sys , It’s really bad bad Trojan and very hard to remove it using manual technique.

To detect when you’re infected by this Trojan:

  1. When your computer start-up you will see 2 IEXPLORE.exe running on process background.
  2. When It’s already totally control your computer you will see VRTxxx.TMP in your process background (xxx=random from 1 to z) and sometimes created random executable in your username folder.
  3. You can’t open anti-virus website, to test if try to browse www.microsoft.com
  4. If you’re monitoring your traffic Trojan will try to communicate with their server, I don’t know who own this IP but sure it’s located and registered in CHINA!.
  5. You’re executable programs sometimes not working properly.
  6. Your Internet connection slower than usual.

That’s some sign for you to make sure you’re infected by this Trojan. This is really hard Trojan, when I try to remove it using manual technique Trojans keep coming back again and again. Even after I using ckean image from ghost software it’s coming back really fast!. This Trojan infected everything! not only .exe files but .htm and .txt also got infected! specially windows file common used example: explorer.exe, userinit.exe, svchost.exe, and much more.

[to_plus]

If you’re got infected by Trojan virut you actually doesn’t need to re-install total your system. This information was false (but it’s fine), when I try to follow it Trojan coming back in seconds. So don’t waste your time to re-install the system it’s will not working!

How to repair your computer if infected by trojan Virut.56 :

1. Make sure your computer totally not connected to local network and Internet to make sure Trojan can’t hidden or run from the scanner.

2. Download Dr. Web Cure It! and burn it into your CD/DVD (to make sure it’s not infected I used CD non re-writable). Why use Cure It? I try using another anti-virus, anti-malware, and anti-spyware none of them workings right! this is not promotion!

3. Run your computer in safe-mode (recommended) then run Dr. Web Cure It! scan total your system including your removable device (if available) don’t use express scan or custom scan. It should be complete scan! should there is no infected file left or you may cry.

4. After scan complete (usually in 3-6 hours) reboot your computer and try to connect it into local network and Internet. Always check your background process if you find something strange on there disconnected from local network and Internet and re-scan total again your system.

5. If you’re already connected to local network/Internet then you can browse to www.microsoft.com and there is nothing strange on your computer background take a deep breath, the Trojan has been assassinated!

That’s a share for today, have a nice day 😀

[/to_plus]

Related Search Terms:

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Computer And Internet, Personal

My server just got infected by this virus yesterday from my client USB drive. The effect caused my computer run slowly and windows explorer keep crashing if I open to much programs. It’s very easy to remove this virus just keep reading this short articles…

To detect if you’re infected by this virus is your computer run very slow especially if you’re using explorer.exe resource. You will find file with name “recycler.lnk” in C:\ drive and you will find also “Internet explorer.lnk” (without icon) in your start menu. When you try to delete this shortcut it will coming back and your computer response become more slowly.

Virus spreading from USB drive, if you find out your computer infected don’t add USB drive into it and also if you can unplug that infected computers from local networks to stop it spreading.

[to_plus]

How To Remove Recycler.lnk Virus :

1. Disconnected your computer from Internet/local networks.

2. Close all running programs, Press CTRL+ALT+DEL to run task manager and kill all process name “Rundll32.exe“.

3. Go to c:\ drive and choose folder option, tab view, show hidden files and folders, and the un-check “Hide protected operating system files (recommended)” then click apply.

4. Find file with name “mso.sys” in c:\ root drive then deleted it. Don’t worry this is a fake system files which actually the core of this virus.

5. Run MSConfig, Start -> Run -> Type “msconfig” (without quote), Remove “recycler.lnk” and “Internet Explorer.lnk” from your startup list.

6. Delete “recycler.lnk” in c:\ and “Internet explorer.lnk” in your start menu, then restart your computer.

7. It’s done, Your computers should back normal again.

That’s share for today, have a nice day 😀

[/to_plus]

Related Search Terms:

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS