Right now, I can apply the smilies module to the shoutbox text, which means that if i type :) it will be translated to the appropriate icon. But is there a way to have a link that will bring up the same smilies window, with the same smilies icons as we specify in the settings of the smilies module?

Great module! Thanks!

CommentFileSizeAuthor
#8 one.htm_.zip202 bytestanfastic006
#9 one.htm_.zip28.43 KBtanfastic006

Comments

disterics’s picture

Sorry - Can you elaborate further? I am not exactly sure what you are asking.

disterics’s picture

Status: Active » Postponed (maintainer needs more info)
Arjean-1’s picture

To elaborate:)
Letting smilies and shoutbox work together works perfect. A smilie will appear when sending ":)" in the shoutbox.
Only there is no way to see what type of smilies are available (for example :beer: (from a visitor point of view))

When creating a storynode a box with smilies will appear showing you all possible smilies available.
This box is missing from the shoutbox. Or maybe a link to the popupwindow the smilies module generates.

Example:
http://joomla.batjo.nl/
Shoutbox has a "smilies?" link at the bottom allowing the visitor to select smilies.

tanfastic006’s picture

i am making do with this small smiley pop up i made.
http://munia.pragyadhi.com edit this website is no more functional ..refer to the other site i mentioned..it has the same feature.
it really would be helpful if the "smiley select box" of smiley module is incorporated in shoutbox.

CodyG’s picture

Is there any progress on getting a "pick a smilie" feature for the shoutbox?

tanfastic006’s picture

The nearest I could go was make this feature..that it pops up and shows the smiley codes..I will provide the javascript codes if you deem the feature suitable.
You can test it in this site.

  • http://habijabi.in
  • The pop-up opens when you click on the link that says "click for smiley codes" near the bottom of the shoutbox.

    tanfastic006’s picture

    Its working fine with firefox and other browsers..but gets a js error in IE. Finding an IE-fix.
    edit. Its fixed.Please check.

    tanfastic006’s picture

    StatusFileSize
    new202 bytes

    add this at the "end" of shoutbox-form.js.Do replace yoursitename.

    var newWindow = null;
    function popItUp()
     {
    var win="one"
    var windowFile = "(drupal_get_path('module', 'shoutbox') .'one.htm')"
    newWindow = open("http://<yoursitename>/sites/all/modules/shoutbox/one.htm", "pop",
    "resizable,scrollbars,width=225,height=400,left= 275,top=150");
    }
    

    Download the zip file,extract and paste the files "smile1.png" and "one.htm" in /sites/all/modules/shoutbox/

    After line 851 in shoutbox.module,modify

    drupal_add_js(array('shoutbox' => $js_settings), 'setting');
    
      $output .= l(t('All Shouts'), 'shoutbox');
      return theme('shoutbox_page', $output, $title);

    to

      drupal_add_js(array('shoutbox' => $js_settings), 'setting');
     
      $output .= t('<a href="javascript:popItUp()">Click for smiley codes</A> <br>');
      $output .= l(t('All Shouts'), 'shoutbox');
      return theme('shoutbox_page', $output, $title);
    

    save.. the link for smiley pop up would come up at the bottom of shoutbox,above "All shouts".

    tanfastic006’s picture

    StatusFileSize
    new28.43 KB

    below is the attached file

    tanfastic006’s picture

    I made a pop up of a image file showing all the codes of the smiles. I am thinking of making a modal pop-up in js to make a clickable smiley group, i.e when u click on a smiley, its code should come up in the text area. Can someone help porting the needed functions into the shoutbox.module from the js file.

    obby’s picture

    Category: feature » support
    Status: Postponed (maintainer needs more info) » Active

    Hello

    i'm sorry maybe this is not the good place to ask but I do not know how to integrated smiley in the shoutbox. Could you help me to know how to do it ?

    aschiwi’s picture

    @obby: you better read the README files that come with both shoutbox and smileys module. From what I see once you enable the smileys module and enable smileys in the input filter you are using with your shoutbox smiley codes like :) and ;) will be converted to graphics. This thread is about making this easier, like providing a link to a popup which shows all available smileys for easy insertion without having to guess the right one.

    Has anyone made any progress on implementing this?

    mstef’s picture

    Version: 6.x-1.x-dev » 6.x-2.x-dev
    Status: Active » Closed (fixed)

    Shoutbox 2 has support for input filters. I believe there's a module that provides an input filter for smilies.