How to disable Author field on user upload page?

  • Hi There,


    I'm stoked that the development of this component has been picked up again. It's one of the best extensions of joomla in my eyes.


    I've just updated to the latest version and now there is an "author" field on the user upload page. When users fill in their name here, their name is not linkable anymore on the detail view and gallery view. (jomsocial via displaykunenaname)


    Perhaps I'm missing something, but I can't disable this author field.


    Is there a way to not show this field?

  • Hi There


    I've looked into the folder mentioned ion the documentation, but it's not clear to me what I need to do there to not show the author field.


    Can you say what I need to do there please?


    It would be good to have the option to not show the author field in user upload section via a setting in the configuration in a later version.


    Thanks

    • Offizieller Beitrag

    There exist a separate file for each upload method.

    Depending on which upload method you are using, you have to delete the respective code.


    Single upload

    Filename: default_single.php

    Line 39 - 46

    PHP
      <div class="control-group">
        <div class="control-label">
          <?php echo $this->single_form->getLabel('imgauthor'); ?>
        </div>
        <div class="controls">
          <?php echo $this->single_form->getInput('imgauthor'); ?>
        </div>
      </div>


    Ajax upload

    Filename: default_ajax.php

    Line 57 - 64

    PHP
      <div class="control-group">
        <div class="control-label">
          <?php echo $this->ajax_form->getLabel('imgauthor'); ?>
        </div>
        <div class="controls">
          <?php echo $this->ajax_form->getInput('imgauthor'); ?>
        </div>
      </div>


    Batch upload

    Filename: default_batch.php

    Line 43 - 50

    PHP
      <div class="control-group">
        <div class="control-label">
          <?php echo $this->batch_form->getLabel('imgauthor'); ?>
        </div>
        <div class="controls">
          <?php echo $this->batch_form->getInput('imgauthor'); ?>
        </div>
      </div>