Skip to main content

Disable Images

Dredd

As a long-time fan of 2000AD I was really looking forward to a good movie translation, but this doesn't look like an ultra violent, sociological "masterpiece"...

I hope I'm wrong...

3434Comments

"Point Break" remake

http://www.imdb.com/news/ni15288…

What's the fucking point?

2424Comments

Dear VikingKingEleven

I need to learn tolerance.

2929Comments

Wordpress comments in sidebar

Working on a wordpress-theme conversion for a client's blog.

I'm trying to get the comments for a post to show up in the sidebar instead of in the single.php. I've implemented the comments in the sidebar of other themes before so I know it's possible.

In sidebar.php I've used:
<?php comments_template(); ?>

It calls the comment and comment-form correctly, but when you try to submit a comment from the sidebar you get redirected to a blank wp-comments-post.php and the comment is not posted...

When I call the comments in the single.php, everything works just fine.

I've been looking for hours for a way to fix it...

If anyone has an idea, hint or sollution...
Much appreciated.

33Comments

Work in your portfolio

Out of 10 projects you're hired to do, how many end up in your personal portfolio as pieces you're proud of?
In other words: Out of 10 projects, how many does the client NOT fuck up beyond belief till the point you don't even want your name involved.

And how do you think you control that ratio? Is it mainly the subtle art of guiding the client towards quality work, to educate and persuade them, or is it all in the ability to recognize shitty jobs before you take them on...

3939Comments

Wordpress PHP question

In my wordpress theme-files I use these a lot to call different classes, custom sidebars for different pages, custom headers for different categories...

