1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unmaintained Auto-show image link as image 1.0

auto bbcode image

  1. starvnnet

    starvnnet Member

    erich37 likes this.
  2. starvnnet

    starvnnet Member

  3. When you convert the url to display the actual image. How is this done? Via attachment? The reason why I ask, is because I use an addon that converts external images to attachments if they are posted on my forum. I was just curious how this addon works, so I could decide if it plays well with the addon I mentioned.
  4. starvnnet

    starvnnet Member

    @PerfectInsanity This addon is very simple.

    When you post link. it will be display : <a href="http://abc.com/xyzt">
    This addon use function isImage($url) to check http://abc.com/xyzt
    If it is an imagelink, it will be display <img src="http://abc.com/xyzt" />

    You can Open \library\Starvnnet\UrlToImg\BBcode.php to read function isImage($url) and from line 66 to line 72 :)
  5. Okay, thanks. That answered my question.
  6. ineedhelp

    ineedhelp Well-Known Member

    Good add-on, works great….. But on my forum, I have disabled Images in Signatures Permission, but with this add-on, it's displaying image urls as images in Signatures. Because a few members have got links to images in their sigs.

    Can you block this add-on from detecting image urls in Signatures pls. Or even better, maybe add an option in ACP for disabling this.

  7. Mark Wein

    Mark Wein Member

    I'm getting this error when I try to install the addon:

    Please enter a valid callback method (Starvnnet_UrlToImg_Listener::formatter).
  8. starvnnet

    starvnnet Member

    @ineedhelp : Thanks for your suggestion but I can't do it right now. Because it's too hard to know where links come from, content or signature. I'll find the way how to do it and release in next versions.

    @Mark Wein : Listenner.php is located in library/Starvnnet/UrlToImg
    Are you sure?
    Last edited: Sep 29, 2013
  9. Mark Wein

    Mark Wein Member

    fixed it. User error :)
  10. ineedhelp

    ineedhelp Well-Known Member

    @starvnnet can you make this compatible with 1.3 pls... It's giving errors every second, so I've had to disable it for now.


    RAHSTYLES Active Member

    Yea this looks like a good mod.. update it please
  12. DRE

    DRE Well-Known Member

    Clashes with User Smilies modification in Xenforo 1.4.1

Share This Page