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

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

$
0
0
Automatic transactions were removed in V8.3.1 Build 35 (more info), thus requiring two new lines of code to be added.
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 75284

Trending Articles



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