vb.org Archive

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

hobbybox 03-23-2009 04:09 PM

Still cannot get a response to why a certain user groups cannot upload attachments with a form.

1) This usergroup has the ability to upload attachments in ALL OTHER FORUMS
2) Attachment permissions are fine.

Getting no access when trying to upload the attchment - however if you go to any other forum and try to upload attachment there are no problems - access denied ONLY with the use of the form.

bananalive 03-23-2009 04:36 PM

Quote:

Originally Posted by hobbybox (Post 1775119)
Still cannot get a response to why a certain user groups cannot upload attachments with a form.

1) This usergroup has the ability to upload attachments in ALL OTHER FORUMS
2) Attachment permissions are fine.

Getting no access when trying to upload the attchment - however if you go to any other forum and try to upload attachment there are no problems - access denied ONLY with the use of the form.

try this file, it has line removed which was wrong and causing some posts to be moderated. It might be that line which was causing the attachment issue for you

https://vborg.vbsupport.ru/external/2012/01/5.gif product-easyforms v3.3.xml (152.0 KB)

bananalive 03-23-2009 04:37 PM

Quote:

Originally Posted by Derekclarke (Post 1775085)
Can this be modified to accept either BBcode or HTML in the Questions?

I wish to add a rules agreement in with a link to the rules...

If anyone can help ASAP it would be most Appreciated.

Thanks
Derek

You can use BB Code in questions.

hobbybox 03-23-2009 08:56 PM

Quote:

Originally Posted by bananalive (Post 1775142)
try this file, it has line removed which was wrong and causing some posts to be moderated. It might be that line which was causing the attachment issue for you

https://vborg.vbsupport.ru/external/2012/01/5.gif product-easyforms v3.3.xml (152.0 KB)


Still no permission

subvertbeats 03-23-2009 11:26 PM

Just wanted to say thanks for the mod, excellent work!

subvertbeats 03-24-2009 09:23 AM

Do you know of (or can you add) a way to view the forms without forum header and footer? (ideally add an option with the definition of each form to use a given vB style)
Im trying to use the forms inside an iframe on page outside of the main forums, and this page already has its own separate header/footer,

Thanks!

bananalive 03-24-2009 01:33 PM

Quote:

Originally Posted by subvertbeats (Post 1775680)
Do you know of (or can you add) a way to view the forms without forum header and footer? (ideally add an option with the definition of each form to use a given vB style)
Im trying to use the forms inside an iframe on page outside of the main forums, and this page already has its own separate header/footer,

Thanks!

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

    eval('$html = "' fetch_template('form_view') . '";');
    
$canviewformlist unserialize($vbulletin->options['canviewformlist']);
    if (!
$canviewformlist OR !is_member_of($vbulletin->userinfo$canviewformlist))
    {
        
$navbits construct_navbits(array(
            
'' => construct_phrase($vbphrase['view_form'], $form['title'])
        ));
    }
    else
    {
        
$navbits construct_navbits(array(
            
'misc.php?do=forms' $vbulletin->session->vars['sessionurl_q'] => construct_phrase($vbphrase['forms']),
            
'' => construct_phrase($vbphrase['view_form'], $form['title'])
        ));
    }
    eval(
'$navbar = "' fetch_template('navbar') . '";');
    eval(
'print_output("' fetch_template('shell_blank') . '");'); 

Replace:
PHP Code:

    eval('print_output("' fetch_template('form_view') . '");'); 


bananalive 03-24-2009 01:34 PM

Quote:

Originally Posted by hobbybox (Post 1775322)
Still no permission

Doh.

hobbybox 03-24-2009 02:27 PM

Quote:

Originally Posted by bananalive (Post 1775814)
Doh.


this is my feeling - i cannot think of any other place that there would be a setting to check.

If they were not allowed to upload in other places it would be an easy fix - but it is only through the forum.

It was working (i think) prior to the 3.3 upgrade - however when i did the upgrade I was getting the moderation problem - when that was corrected it screwed up the attchments part.

