Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 05 Sep 2012, 06:57
iBaker's Avatar
iBaker iBaker is offline
 
Join Date: Nov 2006
Alter inline post text

I am trying to do an import from XF to vb4.2 and after using Impex with the XF addon from here at vb.org and there is some cleaning up to do. One specific need is to address videos that are inline in a post. I need to do a string search and replace in the db and not sure what the sql would be.

The string in posts that needs to be changed is:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It needs to be changed to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The problem is that the string rGALfBuKbWc is a variable that is different in each post (it is the YouTube videoID)

Any ideas what the SQL would be that I could run in the database that would replace the string using the variable and thus display the video in the post?
__________________
Regards Ian (Xenforo: Recreational Flying. vBulletin: Aviation Enthusiasts)
NOTE: Previously whatever I posted on forums was copied by a competing site. So I post this in the hope that it does help others but on the condition that anything that I post is not allowed to be used by Glenn Inwood of Cowra NSW Australia or anyone associated with him.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 23:16.

Layout Options | Width: Wide Color: