vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Forms Hack (https://vborg.vbsupport.ru/showthread.php?t=93970)

Abe1 10-06-2005 12:07 AM

Quote:

Originally Posted by WNxWakko
ok I tried what you told him,

$formtitle = "$user[userid]";

Is that the right spot? Cause it didnt work

Sorry, '$vbulletin->userinfo[username]'

WNxWakko 10-06-2005 02:19 AM

That didnt work either.

$formtitle = "$vbulletin->userinfo[username] Justice Appeal";

output was,

Array[username] Justice Appeal

Abe1 10-06-2005 02:47 AM

Quote:

Originally Posted by WNxWakko
That didnt work either.

$formtitle = "$vbulletin->userinfo[username] Justice Appeal";

output was,

Array[username] Justice Appeal

try

$bbuserinfo = $vbulletin->userinfo;
$formtitle = "$bbuserinfo[username] Justice Appeal";

WNxWakko 10-06-2005 02:49 AM

yeah it worked. Thank you. Um now my other question. How do I pull the answer of question 1 to the title also, and is attachments possible or to complicated?

Abe1 10-06-2005 02:51 AM

Quote:

Originally Posted by WNxWakko
yeah it worked. Thank you. Um now my other question. How do I pull the answer of question 1 to the title also, and is attachments possible or to complicated?

For attachment, you should use the option to transfer to edit post.

You can add the $answer1 varible to the title.

WNxWakko 10-06-2005 03:01 AM

im confused on the attachment part. option to transfer? did get the question working thanks.

Abe1 10-06-2005 03:05 AM

Quote:

Originally Posted by WNxWakko
im confused on the attachment part. option to transfer? did get the question working thanks.

There is an option were to send the user after they click submit. Use the one to go to the edit post page. This way thay can upload attachments right after.

WNxWakko 10-06-2005 03:06 AM

ah, so it will only work after submitting the form.

Abe1 10-06-2005 03:08 AM

Quote:

Originally Posted by WNxWakko
ah, so it will only work after submitting the form.

Yes.

WNxWakko 10-06-2005 04:26 AM

I have another nutty question :) sorry. I have the banner mod installed which allows me to add images or html to put a banner in a forum. Is is possibly for me to put this code into this html box so the form shows up at the top of this forum. If so how would I make this work?


All times are GMT. The time now is 08:21 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.01835 seconds
  • Memory Usage 1,734KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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