Jump to content

Forms Support


Michael.J

Recommended Posts

one more bug : i cant go to my profile 

glCp2AG.jpg?1

after ticket support , staff ipb told The problem seems to be with the third party application "Form"

 

 

Sun, 09 Aug 2015 05:07:30 +0000 (Severity: 5)
50.28.55.154 - http://www.mysite.com/profile/1-creator/
Template store key: template_2_724bb30c79fc15ab6cc95c74922c5898_global missing (form, front, global
#0 C:\wamp\www\applications\form\sources\Log\Log.php(149): IPS\Patterns\_ActiveRecord::load(7)
#1 C:\wamp\www\system\Theme\Theme.php(643) : eval()'d code(352): IPS\form\_Log->container()
#2 C:\wamp\www\system\Content\Content.php(832): IPS\Theme\class_core_front_system->activityStreamResult(Object(IPS\form\Log))
#3 C:\wamp\www\system\Theme\Theme.php(643) : eval()'d code(2138): IPS\_Content->activityStreamHtml()
#4 C:\wamp\www\applications\core\modules\front\members\profile.php(208): IPS\Theme\class_core_front_profile->profileActivity(Object(IPS\Member), Object(IPS\Content\Search\Results))
#5 C:\wamp\www\system\Dispatcher\Controller.php(94): IPS\core\modules\front\members\_profile->manage()
#6 C:\wamp\www\applications\core\modules\front\members\profile.php(65): IPS\Dispatcher\_Controller->execute()
#7 C:\wamp\www\system\Dispatcher\Dispatcher.php(129): IPS\core\modules\front\members\_profile->execute()
#8 C:\wamp\www\index.php(13): IPS\_Dispatcher->run()
#9 {main}

 

but i did uninstall and reinstall and now working now with new version 

Edited by duyfr
Link to comment
Share on other sites

one more bug : i cant go to my profile

after ticket support , staff ipb told The problem seems to be with the third party application "Form"

but i did uninstall and reinstall and now working now with new version 

Can you PM me admin and ftp login details and I'll need to troubleshoot this further.

Link to comment
Share on other sites

  • 3 weeks later...

Hello there I just purchased this Application and have a couple of questions.

1. Is there any support for blocks, I cannot seem to see anything on my blocks manager about Forms.

2. How do I set a form to have information etc before the form itself? I am assuming it's the field called 'Description' when editing a form. (picture below)516df7c7cc4319f917079a77d7aacf78.png

However when I go to my form, it looks like this with no description visible (picture below)
1e31f065090ad372275da6c50d37916d.png

Thanks,

Love the Application by the way!

Link to comment
Share on other sites

Hello there I just purchased this Application and have a couple of questions.

1. Is there any support for blocks, I cannot seem to see anything on my blocks manager about Forms.

2. How do I set a form to have information etc before the form itself? I am assuming it's the field called 'Description' when editing a form. (picture below)

However when I go to my form, it looks like this with no description visible (picture below)
 

Thanks,

Love the Application by the way!

Hi sorry I figured out number 2, I was adding the formatting to the wrong section and should instead be using the Form Rules section.

However I'm still confused as to what the 'Description' section does. Is that simply just for Admins that can access the Forms in ACP? I can't see the description section being displayed anywhere other than when editing a form.

Also, is there any way to get {field_value}'s to post as a link to in a topic it creates? If I try to this is what happens.

Input

Field Name = Google Search

Field Value = Oranges

Topic 'Post' Format

{field_name_1}: <a href="https://www.google.com.au/?gws_rd=ssl#q={field_value_1}>Google Search for {field_value_1}</a>        

Intended Outcome

Google Search for Oranges

links to https://www.google.com.au/?gws_rd=ssl#q=Oranges

Actual Outcome

Google Search for Oranges

links to https://www.google.com.au/?gws_rd=ssl#q={field_value_1}

 

Link to comment
Share on other sites

This may be a silly question (and I'm asking anyone who reads this thread not just the developer), but is there a way for forms to accept submissions from guest users? I'm getting an error: 1048: Column 'map_user_id' cannot be null

Just wondering if there is some sort of work around to allow people to post forms as a guest? If not that's totally fine I can understand why the database wouldn't accept that.

Thanks.

 

Edit: Figured it out. I had to go to my database and set map_user_id to accept null in 'IPS_core_message_topic_user_map'

Edited by Joshua Dignam
Link to comment
Share on other sites

Hello there I just purchased this Application and have a couple of questions.

1. Is there any support for blocks, I cannot seem to see anything on my blocks manager about Forms.

2. How do I set a form to have information etc before the form itself? I am assuming it's the field called 'Description' when editing a form. (picture below)

Hi sorry I figured out number 2, I was adding the formatting to the wrong section and should instead be using the Form Rules section.

However I'm still confused as to what the 'Description' section does. Is that simply just for Admins that can access the Forms in ACP? I can't see the description section being displayed anywhere other than when editing a form.

Also, is there any way to get {field_value}'s to post as a link to in a topic it creates? If I try to this is what happens.

1. No widgets currently included but a "mini" form has been suggested and will be looked at in the future. Provided forms can be reasonably compacted like that.

2. Yep, under Form Rules instead. Description should be showing on the forms list page i.e. index.php?/forms/form-list/

What type of field will you be trying to get the value from? Is it a Url field or normal Text input?

Mike, is this saving the data to the database?

Yes that's correct, saves to the form logs database table and there's permissions for who can view the form logs.

This may be a silly question (and I'm asking anyone who reads this thread not just the developer), but is there a way for forms to accept submissions from guest users? I'm getting an error: 1048: Column 'map_user_id' cannot be null

Just wondering if there is some sort of work around to allow people to post forms as a guest? If not that's totally fine I can understand why the database wouldn't accept that.

Did you have anything set for the "Guest bot override" setting, ideally it would use that member as the sender if a guest submits a form and it needs to create a topic or send a pm.

Link to comment
Share on other sites

1. No widgets currently included but a "mini" form has been suggested and will be looked at in the future. Provided forms can be reasonably compacted like that.

2. Yep, under Form Rules instead. Description should be showing on the forms list page i.e. index.php?/forms/form-list/

3. What type of field will you be trying to get the value from? Is it a Url field or normal Text input?

Yes that's correct, saves to the form logs database table and there's permissions for who can view the form logs.

4. Did you have anything set for the "Guest bot override" setting, ideally it would use that member as the sender if a guest submits a form and it needs to create a topic or send a pm.

1. Sounds great, look forward to it!

2. Description is not showing for me on /forms/form-list/. You can see for yourself here although only 1 form is visible to guests - http://www.soc-aus.net/forms/form-list/ - As you can see in the below picture, there is no 'Description' part for the table. This is also the case on the default IP boards theme.

beaeb9042d86992d24aab8262aac5dda.png

3.  I was trying to get it from a text input. Is it possible to set a URL field to have a default value that cannot be edited out? So that way I could add the default value to it for example https://www.google.com.au/?gws_rd=ssl#q= and then the users input such as 'Oranges' would add on to the end of the default value. Although more preferable would be that a hidden default value would be able to be set for it that the user couldn't see or edit and then it would tack on to the end of that hidden default value their own input.

4. Yes I did have an admin user account set in ACP>Forms>Settings 'Guest bot override' and I also that particular form was set to post under another account for all submissions, yet still if a guest tried to submit a form it would not work. As I said it functions correctly now after I changed the null acceptance in the database, but it's interesting that I had to do that.

Thanks for your response.

Edited by Joshua Dignam
Link to comment
Share on other sites

Thanks for your response.

2. That's a confirmed bug then, will add a bug report for next version.

3. Not that I'm aware of but if you set your url as https://www.google.com.au/?gws_rd=ssl#q={field_value_#} is it auto parsing for you? Where will you primarily want to have the url parsed? In topics, emails or form logs?

4. That's strange, and what did you have set for the PM sender field?

Link to comment
Share on other sites

Hey there thanks for the quick response.

3. I'm going to stop using the google example and use my actual form information so it's less confusing. Basically I want someone to be able to type their 'Character Name' {field_value_5} for a game and have it combine with the URL of http://www.planetside-universe.com/search_psu.php?q= to search a player database.

I was trying to have it post to a topic, with the following as the HTML in <HTML> mode of the Topic content.

<a href="http://www.planetside-universe.com/search_psu.php?q={field_value_5}">Planetside Universe</a>

I tried setting up multiple workarounds, such as an extra field on the form with a default value that asks for the user to 'Please Ignore', I also tried the using the field name as the beginning of the link I want (these are an ugly way to do it)

557c04c2cf1e1d82aab980b3d2372e22.png

I then output to my Topic Post with a link of <a href="{field_value_86}{field_value_5}">Planetside Universe</a> however in the editor link view it comes up like this

7744c16061a3ad642f33660b6d61182b.png

Which then the final output is a Hyperlink that says 'Planetside Universe' and links to http://www.planetsi<wbr>de-universe.com/sear%3Cwbr%3Ech_psu.php?q=testvalue

I have no idea why it's added <wbr> in twice in the middle of the {field_value_86} that contains http://www.planetside-universe.com/search_psu.php?q=

Also after saving the Form and then going back in to view <HTML> mode of the Topic Post, it now says <a href="%7Bfield_value_86%7D%7Bfield_value_5%7D">Planetside Universe</a>

I give up on trying to find a workaround for this problem as it's a minor one. It would be nice if you added some sort of feature in to future versions that allowed for what I was trying. But if not that's fine I'm just currently outputting it as plain text and then people can copy paste the url to their browser.

 

4. There was no PM setting turned on as it's a form specifically for guest accounts (an application form), but if I turn the PM setting on for that form it defaults to the Administrator account I have setup for that stuff.

 

Link to comment
Share on other sites

3. I'm going to stop using the google example and use my actual form information so it's less confusing. Basically I want someone to be able to type their 'Character Name' {field_value_5} for a game and have it combine with the URL of http://www.planetside-universe.com/search_psu.php?q= to search a player database.

It looks like the actual quick tag may be the issue here then. I had this problem before but wasn't aware it would still be an issue in IPB4. I'm going to have to think about this one before and whether the quick tags can be altered to get around this. If your available for testing, I can put together some test code for you to try in your forums?

Sorry to be filling your support page with more stuff. Would it be possible to set a {date} quick tag that displays the date? Would be a great feature to have.

Noted, will be added next version.

Link to comment
Share on other sites

It looks like the actual quick tag may be the issue here then. I had this problem before but wasn't aware it would still be an issue in IPB4. I'm going to have to think about this one before and whether the quick tags can be altered to get around this. If your available for testing, I can put together some test code for you to try in your forums?

Definitely more than willing to help you test out some fixes for this. Just send me a PM.

Noted, will be added next version.

Thanks!

Link to comment
Share on other sites

  • 2 weeks later...

Hi, I followed your instructions in order to rename Forms to Support in the menu but after upgrading to the latest version of Forms it says Forms in the menu again. I have checked "__app_form" on ACP -> Customization -> Languages and it still says Support however it does not change the menu.

Please advise

Thanks,

Carl

Link to comment
Share on other sites

12 hours ago, calle81 said:

Hi, I followed your instructions in order to rename Forms to Support in the menu but after upgrading to the latest version of Forms it says Forms in the menu again. I have checked "__app_form" on ACP -> Customization -> Languages and it still says Support however it does not change the menu.

Yes IPS introduced a separate string for the navigation. You'll also need to update the value of "frontnavigation_form"

Link to comment
Share on other sites

On 19/9/2015 5:47:26, Michael R said:

A couple of more questions:

  1. How do you hide the Show Forms button?
  2. How do you add the Captcha?
  3. Can you change the text on the button so say "Send" instead of "Save"
  4. Here is the background color for the Form Rules controlled?

1. You can remove this within the template. Edit your skins html and look for form > front > logs > create

Find and remove:

    <li class='ipsToolList_primaryAction'>
        <a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" href="{url="app=form&do=formlist" seoTemplate="form_list"}">
            {lang="show_forms"}
        </a>
    </li>



2. This is a group permission you can enable/disable.

3. You can't at the moment but I've logged a bug report and will fix this next version. Seems more natural to have it say Send anyway.

4. In the same template as above, find and change the following code.

<div class='ipsMessage ipsMessage_info'>

There are other included css classes like ipsMessage_error and ipsMessage_warning that can be used as well.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...