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.
    •  
      CommentAuthoruzi
    • CommentTimeApr 26th 2006
     # 1
    First big thanks to Jazzman, who made this awesome extension!

    http://lussumo.com/addons/index.php?PostBackAction=AddOn&AddOnID=26


    Now the question:

    I have only one folder with Emoticons. Jazzman, can you add a feature that if there is only one folder, the folder change form is not displayed???
    •  
      CommentAuthoruzi
    • CommentTimeApr 26th 2006 edited
     # 2
    Second question:

    where can I modify to display the smileys before the "Format comments as"?
    •  
      CommentAuthorJazzman
    • CommentTimeApr 27th 2006 edited
     # 3
    Hello Uzi,

    Tnx for the suggestions! I'll make these modifications in a new version! I'll post here when it's done.
    •  
      CommentAuthoruzi
    • CommentTimeApr 27th 2006
     # 4
    OK, thank you! ;)
    •  
      CommentAuthorJazzman
    • CommentTimeMay 1st 2006
     # 5
    I've updated the Vanillacons version to 1.1

    It includes a Firefox fix, because of the case-senstivity of an element id.
    Also, when only one smilie directory (category) is used, the selectbox won't appear.

    I couldn't (easily) display the smilies before the "Format comment as", because it didn't have a delegation.

    Remember to "Rebuild Vanillacons" when you install the new version!
    • CommentAuthormarkezz
    • CommentTimeMay 1st 2006
     # 6
    hello jazzman,

    tnx for that great add-on...

    have a very small suggestion for the next (sub)version. it helped me a lot to display the smilies-names in the alt/title of the image. not very important, but useful in my opinion...
    •  
      CommentAuthoruzi
    • CommentTimeMay 1st 2006 edited
     # 7
    Yeah Jazzman! It's beautiful now!

    THANK YOU VERY MUCH!

    :)


    P.S. It would be great if you make something like that for bbcode tag-insertion.

    See my thread http://lussumo.com/community/discussion/2056/bbcode-buttons-smileys/#Item_17
    • CommentAuthormarkezz
    • CommentTimeMay 1st 2006
     # 8
    i wrote an extended function to insert the selected smilie at cursor position. can be downloaded as a .zip File or as a .js File.

    it is not fully tested (probably works). feel free to use.
    •  
      CommentAuthorJazzman
    • CommentTimeMay 2nd 2006
     # 9
    Hey markezz! Nice function! I'll add it to my next release with your permission? (I'll credit you ofc :P)
    •  
      CommentAuthoruzi
    • CommentTimeMay 2nd 2006
     # 10
    Nice feature! Helps me a lot ;)
    • CommentAuthormarkezz
    • CommentTimeMay 2nd 2006
     # 11
    Does anyone have a workaround for the preview (PreviewPost by SirNot) to display smilies ?
  1.  # 12
    This is a great extension. I tried to eliminate all but one folder to remove the selection box but the box is still there. Any thoughts?
  2.  # 13
    I actually just commented out line 134 in the default file. I hope that doesn't have any bad effect...

    // if( $CommentForm->Context->Configuration["SMILIES_CATEGORIES"] > 1 ) $DirSelect->Write();
  3.  # 14
    How would one add a whole new section of smilies and add a new set of gifs to that? I attempted to create a folder with a set of gifs in the /vanillacons/smilies folder. After doing that, vanilla read the section but the smilies wouldn't show up in the "add our comments" box. I tried rebuilding the icons as well, but that didn't work either. Should there be any changes made to the css file?
  4.  # 15
    Any responses?

    "How would one add a whole new section of smilies and add a new set of gifs to that? I attempted to create a folder with a set of gifs in the /vanillacons/smilies folder. After doing that, vanilla read the section but the smilies wouldn't show up in the "add our comments" box. I tried rebuilding the icons as well, but that didn't work either. Should there be any changes made to the css file?"

    Thanks.
    •  
      CommentAuthorjimw
    • CommentTimeJul 27th 2006
     # 16
    I just added this extension to my forum. When I go to the comment, I see the default standard icons. Then, when I select any category of icon, nothing displays. Any ideas why this happens?
    • CommentAuthorMania
    • CommentTimeJul 27th 2006
     # 17
    jimw: I have this happening also. :(
    •  
      CommentAuthorJazzman
    • CommentTimeJul 27th 2006
     # 18
    Can you give me a link? It might be some javascript error
    •  
      CommentAuthorjimw
    • CommentTimeJul 27th 2006
     # 19
    I wish I could do that but I am testing locally on my computer. I really have to get my forum online. Sorry.
    •  
      CommentAuthorDinoboff
    • CommentTimeJul 27th 2006
     # 20
    What does your logs say (error.log and access_log)?
    •  
      CommentAuthorjimw
    • CommentTimeJul 27th 2006
     # 21
    I get a whole series of the error in error.log:
    [Thu Jul 27 16:48:51 2006] [error] [client 127.0.0.1] File does not exist: D:/Program Files/xampp/htdocs/forum, referer: http://localhost/Vanilla.1/comments.php?DiscussionID=5&page=1

    In the access_log, there are a lot of:
    127.0.0.1 - - [27/Jul/2006:16:48:52 -0400] "GET /forum/extensions/Vanillacons/smilies/happy/jumping.gif HTTP/1.1" 404 1332
    127.0.0.1 - - [27/Jul/2006:16:48:52 -0400] "GET /forum/extensions/Vanillacons/smilies/happy/rolling.gif HTTP/1.1" 404 1332
    •  
      CommentAuthorDinoboff
    • CommentTimeJul 27th 2006 edited
     # 22
    What vanilla is looking after in /forum/ when your vanilla is installed in /Vanilla.1/ (c:/Program Files/xampp/htdocs/Vanilla.1?) ?

    look in setting.php (or in icons extension maybe) for this wrong path and change it
    •  
      CommentAuthorJazzman
    • CommentTimeJul 28th 2006
     # 23
    Have you tried the rebuild function? This auto-corrects any path issues.
  5.  # 24
    I installed Vanillacons, and my board members LOVE it. Wanted you to know that a few of the images are missing:
    fierce.gif, fingersear, sleepout, and wink

    Think that is all. :D
    • CommentAuthorMandrake
    • CommentTimeAug 21st 2006
     # 25
    Hi, I got the smae problem where after selecting the new type, the icons doesn't show up. I looked at the code and its reflecting the right path.

    "/extensions/Vanillacons/smilies/standard/angry.gif"

    I did rebuild the icons, and it shows up fine on the post. But not after selecting a new type. Any help? Thanks
    • CommentAuthorarvin8
    • CommentTimeSep 28th 2006
     # 26
    I also can't see the smiles becouse of incorrect path (/forum/).
    And I must tell you that rebuilding does not corrects this issue.
    •  
      CommentAuthorpbear
    • CommentTimeSep 28th 2006
     # 27
    I had this situation where the row of smileys wouldn't change after selecting a category. Happened on my local installation. I may have had to logout and also logout/restart the computer and then it worked. So maybe a cache issue?

    If you logout of the Vanilla forum then sign back in does it work correctly? Maybe my solution was just a fluke?
  6.  # 28
    Suddently not working at all. No idea why. Now the drop down menu is there, but no icons are visible. I rebuilt them, no change. :(
    • CommentAuthorfabienne
    • CommentTimeNov 11th 2006 edited
     # 29
    Did this issue ever get solved? I just started a discussion about it (I searched for mention of it but didn't use the words which later searches used to turn this discussion up).

    I installed Vanillacons. I also thought that putting a couple of extra icon folders in there would be good (add another couple of categories of images). After a bit of tinkering, and getting rid of the new folders and images and getting back to the original ones, I can see the icons in each category but I cannot add them to my comments. They show up in the Add Your Comments box before I post, but when I post they are not there. Is there a problem between FCKeditor and Vanillacons? I have FCKeditor added to my extensions, the thought just occurred to me that it might be interfering with Vanillacons.

    Did anyone find the fix for this? Thanks for your help.

    Edited to say: I found the fix. I had FCKeditor installed and it did not work with Vanillacons. I unplugged FCKeditor and now Vanillacons work well. I even installed my own folder of .gifs for my forumites to play with. A friend of mine told me that Vanillacons might not work with something like FCKeditor, sure enough that was the case.
    • CommentAuthorRocky
    • CommentTimeFeb 7th 2007 edited
     # 30
    I'm a real newbie, have installed Vanillacons, and it works fine. However, the ability to insert the icon at the cursor position (functions.js) doesn't work for me. Any ideas?Thanks
    •  
      CommentAuthory2kbg
    • CommentTimeFeb 7th 2007
     # 31
    same here
    •  
      CommentAuthorWanderer
    • CommentTimeFeb 8th 2007
     # 32
    Yes this is a pain, you need to cut and paste as it inserts at the end, no biggie really. pic

    Posted: Thursday, 8 February 2007 at 7:40PM (AEDT)

    • CommentAuthorRocky
    • CommentTimeFeb 8th 2007
     # 33
    On May 1, 2006, markezz wrote "i wrote an extended function to insert the selected smilie at cursor position. can be downloaded as a .zip File or as a .js File." The links in that post are no longer valid.
    On May 2 Jazzman replied "Hey markezz! Nice function! I'll add it to my next release with your permission? (I'll credit you ofc :P)"
    Vanillacons was re-released in June 2006 with functions.js (the script to allow insert) included. So shouldn't it work?
    Forgive me if I'm dense, and thanks for any assistance.
    • CommentAuthorjavoy43
    • CommentTimeFeb 9th 2007
     # 34
    Hello I have post yet the problem but I haven't the solution...
    The error when I activate the add-on alone :

    Warning: Invalid argument supplied for foreach() ... in default.php
    Notice: Undefined variable: Smilies in ... in default.php

    Any ideas ?
    Help please !
    Thx.
    • CommentAuthorjavoy43
    • CommentTimeFeb 9th 2007
     # 35
    I download the last add-on Vanillacons 1.2 but I read on my add-on control panel Vanillacons 1.1 !
    Do you know why ?
    •  
      CommentAuthorJonny
    • CommentTimeMay 15th 2008 edited
     # 36
    Random question... Very minor thing I'd like to change, but something that's been bugging me. What exactly should I be modifying to have the vanillacons extensions insert a space before each smiley, just so the gifs aren't butted up against one another or any text?

    I figured it was in the default.php in this portion of the code, specifically where it's generating the HTML for the specific .gif file.:

    function Rebuild() {
    $count = 0;
    $dircount = 0;
    $fh = fopen(dirname(__FILE__).'/smilies.js', 'w');
    $fh2 = fopen(dirname(__FILE__).'/smilies.php', 'w');
    $Smilies = "<?php\n";
    $Output = "var arrSmilies = new Array();\n";
    $SmiliesDir = $this->Context->Configuration["APPLICATION_PATH"] . $this->Context->Configuration["SMILIES_PATH"];
    foreach( glob($SmiliesDir.'*', GLOB_ONLYDIR) as $dir ) {
    $dircount++;
    $Output .= "\narrSmilies[\"".basename($dir)."\"] = new Array();\n";
    $i = 0;
    foreach( glob($dir.'/*') as $file ) {
    $link = $this->GetSmilieUrl(basename($file));
    $imgurl = $this->GetSmilieImg(basename($dir), basename($file));
    $Output .= "arrSmilies[\"".basename($dir)."\"][".$i."] = '";
    $Output .= "<span onclick=\"insertSmilie(\'".$link."\');\" class=\"VanillaconsLink\"><img src=\"".$imgurl."\" alt=\"\" /></span>";
    $Output .= "';\n";
    $Smilies .= "\$Smilies[\"".$this->GetSmilieUrl(basename($file))."\"] = \"".$this->GetSmilieImg(basename($dir), basename($file))."\";\n";
    $i++;
    $count++;
    }
    }


    I tried inserting HTML non breaking spaces before the span, adding another span with the nbsp but no luck... Am I in the right place here...?
    • CommentAuthormiquel
    • CommentTimeMay 15th 2008
     # 37
    i think this function just rebuilds the paths for the icons, not echoing the html for the emoticon.

    maybe you should look at the insertSmilie javascript function
    •  
      CommentAuthorJonny
    • CommentTimeMay 15th 2008
     # 38
    Ahh man I feel like a fool! That was easy as pie... Thanks miquel, not quite sure how I overlooked that one!
Add your comments
    Username Password
  • Format comments as