PHP

Prepopulate Views Filters with args

Assuming that the argument is a node ID, being sent (say from a panel, under most circumstances)

// grab nid from referring node
<?php
$args[0]=arg(1);
if(is_numeric(arg(1))){
$nid = arg(1); //node id
$term = taxonomy_node_get_terms_by_vocabulary($nid, 3); // 3 is the vid. Use your own Vocabualary ID!
$tids=key($term);
return $tids;
}

$args[1]=$tids;

Useless, but...

Somebody wanted this.

function ripper($url) {
$page = appr_curl_function($url);
if ($page === false)
{
die("Something wack happened");
}
preg_match('/watch_fullscreen\?video_id=(.*?)&l=(.*?)+&t=(.*?)&/', $page, $match);
$match1 = "http://www.youtube.com/get_video?video_id=";
if(!$match[1]){

Drupal 6 Released!

http://drupal.org/drupal-6.0

Finally! I should be ready to upgrade most of my sites right away. First pleasing news of the day!

Y! ID Scanner with PHP.

Old. Miss the Old YaJew! Days.

Not Multisock. Used to work, atleast.

-> http://www.bas.org.in/files/php.idscanner.phps

Disclaimer: People who hate nefarious stuff please turn away. I was still a Juvenile Delinquent then.

Thou artless earth-vexing pigeon-egg!

Finally, a programming language I can actually like!

http://shakespearelang.sourceforge.net/

There 's always something in the universe that you can get good at. I've heard of somebody who composed palindromic poems in Sanskrit and somebody who came up with a programming language with the code syntax being completely in whitespaces. I guess this endeavor deserves to make it to that list too.

Much in the same context, One more thing that comes to my mind are Kasper's (The Typo3 Man) PHPoems. I'm too lazy to find the links. Go look up google and read 'em up sometime.

Port of baseline.

One More Drupal Theme. This one is baseline from freecsstemplates

Quick n' Dirty, for some arbitrary dude.
Licensed under GPL. (C) 2007 to nobody. No Rights Reserved (atleast for the port).

Go here to Download - http://www.bas.org.in/files/baseline.zip

Refer to this post for the port of Industrial

I've got a few more. Will post 'em as I find 'em.

Drupal and Democracy

http://drupal.org/node/202638

Valid Reason so far as I can fathom. Unfortunate that Dub only had to get repeatedly dismissed and flamed at.
Dries is a great man, but really.. the proposition of open-source communities being under the fatherhood of benevolent dictators, especially ones with new startups and in the hands of legalities and venture capitalists..isn't particularly an ideal proposition.

I'm all for democratization, personally. Looks like it's not to be, however.

Drupal.Se

Pretty lame, this.

http://www.hiveminds.co.uk/forum/node/3654

I knew of a certain Mr Pillai who supposedly made a lot of money out of cybersquatting (most notably on sydney2000.com, I think). Very very lame though. I don 't think this dude's going to get away with the hijacking.

His track-record isn't too great with the rest of the Drupal junta either. He's been consistently writing half-baked, fallacious and lame stuff against Drupal for a while now as in here.

Informative.

http://www.garfieldtech.com/blog/mvc-vs-pac

Convincing. Although I still beg to differ.

Syndicate content