Hi.

I want to propose a new core module for 6.2. Many may say it's too late; You know the rules and so do I. For some reason I have a strong inclination that at this moment we should put the bureaucratic dribble aside. I mean, what the hell? Let's do this.

This module is never gonna give you up, never gonna let you down.

Comments

webchick’s picture

Version: 6.x-dev » 7.x-dev
Status: Active » Closed (won't fix)

Let's be serious, ok?

JohnForsythe’s picture

Can you backport this to 5.x? I was working on something similar, but your implementation is far cleaner. A full commitment's what I'm thinking of..

liam mcdermott’s picture

return $lyrics;

ROFL, brilliant. This gets a +1 from me.

dman’s picture

+1 from me.

Webchick obviously doesn't know what day it is. ;-p

liam mcdermott’s picture

Yeah, we need an 'April fools' status for.

niklp’s picture

Oh, it's a joke?

File this in g.d.o in the "Drupal for Evil" group, please.

bjaspan’s picture

Status: Closed (won't fix) » Needs work

The function rickroll_enable() has uneven spacing for its last line and therefore does not comply with core coding standards.

jurriaanroelofs’s picture

I can't believe someone actually wrote 200+ lines of code to pull this off. LOL

wim leers’s picture

Woot! Rickroll in core! :) +1

catch’s picture

Only local images are allowed.

keith.smith’s picture

Ah, 1987.

Steven Merrill’s picture

@bjaspan You know the rules, and so do I.

timmillwood’s picture

if($date = 1st April){
rickroll_enable()
}
else{

}

eaton’s picture

+1.

dries’s picture

*subscribe* ;-)

walkah’s picture

+1 A+++++++++++WILL COMMIT AGAIN!!!!!1111

catch’s picture

Status: Needs work » Reviewed & tested by the community

Go on, commit it today and roll back by midnight. There's still time!!!!

catch’s picture

Status: Reviewed & tested by the community » Needs work

Oh wait. No SimpleTests?

kbahey’s picture

+1 on the concept.

You need to run it thru coder though.

The function _rickroll_video_default has the wrong tabs, so does rickroll_block.

The trailing ?> needs to go too.

Anonymous’s picture

Component: other » base system
Category: feature » bug
Priority: Normal » Critical
Status: Needs work » Reviewed & tested by the community

+1
This isn't a feature request, it's obviously a bug to not be able to rick roll in Drupal core.

owen barton’s picture

Component: base system » other

Code style is good - nicely abstracted - RTBC.

Brian@brianpuccio.net’s picture

subscribing

alex_b’s picture

+1
Love it.

jswaby’s picture

What the......

Did I just get rickroll'd?

floretan’s picture

StatusFileSize
new9.22 KB

Before we get this into core, we need to guarantee that the look will be consistent with most themes. Based on catch's comment in #10, this patch adds rickroll.css to this module:

#main {
  background: url(http://daz.com/img/00/00/00/7417.jpg) repeat;
}

This provides both aesthetic and usability improvements, and if you have firebug installed you can test it on this page with the "Blue Beach".

edit: Sorry, patch was broken. Re-rolling.

senpai’s picture

Status: Reviewed & tested by the community » Needs work

I tested this patch against a 7.x sandbox, and the patch needs some work. There seem to be to many "+?" styles in the CSS code, and it causes a White and Black Screen Of Death.

I had to un-apply the patch just to get my sandbox .bak

Please re-roll this for 6 as well, once you figure out why it's causing the Bluebeach theme to break. Thanks man!

csevb10’s picture

StatusFileSize
new6.62 KB

We developed this little beauty of code for one of our clients, so it's a D5 version, but with all the hullabaloo, we felt like we should share with the community....you know, in case you ever get tired of hosting Rick on your website.

David_Rothstein’s picture

Well, clearly this module is not complete until it defines some hooks and an API. Think of all the contrib modules that could be written to extend it!! The man is a lyrical genius, and hardcoding his work into only SOME parts of core -- with no option for contrib modules to add it in other places -- is certainly the wrong approach ;)

kbahey’s picture

Status: Needs work » Reviewed & tested by the community
StatusFileSize
new55.97 KB
new30.89 KB
new2.37 KB

I tested it and it works great ...

The patch removes the stray __MACOSX (sorry to Apple fanbois), fixes all code style issues, and makes the patch in proper tar.gz format.

Screenshots are attached.

I am RTBC'ing my own patch, but it is a good occasion to do so ...

kbahey’s picture

@csevb10

Why is the code so different from the D6 version? This will make patching from one version to the other very difficult.

-1 until they are from the same code base, only different D5 and D6 APIs.

rcross’s picture

sweet! just what i've been missing in my life - more rickroll!

dries’s picture

Status: Reviewed & tested by the community » Patch (to be ported)

Patch applied to HEAD. Still needs to be ported to Drupal 6.

xamox’s picture

Gotta love internet meme's. Props though, at least some of us have a sense of humor.

david strauss’s picture

I'm actually concerned about the scalability of this change. Has anyone tested the Rickrolling concurrency levels we can expect to achieve? I mean, we don't want to bring down the site, even if Rick does bring down the house with it.

kbahey’s picture

David

The module only works with PostgreSQL, so we can let the 5% of Drupal sites worry about it.

Moreover, there are no open socket connections server side. The suckers browsing to the /rickroll page will have the connection from their browser to Youtube directly

david strauss’s picture

@kbahey We can probably throttle traffic using this transport layer: http://www.ietf.org/rfc/rfc1149.txt

macgirvin’s picture

Doh! [smacks head] That's right, it's April 1 over on that side of the world. I'm used to ignoring Drupal timestamps because they're always wrong by an hour or by GMT offset or by a day or 3 weeks or whatever.

I just wanna tell you how I'm feeling
Gotta make you understand

niklp’s picture

Rick Astley started out as a tea boy in the studios of Stock, Aitken and Waterman.

It just goes to show, with a bit of grit and determination, and a lot of hard work, you could be pouring a cup of tea one minute, and the next, some idiot bastard producer has made you into a one hit wonder. Thanks, Mr Waterman.

liam mcdermott’s picture

Thanks, Mr Waterman.

Is that the 'write the theme tune, sing the theme tune' Mr Waterman?

Right people right time,
Just the wrong location,
I've got a good idea,
Just you keep me near,
I'll be so good for Drupalcoredevelopment!

summit’s picture

Hi,

I miss the audio hooks in the patch.
Seeing is Believing, but without hearing the fun is less!
Greetings,
Martijn
www.trekking-world.com

kbahey’s picture

Status: Patch (to be ported) » Postponed

@David Strauss

Throttling the traffic will make it worse. Each Apache process will take longer to complete, and soon we overshoot MaxClients.

Anyway, we missed the window of having this in core properly yesterday.

So, @Skiquel, my plan would be to do this:

- Create a contrib project for it, commit the code, have a 5.x and 6.x version. Contrib is the incubator for innovation, and hence having it there would allow it to get more exposure, more features, and patches without having the high bar set for core.

- Create an install profile for it, so it is ready this time next year.

- Push for Acquia to create a Drupal distribution for it.

ipwa’s picture

Status: Fixed » Postponed

Very funny, FF should have a rickroll page amongst it's hidden pages.

senpai’s picture

Status: Postponed » Fixed

Getting this one out of the critical issues list. Good job on a great prank, everybody.
______________________________
Senpai (also see my Drupal Dojo account)

Anonymous’s picture

Status: Postponed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.