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)

Harelin 04-29-2011 03:56 AM

I receive a script error when attempting to click the 'Add more options' link to add additional answers to a multiple choice question that already exists. It happens in all browsers, and this is the error below. I've verified everything was uploaded properly, and everything else seems to work fine.

Message: Object required
Line: 196
Char: 3
Code: 0
URI: http://www.domain.com/home/clientscr...forms.js?v=413

Message: Object required
Line: 196
Char: 3
Code: 0
URI: http://www.domain.com/home/clientscr...forms.js?v=413

Za4a Tuner 05-01-2011 10:10 AM

Quote:

Originally Posted by bananalive (Post 2187392)
Try this php code instead:

[....]

THANKS! That did the job, works fine ;)

Do you have a paypal-account?
If yes, please let me know your mailadress, than i will donate a few pounds for your addon and the great support

bananalive 05-02-2011 02:33 PM

Quote:

Originally Posted by crowshead (Post 2189144)
i am having the form submitted to a forum that is moderated. but when the form gets submitted, the new thread shows up??

how can i have it go into the forum, but be moderated?

basically the form is ignoring forum rules - forum is setup to moderate all threads and posts, but form results get posted as new threads without being moderated.

Normally people are posting about the opposite..

Find and delete in Plugin Easy Forms Part 1
PHP Code:

$foruminfo['moderatenewthread'] = 0;
        
$foruminfo['moderatenewpost'] = 0;
        
$foruminfo['moderateattach'] = 0

and make sure plugin Force visible post is inactive

bananalive 05-02-2011 02:35 PM

Quote:

Originally Posted by ascroft (Post 2187526)
Hi

Just wondering how viable it would be to have Easy Forms run with this style?

How VB have implemented this looks rather different from their other templates.....

Guess I will also ask the iphone/android apps possibility?

Cheers

Mark

I haven't used the mobile style.

If it's just different css with the mobile style, then it should work fine. Although it might be slow loading on a phone..

It wont be compatible with the mobile apps.

bananalive 05-02-2011 02:36 PM

Quote:

Originally Posted by vidmarc (Post 2188833)
Can this mod in any way be used to add product pages with custom fields to the vB4 CMS?

No, sorry.

bananalive 05-02-2011 02:38 PM

Quote:

Originally Posted by bestword (Post 2189190)
When i Export forms as EXCEL,the data in EXCEL will error, i think it's because the unicode text data had be error export. would it to be repaired? Thanks.

Can you give me an example of the unicode characters which cause this problem?

bananalive 05-02-2011 02:39 PM

Quote:

Originally Posted by Mimirswell (Post 2189303)
I have two separate forms where the first form redirects to the second. The first form creates a new thread and I want the second form to add a post to that thread when completed, how do I obtain the previous threadid (if possible)?

utilise the php variable $threadid. It gets set after the thread is created by easy forms

bananalive 05-02-2011 02:46 PM

1 Attachment(s)
Quote:

Originally Posted by macroforum (Post 2189589)
Thanks for this beautiful mod!
Installed and nominated :)
I have only one problem, see attached pic please: the form results poll layout have some problems.
Thanks for help me
Antonio

The images in the questions are causing this problem.

Fixed in attached file...

bananalive 05-02-2011 02:51 PM

Quote:

Originally Posted by Za4a Tuner (Post 2190611)
THANKS! That did the job, works fine ;)

Do you have a paypal-account?
If yes, please let me know your mailadress, than i will donate a few pounds for your addon and the great support

Click Support Developer on the right hand side of the first post or donate directly to:
HTML Code:

live.banana@gmail.com
Thanks :)

Za4a Tuner 05-02-2011 04:15 PM

Quote:

Originally Posted by bananalive (Post 2191057)
Thanks :)

done ;)

DevinM 05-06-2011 02:06 AM

I have a form setup to submit a new thread that attaches a xls spreadsheet. The forum is hidden however I setup the required users to be able to post as well as post attachments to it.

They fill the form out and when they click manage attachment it gives them a permission error. Admins can do it but not anyone else.

Its really odd, the other forms post fine to hidden forums so it has to be something to do with the attachments. Ive enabled them everywhere I can think to do so.

