Resource icon

Post Content Find / Replace 2.0.1

No permission to download
Thank you for your help, Okey so I am new here... Do I add the URL off a thread in "Quick find" and your given syntax below? to test??
It should go in the regular expression blank. Again, use caution doing this on a live database.
 
I have a couple YT formats I would like to change if anyone would be so awesome! There is no bb code just a raw link code:
Code:
https://youtu.be/xxxxxxxxxxx
and
https://www.youtube.com/watch?v=xxxxxxxxx-x
(I left the hyphen as some of the original urls have them)
thanks!
 
Does anyone know if this would work to wrap a bunch of old imgur links with the proper [IMG] image link [/IMG] codes so that they would display instead of having to go through them all and manually edit them? I have a bunch of old ones not wrapped from an import awhile back. If so what code would I use? Thanks!
 
I have a couple YT formats I would like to change if anyone would be so awesome! There is no bb code just a raw link code:
Code:
https://youtu.be/xxxxxxxxxxx
and
https://www.youtube.com/watch?v=xxxxxxxxx-x
(I left the hyphen as some of the original urls have them)
thanks!
Can anyone help? 😁
 
I tried to use this to remove some 150 occurrences of a phrase (BBCode) in a vB4 to XF2 conversion.

The vB4 phrase for signature pictures was [sigpic][/sigpic]. The majority of (maybe all) those 150 cases had no signature pics let to display.

The Xenforo 2 version is [signaturepicture][/signaturepicture].

So what I wanted was to use this addon to either remove [sigpic][/sigpic] part entirely or failing that replace it with [signaturepicture][/signaturepicture]. Neither worked.

find replace.webp

It appears that all three fields are required.

So using this to just search and delete won't work. Is there an addon that will?

If I try to use the find-and-replace I have no idea what to put in the Regular expression field (regular expressions confuse me at the best of times).
 
@djbaxter
use this for the regular expression

/(?i)\[sigpic\]\[\/sigpic\]/

Explanation:
You must surround the regex with "/" as I have done, as the first and last character, that's just how PCRE requires it to be.

(?i)
makes it search case insensitive, I often find bbcode in both uppercase and lowercase and this way you only have to run 1 query.

\
Each special character needs to be escaped with the \, including / and []
 
After installing this add-on we can't even seem to find it. It's not listed under Tools, Content, or anywhere else. We are also not seeing the permission for the admin users. Rebuilding the add-on does not change anything either. We are on 2.2.X any suggestions?
 
After installing this add-on we can't even seem to find it. It's not listed under Tools, Content, or anywhere else. We are also not seeing the permission for the admin users. Rebuilding the add-on does not change anything either. We are on 2.2.X any suggestions?

it's under Tools in the admin CP
 
As mentioned previously it is not listed under tools. We for sure installed it as seen in the attached image.

Our super admin was on mobile, but could not see it either when I had him check for it. Any other ideas?

View attachment 267516
Seems to be a bug in the addon.. I have to login with a super administrator account in order to see it. The checkbox to allow an administrator to use the tool doesn't do anything.
 
How to edit 31 million messages?

I have error from Cloudflare, "Time Out"...

Without Cloudflare, after 30 second, I have error 500 :(
 
Last edited:
Does anybody know if it works with emoji (font) replacement?

I want to replace the phrase
:s29:
with
🤣
Yes you can
 
Yes you can
Thanks. I'm not sure I'm doing it right since Cloudflare is killing it.

I want to change
:s29:
with
🤣

I did this:

1670528029028.webp

Am I wrong?
 
Back
Top Bottom