<commit_before>[b][size=6]Custom Form Mod Version 3.1.0[/size][/b]

[url="http://opensource.org/licenses/MIT"][img]https://camo.githubusercontent.com/d7b0ca6383644d5ac81e234f8d2249b731a1407b/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d3030393939392e737667[/img][/url] [url="https://www.paypal.me/JohnRayes"][img]https://camo.githubusercontent.com/e03e24ac37094afa6d1d089fc32de8027e9b4988/687474703a2f2f696d672e736869656c64732e696f2f62616467652f50617950616c2d242d3030393936362e737667[/img][/url]

[b][size=5]Overview[/size][/b]

This Mod allows you to create custom forms for your forum which your users can access at [font=monospace]index.php?action=form[/font], these forms are essentially a structured way of allowing your users to submit posts to certain boards, meaning that you can get them to enter certain information into a form and then you can chose how you want that information to be presented within the final outputted post.

You can access a list of your forms and the links to the actual forms themselves by going to [font=monospace]index.php?action=form[/font].

Possible uses for this Mod could include, Support Forms, Staff Application Forms, Error Reporting Forms and etc.

[b][size=5]Features Explained:[/size][/b]

Settings are found in the admin panel: Administration Center » Configuration » Modifications » Custom Form (or [font=monospace]index.php?action=admin;area=modsettings;sa=customform[/font]).

[*][b]Creating/Editing Forms:[/b] This is done in the settings area for this mod, you just need to create a new form by clicking on [font=monospace]Add New Form[/font], and then set up the information for that form making sure that you have entered in the relevant data for each setting, you will also need to add some fields to the form, otherwise it will be ignored.

[*][b]Viewing a list of forms that you can post:[/b] This is done at the [font=monospace]form[/font] action [font=monospace]index.php?action=form[/font], you will be able to view a list of forms that you can view and post, as well as a link to the board they belong to and etc.

[*][b]Posting a form:[/b] This is done at the [font=monospace]form[/font] action [font=monospace]index.php?action=form;n=#[/font], Replace [font=monospace]#[/font] with the actual number of the form. Once the user has filled out the form and saved/submitted, the results will be posted to the appropriate board. You can change the look of this page by creating a Custom Template Function.

[*][b]Custom Template Functions:[/b] This is a feature allows you to create your own custom template function for each form, to do this we suggest that you make a duplicate of the [font=monospace]template_example()[/font] function within the [font=monospace]CustomForm.template.php[/font] file. You can then use the documentation from that function to see how information is passed to it by the Mod, allowing you to change it for your purposes.

Please remember that you have to name the new template function in this format [font=monospace]template_{Custom Template Name}[/font], and you will have to put the correct value from [font=monospace]{Custom Template Name}[/font] into the [font=monospace]Custom Template Function[/font] setting for the form that you wish to use you new template. Further explanation for custom templates can be found in [font=monospace]CustomForm.template.php[/font].

[*][b]CAPTCHA Visual Verification:[/b] Visual verification often referred to as CAPTCHA and used by SMF for registration and posting, is included in the mod to help prevent against bots from using forms as a way to post your forum. Visual verification requires that the user type letters or digits from a distorted image that appears on the screen in order for a form to submit correctly.
[list]
[*]All forms require visual verification when being filled out by guests and can not be turned off
[*]Registered members will also be required to use visual verification based on existing settings in SMF.
[*]To access verification settings in for SMF 1.1.x: go to Admin » Registration » Settings or [font=monospace]index.php?action=regcenter;sa=settings[/font].
[*]To access verification settings in for SMF 2.x: go to Admin » Configuration » Security and Moderation » Anti-Spam or [font=monospace]?action=admin;area=securitysettings;sa=spam[/font].
[/list][/list]

Further explanation of a setting&#39;s functionality can be found by clicking on the [?] help button.

[b][size=5]Tutorial[/size][/b]

[b][url="https://github.com/live627/smf-custom-forms/tree/main/docs"]View more tutorials[/url][/b]

[b][size=4]Redirect the &#39;New Topic&#39; button to a form[/size][/b]

http://www.simplemachines.org/community/index.php?topic=248871.msg3726297#msg3726297

[b][size=4]Adding menu buttons for your actions[/size][/b]

Download [url="https://custom.simplemachines.org/index.php?mod=3674"]Ultimate Menu[/url] for your menu building needs
<commit_msg>Update install.txt<commit_after>[b][size=6]Custom Form Mod Version 3.1.0[/size][/b]

