desti

Members
  • Content count

    142
  • Joined

  • Last visited


desti's Activity

  1. desti added a record in IP.Board   

    IPSMember::save and messenger_function.php
    In messenger_function.php (meets in several places)


    IPSMember::save( $toMemberData['member_id'], array( 'core' => array( 'msg_count_new' => '[b]plus:1[/b]' ) ) );

    But in IPSMember::save there is no support for "plus:x" / "minus:x" syntax!
    • 0 replies
    • 0 views
  2. desti added a comment: Media thumb disappears after editing   

    Not sure about version, tested on [url="http://community.invisionpower.com/gallery/"]http://community.invisionpower.com/gallery/[/url]
  3. desti added a record in IP.Gallery   

    Delete popup
    Nice

    [attachment=36590:del_file.png]
    • 0 replies
    • 0 views
  4. desti added a record in IP.Gallery   

    Media thumb disappears after editing
    1. Upload new media file
    2. Add thumb
    3. Publish
    4. Edit image and upload new media - old media thumb disappeared and no way to restore it, edited image shown with default media thumb.
    • 0 replies
    • 0 views
  5. desti added a comment: Incorrect file name   

    For example, we have name uploads.zip, ok?

    before preg - uploads.rar
    after preg - uploads-rar

    Next look at getFileName()


    [CODE]return strtolower( str_replace( ".", "", substr( $file, 0, (strrpos( $file, '.' )) ) ) );[/CODE]

    it's return empty string, coz dot not found in file name for strrpos.
  6. desti added a record in IP.Downloads   

    Incorrect file name
    1.Upload file with name uploads.rar.
    2.look in monthly.../ directory - saved as xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-.ipb, not as xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-uploads.ipb

    Fix: add dot (\.) in preg_replace (files.php - _doUpload)
    $_upload->out_file_name = md5( uniqid( microtime(), true ) ) . '-' . str_replace( array( " ", "\n", "\r", "\t" ), '_', $this->registry->getClass('idmFunctions')->getFileName( preg_replace( "/[^a-zA-Z0-9[u][b]\.[/b][/u]]/", '-', $_FILES['FILE_UPLOAD']['name'] ) ) );

    But you have again forgotten that in the world there are other languages, not only English and names of files can be, for example, in Russian, files save as
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-------------------------------------------------.ipb
    • 0 replies
    • 0 views
  7. desti added a comment: <br> or <br /> ?   

    Ups.. sorry. It's FireBug bug, not IPB.
  8. desti added a record in IP.Board   

    <br> or <br /> ?
    Why <br>, not <br />?

    In which .php file this code is added?

    [attachment=32900:br_or_nor_br.jpg]
    • 0 replies
    • 0 views
  9. desti added a record in IP.Board   

    ACP - remove skinset
    JS alert with "PLEASE CONFIRM: Proceed with delete?" before ACP "Please Confirm" page.
    • 0 replies
    • 0 views
  10. desti added a comment: Skin typo   

    screenshot from http://community.invisionpower.com/index.php?app=nexus&module=clients&section=purchases
  11. desti added a record in IP.Nexus   

    Skin typo
    Double quote in <if test....>
    • 0 replies
    • 0 views
  12. desti added a comment: Invite participants with russian display names   

    You are right, forum started in 2006 with codepage CP-1251, now UTF-8.

    Fields members_l_display_name created in the coding 1251 look correctly ("[b]р[/b]усский"), but all fields created in UTF-8 stored as "[b]Р[/b]усский".
    Invite works only for new (utf) names.

    Thanks!
  13. desti added a comment: Invite participants with russian display names   

    populate with SQL "lower(...)"

    strtolower and strtoupper don't work with Russian in utf-8, probably this issue will help someone to solve a problem before your fix it.
  14. desti added a record in IP.Board   

    Invite participants with russian display names
    Error: The following users do not exist:name

    in messengerFunctions.php > function checkAndReturnInvitedUsers(...)

    line 2209: if ( ! in_array( [b]strtolower[/b]( $name ), array_keys( $inviteArrayByName ) ) )

    must be:
    if ( ! in_array( [b]mb_strtolower[/b]( $name ), array_keys( $inviteArrayByName ) ) )
    • 0 replies
    • 0 views
  15. desti added a post in a topic: IPB 3.1.5 ever coming?   



    U are NOT M$ and never become them. If I develop an application or hook to order, I rectify errors if they are, instead of I suggest the user to wait, while I will think up the new version. It's how my software works.

    I don't ask about 3.1.5, I ask about update and bugfix for 3.1.4. For me and other customer, who doesn't want to be a member of your "racing team".
    I've paid money and since November (3.1.4.) fix your errors by yourself. I can, you can't?

    By the way, run open poll:
    1. I want have patches for current version.
    2. I am ready to use version with bugs and ready to wait for the following version.

    And will see a counter of " most of our customers want us to keep pressing forward" on our display.