Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Vanillacon - Don't see the emoticon on form for reply

edited January 2007 in Vanilla 1.0 Help
HI. I was install Vanillacon 1.2 on Vanilla 1.3. I add one folder (name of folder lo-fi). I edt smiley.php and write it <?php $Smilies["01"] = "/forum/extensions/Vanillacons/smilies/lofi/01.gif"; $Smilies["02"] = "/forum/extensions/Vanillacons/smilies/lofi/03.gif"; $Smilies["03"] = "/forum/extensions/Vanillacons/smilies/lofi/02.gif"; $Smilies["04"] = "/forum/extensions/Vanillacons/smilies/lofi/04.gif"; $Smilies["05"] = "/forum/extensions/Vanillacons/smilies/lofi/05.gif"; $Smilies["06"] = "/forum/extensions/Vanillacons/smilies/lofi/06.gif"; $Smilies["07"] = "/forum/extensions/Vanillacons/smilies/lofi/07.gif"; $Smilies["08"] = "/forum/extensions/Vanillacons/smilies/lofi/08.gif"; $Smilies["09"] = "/forum/extensions/Vanillacons/smilies/lofi/09.gif"; $Smilies["10"] = "/forum/extensions/Vanillacons/smilies/lofi/10.gif"; $Configuration['SMILIES_CATEGORIES'] = "1"; ?> and edit smiley.js and write it : var arrSmilies = new Array(); arrSmilies["lofi"] = new Array(); arrSmilies["lofi"][0] = '<span onclick="insertSmilie(\'01\');" class="VanillaconsLink"><img src="/forum/extensions/Vanillacons/smilies/lofi/01.gif" alt="" /></span>'; arrSmilies["lofi"][1] = '<span onclick="insertSmilie(\'02\');" class="VanillaconsLink"><img src="/forum/extensions/Vanillacons/smilies/lofi/02.gif" alt="" /></span>'; arrSmilies["lofi"][2] = '<span onclick="insertSmilie(\'03\');" class="VanillaconsLink"><img src="/forum/extensions/Vanillacons/smilies/lofi/03.gif" alt="" /></span>'; arrSmilies["lofi"][3] = '<span onclick="insertSmilie(\'04\');" class="VanillaconsLink"><img src="/forum/extensions/Vanillacons/smilies/lofi/04.gif" alt="" /></span>'; arrSmilies["lofi"][4] = '<span onclick="insertSmilie(\'05\');" class="VanillaconsLink"><img src="/forum/extensions/Vanillacons/smilies/lofi/05.gif" alt="" /></span>'; arrSmilies["lofi"][5] = '<span onclick="insertSmilie(\'06\');" class="VanillaconsLink"><img src="/forum/extensions/Vanillacons/smilies/lofi/06.gif" alt="" /></span>'; arrSmilies["lofi"][6] = '<span onclick="insertSmilie(\'O7\');" class="VanillaconsLink"><img src="/forum/extensions/Vanillacons/smilies/lofi/07.gif" alt="" /></span>'; arrSmilies["lofi"][7] = '<span onclick="insertSmilie(\'08\');" class="VanillaconsLink"><img src="/forum/extensions/Vanillacons/smilies/lofi/08.gif" alt="" /></span>'; arrSmilies["lofi"][8] = '<span onclick="insertSmilie(\'09\');" class="VanillaconsLink"><img src="/forum/extensions/Vanillacons/smilies/lofi/09.gif" alt="" /></span>'; If i write :01: on my post i see the emoticon on my answer. But i can't choose on reply form i dont see anything if i change the number of category in smiley.php i see the select bar & the name of my folder (lofi) but i dont see emoticon under & cant choose my icon ? Jazzman or anybody, can you help me please ? I have 1 folder & dont want to see the select bar only icon under the form for reply. Thx a lot & sorry for my suck's english. C-ya +chmod is good on smiley.php & js and I rebuild on settings.

Comments

  • Options
    Rebuild will automatically create those files. The 'SMILIES_CATEGORIES' is the number of folders in the smilies directory. Try CTRL + SHIFT + F5 in your browser to reload the javascript, or try delete cached files.
  • Options
    If i have one folder on smilies directory i write one on smiley.php ? But why i can use the smiley with code :01: .... that's work but i dont see select bar & smilies on my form for add a comment. And if i install the vanillacon with smile & co i can see select bar & click on smiley ...
This discussion has been closed.