Quantcast
Channel: GSAK Forum
Viewing all articles
Browse latest Browse all 75101

API Post Logging Routine - Support Thread by ian-and-penny - 2013-07-23

$
0
0
Automatic transactions were removed in V8.3.1 Build 35, thus two new lines of code (transaction begin & transaction end) need to be added to the supporting macro, see below. (Click here for more info.)
GSK
#If this cache log being published is "Found"  write the find count number into the User Data field
IF Seek($_PublishCode)
 $Found = sqlite("sql","select g_FoundLog(Ltype) from LogsAll where rowid = $_PublishId2","")
 IF $Found = "1"
    $Count=Left("00000",5-Len(PublishTags("%count"))) + PublishTags("%count")
    transaction action=begin
         $d_UserData=$Count
    transaction action=end
 ENDIF
ENDIF

Viewing all articles
Browse latest Browse all 75101

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>