CPOWA 03-24-2009 04:01 PM

1 Attachment(s)
I can't get past the following form error (first thumbnail). I believe everything is coded correctly, but I must be missing something. Any idea what I'm doing wrong? Other than the questions on the form everything else is set to default. I'm using Ver: 3.3

EDIT: Just tested it with text in the: "Thread/ PM/ Email Title:" field verses {q_10} and it posted. http://www.usfcralliance.org/forums/f173/test-731/

Hmmm... Changed the "Thread/ PM/ Email Title:" to Sponsored By: {q_10} and the thread posted with only Sponsored By: in the title.

bananalive 03-24-2009 05:43 PM

1 Attachment(s)
Quote:

Originally Posted by CPOWA (Post 1775929)
I can't get past the following form error (first thumbnail). I believe everything is coded correctly, but I must be missing something. Any idea what I'm doing wrong? Other than the questions on the form everything else is set to default. I'm using Ver: 3.3

EDIT: Just tested it with text in the: "Thread/ PM/ Email Title:" field verses {q_10} and it posted. http://www.usfcralliance.org/forums/f173/test-731/

Hmmm... Changed the "Thread/ PM/ Email Title:" to Sponsored By: {q_10} and the thread posted with only Sponsored By: in the title.

You're probably not using the correct question hash. See circle number in attachment

CPOWA 03-24-2009 09:14 PM

Quote:

Originally Posted by bananalive (Post 1776001)
You're probably not using the correct question hash. See circle number in attachment

That was it! I was using the Q# variable. Thanks Bananalive. :) This is an awesome product! :up:

Nominated!

subvertbeats 03-24-2009 11:46 PM

thanks bananalive!

Any idea how to achieve this per form (some forms are specifically for a site outside of the forums and other are for the forums themselves)

PS: currently using a conditional in the header, footer and navbar templates to remove them globally for misc.php.

Quote:

Originally Posted by bananalive (Post 1775813)
Find in Plugin: Easy Forms Part 1:
PHP Code:

    eval('$html = "' fetch_template('form_view') . '";');
    
$canviewformlist unserialize($vbulletin->options['canviewformlist']);
    if (!
$canviewformlist OR !is_member_of($vbulletin->userinfo$canviewformlist))
    {
        
$navbits construct_navbits(array(
            
'' => construct_phrase($vbphrase['view_form'], $form['title'])
        ));
    }
    else
    {
        
$navbits construct_navbits(array(
            
'misc.php?do=forms' $vbulletin->session->vars['sessionurl_q'] => construct_phrase($vbphrase['forms']),
            
'' => construct_phrase($vbphrase['view_form'], $form['title'])
        ));
    }
    eval(
'$navbar = "' fetch_template('navbar') . '";');
    eval(
'print_output("' fetch_template('shell_blank') . '");'); 

Replace:
PHP Code:

    eval('print_output("' fetch_template('form_view') . '");'); 



anuanu 03-25-2009 01:49 AM

Not sure if this was brought up already or not but when i make a question and have the character "&" in it. It outputs when someone is filling it out as this: "&"

FW FH-K?ln 03-25-2009 11:44 AM

1 Attachment(s)
We have a problem with this mod.

First: it's a awesome mod

Second: When we create a form, we set sections for a better view. We don't fill anything in the descriptions, but when it post the form in a thread, it set us this result:

Anmeldung zur Erstifahrt im SS2009(form title)Persönliche Angaben(section)Matrikelnummer(question)

How we can change it to

form title

section

question

?

bananalive 03-25-2009 01:56 PM

Quote:

Originally Posted by FW FH-K?ln (Post 1776589)
We have a problem with this mod.

First: it's a awesome mod

Second: When we create a form, we set sections for a better view. We don't fill anything in the descriptions, but when it post the form in a thread, it set us this result:

Anmeldung zur Erstifahrt im SS2009(form title)Pers?nliche Angaben(section)Matrikelnummer(question)

