Jump to content

Community

Safety1st

Members
  • Posts

    173
  • Joined

  • Last visited

About Safety1st

  • Birthday 12/30/1984

IPS Marketplace

  • Resources Contributor
    Total file submissions: 2

Profile Information

  • Gender
    Male
  • Location
    Moscow, Russia
  • Interests
    Developing for servers running GoldSource games

Recent Profile Visitors

2,881 profile views

Safety1st's Achievements

  1. Safety1st

    Tip Author

    I don't see a donate section in account settings. And a suggestion to make link to FA page with _blank
  2. Safety1st

    Tip Author

    True. It will greatly increase plugin application.
  3. Safety1st

    Tip Author

    I'd like to do NOT have connection with any payment system. Just see the links of my users:
  4. Safety1st

    Tip Author

    There are more important things that were already described: • removing connection to particular payment system; • using more intelligent check; • compatibility with the must have plugin KS. Here are the results: public static function hookData() { return array_merge_recursive( array ( 'post' => array ( 0 => array ( 'selector' => 'ul.ipsComment_controls.ipsClearfix[data-role=\'commentControls\']', /* Is the link not valid? */ if ( $val != NULL && mb_strpos( $val, 'https://www.paypal.com' ) === FALSE && mb_strpos( $val, 'https://www.paypal.me' ) === FALSE ) { throw new \DomainException( 'tipAuthor_notValid' ); }
  5. The code doesn't work correctly if editor's window was not activated first. I get 'range is undefined' error. Here is the video Here is the code try { var editor = ips.ui.editor.getObj($('[data-role="replyArea"] [data-ipsEditor]')); if (editor) { editor.unminimize(); var url = $(this).attr('data-ipshover-target').split('do=hovercard')[0]; var id = url.replace(new RegExp("(.*)/profile/([0-9]+)-(.*)", 'g'), "$2"); var hovercard = url + 'do=hovercard'; url = url.substr(0, url.length - 1); var name = $(this).text(); var a = $('<a>').attr({ 'contenteditable': 'false', 'href': url, 'data-ipshover-target': hovercard, 'data-mentionid': id, 'data-ipshover': '' }).text('@' + name); var div = $('<div>').append(a); var aHTML = div.html().trim(); editor.insertHtml(aHTML); editor.focus(); } } catch (e) { console.log(e.message); } editor.insertHtml('<b>test</b>') leads to the same result.
  6. Plugins perfectly works on 4.1.17.1
  7. Safety1st

    Who Was Online

    Please provide me some details about using ipsResponsive_hidePhone tag.
  8. @Ibragim Pupkevich What about add color support for spoiler's title?
  9. Safety1st

    Who Was Online

    Yes, I do. Such information is redundant for 'mobile' members.
  10. Safety1st

    Who Was Online

    @Theme Tent UK please add a feature to hide the widget in phone view.
  11. I'd like to add some HTML content to CKEditor editing area after user clicks on something. Previously it was done by the following code: var editor = ips.ui.editor.getObj($('[data-role="replyArea"] [data-ipsEditor]')); if (editor) { editor.unminimize(); ... editor.insertHtml(html); editor.focus(); } But this method doesn't work properly on the last IPS4 builds. I get the weird error right after executing editor.insertHtml(html): "q is undefined"
  12. Normally I do. But I tested using in-box theme.
  13. Don't work for me on 4.1.17.1. Tried with disabled third party customizations.
  14. Safety1st

    Tip Author

    The same is for me.
  15. Safety1st

    Tip Author

    Too bad all suggestions are just ignored…
×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy