Thursday 19 December 2013

IFTTT update: New Toodledo and Gumroad Channels! Plus Foursquare and Withings updates

image


The popular productivity tool Toodledo is now on IFTTT. Use the Toodledo Channel to create tasks, notes, and manage your to-dos in creative new ways.


IFTTT Recipe: Add tasks to your Google Calendar based on their due dates



IFTTT Recipe: Create new Toodledo tasks from voicemail



image


Gumroad enables you to sell products like music, eBooks, and film directly to your audience. Use the Gumroad Channel to monitor or share your latest sales!


IFTTT Recipe: Add a row to a Google spreadsheet for every new sale!



IFTTT Recipe: Post a tweet every time a sale is made!



image


New Foursquare Trigger


Use the new Foursquare Trigger to run Recipes every time you add venues to your to-do list.


IFTTT Recipe: Add your Foursquare To-dos to a Reminders list



image


New Withings Trigger


Just in time for the holidays! The new Withings Trigger works when your weight surpasses a chosen threshold.


IFTTT Recipe: When you're over a desired weight log it in UP for workout motivation


Monday 18 November 2013

How to download your Facebook data

Facebook is a popular target for hackers, so by using the social network you are entrusting your account info, photos, friends' details, groups and other personal details to be stored outside your control. That's a potential privacy (and security) risk.

For this reason, it's worth making the occasional back-up to store locally on your PC. To do this, log into your account, click the cog icon in the top-right corner of any page and select Account Settings. Click General in the left-hand column, select 'Download a copy of your Facebook data' and then
Click Start My Archive.

Facebook will prepare the download, which includes anything posted on your timeline, sent and received messages, photos and videos; and your friend list.

You'll receive an email when the back-up is ready (this can take several hours).

Android 4.4 Kitkat

Google released version 4.4 of Android otherwise known as KitKat www.android.com/kitkat. Aside from a refreshed look and interface, the update to the mobile OS features a voice-activated system that lets you say "Okay Google" to launch the voice search, send a text message and play music. Android 4.4 also promises faster multitasking so you can listen to music while browsing the web without your devices performance being affected. KitKat also features a revamped contacts list, a centralized messaging hub, the ability
to print via the cloud, an improved file system and several other tweaks. KitKat will work on devices with as
little as 512MB of RAM which means it could be used for wearable computers such as smartwatches as well as on lower-end handsets.
At the moment the latter tend to run older versions of Android which mean developers have to build apps to support aging editions of the mobile OS.

While most Android users will have to wait for their mobile operator to roll out the update, KitKat will be
immediately available on the Nexus 4 phone the Nexus 7 and IO tablets and the new Nexus 5 phone www.google.com/nexus/5

The new handset, which, like the Nexus 4 is made by LG, features high-end specs but ls being sold at a
relatively low price. The 5in display has a resolution of 1,920 x LOBO, giving it 445 pixels per inch. Thats on a par with the HTC One and well above the screen on the iPhone 55. It runs a 2.3GHz Snapdragon processor and features a revamped camera and Google promises 17 hours of talk time between charges.

The 16GB Nexus 5 costs only £299 SIM-free while the 32GB version is £329 not a bad deal given that the 32GB HTC One costs £490 off-contract and the Samsung Galaxy S4 starts from £520.

Friday 8 November 2013

Who are Hostgator?

You may think that Hostgator is a business entity by itself but you would be wrong. It is in fact one part of a massive corporation made up of lots of separate hosting entities.

The group is called Endurance International Group, Inc and is one of the worlds largest hosting companies. It was formed in 1996 and boasts over 2.9 million customers and over 10 million domains.

Here are the other parts that make up the group.... you may see some familiar names!

2slick.com
AccountSupport
A Small Orange
ApolloHosting
Berry Information Systems L.L.C.
BizLand
BlueDomino
Bluehost
Dollar2Host
Domain.com
DomainHost
Dot5Hosting
Dotster
easyCGI
eHost
EntryHost
FastDomain
FatCow
FreeYellow
Glob@t
Homestead
HostCentric
HostClear
HostGator
Hostnine
HostMonster
hostwithmenow.com
HostYourSite.com
HyperMart
IMOutdoors
Intuit Websites
iPage.com
IPOWER/iPowerWeb
JustHost
MyDomain
MyResellerHome
NetFirms
Networks Web Hosting
Nexx
PowWeb
PureHost
ReadyHosting.com
Saba-Pro
SEO Hosting
Southeast Web
Spry
StartLogic
SuperGreen Hosting
USANetHosting
VirtualAvenue
VPSLink
WebHost4Life
Webstrike Solutions
Xeran

