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)

Holidazed 07-27-2004 03:58 PM

Maybe I am misunderstanding you, but the templates you are referring to are included with the initial zip file. They are .txt files. Just make new templates with the same name as the .txt file (omit the .txt in the template name) and cut and paste the contects of the .txt file into the template.

pjdaley 07-27-2004 03:59 PM

Quote:

Originally Posted by bitg
That is pretty self explanitory

Open up the form.php (or whatever you named it) file
Look for:
Code:

////////////////////////////////////////////////////////////////////////////////////////////////////
//TITLE OF FORM (do not use quotation marks or you will get a parse error)
////////////////////////////////////////////////////////////////////////////////////////////////////
$formtitle = "Generic Form";

Replace:
Code:

$formtitle = "Generic Form";
With:

Code:

$formtitle = "thread title goes here";

Thank for your help. What i meant was, after the person submits the form, and it creates the thread. It says Unregistered has submitted a form! or whatever you want it with right? Well, how can i make it so the info they put for the first answer can be the title. For example, Whats your name? Joe. It'll say Joe has submitted a form! :ermm: ?

Holidazed 07-27-2004 04:10 PM

the default values for the form show the username as the first part of the thread title. I am unsure why your are referring to "Unregistered". Maybe you should modify for form.php file to only allow groups other than "unregistered" to use the form.

hpwilhelm 07-27-2004 08:12 PM

Thanks Erwin! Great hack! :)

One (two) questions: If submited as newthread or threadreply the postcounts for the user and forums does not update. Would this be possible to add?

And one more thing: BB-code support? (Smilies and formating) Not essensial, but would be nice... :)

hpwilhelm 07-28-2004 07:49 AM

Quote:

Originally Posted by hpwilhelm
Thanks Erwin! Great hack! :)

One (two) questions: If submited as newthread or threadreply the postcounts for the user and forums does not update. Would this be possible to add?

And one more thing: BB-code support? (Smilies and formating) Not essensial, but would be nice... :)

I need a way to format the thread output... :ermm: Anyone?

I would prefere CSS if thats posible.
My intention is a standardised output.

Erwin 07-28-2004 12:36 PM

Quote:

Originally Posted by hpwilhelm
Thanks Erwin! Great hack! :)

One (two) questions: If submited as newthread or threadreply the postcounts for the user and forums does not update. Would this be possible to add?

And one more thing: BB-code support? (Smilies and formating) Not essensial, but would be nice... :)

Really? They should. Is this a problem with other users?

hpwilhelm 07-28-2004 06:22 PM

Quote:

Originally Posted by Erwin
Really? They should. Is this a problem with other users?

The users postcount and the forums total postcount does not increase.

The forumsdisplay shows as when a "normal" post is made: last poster, date and postcount increase.

But the most important question for me right now is how I can format the new thread, with fonts, headers and paragraphs, not just plain text. How does vbulletin handle postformating? Now it just outputs the code as entered into both form and template... :ermm: Any ideas?

hpwilhelm 07-28-2004 08:52 PM

Quote:

Originally Posted by hpwilhelm
But the most important question for me right now is how I can format the new thread, with fonts, headers and paragraphs, not just plain text. How does vbulletin handle postformating? Now it just outputs the code as entered into both form and template... :ermm: Any ideas?

Ok, I've enabled HTML for the destination forum, then I can format it like I want using XHTML/CSS, but the forum is open for discussions also, so I would prefere if HTML could remain "off" for everyone else besides when using the form... :p

spence2 08-01-2004 05:07 AM

Thank you for this wonderful hack!

Erwin 08-07-2004 06:15 AM

Quote:

Originally Posted by hpwilhelm
The users postcount and the forums total postcount does not increase.

The forumsdisplay shows as when a "normal" post is made: last poster, date and postcount increase.

But the most important question for me right now is how I can format the new thread, with fonts, headers and paragraphs, not just plain text. How does vbulletin handle postformating? Now it just outputs the code as entered into both form and template... :ermm: Any ideas?

Yeah, you're right the user post count does not increase because this is not a post. :) I never added the query to add to the user's post count.


All times are GMT. The time now is 08:15 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.01358 seconds
  • Memory Usage 1,746KB
  • 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_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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