Jump to content

Jim Kelly

Members
  • Posts

    18
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Jim Kelly

  1. Hey, I sent a PM to the author, but figured I should post it here.  No one, besides admins, can see the forums that I've made.  I get an error screen, pic is below.  Permissions are set for view & apply for the members.  I've even extended it to manage apps and they still can't see it. I went to where it explains to go and there is only one option, of which, is checked and green. 

    Capture.thumb.PNG.edf79f3a4354e907f3f893391741515c.PNG

    2 minutes ago, Jim Kelly said:

    Hey, I sent a PM to the author, but figured I should post it here.  No one, besides admins, can see the forums that I've made.  I get an error screen, pic is below.  Permissions are set for view & apply for the members.  I've even extended it to manage apps and they still can't see it. I went to where it explains to go and there is only one option, of which, is checked and green. 

    Capture.thumb.PNG.edf79f3a4354e907f3f893391741515c.PNG

    OMG, nevermind, I did the drop down in the AdminCP - system - apps.  The 'Members' group wasn't check off there.  It's working now!

  2. Is there a way to allow my admins to create new applications?  When they go into their Admin CP, they can see the applications that I made, but no open to create a new one or to add fields to the current ones.  I don't want to be the only one able to add applications.  They are set to be able to access the section and to manage positions.  Am I missing a setting or is this not possible? 

  3. 16 minutes ago, Mike John said:

    Open applications/donate/sources/Reward/Reward.php

    Find:

    
    $form->add( new \IPS\Helpers\Form\NumberRange( 'reward_amount_range', $this->rid ? array( 'start' => $this->amount_range1, 'end' => $this->amount_range2 ) : array( 'start' => 0, 'end' => 100 ), FALSE, array( 'start' => array( 'decimals' => 2 ), 'end' => array( 'decimals' => 2 ) ) ) );

    Replace With:

    
            $form->add( new \IPS\Helpers\Form\Custom( 'reward_amount_range', $this->rid ? array( 'start' => $this->amount_range1, 'end' => $this->amount_range2 ) : array( 'start' => 0, 'end' => 100 ), FALSE, array( 'getHtml' => function( $element )
    		{
    			return "<input type='text' value='{$element->value['start']}' name='reward_amount_range[start]' min='0' class='ipsField_short'> - <input type='text' value='{$element->value['end']}' name='reward_amount_range[end]' min='0' class='ipsField_short'>";
    		} ), NULL, NULL, NULL, 'reward_amount_range' ) );

    Save.

    Perfect, that fixed it!  Thank you so much.

  4. On 3/27/2017 at 10:38 PM, Mike John said:

    Those who make use of group promotions and demotions, please apply this crucial fix here.

    Your link is dead.  I can't create member rewards and I think I need that fix.  I get the following error codes as soon as I go to add a new one.

    Error: Class 'IPS\Helpers\Form\NumberRange' not found (0)
    #0 /var/www/html/system/Node/Controller.php(459): IPS\donate\_Reward->form(Object(IPS\Helpers\Form))
    #1 /var/www/html/system/Node/Controller.php(358): IPS\Node\_Controller->_addEditForm(Object(IPS\donate\Reward))
    #2 /var/www/html/system/Dispatcher/Controller.php(86): IPS\Node\_Controller->form()
    #3 /var/www/html/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute()
    #4 /var/www/html/applications/donate/modules/admin/setup/rewards.php(35): IPS\Node\_Controller->execute()
    #5 /var/www/html/system/Dispatcher/Dispatcher.php(129): IPS\donate\modules\admin\setup\_rewards->execute()
    #6 /var/www/html/admin8Jws82Ku12OUkn2dliun7h/index.php(14): IPS\_Dispatcher->run()
    #7 {main}

×
×
  • Create New...