Writing on Tweaked for your Pleasure is something I have always enjoyed doing and I feel it is something I will be updating for many years to come but one thing I do hate is how much it actually cost to run Tweaked for your Pleasure.
With this in mind, I am going to do an experiment – I want to host this website purely for free and while I could toss this onto most free hosts with PHP I decided to set myself a couple of goals for it to be successful.
It has to run on ANY free web that allows FTP uploading or something like it.
It does not have to rely on PHP or MySQL.
It must use WordPress for adding new posts from my end.
We do not have a rant today, nor we do have a review. Today I am going to go over something that a lot of people ask me – how to create a very basic 2checkout processing script. I am going to say now that this guide is simply how to do the processing side of it, it will not cover anything like the database side of things so you can create something like automatic downloads – we may do that as another tutorial.
2checkout HTML Form.
The first thing we need to do is the HTML form for 2checkout. We are going to be using the single page checkout for 2checkout as I prefer that one. Replace sid value with your own and setup the bits below to what you want it to be called. If you want to add a second product to the checkout form, add things like c_name_2, c_price_2 etc. As stated either, I am not going into the database side of things in this tutorial but you can always use a programming language to prefill all in this and use cart_order_id as a method to know what order someone is ordering. Continue reading →
As you may have heard, the creators of WordPress has created a new plugin called JetPack. While I will not explain it as the link to the left will explain it far easier than me (although this link is a good place to start with: Jetpack to the WP.com Cloud), I am posting about how it may have issues with Lighttpd.
When it first came out I decided to give it a try and it never worked. Posted on Twitter and people advised about disabling cache software like WP Super Cache or W3 Total Cache. Either way, it never worked. The next thing was to disable Cloudflare which also never worked. Continue reading →
Update: I have been able to restore the config file. This is not tested on the latest version of qTranslate and WordPress but should work anyway.
This was a question I kept asking myself and couldn’t work out how to do it. qTranslate (WordPress plugin) would only allow you to use subdomains for the different languages (such as en.domain or he.domain) or using paths (such as domain/en/ or domain/he/). For a while, I used the path for the different languages on Tweaked for your Pleasure however subdomains or the path sadly wasn’t enough for me.
I wanted to be able to use two different domains for the two languages. The main reason I wanted to do it is that I had the domains and I didn’t want to use subdomains. So, I wanted to see if anyone knew how to use different domains. On qTranslate forums, there weren’t any answers so I decided to have a look myself.