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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: Import and Export Color Templates
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mfindlay
Junior Member

USA
144 Posts

Posted - 17 June 2001 :  19:15:13  Show Profile  Visit mfindlay's Homepage
This update to Huwr's Color Template Mod allows system administrators
to export their various color templates and distribute them to other
users. Other admins can them import the color templates for use in their
own system.

1) Exports a system's color templates to an output file.
2) Imports templates from another system's output file.

(Note: If you have downloaded this mod before 7/9/01, please see my errata below dated 09 July 2001 : 21:51:04)

Sample screen:

<img src="http://www.sagecomputerservices.com/downloads/importexport.gif" border=0>
This requires Huwr's Color Template Mod.

Download: http://www.sagecomputerservices.com/downloads/ImportExportTemplates.zip

Edited by - mfindlay on 09 July 2001 21:52:31

rick7165
Senior Member

USA
1094 Posts

Posted - 18 June 2001 :  09:29:38  Show Profile  Visit rick7165's Homepage
Ok... I installed this mod. created the templates folders with the sub folders of "Import" and "Export". I can export my theme but can't import it. the .txt file is located in the import directory, but still can't see it.




Test Site
www.eastpasco.com
HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser.
Go to Top of Page

mfindlay
Junior Member

USA
144 Posts

Posted - 18 June 2001 :  12:38:08  Show Profile  Visit mfindlay's Homepage
quote:

Ok... I installed this mod. created the templates folders with the sub folders of "Import" and "Export". I can export my theme but can't import it. the .txt file is located in the import directory, but still can't see it.




Test Site
www.eastpasco.com
HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser.



I set this mod up so that it only displays in the import list those templates that you do not already have on your system. If you for some reason want to see them, manually rename the template title in the exported txt file and place it in your import directory.

Edited by - mfindlay on 08 July 2001 23:05:25
Go to Top of Page

bonkers
Junior Member

United Kingdom
122 Posts

Posted - 09 July 2001 :  13:10:05  Show Profile  Visit bonkers's Homepage
quote:
Your Colour Temp Import/Export. It will Export ok but I cannot Import. This is the err I get while Importing.


ErrCode=Invalid import line


This is caused by the import function not being able to find the string " SET " as part of the import string. Had you manually altered the import file by any chance?

just seen this in mod implementation. I have the same error and I`ve not changed anything.
Should I?
I thought i`d Just let you know as i would like to get this to work.

bonkers
Go to Top of Page

mfindlay
Junior Member

USA
144 Posts

Posted - 09 July 2001 :  21:51:04  Show Profile  Visit mfindlay's Homepage
quote:

quote:
Your Colour Temp Import/Export. It will Export ok but I cannot Import. This is the err I get while Importing.

ErrCode=Invalid import line



just seen this in mod implementation. I have the same error and I`ve not changed anything.
Should I?
I thought i`d Just let you know as i would like to get this to work.

bonkers



The problem is in my code . In file admin_color_impexp.asp around line 117 you will see:

nPos = InStrRev(1,str," SET ",1)


It should read:

nPos = InStrRev(str," SET ")


My fault for copying and pasting from a previous InStr() function and not removing the numbers!

The big question in my mind is: How did I get this to work before???

Go to Top of Page

Intrepidone
Average Member

Canada
515 Posts

Posted - 09 July 2001 :  22:07:51  Show Profile
Thank you very kindly mfindlay

Edited the file, tryed it and works like a charm

I read this same Post in the Help MOD forum to so I'll only respond here.

Thanks again
Intrepidone
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.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07