So far, all the tips here have helped me fix my youtube/ame problems. But the Vimeo code has trounced me. Can someone (Jake? EQnoble?) kindly provide the triple field requirements for an entry like this:
So far, all the tips here have helped me fix my youtube/ame problems. But the Vimeo code has trounced me. Can someone (Jake? EQnoble?) kindly provide the triple field requirements for an entry like this:
Are you using the amazon bbcode I made or are you using a custom one. ( I just came across your post where you wanted a custom one) This matters for the formatting of the change.
Are you using the amazon bbcode I made or are you using a custom one. ( I just came across your post where you wanted a custom one) This matters for the formatting of the change.
@EQnoble
No it currently has nothing to do with the bbcode you've done.
I'm still running a vB4 Forum and have some sorts of the mentioned bbcodes in many Posts. Currently I'm playing bit around and now I simply ask how I can use @Kier's tool to find [ amazon] and replace it with [ media=amazon] and how to find [ /amazon] and replace it with [ /media]. Not more not less.
I'm doing this in a xenForo test installation where I have imported my vB4.
well here is the thing, I would not capture the pieces individually, I would be capturing the tags and the content in between with one expression and then literally swapping the tags...
I need to know what will be in the tags to do that. If you don't want to tell me that the best I can do is offer you this...
Code:
Quick Find: [amazon]
Regular expression: #\[amazon\]([0-9]+)(\/.+)?\[\/amazon\]#siu
Replacement String: [ media=amazon]\1[ /media]
// if you want to include the crap after the ASIN use this below for the Replacement String instead.
[media=amazon]\1\2[ /media]