YourWebHosting

How to speedup a Windows computer.

From decade old hand-me-down laptops, through almost new gaming rigs, slow performance is a plague that can affect anyone. Usually you have done, or installed something to cause this slowdown. Before you call a support line that charges by the second, or pay hundreds of dollars to a technician, try a few simple fixes yourself.

The first step in almost any computer repair is to restart the machine first. Do that now, if you want you can time how long it takes the machine to start up to a useable state. This will let you see how well your improvements work.

Once your computer is back on check for windows updates, even if you just installed them. This can be done via the control panel, and choosing automatic updates. If you have any updates pending, install them. Most of the time this will require another computer restart, do it.

Now there are two types of slow computer, the kind where the machine is the issue, and the kind where the internet is at fault. If programs open slowly, function slow or freeze often then chances are it is your machine. If your videos are low, Facebook is not loading or flash games will not play, chances are it is your internet that is slow.

I Think My Internet is Slow.

Speedtest.net is the unified go-to source in internet speed tests. Go to their site and follow the instructions. Your results maybe confusing if you are not tech practical understanding, first find out what your internet provider advertises their speed as, call them if you need to. Now look at your speed test results. Upload speed for the most part is irrelevant, download however,  should be at least half of what your internet service provider (ISP) says they provide. Ping should be around 100ms, lower is better though.

Now if your speeds are okay check that nothing is being up, or downloaded. Torrent programs often minimize to the system tray rather than closing. Check your network card for updates, they are rare but do happen, contact your network cards maker for help with this.

If things are still sketchy then reset your router and modem. Most routers have reset buttons, but no one uses them. Simply unplug your router and modem for 2-5 seconds, longer and it may reset to factory defaults.
If things are still not working right call your ISP. They can tell you remotely if the issue is on your end or not. Sometimes the issue is with their wire into your home rather than you PC.

My Computer is the Issue.

First up is to check if you have free space on your computer, especially where your operating system is installed, generally drive C:.
If you C: drive is stuffed full, or nearly full remove some programs and files, or invest in an external hard drive to store files on.

Next check your computer for automatically starting programs, these can really bog down power up times, and in some cases last well into your user experience. Hold down your windows key and press ‘R’. This is the run window, in here type ‘msconfig’, without quotes, and then press enter. In this program, look at the start up item list. Trim it down, use the manufacturer column as a guideline. Programs like AdobeAAMUpdater, Google Update, Pando Media Booster, Spotify, and Steam Client can all be stopped harmlessly. Microsoft programs should be left untouched. Usually if you do not know what a program does leave it running.

Once all your changes are close the program and open up your internet browser, in the tolls menu there should be an option to clear out cookies and other temporary files, do this.

Now restart your computer, if you too a timer test in the beginning, take one again now. If the problem is resolved, great, if not you may need a professional to help.

Monday 28 October 2013

IFTTT update: Three new Triggers for the IFTTT Channel

image


There’s a whole lot more you can do with the newly improved IFTTT Channel! You can now follow specific peoples’ Shared Recipes, keep track of our latest Featured Recipes, and have IFTTT recommend a new Recipe just for you each day.


Give the new Recipes a try and let us know what you think.


IFTTT Recipe: Get a new Recommended Recipe in your inbox every day



IFTTT Recipe: Spread the word on Twitter about new Featured Recipes



IFTTT Recipe: Follow your friends' latest Shared Recipes in Evernote


Wednesday 23 October 2013

"Device eth0 does not seem to be present" after cloning / editing network adaptor on CentOS virtual machine

After cloning a machine or editing network adaptors you may find that eth0 can not be started.
This is usually down to the operating system remembering the old network adaptor and not knowing about the new one.

You need to edit the following file to show the correct network adaptors and MAC addresses.

/etc/udev/rules.d/70-persistent-net.rules

The file will look like this.
# PCI device 0x15ad:0x07b0 (vmxnet3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:50:56:ae:00:1a",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x15ad:0x07b0 (vmxnet3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:50:56:ae:00:1b",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"


