About this topic

  • Posted by belbo 1 year ago. There are 7 posts. The latest reply is from byron.
  • This topic is not resolved
  1. Hi Byron,

    I created a custom form and it was working great. Somehow the new form (and the default one) have both disappeared. I get the thickbox pop-up with the default title but no content.

    To compare, I did a fresh install of WP + Photosmash and compared the resulting HTML.

    New install:

    <form id="c1bwbps_uploadform" name="bwbps_uploadform" method="post" enctype="multipart/form-data" action="" style="margin:0px;" class="bwbps_uploadform">
                <input type="hidden" id="c1bwbps_ajax_nonce" name="_ajax_nonce" value="e8843da105" />
                <input type="hidden" id="c1bwbps_formname" name="bwbps_formname" value="newform" />
                <input type="hidden" id="c1bwbps_formtype" name="bwbps_formtype" value="0" />
                <input type="hidden" name="MAX_FILE_SIZE" value="" />
                <input type="hidden" name="bwbps_imgcaption" id="c1bwbps_imgcaption" value="" />
                <input type="hidden" name="gallery_id" id="c1bwbps_galleryid" value="1" />
    
                <input type="hidden" name="bwbps_post_id" id="c1bwbps_post_id" value="0" />
    
                hellop form
            </form>

    My problematic install doesn't have any of that code. The only things I remember doing are 1) applying my form changes to All Galleries and 2) playing with the CSS of the custom layout I'm using.

    Help!

  2. Update: I turned off automatically showing the form. Now when I use the manual form placement, the form (either default or custom) shows up properly. Unfortunately this means we have to manually add a form for every post.

    Any ideas?

    I also did a clean uninstall/reinstall and deleted all the plugin db tables to make sure.

    thanks!

  3. Hi Belbo,

    What does your shortcode look like?

    Also, what form is selected in the Gallery Settings for the Gallery in question (you'll need to select that gallery and click edit to see its settings)?

    Thanks,

    BB

  4. Hi Byron,

    When manually putting a gallery on a post I used the basic [photosmash id=1] format. Now that I manually add the form shortcode I use [photosmash form] and set the default form to my custom form in Settings.

    I made sure that the custom form name was properly selected in the Upload section of the Gallery settings. In fact, I believe that's when the problem started. I changed to my custom form and clicked to apply the change to all the galleries. After that the form disappeared and only reappeared when I reverted to manual form placement.

    thanks!

    Ray

  5. Hi belbo,

    If you want to use the Dropdown in Gallery Settings to select the form, make sure you have: Use Manual Form Placement: in PhotoSmash Settings / Advanced turned OFF.

    Having that turned on would likely cause the form not to show if you're using the Dropdown.

    Hopefully that makes a difference.
    Byron

  6. Hi Byron,

    Manual form placement was always off. I only turned it on because no form appeared otherwise.

    Ray

  7. Very strange...I'm out of ideas. Please let me know if you figure out what was causing that.

    Thanks,
    Byron

RSS feed for this topic