Elgin and the Stimulus plan
February 14th, 2009So how did Elgin fare in the Stimulus plan. Pretty well it seems. According to the website Stimulus watch, Elgin has some bigtime road construction on the way. Here are some of the projects that got funded:
| Riverside Drive Deck Replacement | Elgin | IL | 80 | $11,000,000 | Streets/Roads | -6 |
| Neighborhood Street Rehabilitation | Elgin | IL | 100 | $10,000,000 | Streets/Roads | -1 |
| Spartan Drive Reconstruction | Elgin | IL | 30 | $3,000,000 | Streets/Roads | 0 |
| Villa Street Resurfacing/Rechannelization | Elgin | IL | 30 | $3,000,000 | Streets/Roads | +1 |
| South Street Reconstruction | Elgin | IL | 20 | $1,500,000 | Streets/Roads | 0 |
| Big Timber Road Resurfacing | Elgin | IL | 20 | $1,000,000 | Streets/Roads | 0 |
| Kimball Street Resurfacing | Elgin | IL | 12 | $500,000 | Streets/Roads | 0 |
| McLean Blvd Resurfacing | Elgin | IL | 12 | $500,000 | Streets/Roads | 0 |
| Airlite Treatment Plant Rehabilitation | Elgin | IL | 100 | $14,000,000 | Water | -1 |
| Highland Combined Sewer Seperation | Elgin | IL | 35 | $4,500,000 | Water | +1 |
| Kimball Street Dam Repairs | Elgin | IL | 30 | $2,000,000 | Water | -1 |
| Route 20 Watermain Construction | Elgin | IL | 35 | $2,000,000 | Water | +1 |
You can check out how your city was affected on the site as well.
Share ThisRemoving Credit Card Start date from OSCommerce Payment Processing
January 31st, 2009Recently a person wrote me to ask for help with OsCommerce. They wanted the “Credit Card Start Date” and a second security code field removed from the payment information screen. I did a little investigation and it looks like other people were looking to do soemthing similar but nobody provided any information. So here is how I did it.
The file file that you will need to edit is includes/modules/payment/paypal_direct.php .
First if you want to remove the solo card and switch card from the drop down list of card types you will want to edit the cc_types array around line 35 to be the following:
$this->cc_types = array(’VISA’ => ‘Visa’,
‘MASTERCARD’ => ‘MasterCard’,
‘DISCOVER’ => ‘Discover Card’,
‘AMEX’ => ‘American Express’);
The next thing that needs to be done is removing the offending form elements. On or about line 109 you need to remove refrences to MODULE_PAYMENT_PAYPAL_DIRECT_CARD_VALID_FROM and MODULE_PAYMENT_PAYPAL_DIRECT_CARD_ISSUE_NUMBER. The confirmation variable would then look like:
$confirmation = array(’fields’ => array(array(’title’ => MODULE_PAYMENT_PAYPAL_DIRECT_CARD_OWNER,
‘field’ => tep_draw_input_field(’cc_owner’, $order->billing['firstname'] . ‘ ‘ . $order->billing['lastname'])),
array(’title’ => MODULE_PAYMENT_PAYPAL_DIRECT_CARD_TYPE,
‘field’ => tep_draw_pull_down_menu(’cc_type’, $types_array)),
array(’title’ => MODULE_PAYMENT_PAYPAL_DIRECT_CARD_NUMBER,
‘field’ => tep_draw_input_field(’cc_number_nh-dns’)),
array(’title’ => MODULE_PAYMENT_PAYPAL_DIRECT_CARD_EXPIRES,
‘field’ => tep_draw_pull_down_menu(’cc_expires_month’, $months_array) . ‘ ’ . tep_draw_pull_down_menu(’cc_expires_year’, $year_expires_array)),
array(’title’ => MODULE_PAYMENT_PAYPAL_DIRECT_CARD_CVC,
‘field’ => tep_draw_input_field(’cc_cvc_nh-dns’, ”, ’size=”5″ maxlength=”4″‘)),
));
Lastly you must remove these from the params variable so that these are processed. On about line 132 change the params like:
$params = array(’USER’ => MODULE_PAYMENT_PAYPAL_DIRECT_API_USERNAME,
‘PWD’ => MODULE_PAYMENT_PAYPAL_DIRECT_API_PASSWORD,
‘VERSION’ => ‘3.2′,
‘SIGNATURE’ => MODULE_PAYMENT_PAYPAL_DIRECT_API_SIGNATURE,
‘METHOD’ => ‘DoDirectPayment’,
‘PAYMENTACTION’ => ((MODULE_PAYMENT_PAYPAL_DIRECT_TRANSACTION_METHOD == ‘Sale’) ? ‘Sale’ : ‘Authorization’),
‘IPADDRESS’ => tep_get_ip_address(),
‘AMT’ => $this->format_raw($order->info['total']),
‘CREDITCARDTYPE’ => $HTTP_POST_VARS['cc_type'],
‘ACCT’ => $HTTP_POST_VARS['cc_number_nh-dns'],
‘EXPDATE’ => $HTTP_POST_VARS['cc_expires_month'] . $HTTP_POST_VARS['cc_expires_year'],
‘CVV2′ => $HTTP_POST_VARS['cc_cvc_nh-dns'],
‘FIRSTNAME’ => substr($HTTP_POST_VARS['cc_owner'], 0, strpos($HTTP_POST_VARS['cc_owner'], ‘ ‘)),
‘LASTNAME’ => substr($HTTP_POST_VARS['cc_owner'], strpos($HTTP_POST_VARS['cc_owner'], ‘ ‘)+1),
‘STREET’ => $order->billing['street_address'],
‘CITY’ => $order->billing['city'],
‘STATE’ => tep_get_zone_code($order->billing['country']['id'], $order->billing['zone_id'], $order->billing['state']),
‘COUNTRYCODE’ => $order->billing['country']['iso_code_2'],
‘ZIP’ => $order->billing['postcode'],
‘EMAIL’ => $order->customer['email_address'],
‘PHONENUM’ => $order->customer['telephone'],
‘CURRENCYCODE’ => $order->info['currency'],
‘BUTTONSOURCE’ => ‘osCommerce22_Default_DP’);
After all these changes you should be able to still accept credit card payments via PayPal and you don’t have these superfluous fields.
If you would like me to make these changes for you please let me know and I would be happy to help you out.
Share ThisTest Post to see if twitter works
January 9th, 2009This is a test post to my blog to see if an update is sent to twitter. I am using the Twitter Updater plugin to do this.
Share ThisYour Daily Dose of Mom
December 19th, 2008Google Maps off on Fermilab
November 28th, 2008Today the “Kane County Chronical” is running a story about a local resident who found that Fermi Lab is located in the wrong place on Google Maps. He is quoted as saying “I wondered what was going on, It just seemed very weird.” Wierd indeed, you see Google has chosen to use Tele Atlas as thier data provider of choice. This means that a European data provider is providing map data for the United States. This is just one example of how much Tele Atlas’s data stinks! So while Google Maps is free and cool it might not always get you where you want to go.
Here is the whole article:
BATAVIA – Fermilab is a high physics laboratory where scientists are trying to answer one of the biggest questions in the universe – how does the universe work?
Now officials at Fermilab are baffled by another mystery – why does Google Maps show Fermi National Accelerator Lab as being along Route 47 between McDonald and Burlington roads when its campus is located in Batavia, 15 miles east of that location?
St. Charles resident Chris Madsen came across this mystery recently. He uses Google Maps for a Web page he runs for the Kane County Audubon Society.
“I wondered what was going on,” Madsen said. “It just seemed very weird.”
Fermilab spokesman Kurt Riesselmann is also perplexed.
“The Department of Energy doesn’t own land out there,” Riesselmann said. “I don’t know what it is, whether it is farmland or something like that.”
The DOE owns Fermilab.
Riesselmann said Fermilab officials plan to contact Google.
“We will work with Google to solve this mystery,” Riesselmann said.
Fermilab, originally named the National Accelerator Laboratory, was commissioned by the U.S. Atomic Energy Commission, under a bill signed by President Lyndon Johnson on November 21, 1967. Fermilab’s 6,800-acre site originally was home to farmland, and to the village of Weston.
Following funding cutbacks, President Bush this summer signed legislation that provides $62.5 million for the Office of Science to ensure that Fermilab, Argonne and other scientific facilities are able to continue their research and retain staff.
As an aside when I check Google maps this morning it looks like Fermi is in the proper place now.
Share ThisIs Affiliate Marketing a middle America Thing
October 21st, 2008In a recent affiliate marketing contest the following results where published:
Sales Tier 1 (over $10,000 in Shipped Sales) - $500 CASH BONUS
Craig C. - IL
Jaimes S. - NV
Stewart R. - NV
Bradley O. - WI
Thanh T. - NV
Sales Tier 2 (over $5,000 in Shipped Sales) - $300 CASH BONUS
Kyunghhwa P. - KR
T. Martini - WA
Jerome M. - DE
Srinivas T. - TX
Haiyun G. - CA
Sales Tier 3 (over $2,500 in Shipped Sales) - $200 CASH BONUS
Matthew T. - VA
Ratna V. - CA
Natasha O. - CA
Allan G. - AU
Greg K. - CA
From the results you can see that the results are from places I would deem middle America. Makes me wonder if where you live plays a role into people getting into this business.
Share ThisWatching the cubs hurts
October 4th, 2008Oh my watching the cubs tonight is painful. It seems like 2003 all over again. ![]()
