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)

attroll 03-05-2008 05:28 AM

Quote:

Originally Posted by Deep-X (Post 1457123)
No Divine is right since version 3.6.8 patch 2 this now creates a new error in newthread.php on line 654 and such. I had to disable the hack to get it from displaying the error code on all new posts.

Please advise

I have this working with version 3.6.8 patch 2 with no problem.

DivineMessenger 03-05-2008 08:31 AM

I know it WILL work I just don't know why mine wont... I have had like 6 people check it over and no one can figure it out.

Kwikms 03-05-2008 09:16 AM

Quote:

Originally Posted by DivineMessenger (Post 1457368)
I know it WILL work I just don't know why mine wont... I have had like 6 people check it over and no one can figure it out.

I'll take the challenge. Send me a PM with the form and the two templates and I take a look at it.

nothing4me 03-05-2008 09:38 AM

How do I require attachments or it can't be posted/sent?
How do I require attachments or it can't be posted/sent?
How do I require attachments or it can't be posted/sent?
How do I require attachments or it can't be posted/sent?
How do I require attachments or it can't be posted/sent?
How do I require attachments or it can't be posted/sent?
How do I require attachments or it can't be posted/sent?
How do I require attachments or it can't be posted/sent?


Sorry for the copy + paste, but I had to.... I was being ignored. :(

attroll 03-05-2008 04:16 PM

Quote:

Originally Posted by DivineMessenger (Post 1457368)
I know it WILL work I just don't know why mine wont... I have had like 6 people check it over and no one can figure it out.

Have you tried disabling all your other plugins and then trying it to see if it will work? That would isolate it being one of your other plugins. If it works after you disable all your other plugins then I would enable one at a time and see which one it is interfearing with.

If that is not the casue I would say I will look into it but it looks like Kwikms is going to look into it for you already. If they can not figure it oout let me know. I can not promise anything.

illithid 03-05-2008 05:09 PM

Quote:

Originally Posted by Deep-X (Post 1457123)
No Divine is right since version 3.6.8 patch 2 this now creates a new error in newthread.php on line 654 and such. I had to disable the hack to get it from displaying the error code on all new posts.

Please advise

I am using version 3.6.8pl2 and have 2 forms working just fine on my board. One of my forms, I have hacked to bits and rebuilt as an entire stand-alone product instead of being a plugin for the original product. They work great with no errors.

Quote:

Originally Posted by Kwikms (Post 1456585)
@Divine - Could be everyting, like a forgotten ; or one " to much where it shouldnt be.

Kwikms, is correct in this statement. Alot of problems can occur from adding in or forgetting to add a ';' or ' " '.

Quote:

Originally Posted by DivineMessenger (Post 1457147)
I'll pay someone $10 to get mine working! lol

If you still need help, pm me. I can try to assist you. Money is not needed.

snunhuck 03-05-2008 10:36 PM

How do I remove the dropdown meny and some radio button questions?

illithid 03-06-2008 02:57 AM

You need to edit the following templates :
  • form
  • formanswers

To do this open the product-form.xml in a text editor. Find
Code:

<template name="form" templatetype="template"
Look through the code that follows, it is the actual template that sets up the structure of the form. This is the area in which the html code will be for the drop down menu and the radio buttons.

Once you have edited that, find
Code:

<template name="formanswers" templatetype="template"
This template returns the questions and answers from the form. You will need to remove the variables in this template that correspond to the drop down menu and the radio buttons.

Now find
Code:

// Part 1
Remove the lines that correspond to the drop down menu and the radio button that you have removed from the templates. Proceed down the page a bit to
Code:

// Part 2
Again, remove the lines that correspond to the drop down menu and radio buttons.

The next part is optional, but I recommend that you do this -> continue down the page until you find where the radio button variables and drop down menu are set with values. Remove these from the file. No sense in code existing in the file if it is not being used.

zmmmzz 03-06-2008 05:42 PM

is there a way I can add tags through this mod?

illithid 03-06-2008 06:28 PM

Quote:

Originally Posted by zmmmzz (Post 1458647)
is there a way I can add tags through this mod?

Not sure I understand what you mean by "tags". If you are talking about html tags, then yes. You will have to do that via the template "form". Also, some of the variables in the php code section of the xml document can hold html tags as part of the variable definition.

If this doesn't help, then please be more specific with the meaning of "tags".


All times are GMT. The time now is 05:06 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.02363 seconds
  • Memory Usage 1,746KB
  • 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_code_printable
  • (7)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