Hi.
I am using vB 2.3.5 and I have a little problem with replacement codes.
I have a board with many styles, using the same Template Set. I have also many hacks installed, including the Logician's hack for templates changing in different conditions.
Now, I have a style that needs a replacement code (and only for that style). The piece of code that I need to replace is this one (using Logician's hack, $adminoptions can be found in showthread template):
to
Notice the change of numbers and usergroupid to userid.
If I put both of the codes (the first one in "Code to find" and the second one in "Code to insert"), the replacement code seems not to work. I guess it's because of too many characters.
So my question is, is there any way (for example; changing something in the MySQL database) to make this replacement code work?
Thanks in advance.
- Cle
I am using vB 2.3.5 and I have a little problem with replacement codes.
I have a board with many styles, using the same Template Set. I have also many hacks installed, including the Logician's hack for templates changing in different conditions.
Now, I have a style that needs a replacement code (and only for that style). The piece of code that I need to replace is this one (using Logician's hack, $adminoptions can be found in showthread template):
[[($bbuserinfo[usergroupid]==5 OR $bbuserinfo[usergroupid]==6 OR $bbuserinfo[usergroupid]==7)]]$adminoptions[[/($bbuserinfo[usergroupid]==5 OR $bbuserinfo[usergroupid]==6 OR $bbuserinfo[usergroupid]==7)]]
[[($bbuserinfo[userid]==2 OR $bbuserinfo[userid]==9 OR $bbuserinfo[userid]==24)]]$adminoptions[[/($bbuserinfo[userid]==2 OR $bbuserinfo[userid]==9 OR $bbuserinfo[userid]==24)]]
If I put both of the codes (the first one in "Code to find" and the second one in "Code to insert"), the replacement code seems not to work. I guess it's because of too many characters.
So my question is, is there any way (for example; changing something in the MySQL database) to make this replacement code work?
Thanks in advance.
- Cle
Comment