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)

silurius 12-14-2005 06:43 PM

Quote:

Originally Posted by tidy_boy
How do I create a form?

Thanks

As Abe has said in this thread, the setup instructions are all in the XML file, although they are spread out a bit and it might require a bit of troubleshooting to master. The general process I followed was:
1. Make a copy of product-form_hack.xml - name the file according to what kind of form you're creating for your own tracking purposes.
2. Edit product id to correspond with what you are creating
3. Edit title & description ""
4. Edit $formname "" (no spaces or weird characters, underscore is ok)
5. Study the "Customize Variables" section (begins at line 229 I think).
- You can leave any variables you don't plan to use there
6. Edit the "Usergroups Allowed" section according to your needs (line 273)
7. If you plan to create more than one form, edit the Templates section (starts @ line 278)
8. Continue editing the options that follow as needed.
9. Save & upload the product.
10. Call the form using http://www.YOURSITE.com/forum/newthread.php?do=[whatever you put as $formname]
It only took a couple of tries before I got the hang of it and it works like a champ.

tidy_boy 12-14-2005 07:38 PM

Thanks mate I see what you mean about getting the hang of it.

Can you have image uploads on the forms as well

Abe1 12-14-2005 08:04 PM

Quote:

Originally Posted by tidy_boy
Thanks mate I see what you mean about getting the hang of it.

Can you have image uploads on the forms as well

Use the option to farward your users to the edit post page.

silurius 12-14-2005 09:15 PM

Quote:

Originally Posted by Abe1
Quote:

Originally Posted by tidy_boy
Thanks mate I see what you mean about getting the hang of it.

Can you have image uploads on the forms as well

Use the option to farward your users to the edit post page.

Although the button for it is not actually shown, using https://vborg.vbsupport.ru/ in the WYSIWYG box has worked for me.

But because my submissions go to a private area, I'm still on the lookout for an upload feature which does not require that the user visit the forum where their post ended up.http://asdfasfd

Noonster 12-15-2005 08:28 AM

Would it be possible to add a paypal field to it so they can actually pay via the form??

IE....
- Complete form with details needed, name, address etc...
- Then at the end is a payment box where they enter their paypal email addy and it sends the money to our paypal account and the form is then pm/emailed to an admin as normal.

That would be great and your help much appreciated!

Cheers
Daz

apdcanari 12-15-2005 11:15 AM

Quote:

Originally Posted by JayJ
Any ideas why I am encountering the following error?

"No Thread specified. If you followed a valid link, please notify the administrator"

showthread.php?p=

It does not seem to want to post nor redirect me.

Hello,

I have the same error.

Can you help me, please ?

Thanks,

C?dric :ermm:

Abe1 12-15-2005 12:29 PM

Quote:

Originally Posted by apdcanari
Hello,

I have the same error.

Can you help me, please ?

Thanks,

C?dric :ermm:

Was the thread created?

apdcanari 12-15-2005 01:07 PM

My config

Thanks,

Cédric :ermm:

utw-Mephisto 12-15-2005 01:55 PM

Great hack and it works like a charm, however, configuration could be easier through a gui, automatic template creation when using more than one form would be better and the created thread could look a bit better too :)

But this are just my .5c

Abe1 12-15-2005 02:01 PM

Quote:

Originally Posted by apdcanari
My config


Thanks,

C?dric :ermm:

Does the thread get created?


All times are GMT. The time now is 05:50 AM.

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.01639 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