coppermine-gallery.com/forum

No Support => Modifications/Add-Ons/Hacks => Mods: Visuals => Topic started by: divestoclimb on January 08, 2009, 06:55:25 PM

Title: Another way to integrate Digg
Post by: divestoclimb on January 08, 2009, 06:55:25 PM
I integrated Digg into my gallery with a little help from some old topics on the subject, but also some new ideas. Here's what I did:


    $params = array('{CELL_HEIGHT}' => '100',
        '{IMAGE}' => $CURRENT_PIC_DATA['header'].$CURRENT_PIC_DATA['html'].$CURRENT_PIC_DATA['footer'],
        '{ADMIN_MENU}' => $CURRENT_PIC_DATA['menu'],
        '{TITLE}' => bb_decode($CURRENT_PIC_DATA['title']),
        '{CAPTION}' => bb_decode($CURRENT_PIC_DATA['caption']),
        );

Title: Re: Another way to integrate Digg
Post by: Egofreaky on January 11, 2009, 01:58:57 AM
My hat goes off to you sir for figuring this one out, as I've been looking for a Digg solution to coppermine for ages (and I'm no coder)... However, it's bloody confusing.
Step 2? What?

I hate to be picky, but do you think you could possibly rewrite this as step by step instructions? Please? I'd be amazingly grateful if you did.

Yes, I know I'm a n00b moron for not being able to figure this out.