Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
9 registered (AllenAyres, cascadeclimbers, GEN™, Gizmo, Iann128, Rick, Ruben Rocha, WebMagic, 1 invisible), 16 Guests and 23 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 10/31/08
Posts: 3
Top Posters (30 Days)
Ruben Rocha 155
Rick 129
Gizmo 111
Thelockman 66
driv 55
phoebe 39
ScriptKeeper 38
AllenAyres 35
Ian 31
Mark S 30
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Topic Options
Rate This Topic
#1810 - 07/24/06 05:54 AM posts have wrong links on imported board...
aus-city Offline
journeyman

Registered: 07/20/06
Posts: 66
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
#1820 - 07/24/06 08:03 AM Re: posts have wrong links on imported board... [Re: aus-city]
aus-city Offline
journeyman

Registered: 07/20/06
Posts: 66
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 08:46 AM Re: posts have wrong links on imported board... [Re: aus-city]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7880
Loc: Aberdeen, WA
Was this an import from UBB.threads or ubb.classic?
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top


Shout Box

Today's Birthdays
The Random Avenger
Recent Topics
Pruning Messages
by EMG
11/18/08 06:57 PM
7.4.1 Advanced Search - Default to Referer Forum?
by Jim
11/18/08 01:32 AM
Move charset out of language files?
by Gizmo
11/17/08 09:33 PM
Where is Moderation Queue?
by luket
11/17/08 08:27 PM
Custom Page or Content
by FordDoctor
11/17/08 05:28 PM
Forum Stats
4243 Members
33 Forums
30478 Topics
154598 Posts

Max Online: 978 @ 06/24/07 08:19 PM