Jump to content

ZZ9

Newbie
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • Version
    4.1.19.1

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ZZ9's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Sorry bud you are correct, me being me and forgetful I completely forgot to add the link for a download.
  2. So after doing a little research after discovering this issue I discovered that in IPBS 4.1 a file as been removed which was causing this error we all been getting and after 2 hours of playing around with there code I discovered a temp fix. So if any of you guys/girls being getting this fatal script error Example: Here's how to fix it. First of all you will want to go to where all your of your files are located and then go to this directory Applications>> Donate >> Sources >> Reward >> Reward.php And then search for this line of code $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 ) ) ) ); and then replace that line with this code $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' ) );
    Everything seems to be working fine but I can't find the minimum post options, which was the reason why I downloaded it :(.
    Some how when I use this theme and other I get a error 500. does anyone know a fix this for. I am using 4.1.19
×
×
  • Create New...