vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   FORM to THREAD/ FORUM/ POLL/ PM/ EMAIL - CUSTOMIZABLE FORMS - Mod Apps, Orders, News. (https://vborg.vbsupport.ru/showthread.php?t=66082)

PKRWUD 08-13-2005 12:17 AM

Quote:

Originally Posted by kvnband
I can try.

Please note that I haven't tested it and honestly have no idea if it works :-)
Kevin

Kevin, You ROCK!!!

I'm still working out some other bugs, but your suggestion worked perfectly! Thank you very much!!!

Take care,
~Chris

PKRWUD 08-13-2005 02:30 AM

Okay, odd problem. I have had this installed for close to a year with no problems, but now I'm trying it a little differently, and I've come across a problem. I am using the form to reply to a thread.

In form.php:
PHP Code:

//ENABLE FORM TO BE POSTED - 1 = yes, 0 = no
$formforum "1";

//FORUM TO POST NEW THREAD IN
$formforumid "";

//ENABLE POLL TO BE CREATED - 1 = yes, 0 = no
$formpoll "0";
$formoption1 "Yes";
$formoption2 "No"

If I leave $formforumid the way it is above, I get a syntax error. If I enter a 0 there, the error goes away, but the post won't redirect to the thread, it redirects to the last post, all by itself. If I enter in the forum ID #, it starts a new thread in that forum.

My question is; what should I enter there?

michaelsilvia 09-10-2005 02:16 AM

Anyway to get this to work on 3.0.8? I tried it, but it is not working.

Mike

mod2000 09-10-2005 08:19 AM

i hope ... damn .. ive done this hack the last 3 days by myself :( didnt see the hack in here.

CnB 09-19-2005 01:23 PM

i dont get the installation !!
add the templates to what ?
i assume form.txt and formanswer.txt are the templates
but where do i add them ?

and does it work on 3.0.9 ?

bendigo-tech 09-22-2005 11:49 PM

Quote:

Originally Posted by CnB
i dont get the installation !!
add the templates to what ?
i assume form.txt and formanswer.txt are the templates
but where do i add them ?

and does it work on 3.0.9 ?

Yes, form and formanswers are the templates. Use the Style Manager in admincp to add them.

I have it working on 3.0.9 with no problems. didn't have to make any modifcations either.

bendigo-tech 09-23-2005 12:43 AM

I have this setup and running nice. However, when filling out the form, I want the option of being able to choose between 3 forums to post the information too. I don't mind if it uses a drop-down menu or even radio buttons. I just need to know how I can set this up.

Any help would be great! Thanks!

hbalagh1 09-28-2005 08:37 PM

great little mod, using it to sign up for a gift exchange we have started :)

hbalagh1 09-28-2005 08:58 PM

Thank you for this :)

Quote:

Originally Posted by KTBleeding
I got unlazy and attempted the conditionals myself and got it working. If anyone else wants to make it so users have to have a certain post count to be able to fill out the form, do this.

In the "form" template..

Find:
HTML Code:

                <tr>
                  <td> $formpurpose </td>
                </tr>
              </table>
              </fieldset></td>
          </tr>
        </table></td>
    </tr>

Add After:
HTML Code:

<if condition="$bbuserinfo[posts] >= 10">
(change 10 to whatever post count you want required)

Now find:
HTML Code:

</form>
Add After:
HTML Code:

<else />
    <tr>
      <td class="alt2" valign="middle">TEXT YOU WANT UNQUALIFIED USERS TO SEE.</td>
    </tr>
  </table>
</td>
</tr>
</table>
</if>


Works great!
[high]* KTBleeding clicks install[/high]


hbalagh1 09-30-2005 08:31 PM

I have a request... I would like to have this pm'd to a user and posted as a reply in a thread....my request is though (if possible) I would like one of the answers not to show up in the tread only the pm...since we are dealing w/ members postal addreses... is this possible???

Thanks
Heather


All times are GMT. The time now is 12:46 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.01572 seconds
  • Memory Usage 1,754KB
  • 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
  • (4)bbcode_html_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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