[OzzModz] Advanced Forms

[OzzModz] Advanced Forms [Paid] 2.2.6 Beta2

No permission to buy ($40.00)
Hoping to get a quicker response here, we are supposed to have alot of form submissions TODAY :eek:

Experiencing a critical issue:
1705087312453.png


Is shown when editing or creating a new form. Yet our PC sender options are blank? On version 2.2.1
1705087268221.png
 
Disregard... got it fixed. Previous saved username was missing a certain character that was deleted since the last time the form was created o_O
 
I think I may have found a potential issue; not 100% sure how to repo since it was a member that hit the error.

PHP Version: 8.2.15
Add-on version: 2.2.3

Code:
ErrorException: [E_WARNING] preg_match(): Compilation failed: missing terminating ] for character class at offset 257
src/addons/Snog/Forms/Entity/Question.php:674

#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] pre...', '/var/www/...', 674)
#1 src/addons/Snog/Forms/Entity/Question.php(674): preg_match('#(?:[a-z0-9!\\#$...', 'reda.cted...')
#2 src/addons/Snog/Forms/Entity/Question.php(639): Snog\Forms\Entity\Question->getRegexAnswerError('reda.cted...')
#3 src/addons/Snog/Forms/Pub/Controller/Form.php(372): Snog\Forms\Entity\Question->getAnswerErrors('reda.cted...')
#4 src/XF/Mvc/Dispatcher.php(352): Snog\Forms\Pub\Controller\Form->actionSubmit(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('Snog\\Forms:Form', 'Submit', Object(XF\Mvc\RouteMatch), Object(Snog\Forms\Pub\Controller\Form), NULL)
#6 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Snog\Forms\Pub\Controller\Form), NULL)
#7 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#9 src/XF.php(524): XF\App->run()
#10 index.php(20): XF::runApp('XF\\Pub\\App')
#11 {main}

array(4) {
  ["url"] => string(36) "/form/redacted.10/submit"
  ["referrer"] => string(51) "https://redacted.com/form/redacted.10/select"
  ["_GET"] => array(1) {
    ["/form/redacted_10/submit"] => string(0) ""
  }
  ["_POST"] => array(7) {
    ["_xfToken"] => string(8) "********"
    ["question"] => array(7) {
      [104] => string(3) "Yes"
      [105] => string(12) "redacted"
      [106] => string(13) "redacted"
      [107] => string(26) "[email protected]"
      [108] => string(10) "redacted"
      [109] => string(6) "redacted"
      [110] => string(2) "redacted"
    }
    ["attachment_hash"] => string(32) "redacted"
    ["attachment_hash_combined"] => string(86) "{"type":"conversation_message","context":[],"hash":"redacted"}"
    ["_xfRequestUri"] => string(36) "/form/redacted.10/select"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
@Ozzy47 is there any way to avoid the 'Post thread button' to replace the default post thread button?
I want to allow users to create regular threads and fill the form if needed.

For example, if the forum is about reviews I want users to be able to create regular threads for posting questions) and use the form to post reviews.
 
You must validate your XenForo license to see quoted content
@Ozzy47 found the issue. There are two issues on the regular expression field within the admin control panel.

1) The length of the expression is not validated. Anything over 255 will be silently discarded on save, rendering the regular expression invalid.
2) The regular expression entered is not validated and accepted regardless of what is entered; so future saves will still consider the silently truncated expression as valid.
 
You must validate your XenForo license to see quoted content
No, I mean, the form addon currently replaces the New Thread button. I don't want it to replace the button, instead, I want to allow the user to use the form only if they want by using a custom button.
 
You must validate your XenForo license to see quoted content
You must validate your XenForo license to see quoted content
I can this if you're willing to sponsor it.


You must validate your XenForo license to see quoted content
I can add an option to allow banned users to use the forms, however if you use a redirect anywhere to another page after submitting, the user will see a message that they are banned.
 
You must validate your XenForo license to see quoted content
How much?

Also, how much to allow the form to create a thread in the forum it is set rather than having to select the specific forum? I need the same form to be displayed across 30 forums and I want to avoid having to copy 29 times the form.
 
Back
Top