vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Form Hack (https://vborg.vbsupport.ru/showthread.php?t=126676)

RMS-Chef 09-15-2006 06:39 PM

Thanks for the update Abe.
I have no use for attachments with my forms so I am sticking to the previous v3.5.x release with my v3.6.x forum. It's working fine.

dirtycrow 09-15-2006 07:08 PM

hmmm. . . what am i doing wrong?

i wanted to get rid of all the radio buttons and drop downs.

|oR|Greg 09-15-2006 07:19 PM

You have to edit the hook, and both templates in order to make it work.

dirtycrow 09-15-2006 07:23 PM

also, i was wondering, if i wanted to use this as a order form, where would I enter the code for a paypal button?

dirtycrow 09-15-2006 07:29 PM

Quote:

Originally Posted by |oR|Greg
You have to edit the hook, and both templates in order to make it work.

both templates? but what happens when i create more then one form?

i followed the directions "// To add more then one form, copy this whole text, and creat a new plug-in with the hook location 'newthread_start'.
// After, change the form name. You can't have 2 forms with the same name."

dirtycrow 09-15-2006 07:33 PM

wait. . . i have to change the templates for form and form answer? but then all my forms from the point would have to have the same lay out?

dirtycrow 09-15-2006 07:50 PM

never mind, i got it.

this is an EXCELLENT! mod, not the freindliest to create new forms, but it is perfect for what i needed. thank you!

Abe1 09-15-2006 08:09 PM

Quote:

Originally Posted by RMS-Chef
Thanks for the update Abe.
I have no use for attachments with my forms so I am sticking to the previous v3.5.x release with my v3.6.x forum. It's working fine.

There is an option in the plug-in to enable or disable attachments.

Wired1 09-15-2006 08:23 PM

I realize this may be out of the scope of this hack, or maybe in its future, but it can't hurt to ask:

Would it be possible to add on to this where there is an additional button on the postbit (say, net to reply) or maybe one on the threadbit (?) where a user (preferably the thread creator or the post creator) can hit a button (linked to the form) that passes the post id or thread id to the form so that it is passed on to the end recipient (in my case, it would be for emails only).

This way the recipient would be able to reference the post / thread id, which may contain more information than what is included in the form.

If this is something outside of the future scope of the form, or not to be included in an upgrade, would you mind if I created an add-on to your hack to enable this functionality?

Abe1 09-15-2006 08:46 PM

Quote:

Originally Posted by Wired1
I realize this may be out of the scope of this hack, or maybe in its future, but it can't hurt to ask:

Would it be possible to add on to this where there is an additional button on the postbit (say, net to reply) or maybe one on the threadbit (?) where a user (preferably the thread creator or the post creator) can hit a button (linked to the form) that passes the post id or thread id to the form so that it is passed on to the end recipient (in my case, it would be for emails only).

This way the recipient would be able to reference the post / thread id, which may contain more information than what is included in the form.

If this is something outside of the future scope of the form, or not to be included in an upgrade, would you mind if I created an add-on to your hack to enable this functionality?

Look at my sig. I have a hack that lets you edit the "new thread" link.


All times are GMT. The time now is 12:26 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.02073 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)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