How we can change it to

form title

section

question

?

Add \r\n at the end of the bbcode for sections, questions, etc.

bananalive 03-25-2009 01:57 PM

Quote:

Originally Posted by anuanu (Post 1776350)
Not sure if this was brought up already or not but when i make a question and have the character "&" in it. It outputs when someone is filling it out as this: "&"

I'll look into this

bananalive 03-25-2009 01:58 PM

Quote:

Originally Posted by subvertbeats (Post 1776275)
thanks bananalive!

Any idea how to achieve this per form (some forms are specifically for a site outside of the forums and other are for the forums themselves)

PS: currently using a conditional in the header, footer and navbar templates to remove them globally for misc.php.


Find in Plugin: Easy Forms Part 1:

PHP Code:

        eval('$html = "' fetch_template('form_view') . '";');
        
$canviewformlist unserialize($vbulletin->options['canviewformlist']);
        if (!
$canviewformlist OR !is_member_of($vbulletin->userinfo$canviewformlist))
        {
            
$navbits construct_navbits(array(
                
'' => construct_phrase($vbphrase['view_form'], $form['title'])
            ));
        }
        else
        {
            
$navbits construct_navbits(array(
                
'misc.php?do=forms' $vbulletin->session->vars['sessionurl_q'] => construct_phrase($vbphrase['forms']),
                
'' => construct_phrase($vbphrase['view_form'], $form['title'])
            ));
        }
        eval(
'$navbar = "' fetch_template('navbar') . '";');
        eval(
'print_output("' fetch_template('shell_blank') . '");'); 

Replace:

PHP Code:

