frontend uploading

it would be very nice if there would be a front end uploader for the users which would be used to upload the media files instead of using the administration backend partially or the ftp. there should be full fleged ability of the user to upload using the set theme instead of using the admin backend and admin theme. A plugin would also do good if it is possible.

Comments

  • acrylian Administrator, Developer
    Quite a potential security problem so we will probably not add something like that. Same reason why the front end edit is gone now.

    But feel free to provide a plugin if you feel this is needed.
  • ayan Member
    Thank you for the tip. But I am a novice at writing codes in php and I am not sure whether i will be able to create any such kind of plugins. Any kind of support will be a great help for me. can i request for such a plugin from your side? just an earnest request...
  • acrylian Administrator, Developer
    If you are a novice at writing code it will surely exceed the possibilities of the forum. I recommend to take the time to learn the general coding basics elsewhere first.

    Without being able to do it yourself you sadly have two choices for features you wish to see:
    1. Open a ticket on our issue tracker for the feature. But there is no guarantee naturally if or when we consider that request at all. For this request the chances are not really good as mentioned.
    2. You could hire someone.
  • ayan Member
    i know the general basics but not an expert in creating the plugin. Thats the reason. Unfortunately i feel helpless. Still thank you a lot for your advice.
  • ayan Member
    is there any way i can hide the zenphoto logo in the user uploader? actually i dont want to show my users what source i am using? is it possible?
  • acrylian Administrator, Developer
    You will have to modify the the admin css and you will have to do it again on any update.

    But why do you want to hide that you are using a free open source tool?
  • ayan Member
    if i continue to use with the zenphoto logo then it would be kind of viewing displeasure as the user might think where he/she may have been redirected to and also it would look like there is no link of the upload page with the rest of the website. In one word, its for the design compatibility as i am having no frontend uploading.
  • acrylian Administrator, Developer
    Ok, as you like. I don't understand why just telling your users what tool they use how is a problem though.
  • ayan Member
    as a matter of fact, i am planning on removing the header but keeping the footer "powered by Zenphoto" so naturally the user comes to know what tool they are using. :)
  • fretzl Administrator, Developer
    Here is a plugin I copied/pasted together for a client with a similar wish.

    Save the code as `zp-branding.php` and place it in the plugins folder.
    Then activate the plugin.
    `
    <?php
    $plugin_is_filter = 5|ADMIN_PLUGIN;
    $plugin_description = gettext("Remove Zenphoto logo from the backend");

    zp_register_filter('admin_head', 'zpBranding::customZpLogo');

    class zpBranding {

    static function customZpLogo() {
    global $_zp_current_admin_obj,$_zp_admin_tab,$_zp_admin_subtab,$_zp_gallery;
    if (zp_loggedin(ADMIN_RIGHTS)) {
    ?>

    //

    <?php
    }
    }
    }
    ?>
    `
  • acrylian Administrator, Developer
    You should not encourage anyone to remove our logo ;-) And agood way, I completely forgot we of course have admin filters.
  • ayan Member
    Thank you fretzl, i will be using it tomorrow and will let you know my feedback. :) By the way acrylian, can i encourage myself atleast? :P
  • ayan Member
    @fretzl...i copied down your plugin and saved it with "zp-branding.php" and copied it to the plugins folder but unfortunately it doesnt show up in any of the subtabs of the plugins window. As a result, unable to activate the plugin. :(
  • ayan Member
    when users are uploading from the backend they are not being able to upload as they are being shown that no album is selected. But in the register.php plugin options i have set to create an album automatically for the respective user. so what should i do?
  • acrylian Administrator, Developer
    Are those albums created? Are there errors in the log?
  • ayan Member
    yes..and error free.
  • acrylian Administrator, Developer
    Sorry no idea then. I admit to never have used this function. My colleague probably knows more. Best you create another thread with a proper title for the issue so he spots it.
  • ayan Member
    alrt.
  • fretzl Administrator, Developer
    @ayan: It should show up under the "all" tab.
    It works fine on my install.
  • ayan Member
    :( i copied the code and using dreamweaver saved it as a php file and then copied it to the root/plugins folder but its not showing up.
  • fretzl Administrator, Developer
    Sorry, don't have a clue :(
  • acrylian Administrator, Developer
    Maybe you should put the plugin on our unsupported repository (folder of the same name with the file itself)? Or even your own?

    Could be a simple copy&paste issue, often "kills" chars like quotes, especially in JS code.
  • ayan Member
    This time i typed the code myself completely without any general mistakes but still it isnt showing up. So i decided to try the traditional method. Changed the css of admin and then Voila! But the upload isnt working for the user. It states that No album is selected. Any tips about it??
  • fretzl Administrator, Developer
    Just made a plugin available on GitHub.
    You can replace the default logo with your own.
    https://github.com/fretzl/zp-branding

    Hope it works this time ;-)
  • ayan Member
    @fretzl...And surely it worked this time!! (the code was a bit different from the one you posted above)... Thanx man!!!
Sign In or Register to comment.