www.uburst.com www.uburst.com

"Clearing Affiliate Logs"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

CGI Script Related Problems
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"Clearing Affiliate Logs"
Posted by Ron Harter on Oct-01-01 at 11:27 AM (EST)
I just tried clearing the affiliate logs for the end of the quarter and could not clear them all.
They used to use a 2-digit year code 01 and now use a 4-digit code. It would not let me enter the 4 digits for the year 2001.

Thanks
Ron

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: Clearing Affiliate Logs, Joseph Pishgar, Oct-01-01, (1)
RE: Clearing Affiliate Logs, Bill Weiner, Jun-11-02, (2)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: Clearing Affiliate Logs"
Posted by Joseph Pishgar on Oct-01-01 at 12:50 PM (EST)
Hello Ron,

I've not heard of this before as of yet, so I'm not entirely sure what the solution is. My recommendation is, if you are looking to start from scratch with the affiliate logs, simply go into your data directory and delete the ushop-affiliates.txt file and that should do the trick.
Also, if there are specific affiliates you need to delete, the ushop-affiliates.txt file is bar-dillineated and relatively easy to edit.

Hope this helps.

Regards,
Joseph Pishgar
Support Engineer
Microburst Technologies, Inc.
www.uburst.com

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
2 . "RE: Clearing Affiliate Logs"
Posted by Bill Weiner on Jun-11-02 at 05:12 AM (EST)
What I believe is happening is that when we updated the order date format to have a 4-digit year, the date format in the affiliate log also got updated, but the logic in the affiliate clear method was not updated. So here is a way to correct that:

STEP 1: Make a backup of your ushop-lib.pl script... just in case.

STEP 2: Open your ushop-lib.pl script with any text editor such as WordPad.

STEP 3: Do a search on the following line:

$clear_year += 100;

STEP 4: Change that line to:

$clear_year += 2000;

STEP 5: Save the script... as TEXT if your editor asks... and try it out!

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.