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)

Abe1 04-26-2006 02:11 AM

Yes. You can do it in the template.

steven s 04-26-2006 02:25 AM

I'm not sure if there is a warning when upgrading but. . .
I have a custom additional form that was wiped out when I upgraded.
Fortunately I backed up my database. After restoring the database I saved a local copy. Upgraded and copied my form back. All is good.

rnmcd 04-26-2006 01:12 PM

Quote:

Originally Posted by rnmcd
I apologize for asking this question because I'm sure it's been answered somewhere in the 50+ pages of post but I only read about 13 pages...



Is it possible to add/remove fields?
For example, can I add 3 more form fields?

Does "This is customizable via the hook" mean that I can add/remove fields?

By the way, I am getting this error:
Quote:

Parse error: syntax error, unexpected T_LNUMBER in /home/xxxxxxx/public_html/board/newthread.php(68) : eval()'d code on line 127


Any suggestions?



Thank you.

Crazy Serb 04-26-2006 10:22 PM

is anyone else having a problem with emails being sent/submitted through the form hack (if enabled)?

for me everything works just fine except for the email sending part... and that's the most important feature I need!

COBRAws 04-27-2006 01:38 AM

Abe1, I've been using this hack for quite a long time but never had the time to thank you =)

TomasDR 04-27-2006 01:40 AM

Quote:

Originally Posted by azntfl
Hello

First post btw. This is my first hack and I it is great. I just got one question for now. It is possible to make the text box for the longanswer a little smaller, its quite large.

Thanks in advance.

Modify the number in green:
Code:

<tr>
<td class="alt1" valign="middle">
<b>$normalquestion1</b>:</td>
<td class="alt1" valign="middle" colspan="3">
<input type="text" size="50" value="$normalanswer1" name="normalanswer1" />
</td>
</tr>


Uniphix 04-27-2006 08:07 AM

It took me 2 hours to understand this and finally i got to work :D...

One Suggestion...

under poll

PHP Code:

//ENABLE POLL TO BE CREATED - 1 = yes, 0 = no
$formpoll "1";
$polloption[1] = "Yes";
$polloption[2] = "No";
$polloption[3] = "Maybe";
//Make poll public - 1 = yes, 0 = no
$pollpublic "1"

Where is the Question? Well i found it down towards the bottom $question...

Perhaps you should rename it to $pollquestion to be the question to be somewhat like this...

PHP Code:

//ENABLE POLL TO BE CREATED - 1 = yes, 0 = no
$formpoll "1";
$pollquestion "Do you think Abe is Awesome?";
$polloption[1] = "Yes";
$polloption[2] = "No";
$polloption[3] = "Maybe";
//Make poll public - 1 = yes, 0 = no
$pollpublic "1"

oh yeah... and I LOVE IT thanks!

Uniphix 04-27-2006 07:21 PM

Hello why am I getting this error o0...

PHP Code:

Line835
Char
1
Error
'vB_Editor.vB_Editor_001' is null or not an object
Code
0
URL
http://www.paragonix.org/forums/newthread.php?do=staffapplication 


davew 04-29-2006 01:54 AM

This looks like a fantastic mod with loads of potential uses, thanks for all you work Abe!

I've probably overlooked something stupid here, but should the new form pop up when I hit the "New Thread" button in the appropriate forum?

It works fine from the command line, but the button link is omitting "do=form"..

Is this something I have to hack manually?

almukmin 04-30-2006 02:25 AM

WTF? What kind of moron wrote the installation note?

Where the hell is the "HOOK"? i've been looking in templates and i can't find sh1t.

Where the ++++ is it, I've spent one day looking for it. where the ++++ is it?

WHat the hell is a HOOK? explain man!


All times are GMT. The time now is 02:21 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.01681 seconds
  • Memory Usage 1,750KB
  • 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_code_printable
  • (3)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
  • (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