Check that there are the correct amount to correspond to the number of network adaptors and that the adaptor name and MAC address is correct.

Once you have made your changes you need to reload udev by running this command
start_udev

You should now be able to restart your network services
service network restart

Thursday 17 October 2013

IFTTT update: Power-up the LinkedIn Channel

The LinkedIn Channel just got a whole lot more powerful. With four new Triggers and one new Action, use LinkedIn Recipes to take your professional networking to the next level.


Any new connection


IFTTT Recipe: Share your latest LinkedIn connections with the team on Yammer #Network #Recruit



Any connection adds a new position


IFTTT Recipe: Email me when a LinkedIn contact adds a new position


New job suggestion


IFTTT Recipe: If new job suggestion, then add row to spreadsheet in Google Drive



New job opening at a company you follow


IFTTT Recipe: When a Co. you follow posts an open job, share it with your connections


Invite to connect on LinkedIn


IFTTT Recipe: Invite my new iPhone contacts to connect on Linkedin.


P.S. We increased the number of email addresses you can send to in your Gmail Recipes to five. Just separate each address with a comma and you’re good to go.


IFTTT Recipe: Voicemail with Friends!


Thursday 10 October 2013

Dedicated & VPS Server Provider

Having written about hosting, server configurations and issues I have run into I though I would write a quick post about my server provider Hetzner.

If you are in the market looking for a new server provider for either a virtual server or dedicated server then give these guys a try.

I have been using both their dedicated and virtual servers for a long time and never had an issues with service or support.

They offer hardware support only so you need to know what you are doing with server configuration but if you can live with that then Hetzner have some really great servers at very low prices. I have yet to find a provider able to offer the same specification servers at a lower price.

The network connectivity is brilliant and practically everything is automated (reverse dns, additional IPs) so no waiting in long queues to get something changed.

Wednesday 9 October 2013

Windows software RAID recovery

Array health states

RAID volumes can be in one of four states:
  • Healthy - the default. Everything is fine.
  • Rebuild - the system is rebuilding the array, and is thus at risk of data loss until the array has completely rebuilt. This will occur when the array is initially built, and while recovering from a failure.
  • Failed RAID - redundancy has failed, but the array is recoverable. You will need to replace the failed disk, or reactivate a disk with errors, to rebuild the array.
  • Failed - the array has failed. No rebuilding is possible and you have lost all data on the array. Replace the failed hardware and recover the data from backups.

Recovery procedure

