Share the world

How to make “Upload Images” for album photos works in Drupal

Posted in How to .. by quyan213 on December 15, 2009
Tags: , , , , , , ,

Please follow the step-by-step upgrade instructions at the end of this post, it is import to do it that way because the module has the same name but a different folder structure..

Current Features
– Flash 10 Support (tested with 10,0,12,36)
– One button to select the images, uploading does start automatically
– Display of the queued images, successfully uploaded images disappear from the queue after a few seconds
– Live-Preview of uploaded photos, each photo is linked to its site and below a link to the album is displayed
– Upload-Errors are displayed if it is a “user-error” like illegal filetype, size, zip files and so on..
– More detailed errors are logged with watchdog
– Flash upload is possible at /photos/upload and /node/-id-/photos (if node is an album or a node type which allows photo uploads)
– Link to the classic upload script and back…
– Flash detection, should display an errors when loading of flash fails (not sure how good this works… )
– Errors, Queue and Preview are displayed as collapsible form fieldsets…
– general.pot and german translation

– (technical) refactored the upload function into multiple methods
– (technical) removed the upload_node function, as it is not needed anymore

Not yet working stuff
– flash upload at edit node / create node forms
– Cancel queue function ( is there actually any need for this ? )
– configuring the look of the upload button

Upgrade instructions
1. Disable phtos_swfu at /admin/build/modules
2. Delete, photos_swfu.module and the directory v102demo
3. Upload the folder photos_swfu from the attachment into sites/all/modules/photos
4. Re-enable photos_swfu module
5. (Probably not necessary but to be sure… ) clear the cache at /admin/settings/performance


How To Persuade Your Users, Boss or Clients

Posted in How to .. by quyan213 on October 12, 2009

Whether you are getting a client to sign off on a website’s design or persuade a user to complete a call to action, we all need to know how to be convincing. Like many in the Web design industry, I have a strange job. I am part salesperson, part consultant and part user experience designer. One day I could be pitching a new idea to a board of directors, the next I might be designing an e-commerce purchasing process. There is, however, a common theme: I spend most of my time persuading people.


How To Integrate Facebook With WordPress

Posted in How to .. by quyan213 on September 28, 2009
Tags: , , , , ,

Facebook is one of those Web phenomena that impress everyone with numbers. To cite some: about 250 million users are on Facebook, and together they spend more than 5 billion minutes on Facebook… every day. These numbers suggest that we should start thinking about how to use Facebook for blogging or vice versa.

We did some research to find out how the integration of Facebook with WordPress and vice versa works, or — in other words — how you can present your WordPress blog on Facebook or use the functionality of Facebook on your WordPress-powered blog. Both of these can be achieved with a set of WordPress plug-ins, a couple of which we’ll present here in detail.