[url="http://opensource.org/licenses/MIT"][img]https://camo.githubusercontent.com/d7b0ca6383644d5ac81e234f8d2249b731a1407b/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d3030393939392e737667[/img][/url] [url="https://www.paypal.me/JohnRayes"][img]https://camo.githubusercontent.com/e03e24ac37094afa6d1d089fc32de8027e9b4988/687474703a2f2f696d672e736869656c64732e696f2f62616467652f50617950616c2d242d3030393936362e737667[/img][/url]

[b][size=5]Overview[/size][/b]

This Mod allows you to create custom forms for your forum which your users can access at [font=monospace]index.php?action=form[/font], these forms are essentially a structured way of allowing your users to submit posts to certain boards, meaning that you can get them to enter certain information into a form and then you can chose how you want that information to be presented within the final outputted post.

You can access a list of your forms and the links to the actual forms themselves by going to [font=monospace]index.php?action=form[/font].

Possible uses for this Mod could include, Support Forms, Staff Application Forms, Error Reporting Forms and etc.

[b][size=5]Features Explained:[/size][/b]

Settings are found in the admin panel: Administration Center » Configuration » Modifications » Custom Form (or [font=monospace]index.php?action=admin;area=modsettings;sa=customform[/font]).

[*][b]Creating/Editing Forms:[/b] This is done in the settings area for this mod, you just need to create a new form by clicking on [font=monospace]Add New Form[/font], and then set up the information for that form making sure that you have entered in the relevant data for each setting, you will also need to add some fields to the form, otherwise it will be ignored.

[*][b]Viewing a list of forms that you can post:[/b] This is done at the [font=monospace]form[/font] action [font=monospace]index.php?action=form[/font], you will be able to view a list of forms that you can view and post, as well as a link to the board they belong to and etc.

[*][b]Posting a form:[/b] This is done at the [font=monospace]form[/font] action [font=monospace]index.php?action=form;n=#[/font], Replace [font=monospace]#[/font] with the actual number of the form. Once the user has filled out the form and saved/submitted, the results will be posted to the appropriate board. You can change the look of this page by creating a Custom Template Function.

[*][b]Custom Template Functions:[/b] This is a feature allows you to create your own custom template function for each form, to do this we suggest that you make a duplicate of the [font=monospace]template_example()[/font] function within the [font=monospace]CustomForm.template.php[/font] file. You can then use the documentation from that function to see how information is passed to it by the Mod, allowing you to change it for your purposes.

Please remember that you have to name the new template function in this format [font=monospace]template_{Custom Template Name}[/font], and you will have to put the correct value from [font=monospace]{Custom Template Name}[/font] into the [font=monospace]Custom Template Function[/font] setting for the form that you wish to use you new template. Further explanation for custom templates can be found in [font=monospace]CustomForm.template.php[/font].

[*][b]CAPTCHA Visual Verification:[/b] Visual verification often referred to as CAPTCHA and used by SMF for registration and posting, is included in the mod to help prevent against bots from using forms as a way to post your forum. Visual verification requires that the user type letters or digits from a distorted image that appears on the screen in order for a form to submit correctly.
[list]
[*]All forms require visual verification when being filled out by guests and can not be turned off
[*]Registered members will also be required to use visual verification based on existing settings in SMF.
[*]To access verification settings in for SMF 1.1.x: go to Admin » Registration » Settings or [font=monospace]index.php?action=regcenter;sa=settings[/font].
[*]To access verification settings in for SMF 2.x: go to Admin » Configuration » Security and Moderation » Anti-Spam or [font=monospace]?action=admin;area=securitysettings;sa=spam[/font].
[/list][/list]

Further explanation of a setting&#39;s functionality can be found by clicking on the [?] help button.

[b][size=5]Tutorial[/size][/b]

[b][url=https://github.com/live627/smf-custom-forms/tree/master/docs]View more tutorials[/url][/b]

[b][size=4]Redirect the &#39;New Topic&#39; button to a form[/size][/b]

http://www.simplemachines.org/community/index.php?topic=248871.msg3726297#msg3726297

[b][size=4]Adding menu buttons for your actions[/size][/b]

Download [url="https://custom.simplemachines.org/index.php?mod=3674"]Ultimate Menu[/url] for your menu building needs

{'fraction_non_alphanumeric': 0.0918274573189211, 'fraction_numerical': 0.05273259925244974, 'mean_word_length': 5.648757555406313, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1405594', 'n_tokens_mistral': 3270, 'n_tokens_neox': 2829, 'n_words': 1193}