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)

ChrisBaktis 01-01-2006 01:45 PM

this is the code I used:

PHP Code:

$vbulletin->userinfo[username] / $normalanswer1 

This is the result

Array[username] / bruins

bruins is the $normalanswer 1 so that works fine.

Abe1 01-01-2006 01:57 PM

Quote:

Originally Posted by ChrisBaktis
this is the code I used:

PHP Code:

$vbulletin->userinfo[username] / $normalanswer1 

This is the result

Array[username] / bruins

bruins is the $normalanswer 1 so that works fine.

add to the line before,
$bbuserinfo = $vbulletin->userifo;
now, you can use $bbuserinfo[usergroup]

ChrisBaktis 01-01-2006 02:39 PM

sorry about being a noob but you have me lost on this...

$bbuserinfo = $vbulletin->userinfo; <<-- is already in the main script area of the form

but in your last post you are now saying use $bbuserinfo[usergroup] and Im not sure why....

This is the code I have tried and the result:

$bbuserinfo <<---- results in a blank post title

$vbulletin->userinfo <<-- results in Array[username]

your post was confusing as what to add and to where.

Abe1 01-01-2006 06:21 PM

Quote:

Originally Posted by ChrisBaktis
sorry about being a noob but you have me lost on this...

$bbuserinfo = $vbulletin->userinfo; <<-- is already in the main script area of the form

but in your last post you are now saying use $bbuserinfo[usergroup] and Im not sure why....

This is the code I have tried and the result:

$bbuserinfo <<---- results in a blank post title

$vbulletin->userinfo <<-- results in Array[username]

your post was confusing as what to add and to where.

Use $bbuserinfo[username] but on the line right above add this: $bbuserinfo = $vbulletin->userinfo;

ChrisBaktis 01-01-2006 09:28 PM

Thank you

futuregizmo 01-01-2006 10:40 PM

noob question, would this work with ver 3.5.0 or would i need to upgrade to 3.5.2 to use this hack?

steven s 01-01-2006 10:51 PM

Quote:

Originally Posted by futuregizmo
noob question, would this work with ver 3.5.0 or would i need to upgrade to 3.5.2 to use this hack?

Redundant question as you should update to 3.5.2 regardless. ;)

Abe1 01-01-2006 11:28 PM

Quote:

Originally Posted by futuregizmo
noob question, would this work with ver 3.5.0 or would i need to upgrade to 3.5.2 to use this hack?

yes, It should work with 3.5.0

futuregizmo 01-02-2006 12:18 AM

Quote:

Originally Posted by 1996 328ti
Redundant question as you should update to 3.5.2 regardless. ;)

naah, not thinking of doing so yet, since some hacks installed in my site are not compatible with 3.5.2 and i can't afford to lose them. ;)

Oreamnos 01-02-2006 12:34 AM

great looking plugin.

one question: is it possible to insert the form submitted by the user into a specific forum DEPENDING on what drop down box option is selected?

Example:
1. I have 3 forums: Canada, America & Mexico

2. The user selects 'America' from the drop down box.

3. The user's post is posted in the 'America' forum.

I hope that make sense.

Is this possible?

Thanks
eric


All times are GMT. The time now is 04:50 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.03257 seconds
  • Memory Usage 1,745KB
  • 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
  • (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