Fix for replacement code problem in vB Code
I'm almost embarrassed to call this a 'hack', particularly sincve it's not even mine! :stupid: Actually the code came from FireFly who PM'd me with the answer to this problem I posted on vb.com:
http://www.vbulletin.com/forum/showt...threadid=41430 The problem arises if you try to use replacement variables in vB Code. Beginning with 2.2.3, this no longer works. However the fix (thanks to Chen!) is simple. Just remove or comment out this line from admin/functions.php: PHP Code:
|
isn't this corrected in 2.2.3?
|
No, this is caused by v2.2.3.
|
oh, ok. Thanks then, I'm installing
|
Excellent. The quote looks great now, however Im still confused as to how do do this with PHP and list code.
|
I do not understand this!? :confused:
|
Quote:
|
so it only works on vb.org?
|
I think that line of code is part of the cross-site scripting issue that was plugged in 2.2.3. While I don't think it will expose you to the entire problem it does present a weakness.
|
this is not changed in 223b grrrr...
lol i got it now.. damn i'm slow sometimes.. this line must be removed only if you installed firefly's hack |
All times are GMT. The time now is 11:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|