The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
|||
|
|||
![]()
I tried this fix and unfortunately it didn't work for me.
I'm not sure that it is really a bug so much as a poor choice of character encoding on my part. Choosing UTF-8 may have let me avoid this. I tried fixing it myself, with varying amounts of success. I tried placing an str_replace() that replaces smartquotes and other special characters with their $blah; counter parts. This gave me some improvement, however, I couldn't find the most optimal place to put this. I tried having it change the $dataman->['pagetext'] after the various _presave hooks but that didn't fix all cases. It would only work with edits || new posts, not both, for example. Could anyone point me to which hook would be caught by all posts/post edits and which variable would be best to change at that hook? I think it would be fairly trivial to do this if I didnt use a hook, but that of course makes maintaing updates much harder. Here is the str_replace I'm using... PHP Code:
Thanks in advance. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|