Not signed in (Sign In)

Categories

Vanilla 1.1.5 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.
    •  
      CommentAuthor3stripe
    • CommentTimeJul 27th 2005
     # 1
    Hmmm or is this just overkill. Just thought I'd put the thought out there.
    • CommentAuthoromfg
    • CommentTimeJul 27th 2005
     # 2
    I like smilies :D
    • CommentAuthorjonezy
    • CommentTimeJul 27th 2005
     # 3
    i like ascii smilies.
    •  
      CommentAuthorTiffanyA
    • CommentTimeJul 27th 2005
     # 4
    Would love to add smilies!
    • CommentAuthortfsmag
    • CommentTimeJul 27th 2005
     # 5
    pinkies!

    tfsmag gets coat and runs out
    • CommentAuthoromfg
    • CommentTimeJul 27th 2005
     # 6
    Ascii smiles, how 1987.
    • CommentAuthortfsmag
    • CommentTimeJul 27th 2005
     # 7
    tfsmag remembers it's like 5 bajillion degrees lately and leaves coat
    •  
      CommentAuthor3stripe
    • CommentTimeJul 27th 2005 edited
     # 8
    I think ascii smilies are perfect for this flavour of Vanilla personally, but might be nice to have gif smilies on other installs.

    That said I just remembered the old

    =)

    which is possibly the slickest smilie ever, don't think it could be beaten
    •  
      CommentAuthorjsanders
    • CommentTimeJul 27th 2005
     # 9
    yeah, i always thought gif smilies cheapened a forum's look, but i know the kiddies love 'em.
    • CommentAuthortrabus
    • CommentTimeJul 27th 2005
     # 10
    it would be cool if you could write the extension to display either a gif or a text version of each one depending on if they were in text only mode.
    •  
      CommentAuthor3stripe
    • CommentTimeJul 27th 2005
     # 11
    yeah that sounds good
    •  
      CommentAuthoroutbreak
    • CommentTimeJul 27th 2005
     # 12
    smilies would definitely be an awesome extension. a lot of people hate them, a lot of people love them.

    i tried writing this extension already, but im just not a proficient coder enough to do such a task.
    •  
      CommentAuthor3stripe
    • CommentTimeJul 28th 2005
     # 13
    i was wondering if you could get a smilie add-on for markdown :-?
    •  
      CommentAuthordom
    • CommentTimeJul 28th 2005 edited
     # 14
    In theory, a well written smilie extension would take care of processing comments after the Html, Markdown, or plain text formatter has got its hands on them. That way you don't need to do anything special to accomodate different formatting styles.
    •  
      CommentAuthorjsanders
    • CommentTimeJul 28th 2005
     # 15
    which brings up an interesting point, but i'm afraid this might be another topic that is merely awaiting documentation: is there a way to specify the order in which extensions are processed?
    • CommentAuthorpatrix
    • CommentTimeJul 28th 2005
     # 16
    > In theory, a well written smilie extension would take care of processing comments after the Html, Markdown, or plain text formatter has got its hands on them. That way you don't need to do anything special to accomodate different formatting styles.

    I suppose you could write an extension that extends the StringManipulator class and then replaces the StringManipulator object reference in the Context with itself. That's assuming I understand things correctly about how vanilla works :)

    Now if only I could figure out how to call a parent class's functions in php, I'd have this extension 50% done already ;) (thanks to mark's new documentation on extensions!! )
    •  
      CommentAuthorGhazi
    • CommentTimeAug 1st 2005 edited
     # 17
    Hello everyone!
    I've just altered the bbcode extension to allow for the use of smilies too.
    Download and let me know if you have any questions.
    • CommentAuthorsumeet
    • CommentTimeAug 1st 2005
     # 18
    How do you use the smilies? Does the extension automagically change :-) into a smiley?
    •  
      CommentAuthorGhazi
    • CommentTimeAug 1st 2005
     # 19
    Here's what I've included:

    :) =
    ;) =
    :D =
    :( =
    :| =
    :P =
    • CommentAuthorsumeet
    • CommentTimeAug 1st 2005
     # 20
    This is awesome.

    Is there a way to make it so that smilies are created in the normal text mode? Switching to BBCode mode isn't too vital for my forums, so I'l rather not confuse the kids with the options.
    •  
      CommentAuthorGhazi
    • CommentTimeAug 1st 2005 edited
     # 21
    Ok, first disable the extension. Then change the following line (2nd to last line) in BBCode.php:

    $Context->StringManipulator->AddManipulator("BBCode", $BBCodeFormatter);

    to:

    $Context->StringManipulator->AddManipulator("Text with Smilies", $BBCodeFormatter);

    Then go ahead and re-enable the extension. This will simply give your users 2 options; text, and text with smilies. But it won't take the bbcode capability away.
    •  
      CommentAuthor3stripe
    • CommentTimeAug 2nd 2005
     # 22
    hey ghazi,

    nice work!
    • CommentAuthorsumeet
    • CommentTimeAug 2nd 2005
     # 23
    Thanks, that's definitely a solution. However, does anyone know how to make it apply to the normal Text setting without the need for another option?
    • CommentAuthorpatrix
    • CommentTimeAug 4th 2005
     # 24
    Yeah, rewrite your own TextFormatter (see the source code somewhere in the library/ directory), and replace its reference with your new TextFormatter. did it once, lost the code, it was pretty trivial. Didn't try it with the ObjectFactory->SetReference though, I just did something like

    StringFormatter->formatters['text']=$mySmiliesFormatter;

    or whatever it is... too lazy to look at the source and try it out right now, but it worked!
    •  
      CommentAuthorGrep
    • CommentTimeOct 15th 2005
     # 25
    I built on Ghazi's excellent work and added the full icon set from planet-tolkien. So here's a version with 110 more smilies BBCode+110
    •  
      CommentAuthorlech
    • CommentTimeOct 16th 2005
     # 26
    110 smilies?! are there even that many facial expressions possible in the human face?!
  1.  # 27
    ahh lech my dear boy, you're forgetting that smilies arent actually smilies. Theyre animated gifs which just happen to have a face in them somewhere... They've branched out to smilies holding signboards requesting that you read the search feature and all sorts now! Typing is *so* old fashioned.
    • CommentAuthortimberford
    • CommentTimeOct 16th 2005
     # 28
    how do you know what the bbcode is for 110 smilies? surely you don't learn them all!
  2.  # 29
    its a whole new language. How do you know what the english for 'by the way i suck cock and i'm too lazy to type so i'm gonna use a shitty smiley' is? You learn it!
    •  
      CommentAuthorGrep
    • CommentTimeOct 16th 2005
     # 30
    it's very true - since it's planet-tolkien smilies this set even include orc's and elves, and just to be really annoying quite a few christmas ones too; aside from the basic faces most are in the format :word: theres a crib sheet included in the archive on the current site there's a drop down list that inserts it automaticly and at some point i'm going to have to figure out how to put that into Vanilla.
    •  
      CommentAuthorlech
    • CommentTimeOct 16th 2005
     # 31
    its a whole new language. How do you know what the english for 'by the way i suck cock and i'm too lazy to type so i'm gonna use a shitty smiley' is? You learn it!

    mini, that's wrong on so many levels.
    •  
      CommentAuthornathan
    • CommentTimeOct 17th 2005
     # 32
    but funny. you must admit.

    I miss this place. I am back at school and just don't ALL the free time I had before to hang out here. I will try and spend an hour here every night to help out and stay on top of things though.

    On a more serious note, I think 110 smilies is a little over the top. I am glad it is an extension. That is all I can say.
  3.  # 33
    whats wrong with it lech? And yeah nathan, i tend to spend some time every day catching up on all the threads then spamming some more junk for a while. it's good.
    •  
      CommentAuthorGrep
    • CommentTimeOct 17th 2005 edited
     # 34
    Even i agree it's a bit over the top, you could easily cut about 50% of them and still have too many. Unfortunately my site members expressed a desire for them to stay - least 60% of the 5000 members asked for them in the poll i took! Plus it took quite a long time to get them all in there so i thought i'd share them - there may be other simily addicted sites out there who need an ork grinning and snowman.
    •  
      CommentAuthorfernando
    • CommentTimeNov 22nd 2005
     # 35
    has anyone noticed that this site is now absent?

    how did this extension work?
    has anyone got the original archive for potential distribution?

    smiles would be a nice addition.
    •  
      CommentAuthorJazzman
    • CommentTimeNov 23rd 2005
     # 36
    Smilies.... also on my todo-develop-extension list :D Just waiting for Vanillia 0.9.3..... don't wanna do things twice :D
    •  
      CommentAuthorfernando
    • CommentTimeNov 23rd 2005 edited
     # 37
    will 0.9.3 really be so completely different?
    •  
      CommentAuthorJazzman
    • CommentTimeNov 23rd 2005
     # 38
    Well... don't know exactly. In this case I don't think the StringManipulator will be much different. But you never know what Mark's up to :P
Add your comments
    Username Password
  • Format comments as