WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: PhotoContest Plugin] theming instructions are pretty borked (6 posts)

  1. frekel
    Member
    Posted 4 years ago #

    the default values are:
    'CONTESTS_PATH' => 'contests_holder',
    'CONTESTS_SKIN' => 'aqua',

    but on the options page it says:
    Defines where to store the photos uploaded by users. (Relative to the wp-photocontest folder)

    Defines which skin (kind of template) the plugin uses. (Relative to the wp-photocontest folder)

    so with above values and explanations something is not right. The skin name/folder should be relative to the skins folder? I was trying to relocate my skins and themes to wp-content, using these variables:
    ┬┤../../photo_contests_holder
    ../../photo_contests_skins/021club┬┤
    but then the theme doesn't get found :-(

  2. frekel
    Member
    Posted 4 years ago #

    True, the translation is bad.

    It should say:
    'CONTESTS_SKIN' => 'aqua',

    Defines which skin (kind of template) the plugin uses. (Relative to the skins directory in the wp-photocontest folder)

    Will fix this in next release!

  3. Ovidiu
    Member
    Posted 4 years ago #

    Oh, I understand.
    so the skins have to be in the skins folder, I can just define the skin to be used by filling in this option.

    Thanks.

    So I can't use a relative path to "move" my skins and contests i.e. to the wp-content folder to protect them against deletion when I do an automatic plugin upgrade?

  4. frekel
    Member
    Posted 4 years ago #

    Not yet, but for version 2.0 I want all the user generated content in the wp-content/wp-photocontest.

  5. Ovidiu
    Member
    Posted 4 years ago #

    :-) thanks. all clarified. Seems I was desperately trying to get a feature working that wasn't there yet, all due to a misunderstanding :-)

  6. frekel
    Member
    Posted 4 years ago #

    Hee, you put it on my todo list.
    So something came out of this ;)

Topic Closed

This topic has been closed to new replies.

About this Topic