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)

p1a6u3 01-27-2008 05:10 AM

NM I got it.....i need to just go to bed now lool

attroll 01-27-2008 05:20 AM

It is OK, I have been there an done that too.

p1a6u3 01-27-2008 08:20 AM

Ok attroll i am gonna need your expertise now....ok so heres what i got....form hack is done and functioning.....the way i want it done now is to create another form, pretty easy for me now...except that i want a form for each discussion forum i have....so one form per forum...how in the hell would i be able to accomplish this? I have added the "else /" conditional to check forum against form, which in turn changes the new thread link to the form link (thanks to D3fuse Here ).....but this is done in FORUMDISPLAY template....hope you understand here....got any ideas?

attroll 01-28-2008 03:24 AM

Quote:

Originally Posted by p1a6u3 (Post 1429925)
Ok attroll i am gonna need your expertise now....ok so heres what i got....form hack is done and functioning.....the way i want it done now is to create another form, pretty easy for me now...except that i want a form for each discussion forum i have....so one form per forum...how in the hell would i be able to accomplish this? I have added the "else /" conditional to check forum against form, which in turn changes the new thread link to the form link (thanks to D3fuse Here ).....but this is done in FORUMDISPLAY template....hope you understand here....got any ideas?

I have never had more then two forms in use at once. You may want to read this post here as someone else mentioned having big problems with running to many forms. Read post #743 in this thread.

There is another post about using forms for individual forums by someone else here in this thread also. You may want to read this post #813 and contact this individual and see how he did it. Sorry I can not help with this one.

p1a6u3 01-28-2008 05:30 AM

TY attroll! Appreciate you answering me and helping support...and thx for the posts! greatly appreciated ;-) BTW, you are doing a great job here supporting...ive read alot in this thread, id say every page to be honest....and ive seen you supporting...awesome! this is what forum boards/communities are about!...thx again!

attroll 01-28-2008 05:51 AM

Quote:

Originally Posted by p1a6u3 (Post 1430572)
TY attroll! Appreciate you answering me and helping support...and thx for the posts! greatly appreciated ;-) BTW, you are doing a great job here supporting...ive read alot in this thread, id say every page to be honest....and ive seen you supporting...awesome! this is what forum boards/communities are about!...thx again!

Thank you for your complaments. Sometimes I feel like I should take over this hack because the developer never seems to come to this thread anymore. :)

skierjosh 01-29-2008 08:29 PM

I have a quick question if anyone knows how to solve this, we're using a combo box to find out what games people play(5 options total). We have it set to make a thread when the form is filled out, the options people selected from this question are listed right after each other and it's hard to see where one starts and the other left off. Is it possible to insert a comma after each checked item that's displayed to make it easier to read?

RedGTiVR6 01-30-2008 06:40 PM

Quick question regarding the email form functionality.

I'm going to have a field where the user can enter their email address. This form will be sent to our ticket processing que. I'd like to be able to pull the users email addy from this field and have the email be sent to the email I've entered in the code under the email that's in the field.

Hope that makes sense.

Anyone know if that's possible?

CremeEgg 01-31-2008 10:52 AM

Anybody know what I would have to change with this section to get it to post to 2 forums?

Code:

//FORUM TO POST NEW THREAD IN
//You CAN make this number a variable. You can have a drop down menu or in the link like do=form&f=1. Make sure you add it the variables list.
$formforumid = "x";


Deety 02-01-2008 06:44 AM

Quote:

Originally Posted by CremeEgg (Post 1433057)
Anybody know what I would have to change with this section to get it to post to 2 forums?

Code:

//FORUM TO POST NEW THREAD IN
//You CAN make this number a variable. You can have a drop down menu or in the link like do=form&f=1. Make sure you add it the variables list.
$formforumid = "x";


Same question here. I can tell you a bunch of things that don't work. :p

Haven't delved into the email options yet, but I just noticed that the option for multiple email addresses is built in. Code for posting to multiple forums should be similar, right? That's where I'm going to look next; see if the code can be mimicked.

Once this is solved, next step is to figure out how to make the forums selectable via check boxes. I have it working for single-forum selection, but have a feeling it might get complicated figuring out how to add the forumid to some sort of formforumid array if the corresponding box is checked. Whee!


All times are GMT. The time now is 09:15 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.02337 seconds
  • Memory Usage 1,747KB
  • 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_code_printable
  • (3)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