Found a new Vapor Store in Garden City MI

March 27th, 2014

Ok,. so I’ve been using ecigs for a while, over two years, long enough that typically I’ve been forced to buy all my stuff online. Recently, this has changed.

I’ve been looking in to Michigan Vapor Stores, and came across Garden City Vapes a very nice website for The Vape Select in Garden City.

Atomizers, cartomizers, ecig batteries, e-liquids even parts and pieces for rebuildable atomizers including wick wire and coil wire.

ECig Forum, E-Cigarette Discussion Forum

March 18th, 2014

I’d been looking for a foum for e-cigarettes that didn’t annoy me, and I found ElectronicECigForum.com it is great, small but filling up with really interesting information. Take a look if you get a chance.

I’ve been adding stuff, and found a few codes for retailmenot suppliers.

WordPress Contact Form 7 Howto Hide Empty Fields

March 7th, 2014

Ok., so this took some serious work, but I’ve helped a client on Wizpert hide the empty boxes that were leftover by the form submission using contact-form-7 and the contact-form-7-multipart-module.

What we’ve done is added a function to the scripts.js file of the plugin,

//added a page detection feature so it’s only hiding fields on the completion page.
if( window.location.href.indexOf(“thank-you”) >= 0 ){
// this adds class to p that have no value
$(‘.wpcf7-form p’).each(function(){
var thisText = $(this).text();
if( thisText.indexOf(“:”) >= 0 ){
thisText = thisText.split(“:”);
var thisP = $(this);
if( thisText[1] == ” || thisText[1] == ‘ ‘ ){
$(this).addClass(“hiddenP”);
}
}
});
}
// filter out headings with no p elements below them
$(‘.hiddenP’).css(“display”,”none”);

Thats it,. using pure js

Magento Add Handling Fee for International Shipping

March 6th, 2014

Well today’s fun project was adding a handling charge to magento when a customer is ordering from outside the US,.

Update the following…
/app/code/core/Mage/Shipping/Model/Carrier/Abstract.php

1) Add a public variable that you can update

public $countryId = ‘US’;

2) Locate the following function public function checkAvailableShipCountries
add
$this->countrId = $request->getDestCountryId();

3) Locate the function getMethodPrice(
add

if( $this->countryId() != ‘US’ ){
$price += (handling fee);
}

4) All done save and enjoy

Can I build a Yahoo Japan Auction Portal in English

March 5th, 2014

I’m thinking of using the google translate library along with the yahoo japan auction api to build an english platform for their auction system. It will need true shipping integration with information on export from Japan and import in to the US.

ECig Video

March 5th, 2014

I’ve been thinking of making some e-cig videos to show the vapor quality, and possibly the disassembly. This will be in partnership with http://www.DiggECig.com/ as we explore the quality, reliabilty and taste of different disposable ecigs. Videos coming soon.

Magento Shipping Quotes Not Working?

March 5th, 2014

Today, I was presented with an issue and it took a little digging to get to the bottom of the solution, so I figured I would post it here.

I’ve been working with a company that makes their products in the US but sells internationally, and we have been having some success. Recently, several customers emailed to inform us that our checkout system was telling them “No Shipping Methods Available”. well this simply will not do.

So, my first steps were to recreate the order, with the customers address entered, and press get quote, it returns nothing. Next I google to see why it’s happening or common solutions.

At this point, I’ve found a few programming changes, that upon reading I see will not work, and I have another thought. What if the UPS methods I’m offering only go to some countries.

Solution:: in your shipping settings enable all the international shipping methods, then run the quote again to see which display. If you get shipping quotes, you know it was a matter of services not being offered in their area, and you can simply correct it. If you don’t have quotes dig further.

Add Google Play Services to Android SDK

February 5th, 2014

So, you want some apps,. here is the tutorial I followed to make it work on my machine.

http://www.flinkd.org/2013/12/installing-google-play-on-the-android-emulator-api-18/

Building a Faster Celica

February 5th, 2014

So, now that I have a couple ST204 Celica’s, a 94 and a 99, I’ve been considering a more extreme performance upgrade.

I’d like to swap the 5F-SE and Stock 5 Speed Transmission over to the 1MZ-FE and E153 Transmission. So, I’m going to start collecting the parts and pieces, and when I have them all, boom..

Step 1) The information… http://www.6gc.net/forums/index.php?showtopic=34002&hl=1mzfe
Step 2) The parts
Engine
Transmission (Optional) (GT is useable but 5th gear should be swapped)
ECU
Fuel Pump
Misc (Drive Shafts, Exhaust, ETC…)
Step 3) More Info,.
Header, Firewall side needs to be modified to clear steering rack
Fuel system conversion to return style
Re-Route Radiator Hoses
Wiring
ODB1 to ODB2 conversion
Custom Rear Motor Mount Custom Mount
EVAP System rigged to avoid CEL Errors
Tach Circuit Board needs modification for v6 pulse (Tach of Camry swapped with Cellica)
Custom Strut Bar
Possibly need GT4 Shift Cables
Some have had to take 1/16″ off drivers side axle to get it to retain it

MORE to come

Building a better spam filter…

January 29th, 2014

the better spam trap,.

in theory,. you could analyze the sender, and input field data to check for combos of capital letters,.

Capital Letter Theory:
Capital 1 + 2 and a capital anywhere else but not all (FAIL)
Capital 1 + 3 when 2 = c (PASS)
Capital 1-end (PASS + but switch to proper case)
Lower Case 1 + any mixed capital (FAIL)
Capitals mixed in at any other point (FAIL)

Say the sender is M7Us5ozs2 ,. it contains 3 numbers along with capitalization in a region later than the first character it is in the third character which is an acceptable position but only following a c such as McDonald

Next,.
Number Theory,.
Email addresses rarely use a number that is not connected,. sandusky1977@email.me not sandu9sk3y@gmail so,.

Multiple disconjoined numbers in email address
jrfk9g0e74z@yahoo.com -> (FAIL)

I’ll be adding this to forms, and the email processors so it will be double filtered incase bots are posting directly.