Ryan Ashbrook

IPS Staff
  • Content count

    10,102
  • Joined

  • Last visited


About Ryan Ashbrook

Contact Methods

IPS Marketplace

  • Resources Contributor Total file submissions: 8

Profile Information

  • Gender Male
  • Location Cincinnati, Ohio
  • Interests Forums and Music. That's basically it.

Recent Profile Visitors


31,383 profile views

Ryan Ashbrook's Activity

  1. Ryan Ashbrook added a bug in Bug Tracker   

    Editing _list_format_ does not appear to clear listFormats data store
    Per title, noticed via a ticket that editing the _list_format_ language string does not appear to clear the listFormats datastore.
    • 0 replies
    • 13 views
  2. Ryan Ashbrook added a bug in Bug Tracker   

    Deleting a topic link reduces overall item count.
    When you move a content item from one node to another, the content count for those two nodes are recalculated appropriately, but removing one from the source, and adding one to the destination.
    However, if you elect to leave a link in the source node, and then subsequently delete that link, then the item count for the node is reduced again, which can eventually lead to negative counts.
    http://screencast.com/t/NLZhwOXlPKH
    • 1 reply
    • 34 views
  3. Ryan Ashbrook added a bug in Bug Tracker   

    Copying Downloads Category Settings
    When attempting to copy the Allowed File Extensions setting for a Downloads category, you are presented with the following error:
    Undefined index: cforum_on 398 #0 /Applications/MAMP/htdocs/ips4branch/next062415/applications/downloads/sources/Category/Category.php(398)Possibly related: https://community.invisionpower.com/4bugtrack/cannot-copy-commerce-package-settings-r6428/
    • 0 replies
    • 21 views
  4. Ryan Ashbrook added a comment Deleting a topic associated with a database record   

    Actually, this goes a bit deeper - specifically, the \IPS\cms\Records\CommentTopicSync record for the comments are not removed from the search index when the posts are removed via the Forums app, which causes the error.
  5. Ryan Ashbrook added a bug in Bug Tracker   

    Deleting a topic associated with a database record
    If you delete a topic in the Forums that is associated with a database record, then subsequently viewing the profile of a member who has commented on that record will throw an Out Of Range Exception, as the record is still trying to load the topic, which no longer exists.
    • 2 replies
    • 98 views
  6. Ryan Ashbrook added a post in a topic Where can I see which content I liked?   

    It's on the profile - click the Reputation block.
    https://community.invisionpower.com/profile/180536-ryan-ashbrook/reputation/
  7. Ryan Ashbrook added a bug in Bug Tracker   

    Quick Translating only saves once
    When using quick translating, if you edit a word on the front-end, save it, then edit it again, and save it again, then the second save does not keep.
    http://screencast.com/t/Mojn1FWdyAAu
    • 0 replies
    • 19 views
  8. Ryan Ashbrook added a comment Advertisement "Show To"   

    The problem is here:
    if ( $ad->exempt != '*' ) { $groupsToHideFrom = array_diff( array_keys(\IPS\Member\Group::groups()), json_decode( $ad->exempt, TRUE ) ); if ( \IPS\Member::loggedIn()->inGroup( $groupsToHideFrom ) ) { unset( static::$advertisements[ $adLocation ][ $index ] ); continue; } }The "Show To" field is ad_exempt, which this code takes and does the opposite of.
  9. Ryan Ashbrook added a post in a topic Where is this in 4.0? Session expiration (in seconds)   

    IPS4 uses PHP's built-in session management, with a custom handler. As such, session expiration is controlled by the session.gc_maxlifetime PHP directive, which defaults to 1440 seconds.
    http://php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime
  10. Ryan Ashbrook added a comment [4.0.4] Today's birthday   

    I've investigated this via a ticket, and the problem is that the block is cached. This presents a couple problems:
    The first person who "triggers" the cache build, will then have the birthdays stored using their timezone.If I visit at 11:59 PM, and the cache is built, then it will remain that way for twelve hours, effectively showing yesterdays birthdays rather than today.
  11. Ryan Ashbrook added a comment [4.0.4] Today's birthday   

    Changed Status to Pending
  12. Ryan Ashbrook added a post in a topic Why do some embedded internal links say "Reply to...?"   

    Because you are linking directly to the post itself, not the topic. Note these differences:


     
  13. Ryan Ashbrook added a bug in Bug Tracker   

    Legacy Color tags
    Legacy color tags are being stripped during conversion. For example:
    [color=&quot;#000080&quot;][font=&quot;Tahoma&quot;][size=&quot;5&quot;][b]Test[/b][/size][/font]<Results in:
    <p><strong><span><span style="font-family:Tahoma;"><span>Test</span></span></span></strong></p><p></p> 
    • 2 replies
    • 73 views
  14. Ryan Ashbrook added a bug in Bug Tracker   

    LegacyParser inadvertently removing formatting.
    On some older posts, it is possible for the LegacyParser too, for example, cut off "center" formatting too early under specific conditions. Test case:
    <?php require_once( './init.php' ); $content = <<<EOF <div style="text-align:center;">Test</div> <p style="text-align:center;">Test<br><br><a data-ipb='nomediaparse' href='https://www.example.com/'>https://www.example.com/</a></p> EOF; var_dump( \IPS\Text\LegacyParser::parseStatic( $content ) ); exit;The two line breaks here will be converted too </p><p> in this instance, so the link at the bottom will no longer be centered.
    • 1 reply
    • 60 views
  15. Ryan Ashbrook added a post in a topic Register via social networks and images   

    https://community.invisionpower.com/settings/facebook/