Search
Other DB Replacer questions
Forum

Tooltips J3 -> J5

Sergey's Avatar Sergey
All right, good news.
\{tip \:\:([^\}"]+)\}
I don't know how I got this code, I copied it, didn't write it. How did it happen...
Then I corrected 2 colons and didn't restore the database, that's why the new code didn't see the part without the title.
Right now, I don't see any issues, so thank you.
Please clean this thread by only leaving this phrase in the second post: quotes won't be a problem in theory but test it and let me know.
and update your documentation, telling about the quotes and colons and
giving this all 3 examples (if I wrote them correctly)
\{tip ([^\}]+?)\:\:([^\}]+)\}
{tip title="\1" content="\2"}

\{tip \:\:([^\}]+)\}
{tip content="\1"}

\{tip ([^\}]+?)\:\:\}
{tip title="\1"}
I'll try not to bother you anymore but no promises 🙂
Sergey's Avatar Sergey
Sorry... It appeared that everything works with tags, but if there is "" outside tags, then the tooltip finishes working. For example,
{tip content="... called "La Cibeles". We will ...
<div align="right">Hugs from Miguel</div>"}
"La Cibeles" - this stops the tooltip.
<div align="right"> - and this doesn't stop the tooltip.
Manually it's impossible to look for.
Is it possible to fix this with regular expressions? Or at least to find them?
Sergey's Avatar Sergey
To sum up,
There is no Regular Expressions I can give you to solve this via DB Replacer.
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription