New ModeratorTicketChatlogComposer

Results 1 to 4 of 4
  1. #1
    Alpha Member Twan is offline
    MemberRank
    Jun 2010 Join Date
    1,961Posts

    New ModeratorTicketChatlogComposer

    Hi all,

    Im trying to get the chatlog etc. working on the new build, im now converting the Unix Timestamp to the String.
    Now when i try to do this in ModeratorTicketChatlogComposer.cs, i cant get it to work. It says "Log doesnt exists in the current context." I know what i means, already tried different things. This is my code:
    Code:
    DateTime time = new DateTime(Convert.ToInt32(Log["timestamp"]));
    base.WriteString(time.ToString("hh:mm"));
    Could somebody help me?

    Regards,
    Multify


  2. #2
    Account Upgraded | Title Enabled! streamhotel is offline
    MemberRank
    Apr 2012 Join Date
    EarthLocation
    511Posts

    Re: New ModeratorTicketChatlogComposer

    No you don't I assume. They're talking about it's context (IM, Room, Forum Thread). Could you provide a screen of chatlogs?

  3. #3
    Alpha Member Twan is offline
    MemberRank
    Jun 2010 Join Date
    1,961Posts

    Re: New ModeratorTicketChatlogComposer

    the chatlogs table is empty, maybe its something with table structure?

  4. #4
    Apprentice inat3k is offline
    MemberRank
    Aug 2016 Join Date
    6Posts

    Re: New ModeratorTicketChatlogComposer

    There are three ChatlogComposer class and each class has a different name for the timestamp, so 'Log["timestamp"]' can be right for one but not for others



Advertisement