Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
4 registered (Dj Aero, capnbob, Morgan, id242), 46 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 04/12/04
Posts: 154
Top Posters (30 Days)
Ruben 49
DennyP 24
Gizmo 23
Dunny 18
SteveS 14
AllenAyres 12
dbremer 10
drkknght00 9
SD 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#1810 - 07/24/06 08:54 AM posts have wrong links on imported board...
aus-city Offline

member
Registered: 07/20/06
Posts: 107
Guys,

I am getting lots of errors looking into this the icon images have changed...

icons/wink.gif icons/default/wink.gif
icons/tongue.gif iconsdefault/tongue.gif
icons/grin.gif icons/default/grin.gif
icons/confused.gif icons/default/confused.gif
icons/shocked.gif icons/default/shocked.gif
icons/smile.gif icons/default/smile.gif
icons/mad.gif icons/default/mad.gif
icons/frown.gif icons/default/frown.gif

Okay this is all in posts. Can this be SQL updated to simply find the text on the left in a post and change it to whats in the right? If so how please....

Thanks!
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#1820 - 07/24/06 11:03 AM Re: posts have wrong links on imported board... [Re: aus-city]
aus-city Offline

member
Registered: 07/20/06
Posts: 107
I worked it out smile

UPDATE ubbt_POSTS SET POST_BODY=REPLACE(POST_BODY,"icons/wink.gif","icons/default/wink.gif")
UPDATE ubbt_POSTS SET POST_BODY=REPLACE(POST_BODY,"icons/tongue.gif","icons/default/tongue.gif")
UPDATE ubbt_POSTS SET POST_BODY=REPLACE(POST_BODY,"icons/grin.gif","icons/default/grin.gif")
UPDATE ubbt_POSTS SET POST_BODY=REPLACE(POST_BODY,"icons/confused.gif","icons/default/confused.gif")
UPDATE ubbt_POSTS SET POST_BODY=REPLACE(POST_BODY,"icons/shocked.gif","icons/default/shocked.gif")
UPDATE ubbt_POSTS SET POST_BODY=REPLACE(POST_BODY,"icons/smile.gif","icons/default/smile.gif")
UPDATE ubbt_POSTS SET POST_BODY=REPLACE(POST_BODY,"icons/mad.gif","icons/default/mad.gif")
UPDATE ubbt_POSTS SET POST_BODY=REPLACE(POST_BODY,"icons/frown.gif","icons/default/frown.gif")
UPDATE ubbt_POSTS SET POST_BODY=REPLACE(POST_BODY,"images/blank.gif","images/general/default/blank.gif")
Top
#1825 - 07/24/06 11:46 AM Re: posts have wrong links on imported board... [Re: aus-city]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Was this an import from UBB.threads or ubb.classic?
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33841 Topics
181698 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image