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)

lokki 07-01-2007 01:22 AM

On the v4 release, under 3.6.7 PL1, I can't get anything but the installed generic form to work properly. The error is "Invalid forum specified". Here's what I've tried so far:

Created a new plugin called "My Form", with $formname = "formtest"
Modified the variables and created two new templates, form_test and form_test_response

During development of my templates on v3.6 of the Form Hack, everything was working just fine, then it suddenly died.

If I have only the Form Hack default enabled, then do=form works as expected. However, if I enable a 2nd form, with a new $formname, the default even fails. Disabling the default does not get the 2nd form to work.

Any thoughts?

Deepdog009 07-01-2007 02:42 PM

Quote:

Originally Posted by lokki (Post 1280273)
On the v4 release, under 3.6.7 PL1, I can't get anything but the installed generic form to work properly. The error is "Invalid forum specified". Here's what I've tried so far:

Created a new plugin called "My Form", with $formname = "formtest"
Modified the variables and created two new templates, form_test and form_test_response

During development of my templates on v3.6 of the Form Hack, everything was working just fine, then it suddenly died.

If I have only the Form Hack default enabled, then do=form works as expected. However, if I enable a 2nd form, with a new $formname, the default even fails. Disabling the default does not get the 2nd form to work.

Any thoughts?

Lokki double check yo new form 4 something added by mistake...

If U get a parse error and page wont show then its usually a typo somewhere in your new form...

Use process of elimination, redo yo form from scratch and take it one step at a time until its ALIVE and kicking...

I suggest delete and start over, look close at templates and plugin and verify that its as ABE1 instructions say do...

If U still have issues upload yo file in txt format and I will take a look C...

Good Luck

criscokid 07-05-2007 06:40 PM

My forum is still at vb3.5.x running version Form Hack v3. I'm looking to upgrade to the latest version of vB and Form Hack v4... will my existsing forms work after the upgrade or will I need to redo them for Form Hack v4?

patrickstar 07-05-2007 08:30 PM

hello its been awhile since ive messed with vb. but i recently purchased 3.6.7

if i install this and use it in a 'classifieds' forum for submitting items, will the member use the 'new thread' button to get this form. or is the form displayed somewhere in my specified forum? can someone show me a working example?

thanks very much.

Deepdog009 07-05-2007 08:57 PM

Quote:

Originally Posted by criscokid (Post 1283729)
My forum is still at vb3.5.x running version Form Hack v3. I'm looking to upgrade to the latest version of vB and Form Hack v4... will my existsing forms work after the upgrade or will I need to redo them for Form Hack v4?

Criscokid, this 3.6 Form Hack by ABE1 has some changes in the PLUGIN code...

So I would have 2 say yes U will have 2 make a few code mods 2 your old 3.5 files...{plugin code} 4 sure...

************************************************** **********************

Patrickstar, U can make a custom button in the forumshome 2 click on. It will then redirect 2 forms or Just make forms and then send guests or member straight there by linking...

ABE1 has it so that U goto this default link... http://vbulletin.org/forums/newthread.php?do=form ...

Read ABE1 install intro and then goto plugin hook area as listed on last 2 pages and go from there...

Good Luck;)

patrickstar 07-05-2007 10:33 PM

Quote:

Originally Posted by Deepdog009 (Post 1283847)

Patrickstar, U can make a custom button in the forumshome 2 click on. It will then redirect 2 forms or Just make forms and then send guests or member straight there by linking...

ABE1 has it so that U goto this default link... http://vbulletin.org/forums/newthread.php?do=form ...

Read ABE1 install intro and then goto plugin hook area as listed on last 2 pages and go from there...

Good Luck;)

thank you. i created a classifieds forum where new threads will not be allowed. so by adding this hack it will be the only way to add a item for sale and i dont feel the need to allow posting. i want the classifieds very simple and straight forward. contact info will be in the form.

one other question.....will the members profile that created the form show up in the thread? something else i dont want.

thanks for the replies.

patrickstar 07-07-2007 06:40 PM

installed and working great. although it does take some time to learn and the instructions in the plugin mentions something about "do not have qoutation marks or else you get error blah blah"

well i kept taking the qoutation marks out, and i kept getting the error. so that was confusing.

i think this will make my classifieds forum just what i need. but i need a few tweaks.

i would like to find a way to have the form posted but NOT show the userinfo in that forum.

can i modify the plugin or will i have to modify a vb template? i was thinking i might have to write some conditional, either to exclude member info for that specific forum, or write it to include member info in all other forums. the latter be a little more harder.

MoJo Smirnoff 07-08-2007 02:05 PM

ok, decided to make another form...and eventually want to make more. But...i want to make these forms with a lot fewer questions than the default form.

I edit the form in the PHP, but the buttons and such sill show up in the form. Have read and read on here about how to fix this, but still dont get it. If I have 2 forms, how do i edit the 2nd one to have fewer questions/answers than my main form. I don't want to remove stuff from other forms!

Any help would be appreciated.....thanks!

MoJo Smirnoff 07-08-2007 03:42 PM

ok, common sense kicked in and I got it set. create new templates and then change template info in the code....works like a charm! :rolleyes:



how do i get the output info to have the questions in bold font. tried in answers template, but gave me error

thanks

Deepdog009 07-09-2007 03:17 AM

Quote:

Originally Posted by MoJo Smirnoff (Post 1285898)
ok, common sense kicked in and I got it set. create new templates and then change template info in the code....works like a charm! :rolleyes:



how do i get the output info to have the questions in bold font. tried in answers template, but gave me error

thanks

MoJo Smirnoff...
Use html editor and edit text in master template or U may have 2 use bbcodes in answer template...

************************************************
patrickstar Im not sure about yo question, ABE1 can help U better...

I hope all goes well ;)


All times are GMT. The time now is 08:57 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.01624 seconds
  • Memory Usage 1,752KB
  • 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_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