What Do You Need In The Xf2 Xengallery Version? Vote for your choices here: http://www.sonnb.com/threads/what-do-you-need-in-the-xf2-xengallery-version.1539/

Question How To Remove 'everyone' From 'who Can Comment' Dropdown

Discussion in 'XenGallery' started by Russoroni, Mar 11, 2014.

  1. Russoroni

    Russoroni Member

    Is there a template I can change to remove 'Everyone' from the choices? I don't allow unregistered users to comment on anything.

    Image 7.gif
     
  2. sonnb

    sonnb Administrator Staff Member

    Even you choose Everyone, Unregistered cannot comment. XenGallery does not allow guest to comment/post content yet.
     
  3. Russoroni

    Russoroni Member

    I know but I still want to remove it. It's just a little bit confusing to the user.
     
  4. sonnb

    sonnb Administrator Staff Member

    You can remove in template: sonnb_xengallery_xxx_privacy
     
  5. Russoroni

    Russoroni Member

    Wow, that was much easier than I thought it would be. Thanks.
     
  6. Russoroni

    Russoroni Member

    Also, is there a place in album view or photo/video view where I can see anyone that was tagged? Seems like there should be something like that
     
  7. sonnb

    sonnb Administrator Staff Member

    It is under the description.
     
  8. Russoroni

    Russoroni Member

    Thats weird. I don't see it.
     
  9. sonnb

    sonnb Administrator Staff Member

    Did they accept your tag request yet?
     
  10. Russoroni

    Russoroni Member

    ahhh... THAT's what it is lol. Thanks man.
     
  11. Russoroni

    Russoroni Member

    I love the tagging. Works great.
     
    sonnb likes this.
  12. Russoroni

    Russoroni Member

    Hey! xfrocks fixed the problem. Check your inbox at xenforo. I implemented the fix and its almost working but now I get an error popup saying: Please enter a value using 2000 characters or fewer

    But this happens even if I choose not to import the comments.
     
  13. sonnb

    sonnb Administrator Staff Member

    Yep. I saw that conversation. For the error, it is likely because I do not limit the description of album in the importer which is limited to 2000 in code.
     
  14. Russoroni

    Russoroni Member

    Can you tell me how to fix it? I don't understand... How is the description over 2000 characters?
     
  15. sonnb

    sonnb Administrator Staff Member

    library\sonnb\XenGallery\XenForo\ControllerPublic\Thread.php line 124 change to:

    PHP:
    'description' => XenForo_Helper_String::wholeWordTrim($description1900),
     
  16. Russoroni

    Russoroni Member

    Hmmm... Still giving the error
     
  17. sonnb

    sonnb Administrator Staff Member

    Using this one?
     
  18. Russoroni

    Russoroni Member

    Yes. Did that and its still giving the error
     
  19. Russoroni

    Russoroni Member

    I can give you access if you would like but I did it.
     
  20. Russoroni

    Russoroni Member

    oh wait duh... FTP access... heres the file...
     

Share This Page