Archive for 'wordpress'

dubbeltallen.se – Timrå IK historik

Dubbeltallen.se såg sitt ljus för en månad sedan och är en webbsida där man kan läsa om Timrå IK’s historia. Mer om webbsidan kan ni läsa på Dubbeltallen.se

dubbeltallen-se

Eftersom jag tycker att WordPress är så otroligt bra och lättjobbat så blev det WP som fick driva sajten. Om jag skulle avslöja hur snabbt jag fick upp sajten så skulle ni nog inte tro mig, men snabbt gick det. Lite fakta om sajten nedan:

CMS
WordPress

Tema
iNove

Tillägg/plugins
µAudio Player
Akismet
All in One Adsense and YPN
All in One SEO Pack
GD Simple Widgets
Random Pages widget
Theme My Login
XPertMailer

Hemsida till Ludvig Nordström sällskapet

Jag har nyligen hjälp en kompis med att bygga en hemsida åt Ludvig Nordström sällskapet. Så kika på den!

ludvig1

Eftersom jag är ett stort fan av att använda WordPress (php) som CMS till enklare webbsidor åt föreningar/mindre företag så blev det givetvis den tekniska lösningen. Som vanligt blev det lite hackande i form av att mixtra med teman samt plugins/tillägg men det var ganska enkla fixar som behövde göras. Samtidigt var det kul att se alla bra nyheter i WordPress 2.8. Det är riktigt imponerande att följa WP’s utveckling.

Tutorial – Sending email from WordPress using Google Gmail

This tutorial covers how you easily can modify your WordPress installation to send email with a Google Gmail account instead of sending through your webserver. Only ONE file needs to be modified. You also need to have a working WP-installation and a Gmail-account.

Step 1
Open the file ”wp-includes/class-phpmailer.php” (which is the class that sends email in WordPress) in your favourite text-editor.

Step 2
Find and modify the following properties.

var $Mailer = ‘smtp’;
var $Host = ‘smtp.gmail.com’;
var $Port = 465;
var $SMTPAuth = true;
var $Username = ‘your_username@gmail.com’;
var $Password = ‘your_gmail_password’;

Step 3
Find the the method ”IsMail” (in the same file) and comment out one row of code like this:

function IsMail() {
//$this->Mailer = ‘mail’;
}

All steps complete!

This should work with all WordPress versions that uses a version of the phpMailer-class that is Gmail compatible.

Tested in WordPress v 2.7

LOOK HERE
I don’t use this method any longer because I don’t want to touch the core-files of wordpress. It is a bad habit to do so, because they get overwritten each time you update wordpress. There is a plugin called XPertMailer that can send email through gmail. Use that one instead!