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)

MoB Zigmister 05-02-2007 03:30 PM

Quote:

Originally Posted by Deepdog009 (Post 1239657)
MoB Zigmister zip all three files ( both templates and plugin) in txt format and upload, I shall check it out 4 ya.???

Sincerely, thanks. Please see attachment.

samual 05-02-2007 05:43 PM

Quote:

Originally Posted by ComputerVitals (Post 1239760)
Now you have to look in your templates
"form" template.

Is that admincp>styles&templates?

ComputerVitals 05-02-2007 08:18 PM

yes

By default install you will have 2 new templates
form
formanswers

The form template is the "design" of the form you would type in and submit.
The formanswers template is the email you would get if you added an email address.

XxBuLLeTz 05-02-2007 11:21 PM

Is there anyway I can set it so when they fill out the form and submit it, it counts towards the users post. I have it set to reply to the post, but I just want it to count as an actually post.

Thanks.

Deepdog009 05-03-2007 01:53 AM

Quote:

Originally Posted by MoB Zigmister (Post 1239817)
Sincerely, thanks. Please see attachment.

Just gotts back, checking on it and will post info by morrow evening.

L8ter...;)

Deepdog009 05-03-2007 02:39 AM

Quote:

Originally Posted by MoB Zigmister (Post 1239817)
Sincerely, thanks. Please see attachment.

Error message... Parse error: syntax error, unexpected T_VARIABLE

I found yo problem MoB...

It was here in the PLUGIN...

HTML Code:

if ($answerall == "1")
    {
        if ($answer1 == '' OR $answer2 == '' OR $answer3 == '' OR $answer4 == '' OR $answer5 == '' OR $answer6 == '' OR $answer7 == '' OR $answer8 == '' OR $longanswer1 == '' OR $longanswer2 == '' OR $longanswer3 == '' OR $longanswer4 == '' OR $longanswer5 == '' OR $longanswer6 == '' OR $longanswer7 == '' OR $longanswer8 == '' OR $longanswer9 == '')

One of yo {{{ OR }}} was missing... I added it on $answer5 or 6...

Take a look at the code there and add the missing {{{ OR }}}...

Kooooooool form U have there...

Good Luck;)

MoB Zigmister 05-03-2007 03:36 AM

Quote:

Originally Posted by Deepdog009 (Post 1240303)
One of yo {{{ OR }}} was missing... I added it on $answer5 or 6...

Take a look at the code there and add the missing {{{ OR }}}...

Kooooooool form U have there...

Good Luck;)

Thanks a lot. Ahhhh.... It Works!

I took a little time adjusting the template to make it roughly fit more with the "vb" style of forms, throwing in some Legends and threads and such inside some <td>'s. But then again, sometimes you need a fair of fresh eyes to catch errors.

Thanks again.

ZomgStuff 05-04-2007 03:55 AM

Arg, I deleted some stuff off the code but it still shows up!

XxBuLLeTz 05-04-2007 09:46 AM

Quote:

Originally Posted by XxBuLLeTz (Post 1240182)
Is there anyway I can set it so when they fill out the form and submit it, it counts towards the users post. I have it set to reply to the post, but I just want it to count as an actually post.

Thanks.

Can anyone help me?

Snipa 05-04-2007 09:10 PM

i have just installed this hack, and i was going about editing it, i have been editing all 3 files to what i want them to be but my form does not show up, it just says invalid fourm specified. i am posting my codes maybe someone can give me a hand, my php skills are very rusty heh. link to form is as follows:

http://www.endeavour-guild.com/forum...d.php?do=eqapp


All times are GMT. The time now is 09:31 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.02048 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
  • (1)bbcode_html_printable
  • (6)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