There are generally only two states you will find a machine in when a RAID error has occurred: a completely failed disk, or a disk with errors. In the case of errors being detected, the mirror will still be marked as healthy, but due to the errors Windows will treat the array as At Risk. In either case, you must replace the sub-optimal disk.
  1. Log into the machine and enter the Disk Management console.
  2. Right-click on the failed disk and select Remove Mirror (RAID-1 only).
  3. Select and remove the failed disk from the array.
  4. Enter the Computer Management console and open the Windows Device Manager. Uninstall the disk that has failed.
  5. Physically remove the disk and replace it with an equivalent model.
  6. Enter the Disk Management console and Scan for changes. Roll 1d6 for a Detect Disk skill check, you need at least a 3 to pass. If you fail, you'll need to reboot the machine in order for it to pick up the hardware change.
  7. Right-click and Remove the old (ghost) disk from the Disk Management console if it is still visible. The disk will be marked with a Missing label.
  8. Important: you must zero out the first sector of the new disk once the hardware has been picked up by the operating system. Windows will not install its bootloader onto the disk if it finds old GRUB installations or other random data on there. Do this even for arrays that you are not going to boot from. Grab a copy of Boot Sector Explorer (BSE), and use it to write the zero file (512 bytes of 0x00) to the new disk. Dismiss any Invalid boot sector warnings by clicking the Yes button on the warning dialogues. Still using BSE, verify that the first sector of this disk is completely zeroed out.
  9. Click Rescan disks from the Action menu in the Disk Management console to refresh the operating system's cached perspective of your disks. The disk you zeroed out earlier should now be marked as Unknown and Not initialized. By closing and re-opening the Disk Management console, you should be able to trigger a disk initialisation wizard. Dismiss the wizard.
  10. Still using the Disk Management console, right-click on the new disk and select Initialize disk. Convert the disk to a Dynamic Disk.
  11. Recreate the array if you had removed it earlier (applies to RAID-1). Add the new disk into the array.
  12. (Boot arrays only) Using BSE, verify that the MBR has been correctly initialised with NT bootloader code. You are looking for the strings Invalid partition table and Missing operating system. Compare the MBRs of both disks; there will be a 32-bit disk signature field that differs, but not much else.
  13. Open C:\boot.ini in Notepad and ensure it reads like the following:
    [boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows Server 2003 Standard" /fastdetect /NoExecute=OptOut
    multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Windows Server 2003 secondary plex" /fastdetect /NoExecute=OptOut
  14. Wait for the array to rebuild. Server 2003's I/O scheduler isn't as clever as what you get with Linux — performance will be reduced until you reach full redundancy.

Wednesday 2 October 2013

IFTTT update: New congressional vote Triggers in The New York Times Channel

Keep tabs on the U.S. Senate and U.S. House of Representatives with two new congressional vote Triggers, now part of The New York Times Channel.


IFTTT Recipe: Follow the how the U.S. House of Representatives is voting from your inbox



IFTTT Recipe: Track every time the U.S. Senate votes via Google Calendar



IFTTT Recipe: Keep a history of U.S. Senate votes as they happen



IFTTT Recipe: Notify me when Congress gets back to work!


US shutdown Google rankings

Anyone know how the US shutdown will affect Google search rankings of sites such as Nasa as it is effectively a 301 redirect and should be removed from Google's index?

Wordpress Web Designers

<rant>
I am a little fed up and annoyed at "website design agencies" putting down template Wordpress sites.

I have heard it many times whereby they trash a customised template on a Wordpress site in order to "big up" their own sorry looking system.

The fact that they will also be modifying existing templates that they have done before is never mentioned.

Give the little guys who build amazing Wordpress websites a shot especially as many of them make amazing websites for their clients at a fraction of the cost of a custom solution.
</rant>

Tuesday 1 October 2013

Google Web Designer Tool

It looks like Google has just released a new web designer tool.

The screenshots look pretty amazing and it looks loaded with options.

Check it out at http://www.google.com/webdesigner/

I'm off to download it now and have a tinker!

iMessage no longer working after iOS7 update.

If like me you have upgraded to iOS7 you may find that iMessage is no longer sending & receiving messages.

There is however a simple "fix" for this which is to reset your network settings.

This will reset your mobile data settings and also clear any WiFi network saved settings that you have. The mobile settings will automatically be assigned again but you will need to reconnect your WiFi networks.

To reset the network settings follow this simple guide.

  1. Settings
  2. General
  3. Reset (it is at the bottom of the list)
  4. Reset Network Settings
Your device will now reboot and then iMessage will then work again!

Friday 27 September 2013

301 redirect using httpd.conf

This is how to do a 301 redirect if you want to divert traffic from one domain to another.

It is best to use a 301 redirect which is a permanent redirect code.

Edit your httpd.conf file which should be located /etc/httpd/conf/httpd.conf

Then just add this code to the end of the file (don't forget to change the domains to your own!)

<VirtualHost *:80>
   ServerName www.domaintoredirect.com
   ServerAlias domaintoredirect.com
   RewriteEngine on
   RewriteRule ^/(.*) http://www.DomainToPointTo.net/$1 [L,R=301]
</VirtualHost>


Don't forget to restart the web server

/etc/init.d/httpd restart

Job done! Your domain should now be redirecting.

Thursday 19 September 2013

IFTTT update: New Google Calendar Trigger

There’s a new Trigger available for the Google Calendar Channel. Every time a new event is added to your Calendar, the Trigger picks it up. Give it a shot!


IFTTT Recipe: Text me when a new event is added to my calendar



IFTTT Recipe: Add new Google Calendar events to a Google Drive spreadsheet



IFTTT Recipe: Send an email to someone else each time a new event is added to your calendar



IFTTT Recipe: When a meeting is added to my calendar, automatically create a meeting notes document in Evernote.


Thursday 5 September 2013

IFTTT update: Introducing the SmartThings Channel

Unlock a new world of possibilities for the everyday objects in your life.


image


The SmartThings Channel lets you seamlessly integrate all types of innovative sensors and devices with your favorite online services. Here are just a few of the many things you can do with SmartThings Recipes:


IFTTT Recipe: Let me in! Checkin with a #hashtag to unlock your door.



IFTTT Recipe: Turn on Hue Lights when SmartThings detects that you've arrived home.



IFTTT Recipe: Call me if the liquor cabinet opens!



IFTTT Recipe: Turn on a SmartThings Light Switch when Wemo Motion is detected.



IFTTT Recipe: Turn on Wemo Switch from SmartThings Motion!


Friday 23 August 2013

MSSQL Last Resort Recovery Method

After attempting every type of restore / backup of a handful of MSSQL databases from a failed server I came upon a couple of commands that managed to bring the database back to life.

**WARNING**
This method can result in data loss especially if the database died while being written too.... obviously the more transactions you have going through the database the greater the chance of data loss. This method is the absolute last method you should try.

Here is the command to attempt data recovery and bring the database up in single user mode.

Use master
go
sp_configure 'allow updates', 1
reconfigure with override
go
sp_dboption 'DATABASENAME', 'single_user', 'true'
go
alter database DATABASENAME set EMERGENCY
go
DBCC CHECKDB('DATABASENAME', REPAIR_ALLOW_DATA_LOSS)
Go
 
 
Once this is complete you can view tables and data to check what is recovered. (NOTE - This can take a very long time to complete on large databases)
 
When you are happy to bring the database back online you just need to use this command
 
Use master
go
sp_dboption 'DATABASENAME', 'single_user', 'false'
go
 
 
 

iCloud Beta

Woo Hoo! Just got the iCloud Numbers & Pages Beta, Thank you Apple. :-) #icloud

Thursday 22 August 2013

How to enable Gzip compression in IIS6.0 for ASP.NET 2.0 websites.


Introduction


This step by step guide will show you how to enable Gzip compression to work with ASP.NET 2.0. Compressing the output should make your websites faster, especially when being viewed via a slow connection.

Step 1: Enable Compression Using the IIS Manager


Expand IIS Manager. Right click on Websites. Click Properties. Click the Service tab. Check the boxes to enable compression.
 
Step 2: Install IIS 6.0 Resource Kit Tools

You can download the free tool from Microsoft here.

Step 3: Edit IIS Meta Database


Open the IIS Metabase Explorer. It is part of the resource kit you just installed. Expand LM>W3SVC>Filters>Compression. You will need to edit bothgzip and deflate. Find the item with the name HcScriptFileExtensions. Add the values aspx, axd, asmx, and css. Repeat process for gzip anddeflate. Find HcDynamicCompressionLevel and set it to something higher than 0.
 
 
Step 4: Do IISReset

That's it. To verify that you have everything working correctly, you can use the free tool YSlow for Fire Bug.

Thanks Cloudflare

Thanks for the stickers Cloudflare. Keep up the great work with your amazing services. :-)

