Jump to content

bfarber

Clients
  • Posts

    163,911
  • Joined

  • Days Won

    346

Reputation Activity

  1. Like
    bfarber reacted to Daniel F in Automatic Moderation Task NEVER finishes   
    Please submit a ticket so that we can take a look at this.
  2. Like
    bfarber reacted to Bads125 in Can't access Admin since yesterday   
    Ok,
    Problem is solved now 🙂 
    This was a problem with mt constants.php file.
    All is running fine.
    Guy
  3. Like
    bfarber got a reaction from BomAle in Output my purchases in a block   
    This is how we list purchases on that page, which you could emulate in a custom block
    $where = array( array( 'ps_member=?', \IPS\Member::loggedIn()->member_id ) ); $parentContacts = \IPS\nexus\Customer::loggedIn()->parentContacts(); if ( \count( $parentContacts ) ) { $or = array(); foreach ( $parentContacts as $contact ) { $where[0][0] .= ' OR ' . \IPS\Db::i()->in( 'ps_id', $contact->purchaseIds() ); } } $where[] = array( 'ps_show=1' ); /* Get only the purchases from active applications */ $where[] = array( "ps_app IN('" . implode( "','", array_keys( \IPS\Application::enabledApplications() ) ) . "')" ); $purchases = array(); foreach( new \IPS\Patterns\ActiveRecordIterator( \IPS\Db::i()->select( '*', 'nexus_purchases', $where, 'ps_active DESC, ps_expire DESC, ps_start DESC' ), 'IPS\nexus\Purchase' ) as $purchase ) { $purchases[ $purchase->parent ][ $purchase->id ] = $purchase; } \IPS\Output::i()->output = \IPS\Theme::i()->getTemplate('clients')->purchases( $purchases );  
  4. Like
    bfarber got a reaction from sobrenome in SEO issue   
    It looks like if the link has a role attribute of any value except space it should pass the audit.
    https://github.com/GoogleChrome/lighthouse/pull/10662/commits/db26d769085a1058ac294d00c0208118882dea04
    Can you confirm if you change onclick to something like role="navigation" that it also resolves the concern?
  5. Thanks
    bfarber reacted to opentype in Any way to see if you replied to a thread?   
    A star icon means you participated. You don’t even need a hover action. 

     
  6. Like
    bfarber got a reaction from sobrenome in 4.5 Beta 5 - Page Builder: Text Widget   
    As a random example.....
  7. Haha
    bfarber reacted to Admin 1 in How to feature a guest blogger?   
    Never mind!  My guest blogger is apparently much better at this stuff than I am and she figured it out!
    Next question, is there a way for me to delete this thread so I don't waste anyone's time with it?
  8. Thanks
    bfarber got a reaction from The Old Man in Best practice for adding buttons & links in Plugin Settings   
    $form->addButton(...)
  9. Like
    bfarber got a reaction from Meddysong in SQL query to reset all members to take me to unread content   
    We have an open bug report internally to look into that behavior based on another topic here.
     
    Re-reviewing the queries I supplied, it should be members_bitoptions2 and not members_bitoptions (note the "2"). Apologies for that.
  10. Thanks
    bfarber got a reaction from sofos in move a discussion from forum to blog   
    There is no built in option to do this, no.
  11. Like
    bfarber got a reaction from sobrenome in Gallery Require Moderation Before Images Show ?   
  12. Like
    bfarber got a reaction from jackflash in Gallery Require Moderation Before Images Show ?   
  13. Thanks
    bfarber got a reaction from Day_ in SQL query to reset all members to take me to unread content   
    We have an open bug report internally to look into that behavior based on another topic here.
     
    Re-reviewing the queries I supplied, it should be members_bitoptions2 and not members_bitoptions (note the "2"). Apologies for that.
  14. Like
    bfarber reacted to Aiwa in Registration verifcation by Mobile Number   
    Problem being any spam attempts that put in bogus phone numbers would count toward your Twilio usage. Any such system would need to be carefully designed to prevent abuse that could cost the board owner an untold amount of money with zero benefit over traditional email. 
    Don’t get me wrong, I’m not saying it can’t be done... There are a lot of things to consider to ensure such a system can’t be abused and cost the board owner lots of $$$. Human readable code always gets out somehow. Any code written will be inspected for vulnerabilities and possibly exploited. 
  15. Like
    bfarber got a reaction from Aiwa in Registration verifcation by Mobile Number   
    SMS notifications cost money, so anything like this would need to be an integration with a third party paid service (such as Twilio).
  16. Thanks
    bfarber got a reaction from Mark Round in Output my purchases in a block   
    This is how we list purchases on that page, which you could emulate in a custom block
    $where = array( array( 'ps_member=?', \IPS\Member::loggedIn()->member_id ) ); $parentContacts = \IPS\nexus\Customer::loggedIn()->parentContacts(); if ( \count( $parentContacts ) ) { $or = array(); foreach ( $parentContacts as $contact ) { $where[0][0] .= ' OR ' . \IPS\Db::i()->in( 'ps_id', $contact->purchaseIds() ); } } $where[] = array( 'ps_show=1' ); /* Get only the purchases from active applications */ $where[] = array( "ps_app IN('" . implode( "','", array_keys( \IPS\Application::enabledApplications() ) ) . "')" ); $purchases = array(); foreach( new \IPS\Patterns\ActiveRecordIterator( \IPS\Db::i()->select( '*', 'nexus_purchases', $where, 'ps_active DESC, ps_expire DESC, ps_start DESC' ), 'IPS\nexus\Purchase' ) as $purchase ) { $purchases[ $purchase->parent ][ $purchase->id ] = $purchase; } \IPS\Output::i()->output = \IPS\Theme::i()->getTemplate('clients')->purchases( $purchases );  
  17. Like
    bfarber reacted to Stuart Silvester in Will the new downloads API endpoint be S3 compatible?   
    Yes, the new endpoint will generate a signed URL for the files if the Storage handler supports them.
  18. Like
    bfarber reacted to Ryan Ashbrook in Whole content of private message   
    System > Email Settings > Truncate Content
  19. Like
    bfarber reacted to jackflash in Where is the place to replce the word in menu ?   
    I had to create a new menu item for it and then choose a custom name.  I don't think that you can change the IPS designated name.

  20. Like
    bfarber reacted to Tyler Loewen in OAuth2 Login Problem   
    Turns out it was a problem with a plugin in Auth0 and I've managed to fix it. Cheers!
  21. Thanks
    bfarber got a reaction from Day_ in SQL query to reset all members to take me to unread content   
    That's not true.
    UPDATE core_members SET members_bitoptions=members_bitoptions & ~1048576; UPDATE core_members SET members_bitoptions=members_bitoptions | 524288; Something along those lines should do what you are after.
  22. Like
    bfarber got a reaction from Rikki in New css padding question   
    With padding (and similar) CSS properties, if you only define two values then the first one will represent top and bottom, and the second one will represent left and right. So "12px var(--sp-3)" is like saying "12px var(--sp-3) 12px var(--sp-3)"
  23. Thanks
    bfarber got a reaction from marklcfc in New css padding question   
    With padding (and similar) CSS properties, if you only define two values then the first one will represent top and bottom, and the second one will represent left and right. So "12px var(--sp-3)" is like saying "12px var(--sp-3) 12px var(--sp-3)"
  24. Like
    bfarber got a reaction from sobrenome in Tasks.php bogging down the server?   
    Do you happen to have a bunch of background tasks queued on your dashboard presently? If you just upgraded to 4.5, you may have many background tasks queued to run, which would explain why cron tasks are taking up above average resources.
  25. Like
    bfarber got a reaction from Sonya* in Search results in guides include non-existent pages   
    This was due to a configuration oddity on our side here. It should be resolved now, thanks.
×
×
  • Create New...