Quote:
Originally Posted by gpc10347
Would it be possible to have mgc_chat reference /misc.php?do=getsmilies&editorid=&select_category=A nimated or similar in it's [more] smileys function?
|
You can do this yourself already with a simple workaround. Just create a new smiley group "Chatbox Smilies" or something else.
Once done, add the smilies there you want to use - this Group then get's an internal ID in the Database.
Open your Database - the "smilies" table - it's in a form of:
smilieid | title | smilietext | smiliepath | imagecategoryid | ...
While "imagecategoryid" is important here. Note the number and then open:
mgc_cb_evo.php
Search for:
Quote:
/* All smilies window */
if ($_REQUEST['do'] == "showsmilies")
{
if ((!can_view_mgc_cb_evo() && !can_use_mgc_cb_evo()) || !$vbulletin->options
['mgc_cb_evo_smileys'])
{
print_no_permission();
}
/* Retrieving smilies */
$getsmilies = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "smilie ORDER BY displayorder ASC");
|
And modify the "$getsmilies" to:
$getsmilies = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "smilie WHERE imagecategoryid=1 ORDER BY displayorder ASC");
Replace "imagecategoryid=1" with the right "imagecategoryid=... the number you're using"
Please note:
This just changes the "Popup" - it doesn't change the smilies displayed directly in the Chatbox. This is configured somewhere else