vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   FORM to THREAD/ FORUM/ POLL/ PM/ EMAIL - CUSTOMIZABLE FORMS - Mod Apps, Orders, News. (https://vborg.vbsupport.ru/showthread.php?t=66082)

WAR 06-19-2004 10:05 PM

Thanks alot for the Hack Erwin!

If I may... My request for the future wish-list on this hack would be some kind of AdminCP (or ModCP) interface where you could setup a form automagically.

It works great as is, but if I had a way for my different usergoup leaders to setup their own questionaires it would be even better

Thank you again for the Mod Erwin.

EDIT: Since when does the quick reply auto-quote a post?

gmtalk 06-20-2004 03:19 AM

Erwin,

Great Hack. I have one request. Is there a way to make PM/Email to user feature send the response form to the thread starter and not a set userid that is called in the php file you currently have?

I assume that it is possible, but with my finite coding ability I do not know where to begin.

teksigns 06-20-2004 03:26 AM

Quote:

Originally Posted by gmtalk
Erwin,

Great Hack. I have one request. Is there a way to make PM/Email to user feature send the response form to the thread starter and not a set userid that is called in the php file you currently have?

I assume that it is possible, but with my finite coding ability I do not know where to begin.


Simple .....

Change :

Code:

$formpmid = "1";

to :

Code:

$formpmid = $bbuserinfo[userid];

i have not tested this but it should send the pm to the user
that submitted the form ......

ragintajin 06-21-2004 02:48 AM

Quote:

Originally Posted by Erwin
The beauty of this hack is that once you have added the 2 templates, to make a new form, all you need to do is copy the form.php and rename it to form2.php, edit the variables in the PHP file, and you have a totally new form!!! You do not need to touch the templates again.

Format of the form:

1. One main input question
2. 2 Radio buttons Choice questions
3. 3 Normal text input questions
4. 1 Long answer question

This is customizable via the PHP file.

Quote:

Originally Posted by Erwin
You can do that by adding or substracting the variables, modifying the "global section" at the top to allow the variables to be requested, and then changing the template to add or substract the variables.

It can be worked out in my hack - I've given you the tools - go forth and modify this hack to suit your site!

I'm confused...so to add more questions do I have to edit the templates or not?

Erwin 06-21-2004 03:53 AM

Quote:

Originally Posted by ragintajin
I'm confused...so to add more questions do I have to edit the templates or not?

You need to be a licensed user to use this hack first. :)

ragintajin 06-21-2004 06:10 AM

Quote:

Originally Posted by Erwin
You need to be a licensed user to use this hack first. :)

I am...

Erwin 06-21-2004 09:43 AM

Mmm... you are showing up as an unlicensed user for some reason... did you change your email address or something?

gmtalk 06-21-2004 06:03 PM

Erwin,

Hack is great. I would like to provide the ability to have attachments in the form to thread feature. Is there an easy way to go about this?

The changes provided by Tek worked after some other changes made.

Erwin 06-21-2004 08:25 PM

Quote:

Originally Posted by gmtalk
Erwin,

Hack is great. I would like to provide the ability to have attachments in the form to thread feature. Is there an easy way to go about this?


The changes provided by Tek worked after some other changes made.

Mmm... not a bad idea... Is there an easy way to do it? Not sure, haven't tried... maybe when I have time.

ChrisBaktis 06-23-2004 09:22 PM

This is a great hack - I have one request. Is there a way to make it so a member can upload a photo with the form? I run a sports card trading site and want to use this form so members can upload a picture of a good card pull. It would be nice if I can add the feature to the form so they can upload the scan.

Chris


All times are GMT. The time now is 04:58 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.01576 seconds
  • Memory Usage 1,743KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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