Resource icon

Post Content Find / Replace 1.0.0

No permission to download
Anyone come across this message when they try to access the tool in ACP?
"An unexpected error occurred. Please try again later."
 
To be honest I have never seen an error thrown just by opening the tool up other than when the files were not uploaded into the library directory in the first place. Did the tool work for you before or are you just trying it out for the first time?
 
Last edited:
I'm trying to replace:
Code:
 [attachment=XYZ]
with
Code:
[attach]XYZ[/attach]
Any tips? I do not comprehend PCREs :( Thanks in advance!
 
I'm trying to replace:
Code:
 [attachment=XYZ]
with
Code:
[attach]XYZ[/attach]
Any tips? I do not comprehend PCREs :( Thanks in advance!

Code:
 [attachment=XYZ]
is there a closing tag to this...or on your board is this an entire bbcode in one tag?
 
That's the entire BB code for that attachment. This is how MyBB 1.6.x uses BB code for image attachments.
 
When I click 'proceed' with those strings the page reloads, unchanged.
I'm confused. I'm thinking "XYZ" shouldn't be involved as it was just part of my example... I have many posts with many different attachments shown like this:
Code:
[attachment=4094]
[attachment=3084]
[attachment=254]
And I need them to be changed to:
Code:
[attach]4094[/attach]
[attach]3084[/attach]
[attach]254[/attach]
 
Yea sorry i just literally woke up....i edited it....try it now
Any idea on how to update old image urls?
Code:
[URL='http://artsuk.org/community/attachments/mfl_spanish_overview1-12-pdf.66611/']
We need the domain to change from the artsuk.org to: tag.ac

Thanks[/URL]
 
Last edited:
@Kier

I have 45,000   and i would love to replacement with a space when i try it with the expression #\ # i get the following error:

Error
Please enter a valid message.

I there a way I can clean these up using your PCF tool?

I also tried \2 as the expression but still the same error.
 
Last edited:
this one shouldnt be too hard

[DOUBLEPOST=1397693363][/DOUBLEPOST]


just want to completely remove these. they are all the same format just different numbers.
 
Having trouble with these
Code:
[URL]http://www.megaupload.com/?d=74FPEVFL[/URL]
Code:
[URL='http://www.megaupload.com/?d=F16HJRLD']My homework: maths[/URL]
Code:
[URL]http://www.megaupload.com/?d=JJKT6RIS[/URL]
 
Last edited:
I need you guys again! Thanks ahead on this :)

I was on a cloud server that used static directories for the obvious. I've since moved the a dedicated and now see some images are broken, pointing to a static directory. Can I replace the static.mydomain so they will all work again?
 
Last edited:
Quick Find:
Code:
ame

Regular expression:
Code:
#\[ame="http://(?:www.)?(youtube)[^=]+=([^"]+)"][a-z0-9\s-\[\]()]+\[/ame]#siu

Replacement String:
Code:
[media=\1]\2[/media]

Hi I just followed your advice:
upload_2014-4-27_17-45-31.webp
This is a snippet of what it returned:
upload_2014-4-27_17-47-4.webp

It looks like it may contain some invalid ones, and I am not sure if I should go ahead, but I did, and I got this error:
upload_2014-4-27_17-48-27.webp
 
I need help replacing with this

Code:
[video width=400 height=350]http://www.youtube.com/v/4fMY9GE6AIQ[/video]

to this

Code:
[MEDIA=youtube]4fMY9GE6AIQ[/MEDIA]

Thanks.
 
Back
Top Bottom