About this topic

  • Posted by giorgiogu 1 year ago. There are 6 posts. The latest reply is from byron.
  • This topic is not resolved

No tags yet.

  1. Hello Byron and Hello Forum :)

    Thanks for this great Plug in!

    I have 2 request if possible.

    The first one is that i would like to modify the standard upload form, i would like to remove the "caption" field and change the name of the field "Image Attribution:" to "Model Name", In what file can i do this?

    The second request is that i would like, after a certain date, that people stop to vote for the pictures, well, i just would like to do it manually, just remove the "vote" button but still leave all the vote below the picture.
    For example, this is the test page i'm using your plugin:
    http://gm-studio.co.uk/model-contest/

    I would like to leave all the votes but avoid that people can add new.

    Thanks for your help.

    Giorgio

  2. Hi Giorgio,

    Welcome to PhotoSmash!

    1) The first request can be handled by the using a Custom Form (you should never change the files if you can help it...you will lose all your modifications the next time you update the plugin...and that is painful). There are tutorials on that: http://smashly.net/photosmash-galleries/tutorials/ and http://smashly.net/photosmash-galleries/how-to/

    2) Unfortunately, this isn't possible with the current code. You would need to modify the files to accomplish this...unfortunately, it's not an easy modification or a small amount of time.

    Cheers,
    Byron

  3. Hi Byron,

    Thanks for your help.

    Sorry, i can't find nothing specific on how to create a new upload form using custom form :( Would be possible for you to paste here the code of the standard upload form so i can start to modify it and insert in the cust form?

    Thanks again

    Giorgio

  4. Hi Giorgio,

    No problem...

    1) Make sure you've got the advanced menu items turned on...as shown here: http://smashly.net/photosmash-galleries/how-to/create-custom-layouts/ and this video gives a little more: http://smashly.net/photosmash-galleries/tutorials/creating-posts/

    WHile both of those relate to Layouts, creating forms uses the same principle.

    2) I don't have the standard form, but here's an example of a more advanced one:

    <h1>Upload a Photo</h1>
    
    Write an <a href='/write/' title='Create a Destination Page'>Article/Event/Destination</a> page instead!
    
    <h3 style='width: 100%; font-weight: bold; border-bottom: 3px solid #222;'>Submitting a Photo</h3>
    <table class='stl-form'>
    <tr>
    <td>Select image:</td><td>[image_select]</td>
    </tr>
    <tr>
    <td>Caption:</td><td class='wide'>[caption tab_index=3]</td>
    </tr>
    <tr><td>Tell us about it:</td><td class='wide'>[description tab_index=4]</td>
    </tr>
    <tr>
    <td><b>Tags</b>:</td><td class='wide'>[post_tags tab_index=7 value='post_tags']<br/><span class='smallinfo'>PLEASE add tags! (separate with commas)</span></td>
    </tr>
    <tr>
    <td>Attribution:</td><td class='wide'>[img_attribution tab_index=5]</td>
    </tr>
    <tr>
    <td>License:</td><td class='wide'>[img_license tab_index=6]</td>
    </tr>
    <tr>
    <td>[submit]</td><td>[loading]</td>
    </tr>
    </table>
    <div class='ps_message'>
    <p>[message]</p>
    <p>[preview_post]</p>
    [thumbnail]
    </div>

    Hope that helps,
    Byron

  5. Thanks Byron!!!!

    I was able to edit it and it's working fine :)

    Thanks

    Giorgio

  6. Welcome!
    BB

RSS feed for this topic