if (!$noheader)
{
        eval(
'$html = "' fetch_template('form_view') . '";');
        
$canviewformlist unserialize($vbulletin->options['canviewformlist']);
        if (!
$canviewformlist OR !is_member_of($vbulletin->userinfo$canviewformlist))
        {
            
$navbits construct_navbits(array(
                
'' => construct_phrase($vbphrase['view_form'], $form['title'])
            ));
        }
        else
        {
            
$navbits construct_navbits(array(
                
'misc.php?do=forms' $vbulletin->session->vars['sessionurl_q'] => construct_phrase($vbphrase['forms']),
                
'' => construct_phrase($vbphrase['view_form'], $form['title'])
            ));
        }
        eval(
'$navbar = "' fetch_template('navbar') . '";');
        eval(
'print_output("' fetch_template('shell_blank') . '");');
}
else
{
        eval(
'print_output("' fetch_template('form_view') . '");'); 


Form Hook: Form Start:
PHP Code:

$noheader true


Altered 03-25-2009 02:09 PM

Quote:

Originally Posted by bananalive (Post 1775067)

This fixed my problem with posts being moderated, thank you!!

bananalive 03-25-2009 02:30 PM

1 Attachment(s)
Quote:

Originally Posted by anuanu (Post 1776350)
Not sure if this was brought up already or not but when i make a question and have the character "&" in it. It outputs when someone is filling it out as this: "&"

Import attached file
Re-save question

FW FH-K?ln 03-25-2009 05:27 PM

Thanks for \r\n.

We want to allow guests to use these form.

They write in a single line text field their e-mail ({q_6}). This form create a thread in a forum and send a e-mail to the e-mail-adress.

In the settings of the form we can set, that e-mail form send to {email} (only register users), but it doesn't work with {q_6} (guests)!

Can this be changed?

Max3D 03-25-2009 07:30 PM

just wondering, when ever sombody creates a new form and its submitted and makes a new thread it always shows up as moderated. Why?

anuanu 03-26-2009 01:02 AM

Quote:

Originally Posted by bananalive (Post 1776697)
Import attached file
Re-save question

Fixed! Awsome!

subvertbeats 03-26-2009 01:10 AM

Quote:

Originally Posted by bananalive (Post 1776677)
Find in Plugin: Easy Forms Part 1:

...
....


Thank you :up:

Heldenverband 03-27-2009 08:03 AM

1 Attachment(s)
Dear bananalive,

sorry again. My problem concerning error messages during creating thread still exist and i have no idea why.

With activated VBCMS i got this message ( see attached file )



After deactivated VBCMS the error following error message comes :

Warnung: Cannot use a scalar value as an array in [path]/misc.php(100) : eval()'d code (Zeile 2182)

Warnung: Cannot use a scalar value as an array in [path]/includes/functions_newpost.php (Zeile 394)



Any idea ?

Edit :

Problem is SOLVED. After updating to the latest version of EasyForms the forums ID was missing. Thanks to Christian from VBDesigns(VBCMS)

Altered 03-27-2009 07:26 PM

Question:

I have a form i want to allow unregistered users to access/submit. I have the permissions all set and everything works great. My problem is this;

When the form is submitted it posts in a thread i selected and i also want it to send the user a private message. This works fine when a user is logged in but i get the following error message when an unregistered user is logged in.

Code:

Form failed to submit. The following error(s) occured:
The following users were not found:
Unregistered


Is there anyway to make it so it only sends the private message to logged in users?

bananalive 03-28-2009 11:11 AM

Quote:

Originally Posted by Altered (Post 1778504)
Question:

I have a form i want to allow unregistered users to access/submit. I have the permissions all set and everything works great. My problem is this;

When the form is submitted it posts in a thread i selected and i also want it to send the user a private message. This works fine when a user is logged in but i get the following error message when an unregistered user is logged in.

Code:

Form failed to submit. The following error(s) occured:
The following users were not found:
Unregistered


Is there anyway to make it so it only sends the private message to logged in users?

Form Hook: Before Submit:
PHP Code:

if ($vbulletin->userinfo['userid'] == 0)
{
foreach (
$form['action'] as $id => $action)
{
if (
$action == 1)
{
unset(
$form['action'][$id]);
}
}



skYfIrE 04-01-2009 09:40 PM

Hi,

Thanks for the mod. Working fine on my board.

However, there is something "wrong" when using the vb_editor. The Image button is not shown. And, it's not only on my board, if I look at one of your attachement, this button is not shown too.

Is it possible for you to do something for reinstating it ?

Thanks for your help.

skYfIrE

zyxelts 04-01-2009 11:08 PM

Awsome mod, worked great for my internal site. I do have one question if anyone has the answer, I am trying to format the Thread to be
Question: Answer
Question: Answer

I can get it to work in the preview page, however when it posts, it puts the answers under the question. Any suggestions?

Thanks in advanced.

wacodep 04-02-2009 01:29 PM

Any hints on the 'Manage Attatchment' issue? The form works great, but when a registered user tries to use manage attachments (on the form ONLY), it gives the old access denied message. My test user is a 'Registered User', and that group has global attachment upload access.

Doe the usergroup need upload access for a specific forum, too? If so, which?

It seems as if the only way the 'Manage Uploads' works from the Form is if the user is a member of either 'Administrators' or 'Super Moderators'.

bananalive 04-04-2009 11:23 AM

Quote:

Originally Posted by zyxelts (Post 1782086)
Awsome mod, worked great for my internal site. I do have one question if anyone has the answer, I am trying to format the Thread to be
Question: Answer
Question: Answer

I can get it to work in the preview page, however when it posts, it puts the answers under the question. Any suggestions?

Thanks in advanced.

Check your Form BBcode

Specifically check Question BBcode: for a \r\n at the end of the line

Also check the Answer BBcode: for bbcode which forces new line eg.[INDENT]

bananalive 04-04-2009 11:25 AM

Quote:

Originally Posted by skYfIrE (Post 1782039)
Hi,

Thanks for the mod. Working fine on my board.

However, there is something "wrong" when using the vb_editor. The Image button is not shown. And, it's not only on my board, if I look at one of your attachement, this button is not shown too.

Is it possible for you to do something for reinstating it ?

Thanks for your help.

skYfIrE

I'll have to look into this

Edit:

vBulletin Options -> BB Code Settings -> Allow [IMG] Code in Non Forum Specific Areas -> Yes

bananalive 04-04-2009 11:26 AM

1 Attachment(s)
Quote:

Originally Posted by wacodep (Post 1782375)
Any hints on the 'Manage Attatchment' issue? The form works great, but when a registered user tries to use manage attachments (on the form ONLY), it gives the old access denied message. My test user is a 'Registered User', and that group has global attachment upload access.

Doe the usergroup need upload access for a specific forum, too? If so, which?

It seems as if the only way the 'Manage Uploads' works from the Form is if the user is a member of either 'Administrators' or 'Super Moderators'.

Check their permissions for the forum where the form is posting.

Edit: Try attached file

Derekclarke 04-04-2009 03:33 PM

Anyone know if it's possible

Quote:

Originally Posted by Derekclarke (Post 1775085)
Can this be modified to accept either BBcode or HTML in the Questions?

I wish to add a rules agreement in with a link to the rules...

If anyone can help ASAP it would be most Appreciated.

Thanks
Derek


bananalive 04-04-2009 05:46 PM

Quote:

Originally Posted by Derekclarke (Post 1783736)
Anyone know if it's possible

...
Quote:

Originally Posted by bananalive (Post 1775143)
You can use BB Code in questions.


Elenna 04-04-2009 07:46 PM

Wonderful mod, thanks ever so much!

Is it possible to have it PM the member after the form has been submitted? Some of our forms require additional steps, and we know that the applicant won't make note of them from the "thank you" page!

Either way, you made my life soooo much easier! Thank you!

Martyh 04-04-2009 09:42 PM

Awesome !

Couple questions can't find the answer to ?

1.) Is it possible to redirect them to the thread that was just created ?

2.) This might be a dumb one but besides the admin panel where there is a link to the form list in the "Usergroups Allowed to View Form Lists" area I can't figure out where the form list or the forms actually exists , what is the link to it ?

