EQnoble
Well-known member
I just tested it with 1.2 rc1 and it worksCan someone confirm this is working on 1.2? Doesn't appear to be on my end.
I just tested it with 1.2 rc1 and it worksCan someone confirm this is working on 1.2? Doesn't appear to be on my end.
I converted a live XF 1.2 RC1 production site with the help of @EQnoble and others.Now the site is upgraded to 1.2RC2 still working fine.Can someone confirm this is working on 1.2? Doesn't appear to be on my end.
[media]http://www.youtube.com/watch?feature=player_embedded&v=q2Axn0xpufM[/media]
[media][media=youtube]q2Axn0xpufM[/media]
[media]
http://www.youtube.com/watch?v=hpxWTtq4wjk&feature=player_embedded
[media]
[media=youtube]
Quick Find: [media][media=youtube]
Regular expression: #\[media](\[media=youtube\])#siu
Replacement String: \1
Quick Find: [media
Regular expression: #(\[media])http:\/\/(www\.)?(youtube)\.com\/watch\?(feature=player_embedded\&)?v=([a-z0-9]+)(\[\/media])#siu
Replacement String: [media=\3]\5\6
If you are talking about the auto embedding no...xenforo does that automatically. See what happens is when you post a youtube link at post time (or upon editing and saving) xenforo parses that link and turns it into the media tags. All youtube links will just embed from now on when you click post replyOnce all that's done, do I need to rebuild the forum in some way to force the software to do the embedding?
[media]http://www.youtube.com/watch?feature=player_embedded&v=8GBVF8FzPI0#![/media]
[media]http://www.youtube.com/watch?v=Iuv__-nyO1M[/media]
[media]http://www.youtube.com/watch?v=hpxWTtq4wjk&feature=player_embedded[/media]
Quick Find: [media=
Regular expression: #(\[media])http:\/\/(www\.)?(youtube)\.com\/watch\?([^\-?=\&]+\=[^\-?=\&]+\&)*v\=([a-z0-9_-]+)(\&[^\-?=\&]+\=[^\-?=\[\&]+)*(\[\/media])#siu
Replacement String: [media=\3]\5\7
[media]http://www.youtube.com/watch?v=WNQ6_1GCVVA[/media]
@TeflonDon
For AME:
http://xenforo.com/community/threads/converting-media-tags-from-vb3.25035/#post-305054
With 5 million posts it will take a lot of resources. Consider doing this:
http://xenforo.com/community/threads/import-from-ipb-3-2-posts-not-parsed-at-all.39577/#post-435226
Hi. Get this error when going to Tools -> Replace in Posts:
Is there any idea why it is happening?Code:A controller for the route path post-replace/ was not found.
I do not think it will, I tested it on my end and it did not but it is not a real environment and I am every user there. Assuming that what I saw in my tests repeats I would say no it won't resend all the alerts.Thanks jake.
Another quick question...if I do a replacement for old @tagging, will that send everyone a new alert for all the old user tags?
I'm not very good with regex and I looked all over this thread for an exact example of how to remove some old AME tags but didn't see anything. Here's what I currently have and want to get rid of
[ame=[media=youtube]QrDTmOECeMw[/media] - Inner City - YouTube[/ame]
Quick Find: [ame=[
Regular expression: #\[ame=(\[media\=youtube\][^\[]+\[\/media\])[^\[]+\[\/ame\]#siu
Replacement String: \1
No, it wont.Thanks jake.
Another quick question...if I do a replacement for old @tagging, will that send everyone a new alert for all the old user tags?
We use essential cookies to make this site work, and optional cookies to enhance your experience.