18 responses to “psnCPGAdmin in the Admin Panel”

  1. Darian

    I add this code to psnCPGAdmin.php and works! (WP 2.0)

    require_once(‘admin.php’);
    $parent_file = ‘options-general.php’;

  2. Coppermine Gallery Test Post at cjsimmons.net

    [...] I’m also currently looking for a pluging or something so that I can display a random image in the sidebar, and so I can specify a photo thumbnail to display. This plugin that I’m using doesn’t support thumbnails for indivudal photos. I have tried psnGallery, but I’m unable to get it working. It installs fine, but it won’t display the images. If you have any ideas, or another plugin, please let me know. // Used for showing and hiding user information in the comment form function ShowUtils() { document.getElementById(“authorinfo”).style.display = “”; document.getElementById(“showinfo”).style.display = “none”; document.getElementById(“hideinfo”).style.display = “”; } function HideUtils() { document.getElementById(“authorinfo”).style.display = “none”; document.getElementById(“showinfo”).style.display = “”; document.getElementById(“hideinfo”).style.display = “none”; } [...]

  3. Administrator

    In fact you have to go on my development site…At http://blog.idahocline.info…You will find the download links….

  4. Amy Celona

    Is there any way for a non php techie to use this plug in? It all seems so greek to me.

    Is there a basic plug in download? I do not see it if there is.

  5. Matt Pist

    oh geez… okay so it won’t let me post the complete instructions. feel free to email me at mattpist@riseup.net.

  6. Matt Pist

    aaah crap. it cut out the middle part of my comment. okay, let’s try it again:

    okay, so here’s how i got this to work, as i was having a problem with it after following senior pez’s instructions.
    #first issue:
    #require_once(’admin.php’);
    #
    #paste this in after the ” $v) {
    # if (is_array($v)) {
    # $array[$k] = add_magic_quotes($v);
    # } else {
    # $array[$k] = addslashes($v);
    # }
    # }
    # return $array;
    #}
    #
    #which is the same code on line 4 of psnCPGAdmin.php …so i deleted
    #those lines from psnCPGAdmin.php and viola! the page came up.
    #
    #now, im pretty new to php code so i hope this makes sense, and this may
    #have been because i did something wrong earlier, but it works now, so i
    #hope this helps.

  7. Matt Pist

    okay, so here’s how i got this to work, as i was having a problem with it after following senior pez’s instructions.

    first issue:
    require_once(’admin.php’);

    paste this in after the ” $v) {
    if (is_array($v)) {
    $array[$k] = add_magic_quotes($v);
    } else {
    $array[$k] = addslashes($v);
    }
    }
    return $array;
    }

    which is the same code on line 4 of psnCPGAdmin.php …so i deleted those lines from psnCPGAdmin.php and viola! the page came up.

    now, im pretty new to php code so i hope this makes sense, and this may have been because i did something wrong earlier, but it works now, so i hope this helps.

  8. Enigma

    Sorry it hacked off the end of my message. so if I get this all correct the end result of editing the file would be like so:

Leave a Reply

Recent Comments

  • ReDirEct__: Hi, sorry if i post a comment here, but i would to know how you draw an in image on 2 lines with the...
  • Him: Hello i’m tring to add psnGallery2 v1.4.0 Alpha 1.zip But on install i’m still having : Warning:...
  • Darian: I add this code to psnCPGAdmin.php and works! (WP 2.0) require_once(‘admin.php& #8217;); $parent_file =...
  • heather: very sorry for all the comments. i had a brainwave and realised (duh) that i could control the restriction...
  • heather: http://pastebin.com/392527