• The new version of psnGallery (integration of Coppermine in WP) is out.
    View it in action at blog.idahocline.com
    Now in every post, you have access to Coppermine…Album, Pictures via simple tags as “<gallery>”, “<cpg_album>”, “<cpg_thumb>”, “<cpg_gallery>”

Viewing 15 replies - 61 through 75 (of 138 total)
  • Thread Starter idahocline

    (@idahocline)

    have you tried those tags :
    <cpg_gallery>3|5|1</cpg_gallery>, this extracts 5 random pictures from the album (3) and displays them as thumbnail (1) .
    <cpg_gallery>3|5|2</cpg_gallery>, this extracts 5 random pictures from the album (3) and displays them as normal (2) .
    <cpg_gallery>3|5|3</cpg_gallery>, this extracts 5 random pictures from the album (3) and displays them as fullsize picture (3) .

    Thread Starter idahocline

    (@idahocline)

    The function underneath the tag <cpg_gallery> is CPGRndPicture() (to use outside a post)

    perfect, thank you!!!
    Maybe after a little bit of playing around with this I can add something to this wonderful plugin.

    I get the same thing Jeff A did above (previous page…) any tags i use, only show the 1|1 numbers between the tags. any ideas?

    Thread Starter idahocline

    (@idahocline)

    dmb: thanks ! ?? I hope that you will add not something but a lot of things ! ??
    anon: if you use a “psngallery2” function outside a post, is it working ? eg: CPGRndPicture() ?

    When I enable the plugin I get an error from wordpress:
    We’re having a little trouble selecting the proper database for WordPress.
    Are you sure it exists?
    Your database name is currently specified as webguynj_WordPress. Is this correct?
    On some systems the name of your database is prefixed with your username, so it would be like
    username_wordpress. Could that be the problem?
    My coppermine information is in a separate database the wordpress. I have tried using the same ID and a different ID to connect to the database. Is there a limitation to wordpress/php/or this plugin that the copermine data has to be in the same database?

    Thread Starter idahocline

    (@idahocline)

    I am using two different databases (one for WP and the other one for CPG). dmb is using also two different databases (one on a dbserver and the other one on another server). So as you can see, no limitation.
    Have you configure psnGallery with the same parameters used for CPG (database name, username, password, table prefix ) ?
    I am at work for the moment, but if you want send me your CPG config file and your psngallery table at admin_at_idahocline_dot_info, tonight, I will check them and make it work.

    I have verified and rechecked the account information for connecting to the CPG database.

    Thread Starter idahocline

    (@idahocline)

    And is it working now ?

    No ?? Sorry i should have said that. Still not working. Is it possible that there is some PHP or host parameter that is missing. I am running the 1.2 release of WP. I emailed you the two pertinent configuration files thought that maybe that would help.

    I checked the admin module with the plugin disabled, and I have an error, plus the DB Server, Username etc all seem to be blank. Is a coppermine file in the wrong place?
    psnGallery2 configuration
    Parameters coming from Coppermine
    Variable Value
    Your database server
    Your mysql username
    ************ Your mysql password
    Your mysql database name
    Table prefix
    False debug flag
    Maximum pictures displayed at a time
    False EXIF Support ?
    Prefix from post tags
    Tags available during posting
    Tag defined Associated function Action
    Warning: Invalid argument supplied for foreach() in /home/webguynj/public_html/wp-admin/psnCPGAdmin.php on line 162

    Thread Starter idahocline

    (@idahocline)

    indeed there is an issue with the configuration….As soon as I am at home, I will check your mails and send you back the “correct” configuration file
    ?? (can’t do it it because I am behind a stupid firewall that doesn’t accept port different than 80…. pfffffffffffffffff)

    I have the same issues at work. Isn’t havinga ‘crack’ networkand security team team fun ?? ?

    Thread Starter idahocline

    (@idahocline)

    I am working for a telecom company where the rules are very simple : “don’t even think about cracking or hacking something ! Otherwise….well work for some other operators….”

    Thread Starter idahocline

    (@idahocline)

    webguynj: I have not received your mail… ?? can you resend it ?

Viewing 15 replies - 61 through 75 (of 138 total)
  • The topic ‘Plugin psnGallery : Coppermine in WordPress’ is closed to new replies.