The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Form Generator Problem

View previous topic View next topic Go down

Solved Form Generator Problem

Post by Babybok on July 26th 2017, 7:14 pm

Hello, good day forumotion. I would like to ask if anyone of you have already use a Form Generator from other forums of forumotion? Cause I've already used once from the Italy's forumotion (I think, cause I can't understand what it said in that forum [Link's here : http://ajuda.forumeiros.com/]) So I've asked once here where can I find or what way can I use to make a form in my phpbb2 forum (Link here: http://help.forumotion.com/t144281-posting-a-new-topic-with-the-use-a-form) So that thread is the way I've solved my question cause one user have'd provided a Form Generator to use it in my phpbb2 forum and it helped me alot. So now I've returned in that thread since to check the link of the form generator and use it in my other forum which is Invision forum, but after I've use the Form Generator again and use it in my Invision Forum it won't post the thread in my designated Forum. After I click the send button a pop-up will come up and said (Postado com successo. Voce sera redirecionado para subforum com o novo topico) ([ENG VER. - Successfully posted. You will be redirected to subforum with the new topic "via google translate") but after the redirect the thread I want to see is not existing and but I've tried it in my phpbb2 forum, it exist?

So, I just want to ask any of you that if you know where can I find a Form Generator for Invision Forum?


Screenshot:


PS.
The Form Generator I've used in the above screenshot is their verion 2.0 (Link here: http://ajuda.forumeiros.com/h13-form20



Last edited by Babybok on July 27th 2017, 7:54 am; edited 1 time in total
avatar
Babybok
Forumember

Male Posts : 188
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

Solved Re: Form Generator Problem

Post by Justice™ on July 26th 2017, 7:41 pm

Hello,

Please post your forum's link and the exact code that you used for the form.
avatar
Justice™
Forumember

Posts : 517
Reputation : 119
Language : Romanian and English

http://board.realmsn.com

Back to top Go down

Solved Re: Form Generator Problem

Post by Babybok on July 26th 2017, 8:01 pm

@Wolfuryo

Forum's link : http://forums.mo-rpg.com/
the Codes is from the form generator but ok

Code:
<!--    ->
/*
 * Gerado em <ajuda.forumeiros.com>.
 * Gerador (2.0) feito por Luiz (http://ajuda.forumeiros.com/u60563)
 */
<-    -->  <meta charset="UTF-8" />  <meta content="width=device-width, initial-scale=1.0" name="viewport" />  <meta content="ie=edge" http-equiv="X-UA-Compatible" />  <title>Community Helpers Application</title>  <style type="text/css">
    *,
    *::before,
    *::after {
      padding: 0px;
      margin: 0px;
      box-sizing: border-box;
    }

    html,
    body {
      height: 100%;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
      font-size: 14px;
      line-height: 1.5;
      color: #24292e;
      background-color: #fff;
    }

    #fa-generated-form {
      width: 60%;
      margin: 0 auto;
      background-color: #fff;
      border: solid 1px #ddd;
      border-radius: 0 0 3px 3px;
    }

    .fa-form-wrapper {
      width: 100%;
    }

    .fa-form-group {
      display: block;
      width: 100%;
      padding: 0px 20px;
    }
   
    .fa-form-group *:last-child {
      margin-bottom: 7px;
    }
   
    .fa-form-group h4 {
      font-size: 23px;
      color: #3072ab;
    }
   
    .fa-form-group p {
      font-size: 16.4px;
      border-left: solid 3px #ddd;
      margin-left: -20px;
      padding-left: 17px;
      padding-top: 2px;
      padding-bottom: 2px;
    }
   
    #fa-generated-form h1 {
      font-size: 35px;
      display: block;
      text-align: center;
      margin: 15px 0px;
      color: #ffffff;
      text-transform: uppercase;
      background-color: #3072ab;
      margin-top: 0px;
      font-weight: normal;
    }

    .fa-form-group label {
      display: block;
      font-size: 16px;
      margin-bottom: 5px;
    }

    .fa-form-group input,
    .fa-form-group textarea,
    .fa-form-group select {
      display: block;
      width: 100%;
      padding: .5rem .75rem;
      font-size: 1rem;
      line-height: 1.25;
      color: #464a4c;
      background-color: #fff;
      background-image: none;
      -webkit-background-clip: padding-box;
      background-clip: padding-box;
      border: 1px solid rgba(0,0,0,.15);
      border-radius: .25rem;
      -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
      transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
      -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
      transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
      transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    }

    .fa-form-group input:focus,
    .fa-form-group textarea:focus,
    .fa-form-group select:focus {
      color: #464a4c;
      background-color: #fff;
      border-color: #5cb3fd;
      outline: 0;
    }

    .fa-form-group select[multiple] {
      padding-right: 0px;
    }

    .fa-submit {
      display: block;
      width: 100%;
      padding: 20px;
    }

    .fa-submit button {
      padding: 10px 20px;
      background-color: #3072ab;
      color: #fff;
      font-size: 14px;
      border: none;
      border-radius: 3px;
    }

    .fa-submit button:hover {
      background-color: #2a6192;
    }

    [class*="conteneur"] form#fa-generated-form {
      border-top: solid 1px #ddd;
      margin-top: 20px;
      border-radius: 3px!important;
    }

    @media (max-width: 700px) {
      #fa-generated-form {
      width: 100%;
      border: none;
      }
    }
  </style> 
