The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[mini-request] make smilies NOT case sensitive
i hate when user type in : P or : D (no spaces) and the smilie doesnt show because its case sensitive, and i dont want to add anoth smilie with the Text to replace as : P because it will show up as double in the smilie list, threfore i would just like the smilies to not b case sensitive if possible, thanks in advance
|
#2
|
||||
|
||||
i swear i looked already and coulddt find it, however one simple search later reveals its already requested, sorry for your trouble
In admin/functions.php: If you find: $bbcode=str_replace(trim($smilie[smilietext]),"<img src=\"$smilie[smiliepath]\" border=\"0\" alt=\"\">",$bbcode); and replace it as: $bbcode=str_replace(strtolower(trim($smilie[smilietext])),"<img src=\"$smilie[smiliepath]\" border=\"0\" alt=\"\">",$bbcode); $bbcode=str_replace(strtoupper(trim($smilie[smilietext])),"<img src=\"$smilie[smiliepath]\" border=\"0\" alt=\"\">",$bbcode); |
#3
|
||||
|
||||
that won't help you out if someone writes a smilie like this:
:sMilIeCode:, but for one Letter smilies it works at php.net there are some methods to make str_replace caseinsensitiv, but they don't work perfect as i know.. |
#4
|
|||
|
|||
Myself I would like a way to associate multiple codes to the same smilie but only have it appear once in the list e.g.
: p : P :- p :- P (without spaces) would all give |
#5
|
||||
|
||||
thats what i am tryin to make/find :S still no luck
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|