Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorMrBurrrns
    • CommentTimeJun 28th 2008 edited
     # 1
    Extends the default text formatter to autolink urls and auto insert images and videos. *REQUIRES PHP 5!*

    To insert an image simply enter the url to an image in your comment. For example:

    http://www.example.com/image.jpg

    The image will be then displayed in your comment.

    The same with video. Enter a link to a youtube page like:

    http://www.youtube.com/watch?v=FA621_F3bKw

    And the video will be automatically embedded in your comment.

    I wrote this because I wanted a simple solution for my forum for non tech savvy people. I'm not a web coder, so the code is most likely awful.

    Supports:

    Images
    - jpg
    - gif
    - png

    Videos
    - YouTube
    - Dailymotion
    - Google Video
    - MySpace
    - Spike
    - RedLasso
    - Ceknito.sk
    - Vii.sk
    • CommentAuthorcircuit
    • CommentTimeJun 29th 2008
     # 2
    Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/user/public_html/messageboard/extensions/MakeItSimpleTextFormatter/default.php on line 35
    • CommentAuthorMrBurrrns
    • CommentTimeJun 29th 2008
     # 3
    circuit: Hmm, I forgot that using references in the foreach loop is only supported in PHP 5. I'll see what I can do about that, though it will clunker up the code, so I'm not sure I want to do that.
    • CommentAuthorcircuit
    • CommentTimeJun 29th 2008
     # 4
    that's OK, it's not urgent (it is a very good idea, though :) )
  1.  # 5
    Uploaded version 1.10 of Make It Simple Text Formatter.
    • CommentAuthorMrBurrrns
    • CommentTimeJul 4th 2008
     # 6
    Uploaded version 1.10 - added support for more video sites.
  2.  # 7
    awesome! Yeah bbcode is hard for some people :P Vimeo support and .mp3 support would rock too!
    • CommentAuthordionhall85
    • CommentTimeJul 10th 2008
     # 8
    getting this error when trying to type in a link

    Fatal error: Call to undefined function: stripos() in /home/content/h/h/g/hhgunrange/html/Forum/extensions/MakeItSimpleTextFormatter/default.php on line 25
    • CommentAuthorMrBurrrns
    • CommentTimeJul 10th 2008
     # 9
    dionhall85: You need PHP 5 for this extension to work.
    • CommentAuthordionhall85
    • CommentTimeJul 10th 2008
     # 10
    Oh, Thanks!
    • CommentAuthordionhall85
    • CommentTimeJul 10th 2008
     # 11
    I have updated my site to php 5, however when i try to type a link it does not automatically change? How can i fix this?
    • CommentAuthorMrBurrrns
    • CommentTimeJul 11th 2008
     # 12
    Do you have the extension enabled? Do you use the text formatter? Link to your site?
    • CommentAuthorelm
    • CommentTimeJul 14th 2008 edited
     # 13
    I think it would be better if normal links are not displayed link this ->link<- but like normal but just klickable. So you know where the links points and you don't have to look in the statusbar or somewhere. And is it possible that it works also with the BlogThis extension? That would rock.
    • CommentAuthorjuicysauce
    • CommentTimeJul 14th 2008 edited
     # 14
    @elm: Yeah, I wanted the same functionality. You can tweak one line of default.php (in the extension's folder) to make it work.

    Change:

    $Word = '<a href="'.$Word.'" target="_blank" rel="nofollow">->link<-</a>';

    to:

    $Word = '<a href="'.$Word.'" target="_blank" rel="nofollow">'.$Word.'</a>';
    • CommentAuthorMrBurrrns
    • CommentTimeJul 14th 2008
     # 15
    I use "->link<-" because long links break my theme. But as juicysauce said, you can easily change that.
    • CommentAuthorelm
    • CommentTimeJul 15th 2008
     # 16
    Thanks. But the problem is the update. Everytime a new version is released, i have to change some code in nearly every extension I use so I try to make you to do the changes ;). But I see it is not possible to fulfill everyones wishes. Maybe it is possible to format the links like this:

    http://www.google.de/sear...lient=firefox-a

    so it would not break you theme :) I think this is a good compromise.
    • CommentAuthoracarboni
    • CommentTimeJul 16th 2008
     # 17
    I'll second the request for Vimeo and mp3 support. That would serious kick ass.
    • CommentAuthorMrBurrrns
    • CommentTimeJul 16th 2008
     # 18
    Vimeo is a bit tricky as they have different video sizes. MP3 support is also tricky, as it requires a player. But I'll try to figure something out.
    • CommentAuthormiquel
    • CommentTimeJul 18th 2008
     # 19
    does it support auto-embedding flickr pics?
  3.  # 20
    It would be awesome if this would support bold italics

    EX:

    *bold* = bold

    _italic_ = italic
    • CommentAuthorMrBurrrns
    • CommentTimeJul 18th 2008
     # 21
    miquel: I don't use flickr, gimme an example.

    silver-dragon: Everything is possible. ;)
  4.  # 22


    This is how they have formating set up a writeboard.com it's really intuitive and easy to use.
    •  
      CommentAuthor[-Stash-]
    • CommentTimeJul 18th 2008
     # 23
    Sounds like you just want Markdown.
    • CommentAuthordaisukey
    • CommentTimeJul 25th 2008
     # 24
    Hi there. Good addon. :) However I'm getting this error popup when I try to enable this addon. The server has php5 enabled.

    • CommentAuthordaisukey
    • CommentTimeJul 26th 2008
     # 25
    mmm new peoblem occured. Php5 is enabled and i got this error.

    Fatal error: Cannot redeclare class ExtendedTextFormatter in /home/35738/public_html/extensions/MakeItSimpleTextFormatter/default.php on line 20
    • CommentAuthorScorpion
    • CommentTimeAug 5th 2008 edited
     # 26
    Hello,

    This is just what I wanted and it works fine - almost. There's an issue with video links in that when I tried it with this youtube video http://www.youtube.com/v/htt5IjMhysM&rel=0&color1=0xe1600f&color2=0xfebd01&border=0
    it lauched it in a new window instead of embedding it.

    On the other hand I found an existing post from someone else in my forum where a video link they'd included before I used your add-on now showed as embedded. So it does work sometimes.

    What I want to understand is what causes the different behaviour. Any ideas please ?
Add your comments
    Username Password
  • Format comments as