media=youtube
#(\[media=youtube])?([a-z0-9_-]{11})(")(\[/media])(?:\[/url])?#siu
\1\2\4
video=youtube
#(?:\[video=youtube_share;([a-z0-9_-]{11})])(?:[^\[]+)(\[/media])#siu
[media=youtube]\1\2
Depending on what you changed you may or may not be able to fix it. Undoing it is something that is not happening though as the only thing that should be in your log about it is the expression you ran if anything.Hi, is there a way to reverse my edits, I have messed up with my "replace in a post" and I need to fix it now, I dont have a backup but I see in Admin Log the "post replace" commands is there a way I can reverse these?
Thanks
Once [av]g[av]in it w[av]s [av] ple[av]sure to be pl[av]ying on www.b[av]ssdri[av]e.com r[av]dio, th[av]nks for tuning in.
Heres the show for those who missed it, or w[av]nt to check the show out [av]g[av]in, some blinding tunes in here, inspir[av]tion[av]l times :thumb:
Stre[av]m: [[[av][av]]]http://www.itstooloud.com/b[av]ssdri[av]e/Tobes_[av]nd_Bor[av]t_B[av]ssdri[av]e_Aug2013.mp3[/[[av][av]]]
or right click [av]nd s[av][av]e [av]s to downlo[av]d:
http://www.itstooloud.com/b[av]ssdri[av]e/Tobes_[av]nd_Bor[av]t_B[av]ssdri[av]e_Aug2013.mp3
Tok[av]losh fe[av]t Lego - Another Le[av]el Soul Bros
D[av][av]e Owen - Smile For Me - Vibr[av]tion Records VR028 (out no[av] 5th)
Electrosoul System - Tr[av]ffic - KOSMOS 021
Bloke One & R[av]inforest - Delusion[av]l - C[av]dence Recordings 029
Vol[av]tile Psycle - B[av]rric[av]e - Terr[av]byte Recordings 08
Bloke One - On Letting Go - Vibr[av]tion Records VR030 (out Dec 5th)
*D[av][av]e Owen - Loose Lips (Heist Remix) Co L[av]b Recordings
*free downlo[av]d https://soundcloud.com/heist/d[av][av]e-owen-loose-lips-heist-remix
Roy Green & Protone - No Need For Worries - Kosmos 020
Ash Jeron[av] - In Your Eyes - VR033 (out Feb 25th 2014)
*Little Dr[av]gon - Twice (Insidem[av]n Bootleg Remix)
*free downlo[av]d http://www.[av]ibr[av]tionrecords.com/Little_Dr[av]gon_[av]s_Insidem[av]n_(Twice_VIP)_AIM_Insidem[av]nDnB.mp3.zip
Insidem[av]n - Inspired - Vibr[av]tion Records VR027 - Out 5th Oct
Bloke One & R[av]inforest - Sighs in Gloom - C[av]dence Recordings 029
Enjoy :z[av]berdust:
from:
[MP3]http://www.itstooloud.com/bassdrive/Bassdrive_Tobes2_January_2014.mp3[/MP3]
to:
[av]http://www.itstooloud.com/bassdrive/Bassdrive_Tobes2_January_2014.mp3[/av]
and from:
[ame="http://www.youtube.com/watch?v=DD-GYudGoAc"]Furney - Happy Alone - Soul Deep [SDE003] - YouTube[/ame]
to:
[media=youtube]DD-GYudGoAc[/media]
Code:from: [MP3]http://www.itstooloud.com/bassdrive/Bassdrive_Tobes2_January_2014.mp3[/MP3] to:
MP3
#(\[)(/)?(mp3)(])#siu
\1\2av\4
Code:from: [ame="http://www.youtube.com/watch?v=DD-GYudGoAc"]Furney - Happy Alone - Soul Deep [SDE003] - YouTube[/ame] to: [media=youtube]DD-GYudGoAc[/media]
ame
#\[ame="http://(?:www.)?(youtube)[^=]+=([^"]+)"][a-z0-9\s-\[\]()]+\[/ame]#siu
[media=\1]\2[/media]
For the first one I have updated the expression that I had posted above. Rerun that one to catch the others that are similar...You are a lifesaver, thats just sorted a load of links thanks so much
Only problem is some [ame= links are still visible, the replace code found 33 [ame links and changed them, but still I see some like this:
[CODE][ame="http://www.youtube.com/watch?v=i-xmVctae3k"]Change - Change Of Heart (Live 1984) - YouTube[/ame]
and like this
[ame]www.youtube.com/watch?v=NTFj8anEEqM[/ame][/CODE]
Basically I have a 108 page thread of "what are you listening to" here http://www.itstooloud.com/V5/threads/what-are-you-listening-to.7201/page-108 I suppose some links are different to others and thats why they didn't all convert?
Thanks for being such a great help, I love Xenforo already
Tobes
youtube
#\[ame](?:www.)?youtube[^=]+=([a-z0-9_-]{11})\[/ame]#siu
[media=youtube]\1[/media]
http://eic.smartphoneresour.netdna-cdn.com/forum/data/MetaMirrorCache/i42.tinypic.com_as2sw.jpg
http://forums.everythingicafe.com/data/MetaMirrorCache/i42.tinypic.com_as2sw.jpg
I used a query courtesy of Jake to do simple replacements like this one. You could run this query to change the links.
Code:UPDATE xf_post SET message = REPLACE(message, 'forum.emobucket.com','www.yabucket.com');
UPDATE xf_post SET message = REPLACE(message, 'eic.smartphoneresour.netdna-cdn.com/forum','forums.everythingicafe.com');
I wonder if this would work for me? @Jake Bunce
Code:UPDATE xf_post SET message = REPLACE(message, 'eic.smartphoneresour.netdna-cdn.com/forum','forums.everythingicafe.com');
Yep.
<img src="http://eic.smartphoneresour.netdna-cdn.com/forum/data/MetaMirrorCache/www.goodlookin.tv_news_zubaz_ful.jpg" class="bbCodeImage LbImage" alt="[IMG]" style="">
We use essential cookies to make this site work, and optional cookies to enhance your experience.