Wednesday 18 July 2012

Ubercart 3 Module List


I have compiled a list of Ubercart 3 compatible modules. I haven't gone through the tested all the module as thats a huge task. Also please beware the some of these might be in dev status and not fully functional or just being ported.
If you notice any missing modules please edit this page and add it in.
  1. Adyen Ubercart Payment
    This module provides an Ubercart payment method to embed the payment services provided by Adyen VIEW THIS MODULE
  2. Agreservations
    The agreservations-module is a module to handle reservations of resources. VIEW THIS MODULE
  3. Ajax Blocks
    Permits to load some blocks by additional AJAX request after loading the whole cached page when the page is viewed by anonymous user. VIEW THIS MODULE
  4. Alipay
    Alipay is a popular Chinese payment gateway. This module provides support for it. Ubercart required. VIEW THIS MODULE
  5. Attribute Stock
    This modules works with attributes of products. It allows you to combine several attributes info one and keep track of stock level. VIEW THIS MODULE
  6. Authorize.Net SIM/DPM Payment Methods
    The Ubercart Authorize.Net SIM/DPM Payment Methods module provides two additional payment methods to Ubercart for users of the Authorize.Net payment processing service. VIEW THIS MODULE
  7. Balance Tracker
    Balance Tracker creates a balance sheet to display account credits and debits belonging to users. VIEW THIS MODULE
  8. Bank Transfer
    This module provides an Ubercart payment method. It helps to display the shop's bank account details to the customer so a direct money transfer can be initiated by the customer. VIEW THIS MODULE
  9. Brazilian Payments for Ubercart
    Brazilian Payments for Ubercart will integrate the main payments gateways used in brazilian market to Ubercart project. This module will support Drupal 7 and up versions. VIEW THIS MODULE
  10. Canada Post
    This module is used to obtain Canada Post shipping quotes for Ubercart. VIEW THIS MODULE
  11. Canpar Shipping Quotes
    This module allows Ubercart to obtain shipping quotes from Canpar. It supports both the Canpar base rates and your shipper account-specific custom rates. VIEW THIS MODULE
  12. Colorbox
    Colorbox is a light-weight, customizable lightbox plugin for jQuery 1.3 through 1.6. This module allows for integration of Colorbox into Drupal. VIEW THIS MODULE
  13. Course
    Allows any content-type to be used as an e-learning course, containing any number of graded or ungraded course objects. VIEW THIS MODULE
  14. Crumbs
    Crumbs is a new approach to give your Drupal site a consistent and flexibly customized pattern of breadcrumbs. VIEW THIS MODULE
  15. Dotpay
    Module integrating Polish payment system Dotpay.pl with Ubercart. VIEW THIS MODULE
  16. Dynamic display block
    Dynamic display block slideshows are mainly used to showcase featured content at a prominent place on the frontpage of the site in an attractive way. VIEW THIS MODULE
  17. Early Bird Discount
    This is a discount module for Ubercart which allows for date-based discounts without coupon codes that can be set per node at product creation. VIEW THIS MODULE
  18. Easyrec
    This module integrates the product recommender functionality of easyrec into an ubercart shop. VIEW THIS MODULE
  19. EMS Russian post shipping
    EMS Russian Post shipping module for Ubercart. VIEW THIS MODULE
  20. eWay Payment Gateway
    Ubercart integration with the Australia payment gateway eWay, VIEW THIS MODULE
  21. Extra Fields Checkout Pane
  22. Extra Fields Checkout Pane
    This modules allows an administrator to define additional (billing and shipping) address fields (i.e. VAT) as well as custom order fields in Ubercart e-commerce suite. These fields will be available during checkout process and in order handling pages. VIEW THIS MODULE
  23. FedEx Shipping
    Shipping quote module for Ubercart that uses the FedEx Web Services API to get rate quotes directly from the FedEx server. VIEW THIS MODULE
  24. Field attributes
    This module links Ubercart's attribute system to Drupal core's fields API and allows to automatically create product attributes from fields and options from themulti-values. VIEW THIS MODULE
  25. Forgotten Login
    "Forgotten Login", monitors and reacts to failed logins. VIEW THIS MODULE
  26. Global Quote
    Ubercart Shipping quote module that provides custom shipping quotes based on configurable weight ranges and custom shipping zones. VIEW THIS MODULE
  27. Google Analytics
    Adds the Google Analytics web statistics tracking system to your website. VIEW THIS MODULE
  28. Hotel Booking System
    he uc_hotel module is a hotel booking system for Drupal and Ubercart. VIEW THIS MODULE
  29. iDEAL
    Allows users to make bank transfers between Dutch bank accounts using the the iDEAL payment API. VIEW THIS MODULE
  30. Is Useful
    Adds iTunes/Amazon.com style "Was this useful?" ratings to entities. VIEW THIS MODULE
  31. jQZoom
    The jQZoom module is a wrapper for the jQuery plugin jQZoom. The module provides a javascript magnification effect for images. When a user mouses over an image, a larger version of the area under the cursor will be displayed beside the image. VIEW THIS MODULE
  32. Node access product
    Provides 'Node access' settings for product nodes, whereby users who purchase the product are granted view access to content, which can be predefined either by taxonomy, by node, or by Views. VIEW THIS MODULE
  33. Package Tracking
    This module lets your customer (or you, the admin) track shipped packages. VIEW THIS MODULE
  34. Pay-per-node
    This module allows creation of a number of nodes of chosen type for some users. VIEW THIS MODULE
  35. Payment
    A general payment platform which allows other modules to use any of the payment methods that plug into Payment. VIEW THIS MODULE
  36. Payonline.ru payment for Ubercart VIEW THIS MODULE
  37. Products Recommender
    This module provides two default views. Users who ordered this product also ordered and Personal recommendation based on your previous purchase. VIEW THIS MODULE
  38. Quickbooks Merchant Service
    This module provides a credit cart payment gateway for the uc_credit module through Quickbooks Merchant Services (QBMS) for Web Store. This is NOT full Quickbook integration. This module simply processes credit cards through QMBS for a merchant with a QBMS account. VIEW THIS MODULE
  39. Reorder button for Ubercart
    Repeat customers are your best customers; you can rely on them to keep coming back to your store so long as you provide the goods or services they need. VIEW THIS MODULE
  40. Simplenews subscription
    Provide a simplenews newsletter subscription pane for the ubercart checkout. VIEW THIS MODULE
  41. Stripe
    Aiming at some stripe (https://stripe.com/) integration. All are welcome to help out. VIEW THIS MODULE
  42. Ubercart Addresses
    The uc_addresses module adds support for one or more addresses in the user's profile. VIEW THIS MODULE
  43. Ubercart Affiliate v2
    This (uc_affiliate2) is a module providing affiliate functionality for Ubercart. VIEW THIS MODULE
  44. Ubercart Attribute Files
    This module allows you to create file upload attributes for Ubercart. Potential uses include print-shops where the user must upload an image prior to checkout. VIEW THIS MODULE
  45. Ubercart attributes in cart
    This module allows site administrators using the Ubercart and its Attribute modules to let their visitors change attributes of products they have added to their cart on their cart page. VIEW THIS MODULE
  46. Ubercart Auction
    This module allows you to auction off products in your Ubercart store. When a product is put up for auction, users can no longer add the item to their cart, but they may place bids on it until the auction expires. VIEW THIS MODULE
  47. Ubercart Barclays EPDQ payment gateway
    Integrate Barclays EPDQ payment gateway service. VIEW THIS MODULE
  48. Ubercart Cart Login Flow
    This module provides different behaviors, depending on the source of the user when logs in. VIEW THIS MODULE
  49. Ubercart Checkout.fi Payment Method
    This module implements Finnish Checkout.fi payment gateway as an Ubercart payment method. VIEW THIS MODULE
  50. Ubercart Custom Price
    The initial idea of this module was to allow custom PHP code to be associated with a product in order to adjust the price of the product. VIEW THIS MODULE
  51. Ubercart Discount Coupons
    This module provides discount coupons for Ubercart stores. VIEW THIS MODULE
  52. Ubercart Google Merchant Integration
    The Ubercart Google Merchant Integration module allows you to fully integrate your ubercart products with Google Merchant. VIEW THIS MODULE
  53. Ubercart MIGS Gateway
    MIGS (MasterCard Internet Gateway Service) 3-party payment processor for Ubercart. VIEW THIS MODULE
  54. Ubercart Optional Checkout Review
    Makes the review button on the Ubercart checkout page optional (set by store admin). VIEW THIS MODULE
  55. Ubercart Payment Method Adjustments
    uc_pma is an add-on module for the Ubercart e-commerce suite. The Drupal 5 version is compatible with Ubercart 1.0 rc2 and above. The Drupal 6 version has been tested with Ubercart 2.0 rc7. VIEW THIS MODULE
  56. Ubercart Product Actions
    This simple module aims to assist Ubercart shop managers with making mass-changes (bulk update / blanket changes) to product data, including weight and prices, by implementing Drupal Actions which can be used in custom code or in conjunction with the excellent Views Bulk Operations (VBO) module. VIEW THIS MODULE
  57. Ubercart Product Checkout Panes
    Specify which panes should appear during checkout either by product class or for any specific product. VIEW THIS MODULE
  58. Ubercart Product Minimum & Maximum
    Ubercart compatible module. Adds minimum, maximum and order in multiples limits on products. Checks that the quantity selected matches the limits during both Add To Cart and Checkout actions. Quantity checks are disabled when product is added to the cart as part of a product kit. VIEW THIS MODULE
  59. Ubercart Realex
    This module provides an Ubercart payment method for the Realex payment gateway. VIEW THIS MODULE
  60. Ubercart Restrictions
    This module will do its best to prevent the wrong sort of people from ordering the wrong sort of goods, or to ship them to the wrong kinds of places. VIEW THIS MODULE
  61. Ubercart Sage Pay
    This module allowsUbercart to accept credit card payments via Sage Pay without redirecting the user offsite. VIEW THIS MODULE
  62. Ubercart Sermepa Payment Systems
    View Version control Revisions Posted by pcambra on November 11, 2009 at 7:23pm his module gathers payment methods for spanish banks that use Sermepa systems. VIEW THIS MODULE
  63. Ubercart Terms of Service
    This module includes an Terms of Service text (aka terms and conditions) and a [x] I agree with the Terms of Service checkbox for the cart or the checkout page of the purchase using Ubercart. VIEW THIS MODULE
  64. Ubercart Webform Checkout Pane
    This module allows you to define Webform nodes as checkout/order panes in Ubercart. VIEW THIS MODULE
  65. UC Add to Cart Block
    Site admins that want to make use of the "Add to Cart" form without using Views or forcibly typing in the PHP to load it, this module is for you. This module creates a simple "Add to Cart" block which can be re-used anywhere in the site, including in Panels! VIEW THIS MODULE
  66. UC Bitcoin
    A Bitcoin payment method for the Ubercart shopping cart based on Mike Gogulski's creation. VIEW THIS MODULE
  67. UC CiviCRM
    Ubercart and CiviCRM integration. VIEW THIS MODULE
  68. UC Dropdown Attributes
    Ubercart uses attributes for specifying variations for a product. Attributes can specify color or size of a article of clothing or they can specify different sizes of a product, each with their own price and SKU. VIEW THIS MODULE
  69. UC Free Order Payment Method
    The UC Free Order Payment Method module works in conjunction with the payment checkout pane using the order total preview to present a "Free order" payment method to customers when their order total drops to $0.00 or less. VIEW THIS MODULE
  70. UC GoPay
    Integration of the GoPay payment gateway to Übercart. The GoPay payment gateway could be currently used at e-shops in the Czech and Slovak Republic and accepts transaction in CZK. VIEW THIS MODULE
  71. UC Panels
    This module provides basic integration of Ubercart with CTools and Panels. This is a port to Drupal 7 and the latest CTools API originally posted by LPCA in #658732: Ubercart in Panels. VIEW THIS MODULE
  72. UC PayGate
    Payment redirect page for Ubercart using PayGate VIEW THIS MODULE
  73. UC Price Visibility
    Often, you want to advertise your products without revealing the prices, and show something like, "contact us for pricing." This Ubercart module allows you to show or hide product pricing per role, on a product-by-product basis. VIEW THIS MODULE
  74. UC Product Power Tools
    Product "Power Tools" for Ubercart gives the store admin a number of options for altering the product creation form. VIEW THIS MODULE
  75. UC Sage Payments Gateway
    Ubercart Payment Gateway for Sage Payment Solutions. VIEW THIS MODULE
  76. UC Shipwire (Order Fulfillment)
    This module provides shipping integration for Ubercart and Shipwire. It currently supports all 4 API methods from ShipWire: VIEW THIS MODULE
  77. Who Bought What|Ubercart
    INITIAL VERSION 7 now available. Trying to release it with Git, otherwise, find it in the issues This is for Ubercart. If you are using Ubercart to sell tickets or entries to an event or perhaps a race, it's very helpful to have a list, per item, of who bought what. For a competition, this will become an entry list. For a performance, this may become your will-call attendance list. VIEW THIS MODULE

How to view result for Computing a field from a view


 // Views handles this page
  $view = views_get_view('view name');
  $view->set_display('default');
  $view->set_arguments(array($tid));
  $view->sort_form = $sort_form;
  // apply the 'Topics per page' setting from core Forum
  $view->display['default']->handler->options['items_per_page']=$forum_per_page;
  
$view->execute();

foreach($view->result as $row){
/**
* DO YOUR STUFF HERE  
*/
}

Monday 16 July 2012

Here is the list of 43 short tips you can use for writing an optimized and more efficient PHP code:



  1. If a method can be static, declare it static. Speed improvement is by a factor of 4.
  2. echo is faster than print.
  3. Use echo's multiple parameters instead of string concatenation.
  4. Set the maxvalue for your for-loops before and not in the loop.
  5. Unset your variables to free memory, especially large arrays.
  6. Avoid magic like __get, __set, __autoload
  7. require_once() is expensive
  8. Use full paths in includes and requires, less time spent on resolving the OS paths.
  9. If you need to find out the time when the script started executing, INSERT:CONTENT:END SERVER['REQUEST_TIME'] is preferred to time()
  10. See if you can use strncasecmp, strpbrk and stripos instead of regex
  11. str_replace is faster than preg_replace, but strtr is faster than str_replace by a factor of 4
  12. If the function, such as string replacement function, accepts both arrays and single characters as arguments, and if your argument list is not too long, consider writing a few redundant replacement statements, passing one character at a time, instead of one line of code that accepts arrays as search and replace arguments.
  13. It's better to use select statements than multi if, else if, statements.
  14. Error suppression with @ is very slow.
  15. Turn on apache's mod_deflate
  16. Close your database connections when you're done with them
  17. $row['id'] is 7 times faster than $row[id]
  18. Error messages are expensive
  19. Do not use functions inside of for loop, such as for ($x=0; $x < count($array); $x) The count() function gets called each time.
  20. Incrementing a local variable in a method is the fastest. Nearly the same as calling a local variable in a function.
  21. Incrementing a global variable is 2 times slow than a local var.
  22. Incrementing an object property (eg. $this->prop++) is 3 times slower than a local variable.
  23. Incrementing an undefined local variable is 9-10 times slower than a pre-initialized one.
  24. Just declaring a global variable without using it in a function also slows things down (by about the same amount as incrementing a local var). PHP probably does a check to see if the global exists.
  25. Method invocation appears to be independent of the number of methods defined in the class because I added 10 more methods to the test class (before and after the test method) with no change in performance.
  26. Methods in derived classes run faster than ones defined in the base class.
  27. A function call with one parameter and an empty function body takes about the same time as doing 7-8 $localvar++operations. A similar method call is of course about 15 $localvar++ operations.
  28. Surrounding your string by ' instead of “ will make things interpret a little faster since php looks for variables inside ”..." but not inside '...'. Of course you can only do this when you don't need to have variables in the string.
  29. When echoing strings it's faster to separate them by comma instead of dot. Note: This only works with echo, which is a function that can take several strings as arguments.
  30. A PHP script will be served at least 2-10 times slower than a static HTML page by Apache. Try to use more static HTML pages and fewer scripts.
  31. Your PHP scripts are recompiled every time unless the scripts are cached. Install a PHP caching product to typically increase performance by 25-100% by removing compile times.
  32. Cache as much as possible. Use memcached - memcached is a high-performance memory object caching system intended to speed up dynamic web applications by alleviating database load. OP code caches are useful so that your script does not have to be compiled on every request
  33. When working with strings and you need to check that the string is either of a certain length you'd understandably would want to use the strlen() function. This function is pretty quick since it's operation does not perform any calculation but merely return the already known length of a string available in the zval structure (internal C struct used to store variables in PHP). However because strlen() is a function it is still somewhat slow because the function call requires several operations such as lowercase & hashtable lookup followed by the execution of said function. In some instance you can improve the speed of your code by using an isset() trick.
    Example:if (strlen($foo) < 5) { echo "Foo is too short"; }
    vs.
    if (!isset($foo{5})) { echo "Foo is too short"; }
    Calling isset() happens to be faster then strlen() because unlike strlen(), isset() is a language construct and not a function meaning that it's execution does not require function lookups and lowercase. This means you have virtually no overhead on top of the actual code that determines the string's length.
  34. When incrementing or decrementing the value of the variable $i++ happens to be a tad slower then ++$i. This is something PHP specific and does not apply to other languages, so don't go modifying your C or Java code thinking it'll suddenly become faster, it won't. ++$i happens to be faster in PHP because instead of 4 opcodes used for $i++ you only need 3. Post incrementation actually causes in the creation of a temporary var that is then incremented. While pre-incrementation increases the original value directly. This is one of the optimization that opcode optimized like Zend's PHP optimizer. It is a still a good idea to keep in mind since not all opcode optimizers perform this optimization and there are plenty of ISPs and servers running without an opcode optimizer.
  35. Not everything has to be OOP, often it is too much overhead, each method and object call consumes a lot of memory.
  36. Do not implement every data structure as a class, arrays are useful, too
  37. Don't split methods too much, think, which code you will really re-use
  38. You can always split the code of a method later, when needed
  39. Make use of the countless predefined functions
  40. If you have very time consuming functions in your code, consider writing them as C extensions
  41. Profile your code. A profiler shows you, which parts of your code consumes how many time. The Xdebug debugger already contains a profiler. Profiling shows you the bottlenecks in overview
  42. mod_gzip which is available as an Apache module compresses your data on the fly and can reduce the data to transfer up to 80%
  43. Excellent Article about optimizing php by John Lim

8 Practical PHP Regular Expressions



Validating a Username:
Quote: Something often overlooked, but simple to do with a regular expression would be username validation. For example, we may want our usernames to be between 4 and 28 characters in length, alpha-numeric, and allow underscores. PHP Code: $string = "userNaME4234432_";
if (preg_match('/^[a-z\d_]{4,28}$/i', $string)) {
echo "example 1 successful.";
}
Telephone Numbers:
Quote: Number in the following form: (###) ###-#### PHP Code: $string = "(232) 555-5555";
if (preg_match('/^(\(?[0-9]{3,3}\)?|[0-9]{3,3}[-. ]?)[ ][0-9]{3,3}[-. ]?[0-9]{4,4}$/', $string)) {
echo "example 2 successful.";
}
Emails:
PHP Code: $string = "first.last@domain.co.uk";
if (preg_match(
'/^[^0-9][a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)*[@][a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)*[.][a-zA-Z]{2,4}$/',
$string)) {
echo "example 3 successful.";
}
Postal Codes:
PHP Code: $string = "55324-4324";
if (preg_match('/^[0-9]{5,5}([- ]?[0-9]{4,4})?$/', $string)) {
echo "example 4 successful.";
}
Ip Address:
PHP Code: $string = "255.255.255.0";
if (preg_match(
'^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:[.](?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$',
$string)) {
echo "example 5 successful.";
}
Hexadecimal Colors:
PHP Code: $string = "#666666";
if (preg_match('/^#(?:(?:[a-f\d]{3}){1,2})$/i', $string)) {
echo "example 6 successful.";
}
Multi-line Comments:
PHP Code: $string = "/* commmmment */";
if (preg_match('/^[(/*)+.+(*/)]$/', $string)) {
echo "example 7 successful.";
}
Dates:
Quote: MM/DD/YYYY format PHP Code: $string = "10/15/2007";
if (preg_match('/^\d{1,2}\/\d{1,2}\/\d{4}$/', $string)) {
echo "example 8 successful.";
}
Some might be more/less useful than the others but that will depend on the project you are working on.

How to Install Node.js Essay Steps


This was the first in a series of posts leading up to Node.js Knockout on how to use node.js.
I have been given permission to repost the articles from the contest here (in wheat format) for general consumption. Expect more to come.
In this post we detail how to install node on MacUbuntu, and Windows.

Mac

If you're using the excellent homebrew package manager, you can install node with one command: brew install node.
Otherwise, follow the below steps:
  1. Install Xcode.
  2. Install git.
  3. Run the following commands:
darwin_setup.sh
git clone git://github.com/ry/node.git cd node ./configure make sudo make install
You can check it worked with a simple Hello, World! example.

Ubuntu

  1. Install the dependencies:
    • sudo apt-get install g++ curl libssl-dev apache2-utils
    • sudo apt-get install git-core
  2. Run the following commands:
ubuntu_setup.sh
git clone git://github.com/ry/node.git cd node ./configure make sudo make install
 Step 3 - Install NPM
Simply run the NPM install script:
curl http://npmjs.org/install.sh | sudo sh
And then check it works:
npm -v
You can check it worked with a simple Hello, World! example.
Thanks to code-diesel for the Ubuntu dependencies.

Windows

Currently, you must use cygwin to install node. To do so, follow these steps:
  1. Install cygwin.
  2. Use setup.exein the cygwin folder to install the following packages:
    • devel → openssl
    • devel → g++-gcc
    • devel → make
    • python → python
    • devel → git
  3. Open the cygwin command line with Start > Cygwin > Cygwin Bash Shell.
  4. Run the below commands to download and build node.
cygwin_setup.sh
git clone git://github.com/ry/node.git cd node ./configure make sudo make install
For more details, including information on troubleshooting, please see the GitHub wiki page.

Hello Node.js!

Here's a quick program to make sure everything is up and running correctly:
hello_node.js
var http = require('http'); http.createServer(function (req, res) {   res.writeHead(200, {'Content-Type': 'text/plain'});   res.end('Hello Node.js\n'); }).listen(8124, "127.0.0.1"); console.log('Server running at http://127.0.0.1:8124/');
Run the code with the node command line utility:
> node hello_node.js Server running at http://127.0.0.1:8124/ 
Now, if you navigate to http://127.0.0.1:8124/ in your browser, you should see a nice message.

Congrats!

You've installed node.js.

Installing Node.js and NPM on Ubuntu/Debian


his is just short snippet on how to install Node.js (any version) and NPM (Node Package Manager) on your Ubuntu/Debian system.
Step 1 - Update your system
sudo apt-get update
sudo apt-get install git-core curl build-essential openssl libssl-dev
Step 2 - Install Node.js
First, clone the Node.js repository:
git clone https://github.com/joyent/node.git
cd node
Now, if you require a specific version of Node:
git tag # Gives you a list of released versions
git checkout v0.4.12
Then compile and install Node like this:
./configure
make
sudo make install
Then, check if node was installed correctly:
node -v
Step 3 - Install NPM
Simply run the NPM install script:
curl http://npmjs.org/install.sh | sudo sh
And then check it works:
npm -v
That's all.

Node.js integration to Drupal.



Node.js integration
===================
This module adds Node.js integration to Drupal.
Setup
=====
1. Install Node.js.

 Installing Node.js and NPM on Ubuntu/Debian

How to Install Node.js

2. Install required Node.js modules with the Node Package Manager (NPM).
Make sure you are in the nodejs module directory - NPM needs the package.json
file that comes with the nodejs module to install the right modules.
cd path/to/your/nodejs/module/directory
npm install
npm uninstall express
npm install express@2.5.9
3. Create a 'nodejs.config.js' file in your nodejs module directory.
Read the 'nodejs.config.js.example' file. A basic configuration can be as simple as:
/**
* This configuration file was built using the 'Node.js server configuration builder'.
* For a more fully commented example see the file nodejs.config.js.example in the root of this module
*/
backendSettings = {
"scheme":"http",
"host":"192.168.1.61",
"port":8080,
"key":"/path/to/key/file",
"cert":"/path/to/cert/file",
"resource":"/socket.io",
"publishUrl":"publish",
"serviceKey":"",
"backend":{
"port":80,
"host":"localhost",
"messagePath":"/drupal7/nodejs/message/"},
"clientsCanWriteToChannels":false,
"clientsCanWriteToClients":false,
"extensions":"",
"debug":true,
"transports":["websocket",
"flashsocket",
"htmlfile",
"xhr-polling",
"jsonp-polling"],
"jsMinification":true,
"jsEtag":true,
"logLevel":1};
Set debug to false when you are happy with your setup.
4. Run the node server with the command: node server.js
As long as you have 'debug: true' in your configuration file, you'll see lots of helpful messages.