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)

djbaxter 10-20-2011 11:05 PM

Quote:

Originally Posted by bigrover (Post 2259548)
Yeah, uh that's a bug and I really don't care what the programmers say. That message is intended to indicate to users that they may be accidentally leaving a site where they have entered data but not processed it. Sad to see that cropping up in this new version.

I don't disagree. Even if it IS a feature, it clearly needs some fine-tuning because as it is now it's annoying.

djbaxter 10-20-2011 11:07 PM

Quote:

Originally Posted by bigrover (Post 2259549)
I was worried that would be the solution. It is a less than perfect solution at best as I am expecting the form to return two large fields with significant formatted text that is then applied to the thread. I use the two separate editor fields so I can wrap a [HIDE] tag around on of them for enhanced membership content. Not having that is going to be sickening.

Maybe I need to look back at vB 4.2.5 patch level 4000 as a workable solution. Then I wouldn't have the spurious browser warnings and the Easy Forms 4.2.5 would work.

:confused: vB 4.2.5 patch level 4000? We're currently only at 4.1.7 and the previous versions of Easy Forms will not work with any version since the CKEditor was introduced.

bigrover 10-21-2011 12:51 AM

I meant to type vB 4.1.5, latest patch level whatever that is. Sorry to confuse.

djbaxter 10-21-2011 01:32 AM

Actually, now I've forgotten. Was the CJK Editor introduced in 4.1.5 or 4.1.6? Either way, you'd have to go back to the old editor to get the former versions of this add-on to work.

bigrover 10-21-2011 02:16 AM

Quote:

Originally Posted by djbaxter (Post 2259529)
This is an issue with vBulletin 4.1.6 and 4.1.7, either "by design" or "a bug" depending on who you talk to. It's annoying but nothing to do with this or any other add-on.

I was able to resolve the problem with the "leave page" issue by modifying and uncompressed version of the clientscript/vbulletin_textedit.js file. I found the fix here - https://www.vbulletin.com/forum/show...=1#post2201080

bigrover 10-21-2011 05:23 AM

I have another mod, vS Hide Hack, the installs a button in the editor toolbar. It shows up everywhere except when the editor is included in the Easy Form vB editor question display. Anyone else see this and is there a workaround to support the custom buttons and related features?

aardel 10-21-2011 07:51 PM

Hello Banana live, well done for the great mod,

One Question, might be very simple for you but i did not find and answer yet looking around,

I would like to have a quick PM to user link in the form submitted, as to have a quick reply in the posted data.

midgetgrimm 10-21-2011 10:04 PM

Ok so i installed this, how do make a new form. the only admin options are for user permissions, it asks me for upload xml in my forms button here

deverill2010 10-24-2011 09:03 PM

Hiya I haven't updated this for a while as it works perfectly for me before the new editor.

Anyhow before I update I was wondering if there was a way to limit a user sending a form.

I.e needs to have 10 posts before they can submit a form.

Is that possible with the latest version?

bananalive 10-29-2011 12:51 PM

Quote:

Originally Posted by deverill2010 (Post 2261175)
Hiya I haven't updated this for a while as it works perfectly for me before the new editor.

Anyhow before I update I was wondering if there was a way to limit a user sending a form.

I.e needs to have 10 posts before they can submit a form.

Is that possible with the latest version?

Add the following php code to Form Hook: Form Start:
PHP Code:

