This is a mobile optimized page that loads fast, if you want to load the real page, click this text.

[OzzModz] Advanced Forms [Paid] 2.2.4 Beta 1

No permission to buy ($30.00)
Hi Snog,

I would like the value from date picker to show like this 29 avg 2018, but it shows like this 29 Avg 2018.

I have set it up like that:


It works fine for other stuff, just not forms. I need it to work with small capital letter for month.
 
Hi Snog,

I would like the value from date picker to show like this 29 avg 2018, but it shows like this 29 Avg 2018.

I have set it up like that:

It works fine for other stuff, just not forms. I need it to work with small capital letter for month.
I will look into it.
 
What is that symbol next to the j in your "other" setting?

If that's a dot (period), it shows in dates in XenForo itself if I set it that way.

And have you made any changes or do you have an add-on that changes the date to lower case? If I use that code, XenForo itself shows in upper case.



The only way I know of to force lower case is to edit the month_xx_short phrases in the language you're using.
 
What is that symbol next to the j in your "other" setting?
It's a dot.

If I use Custom thread fields -> Add field -> Options for text fields and use the date form it posts the right form:

 
It's ok:


That's the only language I have installed on this board.

Also, the dates on thread list or anywhere else looks fine, so with a small capital letter for the month.
 
Do you think you can make polls vieweable by default on next version, too? It would be great.

Thanks for reading my request.
 
Do you think you can make polls vieweable by default on next version, too? It would be great.

Thanks for reading my request.
I already saw your request a few posts back. Asking more than once doesn't make it any more likely for it to be included.

In either case, the next version is already set for release and it is not in there.
 
Snog updated Advanced Forms for XenForo 2.x with a new update entry:

Advanced Forms for XenForo 2.x Update 1.0.4


Read the rest of this update entry...
 
After upgrading from 1.0.3 to 1.0.4 I get this error:

Server error log
  • Error: Call to a member function getTimestamp() on boolean
  • src/addons/Snog/Forms/Pub/Controller/Form.php:421
  • Generated by: ...
  • 19. jan 2018 ob 16:26
Stack trace
#0 src/XF/Mvc/Dispatcher.php(249): Snog\Forms\Pub\Controller\Form->actionSubmit(Object(XF\Mvc\ParameterBag))
#1 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('Snog\\Forms:Form', 'Submit', 'json', Object(XF\Mvc\ParameterBag), 'snog_forms_navt...', Object(Snog\Forms\Pub\Controller\Form), NULL)
#2 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#3 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#4 src/XF.php(328): XF\App->run()
#5 index.php(13): XF::runApp('XF\\Pub\\App')
#6 {main}
 
What version of PHP are you running?

getTimestamp is a standard PHP command.
http://php.net/manual/en/datetime.gettimestamp.php
 
I don't know of any reason it wouldn't work on your system. And I'm using the exact format you gave on my development server without any problem.



I'll have to look into this in more depth because of that.

Could you also give me the full stack trace of the error from the admin area? (including the Request state)
 
Server error log
  • Error: Call to a member function getTimestamp() on boolean
  • src/addons/Snog/Forms/Pub/Controller/Form.php:421
  • Generated by: ...
  • 19. jan 2018 ob 17:07
Stack trace
#0 src/XF/Mvc/Dispatcher.php(249): Snog\Forms\Pub\Controller\Form->actionSubmit(Object(XF\Mvc\ParameterBag))
#1 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('Snog\\Forms:Form', 'Submit', 'json', Object(XF\Mvc\ParameterBag), 'snog_forms_navt...', Object(Snog\Forms\Pub\Controller\Form), NULL)
#2 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#3 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#4 src/XF.php(328): XF\App->run()
#5 index.php(13): XF::runApp('XF\\Pub\\App')
#6 {main}
Request state
array(4) {
["url"] => string(76) "/livetest/form/aaaaaaaaaa.3/submit"
["referrer"] => string(52) "https://aaaaaai/livetest/form/3/select"
["_GET"] => array(0) {
}
["_POST"] => array(5) {
["question"] => array(10) {
[65] => string(10) "2018-01-03"
[66] => string(1) "4"
[67] => string(1) "2"
[68] => string(7) "asdfadf"
[69] => string(8) "asdfasdf"
[70] => string(8) "asdfasdf"
[71] => string(8) "asdfasdf"
[72] => string(10) "2018-01-11"
[73] => string(10) "2018-01-12"
[74] => string(10) "2018-01-14"
}
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(23) "/livetest/form/3/select"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}

============================================================

Not sure why it happens. When I hit Submit form I get this error. I've just upgraded to new version and tried the existing form.
 
Not sure why it happens. When I hit Submit form I get this error. I've just upgraded to new version and tried the existing form.
Are you comfortable editing PHP files?

If not, would it be possible for me to get FTP access to your site so I can try a change I have in mind?
 
You can send me the code which one to change and in which file.
 
Snog updated Advanced Forms for XenForo 2.x with a new update entry:

Advanced Forms for XenForo 2.x Update 1.0.5


Read the rest of this update entry...
 
I'd like to report a bug affecting v1.0.5 of your add-on.

From now on, in a form where I added some WYSIWYG fields, under those fields I see the following:

question[x]

instead of the field description, where "x" replaces a number.

Visual example:



It didn't happen before this update, hopefully it helps, Snog.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…