Useful IP Tables commands


Blocking IP’s using IP Tables

iptables -I INPUT -s xxx.xxx.xxx.xxx -j DROP
 
 

OR just for port 80

Iptables –A INPUT –src xxx.xxx.xxx.xxx –p tcp --dport 80 –j REJECT
 
 

Block PING

iptables -A INPUT -p icmp -m state --state NEW -j DROP



Port Redirection
This is useful if you need to access email on a different port due to ISP restrictions.
 

# Allow incoming port 587 (tcp) SMTP traffic, and redirect it to port 25

/sbin/iptables -A INPUT -p tcp --dport 587 -j ACCEPT

/sbin/iptables -A PREROUTING -t nat -p tcp --dport 587 -j REDIRECT --to-port 25

View connections to Linux server by IP


This command will output the list of unique IP's currently connected to your Linux server. This is really helpful in identifying someone who is trying to DDoS your server.
 
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n

Showing currently running mysql queries


Login to mysql (mysql -uroot -p)

show full processlist;

Create a mysql database & user


mysql -u root -p

##create the database

create database DATABASENAME;

##create the user and password

grant all privileges on DATABASENAME.* to 'USERNAME'@'localhost' IDENTIFIED BY 'PASSWORD' with grant option;

#grant access for that user to their database

grant all privileges on DATABASENAME.* to 'USERNAME'@'%';

Restoring a backup with SSH


mysql -uUSERNAME -p DBNAME < /PATH/TO/DUMP.SQL

USERNAME - this username which you use to access MySQL.

