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)

D.Ilyin 01-17-2006 03:29 PM

Quote:

Originally Posted by Puntoboy
ahh i see, so without the title, cheers!

yes :)

Puntoboy 01-17-2006 03:37 PM

Quote:

Originally Posted by D.Ilyin
yes :)

cheers mate, working perfectly now!

and yes you are a life saver. i dread to think how much money i have lost since upgrading my site.!

pipin 01-18-2006 08:35 AM

I customized the form and wrote two new templates using it to make new posts in a certqain forum.

And it works very well.

But one problem occured:

i set permissions for unregistered User to make posts in this forum (this works by normal new thread in the form), but with the form it wont work.

rabid dingo 01-18-2006 08:41 AM

This is killing me! I need 2 forms and I can't get any of 'em to work!

Abe1 01-18-2006 09:41 PM

Quote:

Originally Posted by pipin
I customized the form and wrote two new templates using it to make new posts in a certqain forum.

And it works very well.

But one problem occured:

i set permissions for unregistered User to make posts in this forum (this works by normal new thread in the form), but with the form it wont work.

Are you using the latest version of the hack? This problem was fixed.

pipin 01-19-2006 09:19 AM

Quote:

Originally Posted by Abe1
Are you using the latest version of the hack? This problem was fixed.

doh. shame on me.

osariase 01-19-2006 05:02 PM

Forgive me but I dont know what to do I uploaded the xml file and I dont know what to do from there. The instructions says edit main hook, what is that? please assist thanks i'm still new to this

D.Ilyin 01-19-2006 05:49 PM

Quote:

Originally Posted by osariase
Forgive me but I dont know what to do I uploaded the xml file and I dont know what to do from there. The instructions says edit main hook, what is that? please assist thanks i'm still new to this

it's here ./admincp/plugin.php?do=modify
find Form hack and click edit.

sully02 01-19-2006 06:22 PM

I seem to be having a bit of a problem with mine. I've modified it to have 7 text boxes for answering. All of the code looks right, but when the response is posted, only the first 5 text box answers show up. Any insight into why this is?

pipin 01-19-2006 09:27 PM

Quote:

Originally Posted by sully02
I seem to be having a bit of a problem with mine. I've modified it to have 7 text boxes for answering. All of the code looks right, but when the response is posted, only the first 5 text box answers show up. Any insight into why this is?

you have all 7 variables in formanswer?

and this in the main hook?

Code:

////////////////////////////////////////////////////////////////////////////////////////////////////
//VARIABLES
//Study how variables are add here to add or remove any. If you add a variable to your form, you must add it to part one and part two.
////////////////////////////////////////////////////////////////////////////////////////////////////

// Part 1
$vbulletin->input->clean_array_gpc('p', array(

'answer1' => TYPE_STR,
'answer2' => TYPE_STR,
'answer3' => TYPE_STR,
'answer4' => TYPE_STR,
'answer5' => TYPE_STR,
'answer6' => TYPE_STR,
'answer7' => TYPE_STR

));

// Part 2

$answer1 = $vbulletin->GPC['answer1'];
$answer2 = $vbulletin->GPC['answer2'];
$answer3 = $vbulletin->GPC['answer3'];
$answer4 = $vbulletin->GPC['answer4'];
$answer5 = $vbulletin->GPC['answer5'];
$answer6 = $vbulletin->GPC['answer6'];
$answer7 = $vbulletin->GPC['answer7'];



All times are GMT. The time now is 12:54 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.02134 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
  • (1)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
  • (4)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