Showing posts with label drupal website. Show all posts
Showing posts with label drupal website. Show all posts

Tuesday, April 22, 2014

84. Steps for launching a drupal site ?

Performance

·         Go to Site Configuration -> Performance and within the Cache area enable Cache pages for anonymous users and Cache blocks by clicking in the checkbox if necessary. You should see checks appear.
·         Within Bandwidth Optimization enable Compress cached pages, Aggregate and compress CSS files, and Aggregate JavaScript files.
·         Turn off unnecessary modules, such as Devel.


User Interaction

·         Protect your forms against spam and attacks.
·         What kind of forms are anonymous and authenticated users able to access on your site?
·         Have you enabled CAPTCHA, reCAPTCHA, or an anti-spam service such as Mollom?
·         Email: Verify that the site email address in /admin/config/system/site-information is not a test address. Also verify email addresses in other modules that send notifications, and verify the text of email messages your site generates.
·         Index your site for search at search settings and test.


Domain

·         Check if one of the domain redirect options is enabled in the .htaccess file. Either redirect URLs without www. or vice versa.
·         Web Services
·         Update API keys for modules that make use of them, such as Mollom, Twitter, or Google Apps.


Security

·         Check that your admin passwords are secure.
·         Upgrade Drupal Core and Contrib modules to the latest version.
·         Turn off on-screen error reporting at admin/config/development/logging. (admin/settings/error-reporting for Drupal 6)
·         On the Permissions page, verify what permissions anonymous and authenticated users have been given.
·         On the User Settings page, verify that account creation settings are as you intend (can users create their own accounts, and do they need approval?).
·         Check Reports > Status report and make sure there are no warnings or errors.


Backups and Maintenance

·         Cron - If cron is not running, your database will get bloated.
·         Backups - Regular database backups are essential. Check out the Backing up and migrating section for more information.
·         Statistics - You'll want to monitor your site going forward. Do you plan to use Drupal core statistics, or have you set up another service such as Google Analytics?
·         Check Reports > Recent log entries for errors and warnings, such as missing files or URLs. Check that there are no red flags in Status Report.


Quality Assurance

·         Remove test content, such as "lorum ipsum" text, dummy users, or content generated by the Devel module.


Sunday, February 14, 2010

25. How to post videos from mobile to Drupal website ?

Posting video from mobile phone to drupal website via email requests from user to configure a mobile phone with smtp settings and reasonable Internet connection (3g). Costs depends from your mobile phone provider: at some networks you pay only for transfer volume, at others you might pay for "event" of establishing connection.
On server side you will probably need to setup smtp server and provide access to it to users of your website. Transcoding of posted video employs ffmpeg, its standard software on proper hosting server.
Process Overview
1. Email with video attachment from mobile phone is sent to a defined mailbox
2. Drupal website downloads Mail on cron (mailhandler module)
3. Emails are turned into nodes with videos as attachments
4. Media Mover runs on cron, trans-coding mobile video formats and creating thumbnails
5. Transcoded flash video files are added to cck file field
6. Thumbnail added to file field
7. Nodes are themed using swftools to display video using "JWplayer"
Modules used
• Mailhandler
• Mailssave
• Mediamover
• SWFTools
• FFMPEG_wrapper
• cck
• filefield
• imagefield