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 03-07-2009 01:50 PM

Quote:

Originally Posted by dknelson (Post 1762470)
As you can see, it is posting the threadID for location instead of the actual state. I am not using custom output. Is the only way to correct this to use custom output with $qo

Not that i can think of.

$qo won't work as it's custom question.

You could use custom output and some extra code in form hook before submit to do it. 9you would use $state in custom output)

Form hook: before submit
PHP Code:

$threadinfo fetch_threadinfo($q[8]);
$state $threadinfo[title]; 

Replacing 8 with appropriate question hash

Edit: this won't work the hook is after the form output is done.

nascartr 03-07-2009 02:19 PM

I don't suppose there's anyway to embed this into a post is there? I always post a topic for my fantasy game each week with the link to vote but it's be nice to have the form inside of the post so a user wouldn't have to click twice.

I have a link in the navbar to the form so it's no big deal but thought it'd be neat to be able to embed in somehow into a post.

I'm sure I can do it with iframes but the my header would take up a bit of space in the frame.

bananalive 03-07-2009 02:29 PM

Quote:

Originally Posted by nascartr (Post 1762511)
I don't suppose there's anyway to embed this into a post is there? I always post a topic for my fantasy game each week with the link to vote but it's be nice to have the form inside of the post so a user wouldn't have to click twice.

I have a link in the navbar to the form so it's no big deal but thought it'd be neat to be able to embed in somehow into a post.

I'm sure I can do it with iframes but the my header would take up a bit of space in the frame.

no.

dknelson 03-07-2009 02:36 PM

Quote:

Originally Posted by bananalive (Post 1762491)
Not that i can think of.

$qo won't work as it's custom question.

You could use custom output and some extra code in form hook before submit to do it. 9you would use $state in custom output)

Form hook: before submit
PHP Code:

$threadinfo fetch_threadinfo($q[8]);
$state $threadinfo[title]; 

Replacing 8 with appropriate question hash

Edit: this won't work the hook is after the form output is done.

OK...thanks. No big deal, I'll figure out another way to work around it or just create a custom output and not even output that answer. It will be in the states thread anyway so that should be obvious. Thanks for all your help on this. I think this is about the best supported mod I have ever seen here. Nominating for MOTM.

dknelson 03-07-2009 05:52 PM

OK...I started trying to get the URLs to post as live links. Here is my custom output:

Quote:

$qn[599] $q[599]
$qn[600] $q[600]
$qn[601] $q[601]
$qn[603] <if condition"$q[603]">$q[603]</if>
$qn[604] $qo[604]
$qn[605] $qo[605]
$qn[788] $qo[788]
$qn[607] $q[607]
$qn[789] $qo[789]
$qn[609] $q[609]
The posted result though shows the entire conditional instead of just the URL.

bananalive 03-07-2009 08:35 PM

Quote:

Originally Posted by dknelson (Post 1762652)
OK...I started trying to get the URLs to post as live links. Here is my custom output:



The posted result though shows the entire conditional instead of just the URL.

Can you post the custom output in [php] https://vborg.vbsupport.ru/external/2009/03/39.gif tags so that I can see the unparsed code

hobbybox 03-07-2009 09:34 PM

REgular users form posts are going into moderation Que - I have checked this thread and I have made sure that 'follow Moderation: YES' and the forum the posts are going into are allowed for that so im not sure what the problem can be....any help

cookiepants 03-08-2009 02:20 AM

Thanks so much for this mod! I've looked through as much as I can but can't find an answer to my question.

I installed this mod, then made sure admins could edit the forms. I point here:
/misc.php?do=forms

I can see everything except where it says "questions" there is nothing -- no box for code, nothing. Just the word "questions" and a save button.

Any help is appreciated.

Megan

cookiepants 03-08-2009 02:35 AM

Never mind. I just saw the drop down field. Easier than I expected!!! THANK you so much!!!

Nutmeg

cookiepants 03-08-2009 05:19 AM

Here's a real question. I'd like to remove the "POLL:" text in the title of the forum where the forms are posted. Is that possible?

I'd also like to automatically close the threads posted using the forms, as soon as they submit the form, is that possible?

Thanks so much!

Nutmeg


All times are GMT. The time now is 02:46 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.02255 seconds
  • Memory Usage 1,751KB
  • 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
  • (5)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