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)

bananalive 02-16-2009 02:25 PM

I'm sure you could make it hidden without editing form_view

Here's how to do it without making it hidden.

Form Hook: Form Start
PHP Code:

$refurl $vbulletin->input->clean_gpc('g''refurl'TYPE_NOHTML); 

Custom Question with following php code:
PHP Code:

if (!$q[$formbit[id]]) $q[$formbit[id]] = $refurl;
$answer '<input type="text" readonly="readonly" id="q_' $formbit[id] . '" name="' $formbit[id] . '" value="' $q[$formbit[id]] . '" />'


xlguy 02-16-2009 02:38 PM

Wow, that's perfect : thanks a lot :)

Blackheart_72 02-16-2009 03:30 PM

Quote:

Originally Posted by Veccy 150 (Post 1741722)
Will look like and idiot but when i submit the form i get this error:

Code:

Form failed to submit. The following error(s) occured:
You did not specify a username for your post.

I have set it to post a new thread. :o

Still an idiot and still cant figure this one out.:(

bananalive 02-16-2009 03:34 PM

Quote:

Originally Posted by Veccy 150 (Post 1745978)
Quote:

Originally Posted by Veccy 150 (Post 1741722)
Will look like and idiot but when i submit the form i get this error:

Code:

Form failed to submit. The following error(s) occured:
You did not specify a username for your post.

I have set it to post a new thread. :o

Still an idiot and still cant figure this one out.:(

Odd, what version of Easy Forms are you using?

What vb version?

Are you logged in when you get the error?

xlguy 02-16-2009 03:37 PM

Found something interesting. If you are having the form contents sent to a private forum, if the user submits their form twice, they get a "duplicate warning" and then they are attempted to be redirected to this hidden forum. This gives them the hidden forum ID and can cause confusion. Anyway of skipping the duplicate check or perhaps skipping the redirect?

Blackheart_72 02-16-2009 03:41 PM

Quote:

Originally Posted by bananalive (Post 1745982)
Odd, what version of Easy Forms are you using?

What vb version?

Are you logged in when you get the error?

Easyforms 3.0 beta6

vBulletin 3.8.1

I am logged in but i also had the same error with beta5, thought i was missing something but cant find an option to add a user for the post.

TROLL 02-16-2009 04:15 PM

I have a quick question before I begin testing this mod.

I have a forum which is devoted to selling/buying on my site and we currently use formhack. What we need is to require a user to input name/price/location, ect. The problem that we currently have is that the hack we use lets anyone submit a thread.

I want to require users to have 25 posts to post or reply to a thread, but 0 posts to view. Is this currently possible with this mod?

Thanks!

metalguy639 02-17-2009 06:07 AM

Again I still have the problem of although I have it marked not to subscribe to a new thread in my UserCP this hack is only subscribing to the things that I have submitted thorugh it as a thread. Is there a way to stop this from happening please.

bananalive 02-17-2009 07:45 AM

Quote:

Originally Posted by Veccy 150 (Post 1745989)
Easyforms 3.0 beta6

vBulletin 3.8.1

I am logged in but i also had the same error with beta5, thought i was missing something but cant find an option to add a user for the post.

There isn't one, it uses the username of the user.

PHP Code:

$newpost['username'] =& $vbulletin->userinfo['username']; 

What PHP version are you using?

bananalive 02-17-2009 07:47 AM

Quote:

Originally Posted by metalguy639 (Post 1746581)
Again I still have the problem of although I have it marked not to subscribe to a new thread in my UserCP this hack is only subscribing to the things that I have submitted thorugh it as a thread. Is there a way to stop this from happening please.

I've fixed this in v3.1, to be released.


All times are GMT. The time now is 05:28 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.02444 seconds
  • Memory Usage 1,754KB
  • 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
  • (3)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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