The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
thanks!1
i actually had looked at that, but found nothing suspicious. File class_bbcode.php, around line 560 Code:
// we have to get the smilies from the database DEVDEBUG('querying for smilies'); $this->registry->smiliecache = array(); $smilies = $this->registry->db->query_read(" SELECT *, LENGTH(smilietext) AS smilielen FROM " . TABLE_PREFIX . "smilie ORDER BY smilielen DESC Then Code:
while ($smilie = $this->registry->db->fetch_array($smilies)) { if (!$do_html) { $find = htmlspecialchars_uni(trim($smilie['smilietext'])); } else { $find = trim($smilie['smilietext']); } // if you change this HTML tag, make sure you change the smilie remover in code/php/html tag handlers! if ($this->is_wysiwyg()) { $replace = "<img src=\"$smilie[smiliepath]\" border=\"0\" alt=\"\" title=\"" . htmlspecialchars_uni($smilie['title']) . "\" smilieid=\"$smilie[smilieid]\" class=\"inlineimg\" />"; } else { $replace = "<img src=\"$smilie[smiliepath]\" border=\"0\" alt=\"\" title=\"" . htmlspecialchars_uni($smilie['title']) . "\" class=\"inlineimg\" />"; } $sc["$find"] = $replace; $this->registry->smiliecache["$smilie[smilieid]"] = $smilie; } } return $sc; } The smilie does show up in text-editor mode, but as long as I submit the post the smilie will be gone. and when I tried to edit that same post, the smilie was not there either. any insight will be great!!! |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|