vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Easy Forms v4.x - Create a form or multiple forms without php or html knowledge (https://vborg.vbsupport.ru/showthread.php?t=234385)

Mastar 11-04-2011 08:03 PM

How can I write a condition to say: if NO is checked, Display "You Must Agree To Be Accepted!"?

bigrover 11-07-2011 02:59 PM

My system crashed yesterday and after restoring the database and code, I get the following error when trying to view a form:
PHP Code:

Parse errorsyntax errorunexpected '.'expecting T_VARIABLE or '$' in /home/ourhomen/domains/ourhome2.net/public_html/vb/includes/class_core.php(4444) : eval()'d code on line 86 

I have tried creating a new form and it has the same issue. I have uninstalled and reinstalled the mod with no change. I have also disabled all the custom hooks I created to point to the forms. I am stumped at this point. The only thing that appears to be not working at this point is easyforms and I can't find a way to recover, or even start over.

I can edit the form as much as I want, I just can't view it without the error at the top of the page, and the header and footer intact. Just the form itself is missing.

UPDATE

I was able to resolve the problem by reverting some corrupted templates for EasyForms. I knew I had not customized anything in there but two of them showed up in red, indicating they were not the default version. Apparently the database restore wasn't perfect, as the templates are stored in the database on my system.

Lazorbeam 11-09-2011 05:48 PM

Does this mod offer the option to attach a file?

spr 11-10-2011 04:46 PM

Quote:

Originally Posted by Alex@bulletin (Post 2264192)
Hey Folks,

i'd like to use Easy Forms to add clubs to the Forum database.
It would be great if it is possible to add a question where the users can mark a special position (the meeting place of the club) on a google map.

Does anyone know whether i could do this with the "Custom Question" feature?
If it isn't possible yet i wish it for the next release. i could make a donation too ;)

SY

Alex

Don't know if this helps you:

1. Create a custom BB code for Google Maps (see https://vborg.vbsupport.ru/showthread.php?t=235625 or https://vborg.vbsupport.ru/showthread.php?t=234318 )

2. In the form add a normal text field labeled "Location" . If you now write the URL / address into this form field with Google Map BBcode around it, it will show the map in the forum

/spr

zushiba 11-10-2011 07:08 PM

Can I add a field to the formresults table without breaking anything?

Alex@bulletin 11-10-2011 09:09 PM

thx spr i will try that ;)

sbhogle 11-11-2011 04:41 PM

Quote:

Originally Posted by bananalive (Post 2262655)
Click create new form (below import form)

http://www.yoursite.com/forums/forms.php?do=newform

This link goes to "Page not found."

Is there a new link to use to create a form for Easy Forms?

Crotan 11-11-2011 05:25 PM

Quote:

Originally Posted by sbhogle (Post 2266977)
This link goes to "Page not found."

Is there a new link to use to create a form for Easy Forms?

navigate to http://yoursite.com/forums/forms.php?do=forms

at the bottom there should be a button Create new form.

If that page also gets page not found, check to make sure the directory you installed to is correct. is forums forum for you? Double check everything.

Crotan 11-11-2011 05:28 PM

Anyone want to share their php hook for minimum post count at form start?

TheLastSuperman 11-11-2011 05:57 PM

Quote:

Originally Posted by Crotan (Post 2266997)
Anyone want to share their php hook for minimum post count at form start?

Hey Crotan it's Supes... haven't had much time for BF3 :p

You can paste this code in while editing the form:

Code:

$postcount = '300';
if ($vbulletin->userinfo['posts'] < $postcount)
        {
        standard_error(fetch_error('easyform_issues', $vbulletin->userinfo['username'], $postcount, $vbulletin->userinfo['posts']));
        }

Change the postcount value of 300 to your #

Now create a new phrase:

Phrase Type: Error Messages
Product: vBulletin
Varname: easyform_issues
Text:
Code:

An error has occurred {1}! You must have {2} posts in order to submit this form, your current post count is only {3}.
Save the phrase, now view the form and if your post count is over you'll see it just fine, if not a error message is now displayed. Set it to a value over your own current post count to properly test ;).


All times are GMT. The time now is 05:52 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02929 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete