![]() |
[FIXED] Disable replacements in posts?
Maybe it's a good idea to disable replacement variables in posts? (The vBulletin ones, such as { categorybackcolor }) :)
Unless, of course, you just want us to use spaces, but I'll try this anyways. |
Agreed, freaky stuff starts happening.
|
I just insert some vbcode inside the replacement :)
|
But what if you have a lot of replacements? And what about people who don't know about the replacements and just post their code? etc. etc.
|
IIRC the /me code uses the replacements, hence why they aren't disabled like they would be normally.
|
/me wonders if a replacement like {categorybackcolor} works in the me tag
Good idea, disabling them would be great |
I don't know why this issue hasn't been brought up before.
|
It's been brought up many times Gary but no-one has fixed it :)
- miSt |
Has an admin read this thread yet I wonder?
|
Well the situation as it stands is that we are not hacking vBulletin.org unless its deemed absolutely necessary so I don't think that this will be carried through :)
|
I think it's necessary enough. Also, there's the problem of replacement variables being parsed inside .txt file attachments! That's quite bad too. For a lot of my hacks which contained replacement variables in them, I had to make the attachment a .php file.
The replacement variable problem is a big problem and I do hope that when this place is upgraded to beta5 they don't install a hack which makes this happen :( |
1 Attachment(s)
Really?
edit: Can't reproduce it when downloading the file, only when editing it via the text editor hack built in here (not sure if you guys can see it). |
When will vB.org be upgraded to 2.3.1? Or will it be?
|
Quote:
|
/me test
testing {categorybackcolor} |
ok, should be fixed now :)
|
Nice work Xenon:)
{categorybackcolor} |
:)
no problem ;) |
PHP Code:
|
do you believe it now? ^^
|
There we go; thanks xenon :)
|
What was wrong and how did you fix it then big man? :p
|
Ye of little faith...
|
@dean: nothing was "wrong" you know in a normal vb it's not possible to post replacementvars, but we need it for a hack...
i just preparsed the parsed code a bit more to get an effect likte the disable tag :) |
xenon we knew it was due to a hack but what did you do to fix it :) others might be interested in the fix any board with the me hack for instance
|
It's still being parsed when editing text files within the browser.
|
Still being parsed in the CODE tag aswell.
|
@filburt: yeah, i have to work on the editor, too. It's because it doesn't use the bbcodeparse2 function i haven't fixed it right now (will do soon, if i find out how)
@Steve: you're wrong, it's fixed in codetags: https://vborg.vbsupport.ru/showthrea...885#post424885 |
Are you sure? I used the imagesfolder replacement and it got replaced with "https://vborg.vbsupport.ru/vbimages/"
|
yeah i am sure, but my fix just applies for showthread, if you use editpost or any other function which doesn't use bbcodeparse2 it would be parsed.
i try to find a better way to fix it, at least for vb3 ;) |
It was in showthread, im sure (but I originally posted from newreply)
|
if you quoted a msg it would be parsed, too but if you posted it yourself it's impossible :)
|
Well it was in the CODE tag and it wasnt in a quote either.
|
sorry then, but i can't reproduce it.
and as long as you can't tell me exactly where and how it works, i assume everything works perfect and it's just in your phantasy ;) |
Im sure it wasnt my made-up fantasy hehe;)
Well, here is the thread: https://vborg.vbsupport.ru/showthrea...threadid=56339 There is a CODE tag with the imagesfolder replacement. (You can find it because its above some text using the high tag) Edit: Well I just tested it twice, and it worked fine. Either im losing my mind, or you fixed it Xenon.;) |
well since i posted my last message about a small bug in my fix i didn't change anything anymore, and that was long time ago...
i'm currently just trying to fix the editpost/quote bugs, too :) |
Hmm, must be me then;)
Well glad to know you are fixing other issues:) |
no as i'm back i can fix those problems :)
ok, editpost/quoting should work now i think that was all what was needed :) for vb3 replacements are looking different, so shouldn't be a problem there ;) btw. check your posts you've edited during the last hour, during my editpost tests it seems there was a little bug which converted { into nice code ;) |
Ok cool!:)
I did noticed a few minutes ago when editing a post, that it changed { into something different Edit: yeah, its chaning { into { which is quite annoying since half the code I posted in the thread are { |
fast eyes you have ;)
|
All times are GMT. The time now is 12:01 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|