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)

gael11 12-26-2005 08:09 PM

Oh yes I didn't think it was so easy ^^
Thanks for your answer ;)

tommyxv 12-27-2005 12:33 AM

Quote:

Originally Posted by Abe1
use $dropdownchoice6aa

Ahh, thx.


Quote:

Originally Posted by WNxWakko
You do realize, you dont even need any of that complex coding for a dropdown selector.

Ive been making dropdowns on this form since he first released this.

For example on your form template all you do is this,

<select name="answer3">
<option selected></option>
<option>cows</option>
<option>rabbits</option>
<option>dogs</option>
<option>cats</option>
</select>

Just make sure the name of the dropdown is called answer1, answer2, answer3 and so on.

Damn, i did it the other way. :o

Thanks for the info...

tommyxv 12-27-2005 02:02 AM

One more question, how can i add a link to the message after they submit the form? And to the message that tells them that they have to fill out eveything since i cannot use quotes??

I have it going to an email right now so i cannot use a redirect.

Thx

Nam 12-27-2005 04:03 AM

probably the most stupid question, but I can't find any hook/setting to do the form, where is the main hook anybody?

Quote:

Edit the main hook - the instructions are all inside the hook itself, in the top half. Follow the instructions carefully!

bluesteel 12-27-2005 07:43 AM

ACP >> Plugin Manager >> Look for "Form Hack" >> Edit >> and copy the php plugin code.

HTHs

Datacenter1.com 12-27-2005 11:12 AM

Great Hack !!!

Just exactly what I was looking for

One question

Is there a way for to add check boxes?

steven s 12-27-2005 11:18 AM

Quote:

Originally Posted by silurius
I finally found the problem. Disabling the sign a contract plugin re-enables your plugin. Since I need this hack more than the contract one, this will work for me for a little while.

This migh be old news but I am using this agreement plugin.
https://vborg.vbsupport.ru/showthread.php?t=97699
A person first has to check that it has been read before the form can be viewed.

Abe1 12-27-2005 12:05 PM

Quote:

Originally Posted by Datacenter1.com
Great Hack !!!

Just exactly what I was looking for

One question

Is there a way for to add check boxes?

Sure. Edit the template and plug-in. I can't go step by step.

Spinball 12-27-2005 12:17 PM

Hi Abe and folks,
I appreciate this is a difficult hack to support because everyone will be customising it.
However, the problem that I and someone else are having is very difficult for a non (or indeed semi) skilled coder to fix.
Quote:

Warning: Cannot use a scalar value as an array in /includes/functions_newpost.php on line 331
It seems that the value of formforum is not being passed from the form to the script for processing.
How is the value supposed to be passed?

Abe1 12-27-2005 01:21 PM

Quote:

Originally Posted by Spinball
Hi Abe and folks,
I appreciate this is a difficult hack to support because everyone will be customising it.
However, the problem that I and someone else are having is very difficult for a non (or indeed semi) skilled coder to fix.

It seems that the value of formforum is not being passed from the form to the script for processing.
How is the value supposed to be passed?

Can you post your plug-in here?


All times are GMT. The time now is 01:00 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.02066 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
  • (7)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