Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Coppermine and Wordpress  (Read 37453 times)

0 Members and 1 Guest are viewing this topic.

lennart

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Coppermine and Wordpress
« on: April 24, 2004, 08:47:08 pm »

Hi,
I made a plugin for Wordpress to insert Coppermine albums and images into Wordpress posts.
Let me know what you think...

[attachment deleted by admin]
« Last Edit: April 25, 2004, 11:34:35 pm by GauGau »
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Re: Coppermine and Wordpress
« Reply #1 on: April 24, 2004, 11:27:30 pm »

It looks very nice.  Would you like for us to make it available as a mod?
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

mrdatalife

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Coppermine and Wordpress
« Reply #2 on: April 25, 2004, 04:41:59 pm »

Quote
It seems that you are not allowed to download or view attachments on this board.

what's the trick? :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Coppermine and Wordpress
« Reply #3 on: April 25, 2004, 11:37:13 pm »

no trick, mis-configuration of attachment management by me, sorry :-[. Please try again.

GauGau
Logged

lennart

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Coppermine and Wordpress
« Reply #4 on: April 26, 2004, 05:04:04 am »

Would I like you to make it a mod?
Sure, go ahead...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Coppermine and Wordpress
« Reply #5 on: April 26, 2004, 08:25:03 am »

it already is, your posting has been modified to show the attachment.
I added it to the download section.

Gaugau
« Last Edit: April 26, 2004, 08:30:59 am by GauGau »
Logged

AnnieB

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Coppermine and Wordpress
« Reply #6 on: January 02, 2005, 05:42:54 am »

I tried installing this but I get an error with the add_filter function
and if I try deleting this part, it wont work

I'm using wordpress 1.2 and I dont have a my-hacks file, just plugins.php


ideas? suggestions?
Logged

luq

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Coppermine and Wordpress
« Reply #7 on: January 07, 2005, 02:03:52 pm »

Try this link to create a my-hacks file.

http://www.wiki.wordpress.org/my-hacks.php

I'm kinda stuck on this whole thing too (and setting up Coppermine themes as I have no programming base).

Did a search and found it. Hope it helps.

Cheers.
Logged

fusionx

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 13
Re: Coppermine and Wordpress
« Reply #8 on: January 23, 2005, 03:47:38 am »

I have this installed and working with [cpg_album:x].  However, when I try to use [cpg_image:x,x], I get the following error:

Database error: [Unknown column '81' in 'order clause']

I'm using CPG 1.3.2

I resolved the error by changing this:

Code: [Select]
  $wpdb->query('SELECT filepath, filename, title FROM '.CPG_TABLE_PREFIX.'pictures WHERE aid='.$aid.' ORDER BY '.$aid.' LIMIT 1 OFFSET '.($pos - 1));
to this:

Code: [Select]
  $wpdb->query('SELECT filepath, filename, title FROM '.CPG_TABLE_PREFIX.'pictures WHERE aid='.$aid.'  LIMIT 1 OFFSET '.($pos - 1));
eg; simply removed the ORDER BY clause as it doesn't seem necessary when retrieving only one image.

It works very well now - thank you!

Logged

texx

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Coppermine and Wordpress
« Reply #9 on: March 30, 2005, 04:00:37 pm »

i make a plugin of the code.

you can find it under http://www.texx.org/?p=47

hope it helped.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Coppermine and Wordpress
« Reply #10 on: March 30, 2005, 05:37:44 pm »

download link on your page was broken for me in the first place, now it's up again. In case the link goes down again, I attached the file you posted in your download section to my posting as well. Make sure to rename after downloading...

Joachim
Logged

texx

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Coppermine and Wordpress
« Reply #11 on: March 31, 2005, 09:05:19 am »

a new version with some bug fixes!

removed bug:  DB problems when plugin is activated
                     some small fixes

http://www.texx.org/?p=47


« Last Edit: March 31, 2005, 10:22:19 am by GauGau »
Logged

MonkeyManx

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45
Re: Coppermine and Wordpress
« Reply #12 on: April 26, 2005, 06:12:57 am »

Does this use the coppermine user table, to allow multipule admins?
Logged

riris

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Coppermine and Wordpress
« Reply #13 on: June 24, 2005, 03:55:31 am »

thanks for the plugin. It's greate!  :D

Here is my page (just a look, because is in ..Greek)
« Last Edit: August 07, 2005, 10:44:24 pm by riris »
Logged

warhonowicz

  • Coppermine novice
  • *
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 21
    • unsere Galerie
Re: Coppermine and Wordpress
« Reply #14 on: July 24, 2007, 05:05:58 pm »

Does this work with the latest version of WP? Or is there someone out there who has integrated WP 2.2x and CPG 1.4.12?
Logged
Tell me and I will forget
Show me and I might remember
But involve me and I will understand

MoYo

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Coppermine and Wordpress
« Reply #15 on: October 10, 2008, 07:29:28 am »

Schade das nicht ein einziger Link auf dieser Seite mehr funktioniert...
Ist das Plugin noch verfügbar?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Coppermine and Wordpress
« Reply #16 on: October 10, 2008, 08:38:54 am »

On this board only English postings are allowed (see http://forum.coppermine-gallery.net/index.php/topic,55415.msg270626.html#msg270626). You said that most links were down - I haven't checked that. However, the attachments remain - that's why the initial thread of the thread starter was edited in the first place: links go down, but attachments remain. Can't tell wether they will work with up-to-date releases of WP, as I no longer use that app. Please find it out and report back.
Logged

MoYo

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Coppermine and Wordpress
« Reply #17 on: November 05, 2008, 03:13:18 pm »

Sorry for breaking the rules quite with my first post...
And yes I will keep on trying to somehow link Coppermine to Wordpress,
even that I am far away from having a clue...
Logged

mememolly

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Coppermine and Wordpress
« Reply #18 on: April 20, 2009, 09:31:11 pm »

i installed this plugin and i tryed both  [cpg_image:2,4]  [cpg_album:4]  in my post and it shows up as blank  anyone know what it should be to make the pics come out?
Logged

cyberspice

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 5
    • Spice World
Coppermine and Wordpress (New Plugin)
« Reply #19 on: May 17, 2009, 11:05:27 pm »

I've just uploaded a new plug-in/widget for Wordpress to the Wordpress site.  The plug-in provides a sidebar widget that shows a configurable grid of thumbnails which you can mouse over to see larger versions of together with the title and description.  Clicking on the thumbnail will take you to the Coppermine page for the image.

The plug-in is here:

http://wordpress.org/extend/plugins/wp-cpg-widget/

And the plug-in page on my blog is here:

http://www.cyberspice.org.uk/blog/wordpress-coppermine-widget/

Melanie

Logged
Pages: [1]   Go Up
 

Page created in 0.032 seconds with 19 queries.