Would someone be kind enough to help me replace all the links on my forum to the new url? I'm changing from "cogumelosmagicos.org" to "teonanacatl.org"
What would be a correct regex? Of course these links would have /forums/ and all shorts of other xenforo hierarchy after the domain.
Hi...Really need to be able to use this to convert all our [YT (YouTube) links that came over from a conversion from Vb. The issue is, it just kind of dies and does not complete. I have to guess this is based on the size of the database. 7.5 million posts.
So, it says it uses the search to find all the [YT, and we are using Elasticsearch....Yet it still does not work without stopping. Can't even do a test run.
Anyway to fix this? Short of that...I could not find a BB Code tag I could add in for a [TY] to make it work as a normal code. Even tried using the one I had in VB and it does not pull the right video ID.
How can I remove all username tags using this addon? Is this possible? I want to remove all instances of @ before user names so it is not a link but just a name.
Edit: After trying a code mentioned here, my entire posts have become links.
I think [/user] part alone got removed.
How can I remove all username tags using this addon? Is this possible? I want to remove all instances of @ before user names so it is not a link but just a name.
Edit: After trying a code mentioned here, my entire posts have become links.
I think [/user] part alone got removed.
You need to remove the bbcode which was auto generated when someone did the @mention and then also remove the @ from the name.
Quick Find:
Code:
user
Regular expression:
Code:
#(?:@)?\[(user)=([0-9]+)](?:@)?([^\[]+)\[/\1]#siu
Replacement String:
Code:
\3
EDIT: Without seeing the exact text your entries were changed to I can't write an expression for it....however assuming you took a backup before you started editing the database this is the expression you would need.
Yes I did take a back up and restored it. So everything is back to normal and tagged usernames are appearing as a link as shown below. Can I use the code you have given above so the circled name is not a link anymore?
To answer you knowing for sure that I am giving you good advice I would need you to click edit on that post and then click the use bbcode editor button.
Once you have that view copy the entire contents surrounding the piece in question and paste it here within a set of [code] tags [/code] so that it is not changed on post.