List of Publically accessible drupal sites you can play around with

2009
18
Dec
2

Here's a list of sites for drupal developers to play around with.

HTML Comments without moderation

  • www.themallblog.com
  • www.eatsleepandcode.com
  • www.layt.net

Anonymous node editing

  • mature-ip.eu/node/115/edit
  • drupal.kldp.net (Its all Korean I dont know what all is possible)
  • drupal.x73.ch
  • proves2.iws.es/drupal
  • emusic.mozdev.org/drupal
  • www.news7newslinc.net
  • futuregrid.org
  • www.aidsvancouver.org
  • jennycrumiller.com
Read More

Detect in form_alter if the node submitted is added or edited

2009
15
Dec

When you want to alter a form on Drupal, it is useful to detect if the form being submitted is to add a new node or edit an existing node. To detect if a form is being added or submitted, check the
$form[<content-type>]['nid']['#value'].
Example :
$form['book']['nid']['#value'].
If the value is new, the node is being added.
If the value is numeric, the node with nid as the number is being edited.

Anyone got better ideas ? Smiling



Making symbolic links on Windows xp using junction from sysinternals

2009
14
Dec

Symlinks is a utility that allows two paths to point to the same set of files and subfolders. This is a handy utility on linux which lets you point one path on linux to another path. To do achieve the same functionality on Windows XP, software called junction can be used. provided by SysInternals.

Here is the help from the junction.exe

D:\>junction /?
Junction v1.05 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2007 Mark Russinovich
Systems Internals - http://www.sysinternals.com

Read More

Mall Blog XSS in Comments

2009
11
Dec
8

So you came from the The MALL blog, this is because of opened out HTML comments on the MALL blog.
The MALL blog has full html support in its comments, which is a dangerous feature.

More sites :

  • www.eatsleepandcode.com
  • www.layt.net
  • mature-ip.eu : Any nodes can be edited on this site, wierd!!! Fix it ASAP


Installing Google Chrome on Ubuntu 9.10

2009
09
Dec

Google Chrome on Linux Ubuntu

Installation

Click Here to install Google Chrome on Ubuntu.



Perl Script to send Free SMS to any mobile number in INDIA using way2sms

2009
02
Dec
9

The following script sends SMS to any number in INDIA using the free service provided by Way2Sms.com
Requires WWW::Mechanize and Compress::Zlib libraries.

Please remember to fill the username and password in the fields that is mentioned in the script.


#!/usr/bin/perl
 
use WWW::Mechanize;
use Compress::Zlib;
 
my $mech = WWW::Mechanize->new();
 
my $username = ""; #fill in username here
my $keyword = "";  #fill in password here
 
my $mobile = $ARGV[0];
my $text = $ARGV[1];
 
$deb = 1;
 

Read More

Syndicate content