DBNAME - the name of the database used for MyBB.

/PATH/TO/DUMP.SQL - this is the path to the backup file that you have on the server. You will have to upload it to the server since you used phpMyAdmin to back it up.

Backing up your database using SSH


Not all hosting accounts have this, you'll have to ask your host if you have SSH access.

1. Log into your SSH account.

2. Type mysqldump --opt -Q -uUSERNAME -p DATABASENAME > /PATH/TO/DUMP.SQL

USERNAME  this is the username you use to access MySQL. You can find it out by looking in inc/config.php

DATABASENAME  the name of the database that MyBB is installed on.

/PATH/TO/DUMP.SQL  this is the path to the file that will be stored. If you don't know where to put it, use mybb_backup.sql or something like that.

Install DDoS-Deflate


DDoS-Deflate


DDoS-Deflate is a couple of bash scripts, that is run every X minutes, analyze the total number of connections to your server from every IP address using netstats command and temporarily blacklist IPs, that have more than Y active connections to your server at the moment, script runs. Blacklisting is done using either iptables or APF whichever you have installed. Simple!

Installation


To install ddos protection scripts just execute the following commands from console:

cd /usr/local

mkdir mytmp

wget http://www.inetbase.com/scripts/ddos/install.sh

chmod 0700 install.sh

./install.sh

That’s all…

Configuration


To configure DDOS-Deflate (that’s the name of this script) do the following:

cd /usr/local/ddos

edit ddos.conf

Last line opens ddos.conf file in editor. You can use vi if you like. I chose edit because I am a Windows user and Edit has an interface familiar to me.

Let’s consider all available settings one by one:

PROGDIR="/usr/local/ddos"

PROG="/usr/local/ddos/ddos.sh"

IGNORE_IP_LIST="/usr/local/ddos/ignore.ip.list"

CRON="/etc/cron.d/ddos.cron"

APF="/etc/apf/apf"

IPT="/sbin/iptables"

These above are about various software locations. I recommend you leave them as is. They should suite the majority of systems. BTW, if your system doesn’t have APF, it is ok. Script can work with iptables also.

FREQ=1

This setting affects how often (in minutes) you need to execute ddos protection script. After changing this param, please execute command

ddos –cron

to update cron sheduler.

NO_OF_CONNECTIONS=150

This is the maximum number of connections acceptable for your server. I recommend to set this value to about 20-40 depending on your server.

BTW, don’t repeat my mistake  Should you decide to use softwares, that open really many connections to your server, like FileZilla FTP client (it spawns many FTP connections to upload your folder ASAP), you will get blocked

APF_BAN=1

If you have AFP, then set this to 1. If you have not, script will use iptables. To check if you have AFP or not, just execute command

afp

If you want to use IPTables, don’t forget to start service by

service iptables start

and to have it autoloading at system startup by\

chkconfig iptables on

KILL=1

If you just testing your script, set this to 0. In this case, IPs will not get banned.

EMAIL_TO="root"

This email address will have messages about blacklisted IPs. Leave it to root to skip emailing.

BAN_PERIOD=600

Set this to a number of seconds, for how long to block entruder. I recommend to set this to 1800-3600 (30-60 minutes).

You can also add IPs to /usr/local/ddos/ignore.ip.list to whitelist them.

Uninstallation


You can always uninstall DDoS-Deflate by executing

cd /usr/local/mytmp

wget http://www.inetbase.com/scripts/ddos/uninstall.ddos

chmod 0700 uninstall.ddos

./uninstall.ddos

That’s all!

Adding a Pinterest button to Prestashop Version 1.5.4

If you want to add a pinterest button to your products page so your visitors can add it to a collection then you just need to add this piece of code to the page.

You need to add this to your themes product.tpl file where you want the button to show.

Here is the code you need. (Don't forget to have this on 1 single line)


<a href="http://pinterest.com/pin/create/button/?url={$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}&media={$link->getImageLink($product->link_rewrite, $cover.id_image, 'large_default')}&description={$product->name|escape:'htmlall':'UTF-8'}" class="pin-it-button" count-layout="horizontal">Pin It</a><script type="text/javascript" src="http://assets.pinterest.com/js/pinit.js"></script>

Wednesday 21 August 2013

Woo Hoo

Finally decided to put some of my old stored useful data online and decided that blogger would be the best place to share it.