Recent content by grisha2217

  1. G

    XF 1.5 Call getImageModal from other script

    Hello, my task is call getImageModal function (bb_code_edit.js) from my script. var ed = $('textarea.BbCodeWysiwygEditor').data('XenForo.BbCodeWysiwygEditor'); console.log(ed); $form.find('.LoadImageButton').on('click', XenForo.BbCodeWysiwygEditor.prototype.getImageModal(ed));
  2. G

    Not a bug Whitespace title bug

    Hi guys. A user created a thread on my forum with next title: I don't know what are symbols contains in title, i tried to urlencode string and i got next content...
  3. G

    any bitcoin donation addons with auto user promotion?

    I use cryptonator, you can choose a count of confirmations https://ru.cryptonator.com
  4. G

    Not planned Take paypal commission from the buyer

    I think you know there are paygates for xenforo, which help to pay different ways (Qiwi, WebMoney, W1 etc). I don't may raise the price, because qiwi and webmoney don't take commission from me.
  5. G

    Not planned Take paypal commission from the buyer

    Hello. I have russian paypal account. When non-russian people purchase products on my forum via paypal, i got 229 rub instead 250 rub (9% commission). It is very huge commission for me. My suggestion: create an option for admin, when i can choose who will pay commission for purchase - seller or...
  6. G

    XF 1.5 How to get current node ID from a visitor

    Why did you choose datawriter class to do something? Maybe more correctly overridy actionAddReply() function in XenForo_ControllerPublic_Thread? $parent = parent::actionAddReply(); if ($parent instanceof XenForo_ControllerResponse_Redirect || $parent instanceof XenForo_ControllerResponse_View)...
  7. G

    XF 1.5 How to get current node ID from a visitor

    It depends by used controller. You should get post/thread array data, post will contain thread id and node id perhaps. Thread array will be contain 100% node_id element. Tell us more precisely about your addon, give code parts
  8. G

    Force user to remember reserve auth codes or allow to change method of 2FA

    Hi guys. I'm owner of huge forum with 500k registered members. I enabled 2fa for all members, who has more 10 likes. Everyday members write me, that they reseted your smartphone or lost it, ask me to disable 2fa for theim and i do it. They don't save reserve auth codes, of course. My...
  9. G

    Lolzteam.net - Social engineering forum

    Hi all, present you my forum https://lolzteam.net, maden for russian community, because english translation can be incorrect or absent any. What's done: Market - sell & buy accounts Restyled Br Modern Statistics, like, quote buttons, member profile page Star threads (bookmarks) Quick...
  10. G

    Won't fix Sometimes stats seems displays incorrect

    Today is July 8 and i see today stats, but i shouldn't see it. This happens one time in month about, the next day stats seems correctly.
  11. G

    Chatbox - Realtime Chatting [Paid]

    Problem: When banned in chat user was deleted through ACP from DB, banning info row is present on chatbox/banned-users page Need extend XenForo_DataWriter_User class and override _postDelete() method like it: protected function _postDelete() { parent::_postDelete(); $db = $this->_db; $userId =...
  12. G

    As designed Search button becomes detached from nav at smaller font sizes

    How did you setted up 10px font? When i did 80% page size, i see it good
  13. G

    Easy User Ban by Siropu [Paid]

    Yes, this function is present in ACP. Realization: library/Siropu/EasyUserBan/ControllerPublic/Member.php Find: if (!$user = $this->_getUserModel()->getUserById($input['user_id'])) { return $this->responseError(new XenForo_Phrase('requested_user_not_found')); } Add after: if...
  14. G

    Easy User Ban by Siropu [Paid]

    I suggest introduce new function: Edit ban details button. Moderators can change ban reason or ban period.
  15. G

    XF 1.5 Removing a secondary group from a user via PHP

    Sorry man, replace on it public function actionDeleteUsergroup() { $userId = $this->_input->filterSingle('user_id', XenForo_Input::UINT); $userGroupId = $this->_input->filterSingle('usergroup_id', XenForo_Input::UINT); $downgrade_id = "group_remove_".date('U')...
Top