if($vbulletin->userinfo['posts'] < 10)
{
$errormessage "You need 10 posts to use this form.";
eval(
'print_output("' fetch_template('STANDARD_ERROR') . '");');



bananalive 10-29-2011 12:51 PM

Quote:

Originally Posted by trunkride (Post 2259901)
Ok so i installed this, how do make a new form. the only admin options are for user permissions, it asks me for upload xml in my forms button here

Click create new form (below import form)

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

scubasteve3 10-29-2011 08:26 PM

Hi,
I was wondering, how can I pull the results from the Form Data base? I created a new form which has the option of Saving the form to a database. I can view the database by clicking Form Results Table but I now want to write some sort of script to automatically pull this info to another html or php page (not the forum). Thanks!

deverill2010 10-30-2011 12:59 PM

Quote:

Originally Posted by bananalive (Post 2262654)
Add the following php code to Form Hook: Form Start:
PHP Code:

if($vbulletin->userinfo['posts'] < 10)
{
$errormessage "You need 10 posts to use this form.";
eval(
'print_output("' fetch_template('STANDARD_ERROR') . '");');



Hi banalive, thank you but I now get this error when trying to view the form -

Parse error: syntax error, unexpected T_STRING in /home/midwife/public_html/misc.php(89) : eval()'d code(1109) : eval()'d code on line 1

Any ideas?

bananalive 10-30-2011 04:39 PM

Quote:

Originally Posted by deverill2010 (Post 2262901)
Hi banalive, thank you but I now get this error when trying to view the form -

Parse error: syntax error, unexpected T_STRING in /home/midwife/public_html/misc.php(89) : eval()'d code(1109) : eval()'d code on line 1

Any ideas?

ok, try this instead
PHP Code:

if($vbulletin->userinfo['posts'] < 10

$errormessage "You need 10 posts to use this form."
eval(
standard_error($errormessage));



bananalive 10-30-2011 04:40 PM

Quote:

Originally Posted by scubasteve3 (Post 2262767)
Hi,
I was wondering, how can I pull the results from the Form Data base? I created a new form which has the option of Saving the form to a database. I can view the database by clicking Form Results Table but I now want to write some sort of script to automatically pull this info to another html or php page (not the forum). Thanks!

stored in ". TABLE_PREFIX ."formresults e.g. vb_formresults

query database to $result then

$data = unserialize($result['sdata']);

contain question answers

Valcav 11-01-2011 09:42 PM

Maybe it's on the late side, but could you tell me what has changed? I don't see it where you tell what has changed... (https://vborg.vbsupport.ru/showpost....62&postcount=2)

deverill2010 11-01-2011 10:35 PM

Thanks, Bananalive that worked :)

Goatpod 11-02-2011 09:53 PM

1 Attachment(s)
Great Mod, it's saved me a lot of work!

Got a small problem though; when sending the email or displaying the form I'm getting the raw BB code. Anyone any ideas?

Alex@bulletin 11-03-2011 08:34 PM

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

bigrover 11-04-2011 04:09 PM

Bananalive,

Is there any possibility of multiple vB editor questions in a single form at some point in the future? Maybe using an alternate editor, or if vB can make the ckeditor re-entrant? If you can tell me/us what is broken then I/we can add pressure to vB to make an adjustment to support the feature.

My current workaround is to only have one vB editor field, but our old form provided a richer environment to submit attractive, formatted comments to the forums.

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 ;).

Crotan 11-11-2011 06:34 PM

A thing of beauty! Thanks Sup.

ascroft 11-12-2011 06:58 PM

Hi there.

Sorry if this has been asked before but would it be possible to have a feature to (optionally) post to Facebook at the time of the form submission?

Martyh 11-14-2011 01:00 AM

Hi BananaLive,

Going back several months, There was/maybe still is, a subscription issue . The problem was that when the form submits to a new thread the user would not be subscribed to it even though the default setting for a new user was set to automatically subscribe the new-user to threads.

Since then I've found that it does subscribe them if they make a second reply to that thread, which would be most of the time, in my case anyway. So the problem is not such a big problem.

I am figuring that for some reason part of the system doesn't know that the user started the thread therefore doesn't know that it needs to subscribe them to it. ( wild guess ) .

Anyway, thanks for a great mod and great support of it.

zushiba 11-14-2011 04:26 PM

Please consider giving us the option to edit dropdown box content in one large field instead of individual fields. As it stands every time I edit the dropdown box it means copying and pasting 70 some odd options in succession over and over again.

I'd simple delete and readd the question to use the large text box but that means editing a lot of code I have written which requires the use of the that specific dropdown's ID.

zushiba 11-16-2011 05:55 PM

<span style="text-decoration: line-through">Uhm. I updated and when I click on to edit a form result it takes me to smilies??</span>

Fixed, the edit url has changed for whatever reason from misc to forms

Jokermixer 11-22-2011 09:05 PM

hi bananalive, can you update this plugin for vbulletin version 4.1.8?

goonyer1 11-24-2011 01:24 AM

Does this work with this version? It appears that i can only create forms by going directly to my browser (thus outside of vbulletin). I do not see anything inside of Vbulletin other than the permissions.

I have been able to add a plugin to call the forms up whenever someone starts a new thread, but it posts with the name of the form as opposed to the user.

I think this mod has tremendous potential, but the learning curve is steep. (... at least for me...) If you have documentation on how this works along with a few examples, I think it would go a long way in making this more user friendly. Thanks a bunch.

Martyh 11-24-2011 03:52 AM

Works with 4.1.8 for me so far.

Are you already doing this to get there ?

controlpanel > settings > options > easy forms options > right under "Usergroups Allowed to View Form Lists" click the "form list" link > create new form.

goonyer1 11-24-2011 10:57 AM

Thanks. Not sure how i missed that. But now it links.

tamdlecomcast 11-27-2011 12:42 PM

Thanks for the plugins, it works very very well, and I love it...

However, my question is:

I would like to create a form for the user to be able to send in their photo for competition. The photo can not be posted to the forum, rather they have 4 fields on the form to attach 4 different photo from their local disk. Once the form submitted, all the information including the 4 photos will be send to me via email.

I can create the form, however, I can not find any field that suitable to setup for the user to be able to attach their photos. Is there a way to do so?

Thanks in advance,
Tam Le


All times are GMT. The time now is 09:06 PM.

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.03629 seconds
  • Memory Usage 1,851KB
  • 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
  • (4)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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