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

CopyFindNumberFromLogs by Bosn Ski - 2013-09-04

$
0
0
QUOTE (Kai Team @ September 04, 2013 07:31 pm)
Nope, just replace the first bit of code shown above with the following:

GSK
#*******************************************
# MacDescription =Update User Data with %count from publish logs
# MacFileName =FindNumtoUserData.gsk
# MacAuthor = Kai Team
# MacVersion=1.0
#*******************************************
IF Seek($_PublishCode)
  $Found = sqlite("sql","select g_FoundLog(Ltype) from LogsAll where rowid = $_PublishId2","")
  IF $Found = "1"
      $Count=PublishTags("%count")
      TRANSACTION Action=Begin
      $d_UserData=$Count
      TRANSACTION Action=End
 ENDIF
ENDIF

This is necessary as a result of a change in GSAK 8.3.1.35 (#3 in the release post here) - i.e. we now have to explicitly add the TRANSACTION lines. smile.gif

BINGO! That did it. ph34r.gif

Very cool and efficient compared to FillFinds and CleanUpDb!
Thank you!

Viewing all articles
Browse latest Browse all 75101

Trending Articles



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