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)

bananalive 09-13-2010 02:24 PM

Quote:

Originally Posted by ct2k7 (Post 2097579)
Just wandering, could I make the form public, then post information to it, from a script so:

Post data from a form on the main site, to the form on the forum (which is protected by vB permissions from guests).

Basically, can I interface with the forum without the user having to visit the form on the forum, or will I have CSRF issues?

It would not bypass the permissions of the form on the forum. So non-registered users would receive a no permission message on submitting the form.

Inzvestor 09-13-2010 03:21 PM

Thanks for your speedy response. The error is occurring when trying to create a form from the Quick Links tab

When I disable Cyb - Advanced Permissions Based on Post Count the error disappears

CharlieDelta 09-13-2010 03:27 PM

Quote:

Originally Posted by bananalive (Post 2097573)
If you make question 4 non-compulsory and then add the following to Form Hook: Before Submit

PHP Code:

if ($qo['3']==$vbphrase['no'] && !$qo['4'])
{
$incompleteqs[] = $qn['4'];
$complete false;



Thanks for the help bananalive. I pasted this code in and ensured the question numbers matched but it is allowing me to submit the form even though the answer to q#3 is no. What question type should I be using? I have tried several different.

bananalive 09-13-2010 03:37 PM

Quote:

Originally Posted by Inzvestor (Post 2097614)
Thanks for your speedy response. The error is occurring when trying to create a form from the Quick Links tab

When I disable Cyb - Advanced Permissions Based on Post Count the error disappears

The problem is with one of 'Cyb - Advanced Permissions Based on Post Count' plug-ins but there's an easy solution:

Edit plugin: Cyb - APBOUPC - G1 (CT)

Replace PHP Code with:
PHP Code:

if ($vbulletin->options['apboupc_global_enable'] AND (THIS_SCRIPT=='misc'))
        {
            
$globaltemplates array_merge((array)$globaltemplates, array('cyb_apboupc_globalset''cyb_apboupc_globalset_currbit'));
        } 


bananalive 09-13-2010 03:41 PM

1 Attachment(s)
Quote:

Originally Posted by CharlieDelta (Post 2097615)
Thanks for the help bananalive. I pasted this code in and ensured the question numbers matched but it is allowing me to submit the form even though the answer to q#3 is no. What question type should I be using? I have tried several different.

Make sure you are using the correct question hash's, see screenshot

This works for question type 2: 'Yes/No Question'

Inzvestor 09-13-2010 03:45 PM

Superb. Less than 15 minutes from issue to resolution. That is the best IT / software support I have received

Now working too. Thanks for nailing it so quickly

Shamil. 09-13-2010 08:20 PM

Quote:

Originally Posted by bananalive (Post 2097586)
It would not bypass the permissions of the form on the forum. So non-registered users would receive a no permission message on submitting the form.

Could permissions be set that only the forms are accessible to guests?

bananalive 09-13-2010 08:29 PM

Quote:

Originally Posted by ct2k7 (Post 2097758)
Could permissions be set that only the forms are accessible to guests?

Yes, you can set usergroup permission on a per form basis when editing form

bestword 09-13-2010 11:01 PM

what is the change from 4.1.7 to 4.1.9?

bearcub 09-14-2010 12:30 AM

Quote:

Originally Posted by bananalive (Post 2097568)
This is not due to the field lenths but the whole form output length. (So the thread/post you are trying to post is less than 10 characters)

Corrected thank you.


All times are GMT. The time now is 02:21 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.02377 seconds
  • Memory Usage 1,750KB
  • 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_php_printable
  • (7)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