<?php if ( is_home() ) { ?> ...
<?php if ( is_page("pagename") ) { ?> ...
<?php if ( is_single() ) { ?> ...
<?php if ( is_category("categoryname") ) { ?> ...

They're really helpfull to get rid of the "bloggy" look...

Now I'm looking for a way to combine
<?php if ( is_single() ) { ?>
with
<?php if ( is_category("categoryname") ) { ?>

In other words, it's no problem to assign a class to a category, but can you assign the same class to a single post from that category? A class different from the one you use on all other single pages, specifically for that category?

If anyone has any input, much appreciated as always.

22Comments

Stampede at Love Parade

Love, beats and panic.
Sad...
http://www.bbc.co.uk/news/world-…

6262Comments

"Share on Facebook" - code

I'm working on a "share this on Facebook" button for a wordpress website. Instead of using the standard script available on Facebook I tried this piece of code, which allows you to use a custom image:

<script>function fbs_click() {u=<?php the_permalink() ?>;t=document.title;window.open('http://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>'+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');return false;}</script><a href="http://www.facebook.com/share.php?u=<?php the_permalink() ?>" onclick="return fbs_click()" target="_blank" title="Share This on Facebook"><img src="<?php bloginfo('template_url'); ?>/img/sharethis.gif" alt="Share on Facebook" /></a>

Works great except the link doesn't open in a small window (626/436). I can't seem to find the problem...

Someone care to take a look at this code and tell me what's wrong with it? Thanks.

22Comments

PHP newbie needs help...

I'm working with this snippet of code:

<?php if (is_home()) { ?>
<img src="<?php bloginfo('template_url'); ?>/img/pic-sidebar0.gif" width="200" name="MyImage"/>
<?php } elseif (is_page('48')) { ?>
<img src="<?php bloginfo('template_url'); ?>/img/pic-sidebar1.gif"" width="200" name="MyImage"/>
<?php } elseif (is_page('50')) { ?>
<img src="<?php bloginfo('template_url'); ?>/img/pic-sidebar2.gif"" width="200" name="MyImage"/>
<?php } elseif (is_page('52')) { ?>
<img src="<?php bloginfo('template_url'); ?>/img/pic-sidebar3.gif"" width="200" name="MyImage"/>
<?php } elseif (is_page('54')) { ?>
<img src="<?php bloginfo('template_url'); ?>/img/pic-sidebar4.gif"" width="200" name="MyImage"/>
<?php } else { ?>
<img src="<?php bloginfo('template_url'); ?>/img/pic-sidebar5.gif"" width="200" name="MyImage"/>
<?php } ?>

It works fine, but is there a way to attribute this code to a function, and then call upon that function?

Any help much appreciated.

66Comments

Robocop by Darren Aronofsky

"Apparently the project is not a remake, but more like a fourth RoboCop movie, which will takes place 20 years after Detroit shut down the RoboCop program..."

"Darren Aronofsky, the director of some amazing movies like Requiem for a Dream and The Fountain, has signed on to direct the newest addition to the RoboCop franchise."

http://geeksofdoom.com/2008/07/2…

Nice. I loved the original when I was a teenager... Kinda looking forward to this.
Could Aronofsky do for Robo what Nolan did for Batman?

4242Comments

Looking for the site...

... that sells those tshirts with logo's from different movies. (I remember the ones with the logo of the Nostromo from Alien, OCP from Robocop...) Any help greatly appreciated.

11Comment

Internet is "kapot"

One of the biggest hosting-companies of Belgium has major problems in their datacentre due to powerfailure. All sites hosted by them have been down since 4 hours ago. Most sites I ever made are hosted on their servers.

I think my telephone is about to melt away in my hands right now. And while most clients are very understanding, there are 3 of them who keep calling me every two minutes, refusing to grasp te difference between a hostingcompanie and a webdesigner, and keep shouting that I "Have to putt there fckng site back up!"

These are very tiring conversations... I can tell you.

88Comments

CMS question

I was wondering what you guys use when you need your client to be able to update a few webpages (2 or 3 max) by himself. I don't think it warrants a full blown blog-system like wordpress or serendipity. Have any good experience with a smaller and more simple system?
Thanks in advance.

66Comments

redirect question

Dear Sirs, Madams,

I need to make a html-page which looks fine when viewed in an I-frame, but redirects to another page when accessed directly. I think it's possible, but I can't find the code I'm looking for.
If anyone could help me out, that would be fantastic.

44Comments

The Jerry Springer Opera

They aired it on the BCC last night. The music and singing was excellent, and some bits (the tapdancing ku klux clan!)were the funniest things i've seen in a long time.
I think it's the fact that the idea on itself is totally crazy and wrong, that makes it a small masterpiece.

http://www.jerryspringertheopera…

Anyone else seen it?

55Comments

Bug power

http://www.ias.uwe.ac.uk/energy-…

And so it begins...

22Comments

Why oh wy...

... does an animated gif stop working in IE when you open a pop-up window. WHY?! I mean, my girlfriend recently left me after 3 years, but I can COPE with that, I can give that fact a PLACE in my life. Someone give me a reason for the gif, please, or I'll have nothing else to do but to resort to sensless violence against expensive hardware.

Thank you.

22Comments

The Force

http://jahtruth.co.uk/ufos.htm

"George Lucas quite naturally believes that he wrote "Starwars", when, in reality, he was told telepathically what to write, by the very "Force" to which the films refer, as a very important step in the preparation of mankind for the long-awaited TRUTH, about the real reasons for human life on Earth, the meaning of life and its purpose."

22Comments

word question

In microsoft word 2000, when I want to print two pages on one side, it draws a lightgrey frame around it. I know there must be an easy way to stop it from doing this. Any help would be really welcome.

66Comments

weekend work

Friday night:
website concept, main layout, colours, first draft. Easy. Laidback.

Saturday/saturday night: coding, scripting, photoshoping, testing, retesting, some more scripting and photoshopping. Still quite laidback. There's plenty of time...

Sunday:
finishing touch, debugging, testing, having this weird feeling crawling up against you, "This is just not right... This is not good enough..." Doubts, anger, "My God... Did I really pick THIS colour? What was I thinking?"

sunday 00:13 am till probably 05:00 am-ish:
Having thrown every last byte away, starting all over again from scratch, sweat dripping from forehead, deadline breathing down neck....

I LOVE IT!!!!

Sounds familiair?

btw, in the few hours of entertainment I gave myself this weekend, I chose to go rent "Underworld" on DVD.

Yeah.

....

44Comments

Skip to main content