Jump to content


Welcome to DevFuse Forums


Sign In  Log in with Facebook

Create Account
Welcome to DevFuse Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of DevFuse Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
 
Guest Message by DevFuse

(View All Products)Featured Products

  • Donations


    Help fund your forum with donations, setup goals and track member donations. Offer rewards for members donating.
  • Timeslips


    Have your members submit their race times and share with others.
  • Videos


    Allows your members to submit their own videos for community viewing. Support is included for all the major video sites.
  • Forms


    Build your own forms for your members without coding experience. Support included for pm, email and topics.
  • Collections


    Build a community database of items for your members. Full features custom fields included.

Photo

[IPS] [DF] Show Topic/Post Image attachment to guest


This topic has been archived. This means that you cannot reply to this topic.
No replies to this topic

#1 News Bot

News Bot

    Dedicated Member

  • Members
  • PipPipPipPipPip
  • 1,909 posts
  • IP.Board Version:N/A

Posted 09 September 2014 - 08:52 AM

Most of us guys want to allow attached images to view for Guests. also we want to hide other extensions or make them available to access after login / Permission. With default IPB settings if you set Guests Download Permission, then it will allow guests to download both Images or files (.zip or .txt etc). Which is not what we want, we only want guests to see attached images not to see attached other extension files too. But here's the solution.
 
This hook allows guests to see the Attached images in Topic/Post in forums. With the help of this hook they can only see the attached images and download them. 
 
But they cannot download attached files instead of images (for example: zip, txt, files)
 
You also can select what maximum size of image a guest can view only. If you want to show only those attached images who has lower than 100KB size. Then you can use setting of this hook.
 
Though a maximum image size is required to work this hook (default maximum size of image is 200KB) 

View Resource