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)

davida500 07-13-2008 03:33 PM

Its ok, i fexed my problem, it was something very simple lol.

Thanks,

- David

Stryker412 07-14-2008 07:14 PM

If anyone has some time, I could use some help over IM in getting this set up for the first time.

sparkster666 07-14-2008 07:35 PM

Is there anyway you could make it so when a form is filled out the person who filled out the application is added to a group??:D

Deepdog009 07-15-2008 04:42 AM

Quote:

Originally Posted by Stryker412 (Post 1575284)
If anyone has some time, I could use some help over IM in getting this set up for the first time.

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

Stryker412,,,
What exactly do ye need help with???

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

sparkster666,,,
YES,,, but it requires some modifications to enchance this mod...
Sorry but I only do simple add-ons to this mod...

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

davida500,,,
I stop by vbulletin.org every three days... Great job finding your issue and fixing...

Stryker412 07-15-2008 12:22 PM

I want to edit the forum for a standard application to a clan/guild. I don't understand how to edit the questions and/or delete some of them already there.

eternal_ 07-15-2008 07:25 PM

I downloaded, and uploaded in my plugins, when I go to the url, it gives me this

Invalid Forum specified. If you followed a valid link, please notify the administrator.

Why is it not showing up, I did everything correctly, I didn't change the name from form, so I'm going to http://example.com/newthread.php?do=form

I'm using vb 3.7.0

eternal_ 07-15-2008 08:17 PM

Essentially my question is the same as questions 22-27 in this thread, but I haven't seen an answer although Dirtycrow figured it out, there is no explanation as to how.

is there something here

// Name of the main template
$maintemplate = "form";
// Name of the answer template
$answertemplate = "formanswers";

that causes the radio buttons to stay even though I deleted them in Part 1 and Part 2 and the Questions section?

I find it strange that even though I delete all references to those radio buttons they still stay in the form, and the "If yes, Please explain here" box stays there too.

ccplim 07-15-2008 11:58 PM

Quote:

Originally Posted by eternal_ (Post 1576265)
Essentially my question is the same as questions 22-27 in this thread, but I haven't seen an answer although Dirtycrow figured it out, there is no explanation as to how.

is there something here

// Name of the main template
$maintemplate = "form";
// Name of the answer template
$answertemplate = "formanswers";

that causes the radio buttons to stay even though I deleted them in Part 1 and Part 2 and the Questions section?

I find it strange that even though I delete all references to those radio buttons they still stay in the form, and the "If yes, Please explain here" box stays there too.

Did you delete the radio buttons entries in the formanswers template too?

RedGTiVR6 07-16-2008 01:56 AM

Quote:

Originally Posted by Antivirus (Post 1573648)
Big fan of this mod for a while now Abe1, thanks.

One thing I recently noticed however is that the form template isn't cached when viewing newthread.php?do=form. As we all know, this causes an unnecessary query on the server.

This can be fixed by adding the following plugin to the product at hook location: cache_templates

PHP Code:

if (THIS_SCRIPT == 'newthread' AND $_REQUEST['do'] == 'form')
{
    
// Cache template for Abe1 Form Hack
    
$globaltemplates[] = 'form';
    
$globaltemplates[] = 'formanswers';


:)

thanks!

RedGTiVR6 07-16-2008 02:20 AM

Quote:

Originally Posted by eternal_ (Post 1576265)
Essentially my question is the same as questions 22-27 in this thread, but I haven't seen an answer although Dirtycrow figured it out, there is no explanation as to how.

is there something here

// Name of the main template
$maintemplate = "form";
// Name of the answer template
$answertemplate = "formanswers";

that causes the radio buttons to stay even though I deleted them in Part 1 and Part 2 and the Questions section?

I find it strange that even though I delete all references to those radio buttons they still stay in the form, and the "If yes, Please explain here" box stays there too.


You cannot just delete the radio buttons from Part1 and Part2 of the plug-in, you also have to comment them out in the rest of that code. For instance, where it says $radioquestion1, just add a // before that entire part and it will comment it out.

You also need to remove them from the form and formanswers templates by removing the code that references it, and not JUST the $radioquestion1 part, everything that relates to it, starting with the <tr> and ending with the last </tr> that wraps that section of the code...including the radioanswer and $radiochoice code as well.


All times are GMT. The time now is 12:45 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.02490 seconds
  • Memory Usage 1,747KB
  • 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_php_printable
  • (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