News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

GenericControls

Started by maestrosite.ru, October 21, 2012, 06:50:17 AM

Previous topic - Next topic

maestrosite.ru

Quote from: Arantor on October 31, 2012, 12:09:36 AM
I'm aware of the issues of dealing with form headers and getting things like the session identifier... what about things like submit-once nonces? Are they handled?
Sorry, i'm don't understand your questions.

Quote from: Arantor on October 31, 2012, 12:09:36 AM
that should be implemented in the core, not the periphery of the system through a mod.
Yes! Of cource!! Also:
- attach hooks by config - not in php code : add/remove_integration_function
- update mod settings -  not in php code : updateSettings
- change DB by config - not in php code : db_extend('packages')
and other
First of all, sorry for my english. По-русски у меня получается значительно лучше.

Проблема на форуме? Сначала посмотрите лог ошибок вашего форума и лог ошибок сайта (error_log)

You can try other modifications - see demo

Arantor

QuoteSorry, i'm don't understand your questions.

Does the mod support things like checkSubmitOnce?

QuoteYes! Of cource!! Also:
- attach hooks by config - not in php code : add/remove_integration_function
- update mod settings -  not in php code : updateSettings
- change DB by config - not in php code : db_extend('packages')
and other

I know *exactly* what you mean. Probably better than most people here and had I had my way I would have implemented them in the package-info.xml file itself... oh wait...

maestrosite.ru

Quote from: Arantor on October 31, 2012, 12:37:37 AM
Does the mod support things like checkSubmitOnce?

Do you mean display "seqnum" and "session_*" fields:
if( !empty($context['form_sequence_number']) )
echo '
<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />';

or not?
First of all, sorry for my english. По-русски у меня получается значительно лучше.

Проблема на форуме? Сначала посмотрите лог ошибок вашего форума и лог ошибок сайта (error_log)

You can try other modifications - see demo

Arantor

Yes, I do - but you can't just randomly insert that stuff.

maestrosite.ru

Sorry, i don't understand you again
First of all, sorry for my english. По-русски у меня получается значительно лучше.

Проблема на форуме? Сначала посмотрите лог ошибок вашего форума и лог ошибок сайта (error_log)

You can try other modifications - see demo

Advertisement: