Recent content by karaulov

  1. K

    XF 2.0 Problem with function. Why $db->fetch not works in this case?

    Hello. I tried to write code to get 'Maps' by some parameter with single function. But faced with an almost insurmountable obstacle. Not works: public static function getMapsCountByParam( $param, $val ) { $db = \XF::db(); $map = $db->fetchOne("SELECT COUNT(id) FROM...
  2. K

    Chat 2 by Siropu [Paid]

    Get a notice, yes. But possible need just set limit to chat textbox ? or this impossible ?
  3. K

    Chat 2 by Siropu [Paid]

    This chat can block further message input if the message exceeds the maximum length? ( i can enter message with any length, but possible need just block input if entered message bigger that maximum length?)
  4. K

    Chat 2 by Siropu [Paid]

    It's bad that have to wait for chat is focused. This can not be fixed?
  5. K

    Chat 2 by Siropu [Paid]

    Yes, while displaying "Posting message..." chat lost focus, and in this time can be used any default hotkeys. (Space, ' , . / ' ...) ( The problem will affect those who are quick prints. )
  6. K

    Chat 2 by Siropu [Paid]

    Chat lost focus after press enter, in this time works all default hotkeys. (Browser 'space' hotkey, and Xenforo hotkeys) Video: (russian)
  7. K

    XF 2.0 Possible 'for loop' in templates.xml ?

    Thanks you. I can read more about it in Xenforo add-on 2.0 documentation ? (Xenforo tags in templates.xml) Or documentation isn't completed ?
  8. K

    XF 2.0 Possible 'for loop' in templates.xml ?

    How to use 'for loop' in Xenforo 2.0 language (templates.xml) For example pseudocode: // create $n and $i local variables, do action while $i < 100 <xf:for var="$n = 0; $i = 0" while="$i < 100" do="$i++"> // set $n as $i % 10 <xf:set var="$n" value="$i % 10" /> //... do something with $n ($i...
Back
Top Bottom