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)

mustang_lex 06-04-2005 01:14 AM

Quote:

Originally Posted by DogGunn
I just get a blank screen.. Help?

Ya I did too??????????

mustang_lex 06-04-2005 01:19 PM

OK, now that I admit I'm new at this hacking thing, when you say add these templates you actually have to add them in Admin CP. Since I did that. Its all working great. Now I need to cusomize it. Here goes nothing :speechless:

mustang_lex 06-05-2005 11:44 PM

My form works great. Once question. My form is asking questions that the member may have entered in their profile. Such as hobbies for example. How can I have the text field that they will fill in on the form (such as hobbies) default to having the same text in their profile?

Erwin 06-06-2005 12:06 AM

Quote:

Originally Posted by mustang_lex
My form works great. Once question. My form is asking questions that the member may have entered in their profile. Such as hobbies for example. How can I have the text field that they will fill in on the form (such as hobbies) default to having the same text in their profile?

In the variable for the answer, put down $bbuserinfo[fieldx] where fieldx is the custom profile field number.

mustang_lex 06-06-2005 05:20 PM

Awesome!!! i added
Quote:

value="$bbuserinfo[field7]"
To my input fields (changing the fieldID) and its cool. When the person opens the app. if the questions were allready filled out in their profile, it will be automatically added in each text field. This ROCKS!!!!! Thanks

mustang_lex 06-06-2005 05:26 PM

I would like to incorporate an upload field. Is this possible. When the person submits, the photo is uploaded to a folder on the server, and the file title is displayed in the formanswer (mine inwhich is submitted to a group)

paul41598 06-07-2005 07:44 PM

Is it possible to put a form (this form) somehow in a new thread, and then users can view that thread, choose all the selections, submit it, and then write it out to a new thread? Almost like a question form in a thread, and then the results goto a result thread.

Spinball 06-08-2005 01:39 PM

Erwin,
do you think it would be possible to add the code to subscribe people to new threads if they have automatic subscriptions switched on?
For our use - the creation of classified adverts - it's particularly needed.
Thanks

paul41598 06-08-2005 07:19 PM

I have figured out a way to do dropdowns if anyone is interested

Cyricx 06-13-2005 12:57 PM

Hmmm, found a bug, when a user fills out a form and uses a ' like

Suzuhara's

It gives an invalid sql error

Database error in vBulletin 3.0.7:

Invalid SQL:
INSERT INTO vb3_thread(title, lastpost,
forumid, open, replycount,
postusername, postuserid, lastposter,
dateline, iconid, visible, attach)
VALUES
('Aged bowman Requests
Suzuhara's Care Package', 1118670743, 176,
1, 0, 'Aged bowman', 593,
'Aged bowman', 1118670743, 0,
1,
0)

mysql error: You have an error in your SQL syntax near 's Care
Package', 1118670743, 176,
1, 0,' at line 5

mysql error number: 1064


All times are GMT. The time now is 08:59 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.01513 seconds
  • Memory Usage 1,736KB
  • 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
  • (3)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