Welcome back and we really miss you here…
read my post once again, I already have swap file. Well, I’m not that stupid Mr.Agus
I am not saying you are stupid, by the way. We are sharing here, not arguing…
If after adding swap, it is still down, there are two things to check.
1) Your Swap is small. Your Swap size should be same or bigger than your RAM. For this case your RAM is 1GB, and your Swap is only 512MB
2) You still need to check what makes your website eat too much resources.
Note: For now, I use 2GB droplet on DigitalOcean. My team use 8GB RAM droplet on DigitalOcean to host few websites and 10-50 demo themes.
I think I will stop here. Good luck with your DigitalOcean…
Using unmanaged VPS server means that you need to understand some basic knowledge about your own server. If it is down, you can’t blame your VPS hosting, it is all yours, except for network issue.
For example, check this article, http://www.narga.net/why-moved-digitalocean-guidelines-setup-perfect-vps/
Common VPS issues and tips
I read about this problem first, so I can setup VPS running without it by simple tricks. The Digital Ocean images have no swap space allocated by default. That’s cause of MySQL problem when your VPS run out memory. Luckily this seemed to be a common question for Digital Ocean. They have a step by step by step guide for setting it up on Ubuntu 12.04.
Read about how to add Swap here, https://www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04
BuddyPress plugin (+ some buddypress extensions) will do this job. Envato runs BuddyPress contest now http://themeforest.net/forums/thread/envatos-most-wanted-buddypress-bbpress-themes/117049 . So, it is better for you to check all submitted BuddyPress themes on Feb 5th on ThemeForest.
Basically, this will limit you to run this function on specific content then run something else when it returns true.
I can say, it is allowed, it doesn’t change your content, but it really depends on what is the purpose of using this function on your theme…
if you want to use it to include custom script conditionally when a shortcode is called, then I will not recommend this, because it only limits your shortcode to be used on specific content. for conditional script loading on shortcode, you can directly use
wp_enqueue_script inside your shortcode handler. source: http://scribu.net/wordpress/conditional-script-loading-revisited.html
yes, why not…
for design, you still need to improve typography, whitespace, etc…
for code, don’t forget to try to validate your html, and also check the responsiveness because you define it to be responsive.
masih belum “pas” mas bro, semangat ya…
@Gewora, I shared my experience on my own theme shop, so yes it is a little bit different…
Basically, for ThemeForest case, no need to think about term of use, only focus on support policy. Support is optional, so we are free to create our own support policy.
I was in same situation with you when I opened my own theme shop few years ago. I simply add some notes on “term of use” and “support policy” page that we do not offer support if you use it for any adult/gambling websites. I do still get some people contacted us to request support for this kind of websites, but then I can simply direct them to “that” page and they understand in most cases.
For ThemeForest case, offering a refund basically is not a good idea because sales and refund process are controlled by Envato. We can’t stop them for using our theme on their websites. This is also a good reason to make our themes whitelabel, so no need to worry to see “our” logo on our buyer website.