[OzzModz] Advanced Forms [Deleted]

Really good addon, we use it quite frequently and have almost no issues with it. Some a bit hard to tell (such as Form Cooldown, did not know it was global rather than per user) but do have a suggestion!

It would be nice if there was some advanced customization, for example, utilizing APIs. If for example they enter a username, we could add an API to this and ensure that the username is valid, if not, a form error would produce to the user.

Regarding errors, perhaps delay them on the form instead of on submit? Especially when it is difficult to ensure that they are aware what kind of question, could be beneficial.

A "Next" form! So essentially, kind of like Google Forms, you have sections. For example "About you" section could ask Name, Age, Experience and then they can press next.

(not sure if you take suggestions, or ideas, but might as well!)
 
Really good addon, we use it quite frequently and have almost no issues with it. Some a bit hard to tell (such as Form Cooldown, did not know it was global rather than per user) but do have a suggestion!

It would be nice if there was some advanced customization, for example, utilizing APIs. If for example they enter a username, we could add an API to this and ensure that the username is valid, if not, a form error would produce to the user.

Regarding errors, perhaps delay them on the form instead of on submit? Especially when it is difficult to ensure that they are aware what kind of question, could be beneficial.

A "Next" form! So essentially, kind of like Google Forms, you have sections. For example "About you" section could ask Name, Age, Experience and then they can press next.

(not sure if you take suggestions, or ideas, but might as well!)
Would be nice if the time/date ranges worked again for specific forms as well.
 
Hi there @Ozzy47,

sorry if I missed something, but the automatic promotions are no longer working for us (version 2.2.4 Beta 5 on XF 2.2.15):

Code:
InvalidArgumentException: Accessed unknown getter 'app' on Snog\Forms:Promotion[56126] src/XF/Mvc/Entity/Entity.php:213
Generated by: Unknown account Jun 2, 2024 at 6:06 PM

Stack trace

#0 src/XF/Mvc/Entity/Entity.php(119): XF\Mvc\Entity\Entity->get('app')
#1 src/addons/Snog/Forms/Entity/Promotion.php(46): XF\Mvc\Entity\Entity->__get('app')
#2 src/addons/Snog/Forms/Service/Promotion/Approve.php(47): Snog\Forms\Entity\Promotion->revertInstantPromotion()
#3 src/addons/Snog/Forms/Cron/Pollresults.php(46): Snog\Forms\Service\Promotion\Approve->approve()
#4 src/XF/Job/Cron.php(37): Snog\Forms\Cron\Pollresults::processResults(Object(XF\Entity\CronEntry))
#5 src/XF/Job/Manager.php(260): XF\Job\Cron->run(8)
#6 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#7 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#8 job.php(43): XF\Job\Manager->runQueue(false, 8)
#9 {main}

Request state

array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(29) "https://finexes.com/admin.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

and

Code:
Error: Call to a member function service() on null src/addons/Snog/Forms/Entity/Promotion.php:46
Generated by: Unknown account Jun 2, 2024 at 6:06 PM

Stack trace

#0 src/addons/Snog/Forms/Service/Promotion/Approve.php(47): Snog\Forms\Entity\Promotion->revertInstantPromotion()
#1 src/addons/Snog/Forms/Cron/Pollresults.php(46): Snog\Forms\Service\Promotion\Approve->approve()
#2 src/XF/Job/Cron.php(37): Snog\Forms\Cron\Pollresults::processResults(Object(XF\Entity\CronEntry))
#3 src/XF/Job/Manager.php(260): XF\Job\Cron->run(8)
#4 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#5 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#6 job.php(43): XF\Job\Manager->runQueue(false, 8)
#7 {main}

Request state

array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(29) "https://finexes.com/admin.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

Thanks!
 
Ozzy47 updated [OzzModz] Advanced Forms with a new update entry:

[OzzModz] Advanced Forms for XenForo for XenForo 2.2+ Update 2.2.4 Beta 6

danger GIF
Warning Sign GIF


Now That Ive got your attention:
This is a beta release, take a full backup before installing on a production site. Optimally try it out on a test site that is a replication of your live site before installing on the live site. It has had limited testing.

2.2.4 Beta 6:

Fixed "cant have a default value"...

Read the rest of this update entry...
 
This is one of two addons holding up a 2.3 update, tempted to go with the beta but common sense dictates to wait for a "release". Any ETA on that?
 
I run an automotive tech site and am looking for some sort of form to assist members with providing information for their signatures. How difficult would it be to incorporate a form mod like this for that purpose?

Thanks!
 
I run an automotive tech site and am looking for some sort of form to assist members with providing information for their signatures. How difficult would it be to incorporate a form mod like this for that purpose?

Thanks!
It depends on the options you need on the form. There are several options available so you can set it up accordingly.
 
Ozzy47 updated [OzzModz] Advanced Forms with a new update entry:

2.2.4

This release is no longer labelled as beta and is well tested, but it is still recommended to make a backup before upgrading.

  • Fixed Call to a member function service() on null src/addons/Snog/Forms/Entity/Promotion.php:46
  • error
  • Fixed incorrect variables in promotion deny
  • Added missing check for nodes where a report thread should be created when passing the url parameter 'node_id'
  • Fixed error while uploading attachments on XF 2.3
  • Fixed...

Read the rest of this update entry...
 
@Ozzy47 @Painbaker -- Perhaps I missed something in the release notes for 2.2.4, but just in case, it's worth noting that when I upgraded a test installation, all existing forms were disabled. (They were confirmed active and working prior to the upgrade test..)

1729949752571.webp

Not a big deal, but did throw me for a loop at first - just a heads up to anyone upgrading to this new version.

The other issue noted was that we had to reset the option to replace "Post Thread" buttons. Seemed like we had to remove all of the previous settings and set it up again for each form that was dedicated to a specific node. Again, not a huge deal, but just something to watch for when upgrading if using that particular option in a form.

Thanks for your work.
 
Last edited:
@Ozzy47 @Painbaker -- Perhaps I missed something in the release notes for 2.2.4, but just in case, it's worth noting that when I upgraded a test installation, all existing forms were disabled. (They were confirmed active and working prior to the upgrade test..)

View attachment 313019

Not a big deal, but did throw me for a loop at first - just a heads up to anyone upgrading to this new version.
No other issues noted so far.

Thanks for your work.
this didnt happen for me, fwiw...
 
  • Like
Reactions: ENF
this didnt happen for me, fwiw...
Good to know, I plan on resetting this instance and going at it again to see what happens. (This is the big push to 2.3.x and we're putting in a lot of extra time in the dev/test environment to catch any issues)
 
Back
Top Bottom