Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Avatar Mod + SQL Server (need SQL string...)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Radianation
Junior Member

USA
186 Posts

Posted - 10 June 2003 :  01:18:16  Show Profile  Visit Radianation's Homepage  Send Radianation an ICQ Message
I have the AVATAR mod installed on my Snitz forums. A long time ago I manually entered the full URL for the avatar images on a domain I hosted. I have since closed that domain, but in order to make short work of my AVATAR mod installation on other forums I host, I copied the AVATAR table from the original database to the other databases.

So now what I need to do is simply remove the full path of the avatars and set it localized to the forum/avatar/ folder.

Is this something I could do rather easily with the SQL Enterprise Manager, or would I need to write out some ASP to truncate the string and rewrite it to the database? Any support is appreciated.

Edited by - ruirib on 11 June 2003 07:37:35

Doug G
Support Moderator

USA
6493 Posts

Posted - 10 June 2003 :  02:04:53  Show Profile
If it was me, I'd probably pull the table into an asp page recordset, and then loop through the recordset editing the url column for each record (actually, I'd probably do this in VB but heck, this is an asp forum :)

======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page

Radianation
Junior Member

USA
186 Posts

Posted - 10 June 2003 :  12:08:29  Show Profile  Visit Radianation's Homepage  Send Radianation an ICQ Message
ok, I'll give that a shot. Thanks!
Go to Top of Page

Radianation
Junior Member

USA
186 Posts

Posted - 10 June 2003 :  16:33:27  Show Profile  Visit Radianation's Homepage  Send Radianation an ICQ Message
Actually, was there a script already designed for importing avatars?
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 11 June 2003 :  08:52:00  Show Profile
The avatar mod I adapted has a import feature.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07