Am I missing a setting somewhere?

macroforum 05-06-2011 06:48 AM

Quote:

Originally Posted by bananalive (Post 2191054)
The images in the questions are causing this problem.

Fixed in attached file...

Perfect now, thanks!!!
Antonio

macroforum 05-06-2011 11:08 AM

One question: it's possible shows only Form results poll and to hide Form results and form results table?
I'm using this beatiful Mod like photo contest system voting....and the users don't must see who has voted but only the final votes.
Sorry for my bad english
Thanks
Antonio

midnz 05-06-2011 08:27 PM

Using the Quiz mode:
Some correct answers are being outputted as incorrect because the Correct Answer field character max length needs increasing for my purposes. The correct answer is cut off after 60 characters.
How can I increase the maximum characters allowed in the Correct Answer field please?

bananalive 05-07-2011 08:52 PM

1 Attachment(s)
Quote:

Originally Posted by midnz (Post 2192783)
Using the Quiz mode:
Some correct answers are being outputted as incorrect because the Correct Answer field character max length needs increasing for my purposes. The correct answer is cut off after 60 characters.
How can I increase the maximum characters allowed in the Correct Answer field please?

Use attached file

bananalive 05-07-2011 09:02 PM

Quote:

Originally Posted by DevinM (Post 2192525)
I have a form setup to submit a new thread that attaches a xls spreadsheet. The forum is hidden however I setup the required users to be able to post as well as post attachments to it.

They fill the form out and when they click manage attachment it gives them a permission error. Admins can do it but not anyone else.

Its really odd, the other forms post fine to hidden forums so it has to be something to do with the attachments. Ive enabled them everywhere I can think to do so.

Am I missing a setting somewhere?

Enable Attachments for the other non-admins usergroups for that forum. It should display the attachments even without forum viewing permission.

bananalive 05-07-2011 09:17 PM

Quote:

Originally Posted by macroforum (Post 2192640)
One question: it's possible shows only Form results poll and to hide Form results and form results table?
I'm using this beatiful Mod like photo contest system voting....and the users don't must see who has voted but only the final votes.
Sorry for my bad english
Thanks
Antonio

There is not an option to disable form results table.

Edit Plugin: Easy Forms Part 3

Find line
PHP Code:

if ($_REQUEST['do'] == 'formresults_table'

Replace with
PHP Code:

if ($_REQUEST['do'] == 'formresults_table' && $disable



Find line
PHP Code:

if ($_REQUEST['do'] == 'formresults'


Replace with
PHP Code:

if ($_REQUEST['do'] == 'formresults' && $disable


midnz 05-08-2011 12:45 AM

Quote:

Originally Posted by midnz (Post 2192783)
Using the Quiz mode:
Some correct answers are being outputted as incorrect because the Correct Answer field character max length needs increasing for my purposes. The correct answer is cut off after 60 characters.
How can I increase the maximum characters allowed in the Correct Answer field please?

Quote:

Originally Posted by bananalive (Post 2193118)
Use attached file

That worked perfectly! Thank-you very much :)

macroforum 05-08-2011 07:20 AM

Quote:

Originally Posted by bananalive (Post 2193125)
There is not an option to disable form results table.

Edit Plugin: Easy Forms Part 3

Find line
PHP Code:

if ($_REQUEST['do'] == 'formresults_table'

Replace with
PHP Code:

if ($_REQUEST['do'] == 'formresults_table' && $disable



Find line
PHP Code:

if ($_REQUEST['do'] == 'formresults'


Replace with
PHP Code:

if ($_REQUEST['do'] == 'formresults' && $disable


Thanks, perfect! :)
Antonio

Jurg 05-08-2011 09:24 AM

Please can someone tell me how I could phrase a form hook for the following:

I intend to have 22 identical drop-down fields with 22 answers. I need to validate this before submission to ensure that each answer is selected only once. I.E. each answer will be selected once. Apologies but my PHP knowledge is not good, any help would be appreciated.

DevinM 05-08-2011 07:04 PM

Quote:

Originally Posted by bananalive (Post 2193120)
Enable Attachments for the other non-admins usergroups for that forum. It should display the attachments even without forum viewing permission.

They fill out the form fine but get the error when they hit "manage attachments" I allowed attachments and posting rights in those forums. They other forms post fine its just attachments.

Any ideas?

ScratchMang 05-10-2011 06:27 PM

Hate to repeat the request.

Is there any plans a foot to integrate calendar event creation into the MOD? So someone could enter in a Start and End date and have the calendar event created automagically?

Scratch

Tahooma 05-10-2011 07:49 PM

Hi,

I try to make an online form (application) with the possibility to upload a picture.

Could you let me know if this is possible and how it works?

thx

helwoe 05-11-2011 03:44 AM

I need some help on this code for a custom question.

I'm using this code to ask new applicants to our clan to pick from a list who they were referred by. However when I change it to the correct usergroupid = 18
It will not display any names. However usergroupid = 2 does work.

Any ideas?


Quote:

Originally Posted by Sarcoth (Post 2081939)
Good stuff Banana, thank you. I got it working! :) I am using a custom question which selects a user from usergroup 2; reference name = shuser.

PHP Code:

$answer .= '<select name="'.$formbit[id].'">';
$members $db->query_read("SELECT * FROM " TABLE_PREFIX "user
WHERE usergroupid = 2
ORDER BY username ASC"
);
    while(
$row $db->fetch_array($members)) {
$answer .= '<option value="'.$row[username].'"';
if (
$row[username] == $thisanswer) {
$answer .= 'selected="selected"';
}
$answer .= '>'.$row[username].'</option>';
}
$answer .= '</select>'

[/PHP]


midnz 05-11-2011 06:36 AM

Quote:

Originally Posted by helwoe (Post 2194301)
I need some help on this code for a custom question.

I'm using this code to ask new applicants to our clan to pick from a list who they were referred by. However when I change it to the correct usergroupid = 18
It will not display any names. However usergroupid = 2 does work.

Any ideas?

I use the following code to successfully do what you're wanting:
The usergroup ID number I've used is 50. Try changing 50 to 18 and pray.

PHP Code:

$answer .= '<select name="'.$formbit[id].'">';
$answer .= '<option></option>';
$thisanswer $q_{$formbit[id]};
$members $db->query_read("SELECT * FROM " TABLE_PREFIX "user
WHERE membergroupids LIKE \"%50%\"
ORDER BY username ASC"
);
    while(
$row $db->fetch_array($members)) {
$answer .= '<option value="'.$row[username].'"';
if (
$row[username] == $thisanswer) {
$answer .= 'selected="selected"';
}
$answer .= '>'.$row[username].'</option>';
}
$answer .= '</select>'


helwoe 05-11-2011 01:43 PM

Quote:

Originally Posted by midnz (Post 2194325)
I use the following code to successfully do what you're wanting:
The usergroup ID number I've used is 50. Try changing 50 to 18 and pray.

Thank you. It worked! :)

helwoe 05-11-2011 02:54 PM

Not sure where to ask this.

I use keyCaptcha and am having problems submitting forms. I can preview the form but when I submit I get this error even though I get the green check mark (keycaptcha passed).

https://vborg.vbsupport.ru/external/2011/05/33.jpg

Anyone else?

EDIT: I changed to question answer instead of keyCaptcha and the form will submit. I guess I can't use keyCaptcha.

midnz 05-11-2011 08:18 PM

Can somebody please recommend a smarter way of constructing a question with multiple checkboxes so that the Results Table doesn't end up bloated with the answers selected?

Question - multiple checkboxes
https://vborg.vbsupport.ru/

Form Results Table
https://vborg.vbsupport.ru/

zushiba 05-12-2011 08:12 PM

1 Attachment(s)
so recently we've run into the need for this question type came up. Similar to the grid we need the ability to make a question and answer grid.

I've attached an image. Just a request if you ever get around too it.

setishock 05-12-2011 09:45 PM

Bananalive answered so many questions from me about the 3.8.4 version I was running that he finally worked up an xml sheet for me to have a look at. After loading that in to easy forms I got the picture of how to make it work. Thanks again.
BUT
Due to some personal problems I lost my storage bin which had all 4 of my desktop computers in it. All I have left is my lappy, my cameras, and my happy a**. So no I didn't get the chance to see if the old vb3x xml sheet works with the current version of this mod.
Maybe just maybe Bananalive has it stashed away somewhere...

But Bananalive consider this version installed and I'll just bang away on it and see if I can make it do what the old version did.

SN1PERCITY 05-12-2011 09:46 PM

hey can some one help me put this on my forum. please and thank you.. i file zilla up but where do i upload

bananalive 05-16-2011 09:54 PM

Quote:

Originally Posted by SN1PERCITY (Post 2194924)
hey can some one help me put this on my forum. please and thank you.. i file zilla up but where do i upload

AdminCP -> Import Product File.

bananalive 05-16-2011 09:55 PM

Quote:

Originally Posted by setishock (Post 2194922)
Bananalive answered so many questions from me about the 3.8.4 version I was running that he finally worked up an xml sheet for me to have a look at. After loading that in to easy forms I got the picture of how to make it work. Thanks again.
BUT
Due to some personal problems I lost my storage bin which had all 4 of my desktop computers in it. All I have left is my lappy, my cameras, and my happy a**. So no I didn't get the chance to see if the old vb3x xml sheet works with the current version of this mod.
Maybe just maybe Bananalive has it stashed away somewhere...

But Bananalive consider this version installed and I'll just bang away on it and see if I can make it do what the old version did.

Form xml files should be cross compatible between v4.x and v3.x

bananalive 05-16-2011 09:58 PM

Quote:

Originally Posted by midnz (Post 2194583)
Can somebody please recommend a smarter way of constructing a question with multiple checkboxes so that the Results Table doesn't end up bloated with the answers selected?

Question - multiple checkboxes
http://img842.imageshack.us/img842/1...niquestion.jpg

Form Results Table
http://img402.imageshack.us/img402/8...sultstable.jpg

Perhaps add checkboxes to


AdminCP -> VBulletin Options -> Easy Form Options -> Question Types to Hide in Form Results Table

Although this will affect all your forms

bananalive 05-16-2011 10:02 PM

Quote:

Originally Posted by helwoe (Post 2194452)
Not sure where to ask this.

I use keyCaptcha and am having problems submitting forms. I can preview the form but when I submit I get this error even though I get the green check mark (keycaptcha passed).

https://vborg.vbsupport.ru/external/2011/05/33.jpg

Anyone else?

EDIT: I changed to question answer instead of keyCaptcha and the form will submit. I guess I can't use keyCaptcha.

I dont have keycaptcha in my vBulletin Options, is it a custom modification you have added?

bananalive 05-16-2011 10:03 PM

Quote:

Originally Posted by Tahooma (Post 2194173)
Hi,

I try to make an online form (application) with the possibility to upload a picture.

Could you let me know if this is possible and how it works?

thx

Yes, select the Form Action as 'Create a New Thread', and then there will be an option to allow attachments

gjc 05-17-2011 02:54 PM

Is there a way to use the created forms on other pages within vbulletin. If so what is the code i would drop into a page to display a certain form i created. I appologize if this question has already been answered. Dont have the time to sift through 88 pages.

bananalive 05-18-2011 03:37 PM

Quote:

Originally Posted by gjc (Post 2196785)
Is there a way to use the created forms on other pages within vbulletin. If so what is the code i would drop into a page to display a certain form i created. I appologize if this question has already been answered. Dont have the time to sift through 88 pages.

Embed using <iframe>

http://www.yourforum.com/forums/misc...&fid=2&embed=1
Change 2 to the appropriate form id.

gjc 05-18-2011 06:45 PM

Thank you. Very much appreciated. Its a bit tricky to get the iframe to align the form correctly. I will have to tinker with it a bit. Is there an easier way to code the form in. Possibly in PHP.

gjc 05-18-2011 08:29 PM

I ended up getting it all lined up, but this method seems like it will have issues with different browsers and resolutions. I would prefer to use php to drop the form in. Is there a variable i can use or a hook i can create in order to show to form on any page.


All times are GMT. The time now is 10:32 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.02626 seconds
  • Memory Usage 1,885KB
  • 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
  • (1)bbcode_html_printable
  • (11)bbcode_php_printable
  • (26)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