3.) I see you accept donations but how do I ? I don't see a PayPal button, forgive my inexperience with this stuff,

Thanks.

Elenna 04-05-2009 01:52 AM

Martyh,

Yes, there is a great how-to write-up on the developer's web site, here:
http://www.bananalive.co.cc/showthread.php?t=119

That post explains how to redirect them to the post they made.


To manage your forms, go to your_url_here/misc.php?do=forms
If you gave yourself permissions, you should be able to add, edit, and delete new forms. That is also the link that your users should go to, to see the available forms (if you want to set it up that way). Optionally, you can send them the link to each form individually

To donate, look for the box on the right of the first post (with the mod description). There should be a link there for "Support Developer". Clicking that will take you to a quick form to donate!

Martyh 04-05-2009 11:56 AM

Quote:

Originally Posted by Elenna (Post 1784079)
Martyh,

Yes, there is a great how-to write-up on the developer's web site, here:
http://www.bananalive.co.cc/showthread.php?t=119

That post explains how to redirect them to the post they made.


To manage your forms, go to your_url_here/misc.php?do=forms
If you gave yourself permissions, you should be able to add, edit, and delete new forms. That is also the link that your users should go to, to see the available forms (if you want to set it up that way). Optionally, you can send them the link to each form individually

To donate, look for the box on the right of the first post (with the mod description). There should be a link there for "Support Developer". Clicking that will take you to a quick form to donate!

Thank you,

hobbybox 04-05-2009 04:05 PM

Quote:

Originally Posted by bananalive (Post 1783617)
Check their permissions for the forum where the form is posting.

Edit: Try attached file


Users still cannot upload pictures unless they are staff members (even using the file in the above post)


All times are GMT. The time now is 05:45 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.02962 seconds
  • Memory Usage 1,916KB
  • 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
  • (8)bbcode_php_printable
  • (25)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