About this topic

  • Posted by magna 2 years ago. There are 8 posts. The latest reply is from byron.
  • This topic is resolved
  1. Hi,
    I just created a simple custom form for upload.
    When I upload a file with tags on the relevant field, I cannot see tags in photo manager. But I can add tags on PhotoManager.
    It is the same with "[tag_dropdown tags='my,tags,go,here' selected='my']" and "[post_tags value='post_tags']"

    Here is my simple custom form's code:

    <table class='ps-form-table' width="80%" border="0" align="center" cellpadding="0" cellspacing="5" >
      <tr>
        <td align="right">Select file :</td>
        <td>[image_select]</td>
      </tr>
      <tr>
        <td align="right">Name :</td>
        <td>[caption]< /td>
      </tr>
      <tr>
        <td align="right">Tags:</td>
        <td>[post_tags]</td>
      </tr>
      <tr>
        <td align="right">[submit]</td>
        <td>[loading]</td>
      </tr>
      <tr>
        <td align="right">[done]</td>
        <td>[thumbnail] </td>
      </tr>
    </table>

    PS: Is there any manual document for using "Available fields"?

  2. Hmmm...I tested your code on this site and it worked. Can you post a link so I can see what the source looks like once it's rendered?

  3. Hi byron,
    You can find a link for upload form (text is "Siz de fotograf ekleyin >>") in
    http://www.maviyolcular.com/galeriler/?psmash-gallery=1

  4. I can't see anything that would be causing it not to load the tags...try adding this to your shortcode: post_tags=true

    I'm at a loss.

    BB

  5. Hi again,
    If you mean following code, it is not working...
    `<tr>
    <td align="right">Tags:</td>
    <td>[post_tags=true]</td>
    </tr>`

    I also changed the following codes in uploadform.php:

    $ret = "<input type='text' name='bwbps_post_tags[]' tabindex='". $tab_index . "'"
    					. " id='" . $g["pfx"] . "bwbps_post_tags' class='bwbps_reset' value='" . $val . "' />";

    to

    $ret = '<input type="text" name="bwbps_post_tags[]" tabindex="'. $tab_index . '"'
    					. ' id="' . $g['pfx'] . 'bwbps_post_tags" class="bwbps_reset" value="' . $val . '" />';

    Just changed ' to " and " to '
    It is not working too...

    An interestng problem.

  6. There was a missunderstanding about post_tags=true.
    I tried "[photosmash form=std piclens=true post_tags=true]" in shortcode for standart uploading form.
    Not working...

  7. Finally found the solution:
    Under "PhotoSmash Settings > Uploading", if "Use built-in WordPress upload functions." is not selected, post_tags is not working from front side.
    So I selected it and now working :)

    Now,
    Is there any manual document for using "Available fields"? I mean what is the attributes of these fields?

  8. Magna, awesome! I was totally lost on that. That setting is there for legacy purposes, everyone else should have it checked. I didn't even know that would prevent tagging.

    On the "Available fields", no there isn't a manual. And the fact is that there is a LOT of stuff that you can make these fields do that isn't documented. Clearly, I need to spend some time documenting this. It is perhaps the most powerful feature of PhotoSmash, and nobody even knows what it can do.

    BTW, thanks for helping out lynnspain!

    BB

RSS feed for this topic