<form id="fa-generated-form">
          
   <div class="fa-form-wrapper">
               
      <h1>
           Community Helpers Application 
      </h1>
               
      <!--    BEGIN Generated HTML Code    -->       
      <div class="fa-form-group clearfix">
             <label for="campo2"><span><span>Full Name</span></span></label>  <input required="required" placeholder="(First_Lastname)" id="campo2" data-type="text" type="text" /> 
      </div>
       
      <div class="fa-form-group clearfix">
             <label for="campo3"><span><span>Roleplay / IGN Name:</span></span></label>  <input required="" placeholder="(First_Lastname)" id="campo3" data-type="text" type="text" /> 
      </div>
       
      <div class="fa-form-group clearfix">
             <label for="campo4"><span><span>Birthdate</span></span></label>  <input required="" id="campo4" data-type="date" type="date" /> 
      </div>
       
      <div class="fa-form-group clearfix">
             <label for="campo5"><span><span>Location</span></span></label>  <input required="" placeholder="(Ex. Manila, Caloocan,Cavite, etc.)" id="campo5" data-type="text" type="text" /> 
      </div>
       
      <div class="fa-form-group clearfix">
             <label for="campo7"><span><span>Why would you like to become a Community Helper?</span></span></label>  <textarea required="" placeholder="(Give us a reason with a 2 paragraph with 200 words)" id="campo7" data-type="textarea"></textarea> 
      </div>
       
      <div class="fa-form-group clearfix">
             <label for="campo8"><span><span>Why should we choose YOU and not any other applicants?</span></span></label>  <textarea required="" placeholder="(Give us 200 words with right grammar)" id="campo8" data-type="textarea"></textarea> 
      </div>
       
      <div class="fa-form-group clearfix">
             <label for="campo10"><span><span>Screenshots of your / stats</span></span></label>  <input required="" placeholder="[IMG] LINK [/IMG]" id="campo10" data-type="text" type="text" /> 
      </div>
       
      <div class="fa-form-group clearfix">
             <label for="campo11"><span><span>Do you agree that if you will not stay active, you will be removed without notice?</span></span></label>  <select required="required" id="campo11" data-type="select">

            
            
            <!--    First    -->
























<option value="---">---</option>
<option value="-Yes">-Yes</option>
<option value="-Nope">-Nope</option>
</select> 
      </div>
               
      <!--    END Generated HTML Code    -->     
   </div>
          
   <div class="fa-submit">
               
      <button type="submit" class="post-button">
           Send 
      </button>
             
   </div>
        
</form>
   
<!--    Javascript's    --> 
<!--    Não é recomendada a edição abaixo desta linha.    -->  <textarea id="fa-generated-message" style="display: none;">[quote="Application"]
[b]Full Name: [/b] {{Field2}}
[i](Real Name)[/i]

[b]Roleplay/IGN Name: [/b]{{Field3}}

[b]Birthdate:[/b] {{Field4}}

[b]Location:[/b] {{Field5}}

[b]Why would you like to become a Community Helper? [/b]

-{{Field7}}

[b]Why should we choose YOU and not any other applicants?[/b]

-{{Field8}}

[b]Screenshots of your /stats:[/b]

{{Field10}}

[b]Do you agree that if you will not stay active, you will be removed without notice?[/b]
-{{Field11}}
[/quote]</textarea>  <input value="{{Field3}}'s Helper's Application" id="fa-generated-title" type="hidden" />  <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>  <script type="text/javascript" src="https://forumeiros.github.io/assets/src/form-generator/form-replace.js"></script>  <script type="text/javascript">
    (function ($) {
       'use strict';

       $(window).on('load', function () {
          $('#fa-generated-form').on('submit', function (event) {
        event.preventDefault();
        $(this).find('button[type="submit"]').text('Postando...');
        setTimeout(function () {
               $.post('/post', {
                  subject: $('#fa-generated-title').val().trim(),
                  f: 39,
                  message: $('#fa-generated-message').val().trim(),
                  mode: 'newtopic',
                  tid: $('[name="tid"]:first').val(),
                  post: 1,
               }).done(function () {
                  alert('Postado com sucesso. Você será redirecionado para o subfórum com o novo tópico...');
                  location.pathname = '/f39-';
               }).fail(function () {
                  alert('Houve um erro! Tente novamente!');
               });
        }, 600);
          });
       });
    }(jQuery));
  </script>
avatar
Babybok
Forumember

Male Posts : 188
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

Solved Re: Form Generator Problem

Post by Justice™ on July 26th 2017, 8:25 pm

Hi again,

Go to the ACP, General, Security and look for Unauthorize unofficial forms to post messages and private messages on the forum. Make sure to select NO and then save.
avatar
Justice™
Forumember

Posts : 517
Reputation : 119
Language : Romanian and English

http://board.realmsn.com

Back to top Go down

Solved Re: Form Generator Problem

Post by Babybok on July 27th 2017, 7:54 am

@Wolfuryo

Thank you very much for the help, even tho' I've some little problem, I've found a way to solve it myself. thank you very much. cheers
avatar
Babybok
Forumember

Male Posts : 188
Reputation : 2
Language : Filipino, English
Location : Philippines

http://rl-rp.board.st

Back to top Go down

Solved Re: Form Generator Problem

Post by Draxion on July 27th 2017, 4:27 pm

Problem solved & topic archived.
Please read our forum rules: ESF General Rules


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1813
Reputation : 227
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum