About admin

I'm a friendly, honest, creative individual. I have a vast area of interest and somehow manage to frequently tackle too much at once and yet wrestle it into a choke-hold. You'll usually find me sitting behind a computer working on something relating to my business. If not there, then working on a car or doing something else to keep me occupied.

No attachments or Registration Captcha image in SMF after upgrade to 2.0 RC1

smf

Problem/Symptom:

No attachments in Simple Machines (SMF) 2.0 RC1 after upgrade. No captcha images in the registration area of SMF 2.0 RC1 after recently upgrading.

Solution:

Find and replace the code snippets below..

Find:

// Walk the right path.      if (!empty($modSettings['currentAttachmentUploadDir']))
{
if (!is_array($modSettings['attachmentUploadDir']))
$modSettings['attachmentUploadDir'] = unserialize($modSettings['attachmentUploadDir']);
$path = $modSettings['attachmentUploadDir'][$dir];
}
else
$path = $modSettings['attachmentUploadDir'];

Replace with:

// Walk the right path.
if (!empty($modSettings['currentAttachmentUploadDir']))
{
if (!is_array($modSettings['attachmentUploadDir']))
$modSettings['attachmentUploadDir'] = unserialize($modSettings['attachmentUploadDir']);
$path = $modSettings['attachmentUploadDir'][$modSettings['currentAttachmentUploadDir']];
}
else
$path = $modSettings['attachmentUploadDir'];

My Personal Experience:
After recently upgrading my 1.1.6 version of SMF to 1.1.9 and having issues with that upgrade, I decided to just go ahead and upgrade to 2.0 RC1 since I’ve been running it on several forums with great success. After a successful upgrade, I tried testing the registration process and the captcha images were not showing. A few minutes later I tried a test post with an attachment and the result was a blank page. I posted another test post without an image and tried modifying it afterward and loading an attachment. That resulted in another blank page. After searching around, I found this code snippet that cured both issues.

Solution referenced from:
http://www.simplemachines.org/community/index.php?topic=312047.msg2073091#msg2073091

Geeksquad fail report

FOX12 in Oregon decided to do a little investigative reporting on computer repair shops. Unfortunately for the Geeksquad, someone exposed their habit of “over-diagnosing” and over-charging their customers. Check out the video below for the full report. The Geeksquad missed the mark pretty badly..

http://www.kptv.com/video/19513766/

San Diego Business Network

In today’s economy, marketing is on the top of everyone’s to-do lists. Fresh leads, repeat business, click-thru rates, and conversion rates, are more important than ever. However, marketing in a cost-effective and strategic manner goes above and beyond charts and analytics. Making your business personable has shown to be one of any company’s greatest allies in today’s struggling economy. Luckily, the growth and world-wide adoption of the internet and social networking over the past several years has laid the groundwork for businesses. By joining in on these social networks, your business can tap into a wide range of consumers and other businesses, create meaningful and mutually beneficial relationships, and bottom line, grow your business!

Join the San Diego Business Network

Obama’s newly appointed White House “Drug Czar” Calls for end to “War on Drugs”

drugczarThe Obama administration’s new drug czar says he wants to banish the idea that the U.S. is fighting “a war on drugs,” a move that would underscore a shift favoring treatment over incarceration in trying to reduce illicit drug use.

In his first interview since being confirmed to head the White House Office of National Drug Control Policy, Gil Kerlikowske said Wednesday the bellicose analogy was a barrier to dealing with the nation’s drug issues.

“Regardless of how you try to explain to people it’s a ‘war on drugs’ or a ‘war on a product,’ people see a war as a war on them,” he said. “We’re not at war with people in this country.”

From http://online.wsj.com/article/SB124225891527617397.html