The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Replacement codes not working.
Hi,
I have a code that only needs to be tweaked in certain styles. Of course, you can use the Replacements codes. However, that particular code is kind of long (about 200 characters) and when I add that code, it doesn't work. It's probably something with the amount of characters, but what do I need to change (in a file or database) to tweak codes with unlimited (or limited, but till 500 characters or something) characters? Oh, by the way I use vB 2.3.5 Thanks in advance, Clement |
#2
|
|||
|
|||
Could you please be specific: what exactly you are trying to add it, where are you trying to add it to, and what do you mean by "doesn't work"?
|
#3
|
|||
|
|||
In the Admin CP, you have a section called Replacements right? Well, that list contains all the replacements codes (you know, for the colors and such) for each style.
Well, I have a style which has a code that needs to be tweaked, only for that particular style. So when I put up a code (approximately 200 characters) that needs to be replaced and the code that replaces the other one, it doesn't work. I assume the code is too long to be replaced or something. That's my question actually; how can you make that long code work? I assume it's something in the database. I hope I made some sense now. :$ |
#4
|
|||
|
|||
No, it does not make sense.
You still did not post the CODES themselves... And their replacements as well. |
#5
|
|||
|
|||
Okay, well since you ask for it; this is the code that needs to be replaced:
Quote:
It needs to be replaced by: Quote:
|
#6
|
|||
|
|||
*bump* Doesn't anybody know a solution for this?
|
#7
|
|||
|
|||
I don't think it will correctly parse such complicated replacement, just as I don't see the point of this.
|
#8
|
|||
|
|||
Well, I need it for my forum. With the Logician hack I can only make the Thread Options bar appear for Moderators, Super Moderators and Admins. However, I have set a regular member as a moderator for one particular forum, but she cannot see the bar due to the Logician hack. That's why I need that replacement code thing work.
However, other long codes that needs replacements doesn't work either. |
#9
|
|||
|
|||
So no one knows a solution for this?
|
#10
|
||||
|
||||
@Cle
The Replacments work on the generated HTML. You can't use this for template conditionals. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|