forum.coppermine-gallery.net
No Support => Modifications/Add-Ons/Hacks => Mods: Bridging/Integration => Topic started by: lennart on April 24, 2004, 08:47:08 pm
-
Hi,
I made a plugin for Wordpress (http://www.lennartgroetzbach.de/cpg.plugin.phps) to insert Coppermine albums and images into Wordpress posts.
Let me know what you think...
[attachment deleted by admin]
-
It looks very nice. Would you like for us to make it available as a mod?
-
It seems that you are not allowed to download or view attachments on this board.
what's the trick? :)
-
no trick, mis-configuration of attachment management by me, sorry :-[. Please try again.
GauGau
-
Would I like you to make it a mod?
Sure, go ahead...
-
it already is, your posting has been modified to show the attachment.
I added it to the download section (http://sourceforge.net/project/showfiles.php?group_id=89658&package_id=98542&release_id=192577).
Gaugau
-
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?
-
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.
-
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:
$wpdb->query('SELECT filepath, filename, title FROM '.CPG_TABLE_PREFIX.'pictures WHERE aid='.$aid.' ORDER BY '.$aid.' LIMIT 1 OFFSET '.($pos - 1));
to this:
$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!
-
i make a plugin of the code.
you can find it under http://www.texx.org/?p=47
hope it helped.
-
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
-
a new version with some bug fixes!
removed bug: DB problems when plugin is activated
some small fixes
http://www.texx.org/?p=47
-
Does this use the coppermine user table, to allow multipule admins?
-
thanks for the plugin. It's greate! :D
Here is my page (http://greek-help.info/?page_id=155) (just a look, because is in ..Greek)
-
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?
-
Schade das nicht ein einziger Link auf dieser Seite mehr funktioniert...
Ist das Plugin noch verfügbar?
-
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.
-
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...
-
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?
-
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/ (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/ (http://www.cyberspice.org.uk/blog/wordpress-coppermine-widget/)
Melanie