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)

lazytown 07-09-2008 09:26 PM

For some reason this will not work for GUESTS in 3.7.2 pl1. It submits the form fine, but the thread doesn't appear in the mod section. It works fine for all other members.

Update:
I had to turn off guest image verification in order for this to work for guests...

-vissa

lazytown 07-09-2008 09:59 PM

Unfortunately all of the spam prevention options/plug-ins for this are gone. If you click the links within the first thread that point to the anti-spam plugins, they have been removed/disabled by the author.

So what are people using for spam protection / image verification / etc for this with 3.7?

-vissa

Deepdog009 07-10-2008 01:00 AM

Quote:

Originally Posted by Stryker412 (Post 1571231)
Is there anyway to have certain fields auto filled? I have restricted the application to registered forum users only. I'd like their e-mail, birthday, and xfire info to auto fill before they start. Is this possible?

I've created a forum for just the applications to go after being completed. I want the title of the thread to be their usernames.

Also, how do I get rid of questions and/or change their formats?

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

Yes Stryker412,,,
But it will require pulling info from your forum database...

I only do simple add-ons with this mod,,, ABE1 can help you better...

I been working on some options with this mod that work,,, but Im still not quite there...
This mod has deleted many brain cells and so I break away and come back when replenished...

Working several jobs,,, two wifes {computer and wife};) and two kids {dog and kid}:eek:
I need a VACATION...

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

vissa,,,
I was working on another image verification,,, but very little support using them so I put it on hold...

Stryker412 07-10-2008 03:58 PM

I can worry about the auto filling fields later, but what's the best way to delete some of the existing questions?

Shazz 07-10-2008 04:06 PM

Quote:

Originally Posted by Stryker412 (Post 1572023)
I can worry about the auto filling fields later, but what's the best way to delete some of the existing questions?

You have to open the XML file do some dirty work :o

davida500 07-11-2008 09:18 PM

I have an issue, its probably something stupif, or im probably forgetting something, so i hope you can help, it is a very small problem but if i need to do something more important in the future then it will mess everything up.

I have made a Form for reporting issues with the wesbite, this is what the code says FOR THIS SPACIFIC PART when you click Plugins and Products --> Plugin Manager --> Site Issues Form Hack

Code:

$dropdownquestion2 = "Importance:";


$dropdownchoice2a = " ";
$dropdownchoice2b = "Low";
$dropdownchoice2c = "Medium";
$dropdownchoice2d = "High";
$dropdownchoice2e = "Urgent";
$dropdownchoice2f = "Critical";

If you then go to Styles and Templates --> Current Theme --> Edit Template --> SiteForm...
You get this:

Code:


<tr>
<td class="alt2" valign="middle">
<b>$dropdownquestion2</b>
</td>
<td class="alt2" valign="middle" colspan="2">
<select name="dropdownanswer2">
<option value="$dropdownchoice2a" <if condition="$dropdownchoice2a == $dropdownanswer2">selected="selected"</if>>$dropdownchoice2a</option>
<option value="$dropdownchoice2b" <if condition="$dropdownchoice2b == $dropdownanswer2">selected="selected"</if>>$dropdownchoice2b</option>
<option value="$dropdownchoice2c" <if condition="$dropdownchoice2c == $dropdownanswer2">selected="selected"</if>>$dropdownchoice2c</option>
<option value="$dropdownchoice2d" <if condition="$dropdownchoice2d == $dropdownanswer2">selected="selected"</if>>$dropdownchoice2d</option>
<option value="$dropdownchoice2e" <if condition="$dropdownchoice2e == $dropdownanswer2">selected="selected"</if>>$dropdownchoice2e</option>
</select></td>
</tr>

Then if you do the same thing but not go to SiteFormAnswers instead of Site Form... You get this:

Code:

<font color="white"><strong>$dropdownquestion2</font></strong>
$dropdownanswer2


When you go onto the form, it shows up fine and everything works, when it is submited it goes into the correct Forum Area, below is a picture showing the form before being submited:

http://img384.imageshack.us/img384/46/beforebp5.jpg
http://img384.imageshack.us/img384/4...53e4ea0cfe.jpg

Below is a picture showing the form after it has been submited:

http://img521.imageshack.us/img521/9744/afterlm1.jpg
http://img521.imageshack.us/img521/9...48085affa7.jpg

As you can see there is a problem were it shows the "Importance" which i think i have spelt wrong lol, but as you can see nothing is written next to it, even though i do go into the frop down menu and select an option.

Please be aware that i was not the one that set up the hack or created the forms, i just added the "Importance" drop down menu, but as you can see, my noobness makes me fail.

I think i found everything that would need editing so if someone could please point me in the right direction as to were i am going wrong and how to resolve it, i would be so greatful.

Thanks in advance,

- David

R1lover 07-11-2008 09:32 PM

is there one for 3.7.2? or will this one work?

davida500 07-11-2008 09:47 PM

Im running 3.7 and it works :)

davida500 07-12-2008 01:48 PM

Can someone help me PLEASE!!

Antivirus 07-12-2008 04:20 PM

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';


:)


All times are GMT. The time now is 03:34 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.02297 seconds
  • Memory Usage 1,757KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)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