Viewing 7 replies - 1 through 7 (of 7 total)
  • jmgriffin

    (@jmgriffin)

    I am having the same issue. I would like to search on ALL licenses except for “All Rights Reserved” but I can only select 1 license at a time.

    Thread Starter Steffen Vo?

    (@kaffeeringe)

    I set this directly within the database. But it would be great if the administration was fixed for everybody ??

    It looks like you can only select certain combinations of licenses, which may be intentional. I haven’t looked at the code to see what is going on though, so it may be a bug.

    This looks like a bug.

    It should be possible to multiselect license types, but currently it seems that you can check multiple options but only one is actually submitted. If you select more than one, then one or two will remain selected after submitting your choices, but the result seems random.

    You may have to uncheck a box to check a new one at this point.

    It also should not be possible to select “all rights reserved” photos.

    Thread Starter Steffen Vo?

    (@kaffeeringe)

    I bet there’s only the serialization missing before saving. I’m going to take a look at the code, when I find some time.

    Thread Starter Steffen Vo?

    (@kaffeeringe)

    I fixed it!

    Change:

    <form>
    <input name="pac_pickapic_options[flickrlicenses_4]" type="checkbox" <?php pac_pickapic_checkbox_selected(4, $licenses); ?> value="4">Attribution License<br>
            <input name="pac_pickapic_options[flickrlicenses_6]" type="checkbox" <?php pac_pickapic_checkbox_selected(6, $licenses); ?> value="6">Attribution-NoDerivs License<br>
            <input name="pac_pickapic_options[flickrlicenses_3]" type="checkbox" <?php pac_pickapic_checkbox_selected(3, $licenses); ?> value="3">Attribution-NonCommercial-NoDerivs License<br>
            <input name="pac_pickapic_options[flickrlicenses_2]" type="checkbox" <?php pac_pickapic_checkbox_selected(2, $licenses); ?> value="2">Attribution-NonCommercial License<br>
            <input name="pac_pickapic_options[flickrlicenses_1]" type="checkbox" <?php pac_pickapic_checkbox_selected(1, $licenses); ?> value="1">Attribution-NonCommercial-ShareAlike License<br>
            <input name="pac_pickapic_options[flickrlicenses_5]" type="checkbox" <?php pac_pickapic_checkbox_selected(5, $licenses); ?> value="5">Attribution-ShareAlike License<br>
            <input name="pac_pickapic_options[flickrlicenses_7]" type="checkbox" <?php pac_pickapic_checkbox_selected(7, $licenses); ?> value="7">No known copyright restrictions<br>
            <input name="pac_pickapic_options[flickrlicenses_0]" type="checkbox" <?php pac_pickapic_checkbox_selected(0, $licenses); ?> value="0">All Rights Reserved
    </form>

    To:

    <input name="pac_pickapic_options[]" type="checkbox" <?php pac_pickapic_checkbox_selected(4, $licenses); ?> value="4">Attribution License<br>
            <input name="pac_pickapic_options[]" type="checkbox" <?php pac_pickapic_checkbox_selected(6, $licenses); ?> value="6">Attribution-NoDerivs License<br>
            <input name="pac_pickapic_options[]" type="checkbox" <?php pac_pickapic_checkbox_selected(3, $licenses); ?> value="3">Attribution-NonCommercial-NoDerivs License<br>
            <input name="pac_pickapic_options[]" type="checkbox" <?php pac_pickapic_checkbox_selected(2, $licenses); ?> value="2">Attribution-NonCommercial License<br>
            <input name="pac_pickapic_options[]" type="checkbox" <?php pac_pickapic_checkbox_selected(1, $licenses); ?> value="1">Attribution-NonCommercial-ShareAlike License<br>
            <input name="pac_pickapic_options[]" type="checkbox" <?php pac_pickapic_checkbox_selected(5, $licenses); ?> value="5">Attribution-ShareAlike License<br>
            <input name="pac_pickapic_options[]" type="checkbox" <?php pac_pickapic_checkbox_selected(7, $licenses); ?> value="7">No known copyright restrictions<br>
            <input name="pac_pickapic_options[]" type="checkbox" <?php pac_pickapic_checkbox_selected(0, $licenses); ?> value="0">All Rights Reserved

    Is the @pekastel still maintaining this plugin?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Licence settings’ is closed to new replies.