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)

Deepdog009 06-01-2007 10:15 PM

Quote:

Originally Posted by RedGTiVR6 (Post 1258079)
EDIT: Ok - I think I might have found the issue.

I'm trying to allow a secondary user group access to this form.

Basically, I have the user group set-up as such:

Primary User Group: Active Users
Secondary User Group: Private Testers

I have set this specific form to be accessable by Admins, Staff members, and Private Testers.

private testers are the only ones of those 3 groups to access the form as a secondary user group...

I hope what i typed just made sense.

Does this make sense to anyone as being the issue?

I did test this with a test account by changing the user group that I'm trying to test to be primary instead of secondary so I'm able to confirm that this is the issue (bug?)

RedGTiVR6 Im not sure if this Mod is causing yo issue or if its a vBull issue concerning the usergroup mgr...

Double check yo usergroup ids and verify in forms that everything is matching up, otherwise setup a TEST BOARD and try it over there and C what's up...

Without files to use in testing, I cant really tell U, what it B or where B yo issue...


Good Luck ;)

RedGTiVR6 06-01-2007 10:46 PM

I've double checked the user groups....heck, I've sextuple checked them...lol

I'll see about setting up a dummy board. It's something that needs to be done anyways. Unfortunately I don't have control over it, I just handle the admin side of the forum...:(

RedGTiVR6 06-05-2007 09:15 PM

Quote:

Originally Posted by Deepdog009 (Post 1258614)
RedGTiVR6 what seems 2 B yo problem?

Zip up all yo files in text format and upload, I will take a look C...

Its probably something that you missed in plugin code...

I've attached the two templates (questions and answers) and the plug-in code.

The user group that needs to be able to access the form is group #29.

For many of them I've set them as having Group #29 as a primary user group for now to be able to access the form.

This is causing a problem for a user that's also a moderator. They either cannot see the form to fill it out or they can see it and they cannot see the moderation pannel.

Let me know if I'm missing something that you might need to help trouble shoot.

Thanks for the help!

Deepdog009 06-08-2007 10:55 PM

Quote:

Originally Posted by RedGTiVR6 (Post 1262036)
I've attached the two templates (questions and answers) and the plug-in code.

The user group that needs to be able to access the form is group #29.

For many of them I've set them as having Group #29 as a primary user group for now to be able to access the form.

This is causing a problem for a user that's also a moderator. They either cannot see the form to fill it out or they can see it and they cannot see the moderation pannel.

Let me know if I'm missing something that you might need to help trouble shoot.

Thanks for the help!

Ok RedGTiVR6, I've been busy and forgot about coming back...

O-Taa I will check yo files and hopefully find the issue...:eek:

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

RedGTiVR6 I checked all files and everything seems OK...

************************************************** **
Yes your right, its not working 4 the other usergroup...

you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.


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

I believe U will possibly require a code change 2 correct your issue...

Final conclusion is that U will need 2 ask the Author of this hack 4 help on this one...

I hope U get it resolved

inteller2k7 06-11-2007 08:29 PM

idn why but mine did not come with the instruction any help

RedGTiVR6 06-11-2007 08:33 PM

I attached the version that I have. The instructions should be in there.

Deepdog009 - thanks for looking at the files. I've got a work around and I've reported it as a bug to the vBulletin team...which I think it is.

The reason I say that:

if I put a user as a super mod as a secondary user group, they do not have moderator privelages.

so this isn't just an issue with this mod, it's a vbulletin issue.

inteller2k7 06-12-2007 12:29 AM

that is the same 1 i got but it dont tell me what files to edit

John Diver 06-12-2007 10:46 AM

Is there anything to stop spam on this?

I am using it for email and now Im getting hundreds of emails every few days.

Thanks

alessai 06-12-2007 08:51 PM

hello very nice hack i even transleted it in arabic but i had one problem with one of my friends website the tables are screwed and i dont know from where i can edit the template of the page.... can u help me please?

dsotmoon 06-14-2007 01:24 AM

Quote:

Originally Posted by John Diver (Post 1266863)
Is there anything to stop spam on this?

I am using it for email and now Im getting hundreds of emails every few days.

Thanks


i came looking for the same answer, anyone successfully added image confirmation or something to cut down on SPAM, I use a form set up as a "contact us" page that goes to my email

Deepdog009 06-14-2007 09:24 PM

Quote:

Originally Posted by dsotmoon (Post 1268109)
i came looking for the same answer, anyone successfully added image confirmation or something to cut down on SPAM, I use a form set up as a "contact us" page that goes to my email

ABE1 has this at the top of the page... https://vborg.vbsupport.ru/showthread.php?t=144880

Good luck:)

Deepdog009 06-14-2007 09:28 PM

Quote:

Originally Posted by alessai (Post 1267166)
hello very nice hack i even transleted it in arabic but i had one problem with one of my friends website the tables are screwed and i dont know from where i can edit the template of the page.... can u help me please?

Alessai convert yo files 2 txt format and upload...

I will take a look C and assist U if I have time...

Attach a pic showing where the issue is at...

bahattab 06-15-2007 03:42 PM

hi

I had taken 6 hours to finger out who to use the Form Hake but I failed to understand how it works .

All what I need is to make a simple registration form.

If any one pleas can help me, i attached the form that i want , if any one can convert it to the form hack and send the to me .



HTML Code:



<table width="456" border="0" cellpadding="10">
<form name="form1" method="post" action="http://www.atyafonline.com/mailform/formmail.php">
<!-- CHANGE THE FOLLOWING LINE TO USE YOUR TARGET EMAIL ADDRESS -->
<input type=hidden name="recipient" value="bahattab@yahoo.com">
<INPUT type="hidden" value="http://www.ctld.net" name="redirect"> 
<INPUT type="hidden" value="SubjectTitil,FirstName,MName,LastName,Mobile,OfficePhone,AlternatePhone,EmaiAddress" name="required">
<INPUT type="hidden" value="email=E-mail Address,firstname=First Name,SubjectTitil=Subject" name="alias">

  <tr>
    <td valign="top" align="center">Training Registration Form </td>
  </tr>
  <tr>
    <td width="33%" valign="top" bgcolor="#F0F0F0" align="center">
        <table border="0" width="100%" id="table22">
                <tr>
                        <td width="20"> </td>
                        <td> </td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="20"> </td>
                        <td>
        <table border="0" width="100%" id="table23">
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Subject </font>
                        <font size="2" color="#FF0000">*</font></td>
                        <td width="4">:</td>
                        <td width="241">
                        <INPUT type="hidden" value="Subject" name="subject">
                        <select style="FONT-SIZE: 10pt; COLOR: blue" class="bginput" id="sel_user[languageid]_4" name="SubjectTitil" size="2">
                                                                        <option value="Training Registration" selected>Training Registration</option>
                                                                        <option value="Training Complaints">Training Complaints</option>
                                                                        </select></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"> </td>
                        <td width="4"> </td>
                        <td width="241"> </td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">First Name </font>
                        <font size="2" color="#FF0000">*</font></td>
                        <td width="4">:</td>
                        <td width="241">
      &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input name="FirstName" type="text" size="30" style="FONT-SIZE: 10pt; COLOR: blue"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><span lang="en-us"><font size="2">M. Name</font></span><font size="2">
                        </font><font size="2" color="#FF0000">*</font></td>
                        <td width="4"><span lang="en-us">:</span></td>
                        <td width="241">
      &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input name="MName" type="text" size="30" style="FONT-SIZE: 10pt; COLOR: blue"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Last Name </font>
                        <font size="2" color="#FF0000">*</font></td>
                        <td width="4">:</td>
                        <td width="241">
      &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input name="LastName" type="text" size="30" style="FONT-SIZE: 10pt; COLOR: blue"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"> </td>
                        <td width="4"> </td>
                        <td width="241">
                                                                        </td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Mobile </font>
                        <font size="2" color="#FF0000">*</font></td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="Integer" s-number-separators="x" b-value-required="TRUE" i-minimum-length="7" i-maximum-length="25" --><input class="bginput" size="30" name="Mobile" style="FONT-SIZE: 10pt; COLOR: blue" maxlength="25"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Office Phone  </font>
                        <font size="2" color="#FF0000">*</font></td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="Integer" s-number-separators="x" b-value-required="TRUE" i-minimum-length="4" i-maximum-length="25" --><input class="bginput" size="30" name="OfficePhone" style="FONT-SIZE: 10pt; COLOR: blue" maxlength="25"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113">Exte.</td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="Integer" s-number-separators="x" --><input class="bginput" size="13" name="OfficePhoneExte" style="FONT-SIZE: 10pt; COLOR: blue"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Your Email </font>
                        <font size="2" color="#FF0000">*</font></td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="String" s-allow-other-chars="@" --><input class="bginput" style="FONT-SIZE: 10pt; COLOR: blue" size="30" name="EmaiAddress"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Alternate Phone </font>
                        <font size="2" color="#FF0000">*</font></td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="Integer" s-number-separators="x" i-maximum-length="25" --><input style="FONT-SIZE: 10pt; COLOR: blue" name="AlternatePhone" size="30" maxlength="25"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"> </td>
                        <td width="4"> </td>
                        <td width="241">
                                                                        </td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Employer</font></td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input size="30" name="Employer"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Division/Section</font></td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input size="30" name="DivisionOrSection"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Job Title</font></td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input class="bginput" size="30" name="JobTitle"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Custom Title</font></td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input class="bginput" size="30" name="CustomTitle"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"> </td>
                        <td width="4"> </td>
                        <td width="241"> </td>
                        <td width="4"> </td>
                </tr>
                </table>
                        </td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="20"> </td>
                        <td> </td>
                        <td width="10"> </td>
                </tr>
        </table>
        </td>
  </tr>
  <tr>
    <td valign="top">
        <p align="center"> </td>
  </tr>
  <tr>
    <td valign="top" bgcolor="#F0F0F0">
                                                <table border="0" width="100%" id="table27">
                                                        <tr>
                                                                <td width="20"> </td>
                                                                <td align=center>
                                                                        </td>
                                                                <td width="20"> </td>
                                                        </tr>
                                                        <tr>
                                                                <td width="20"> </td>
                                                                <td>
        <table border="0" width="100%" id="table33">
                <tr>
                        <td width="10"> </td>
                        <td width="186"><font size="2">Home Page</font></td>
                        <td width="6">:</td>
                        <td>
                                                                        <input class="bginput" size="30" name="HomePage"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="186"><font size="2">Country </font> </td>
                        <td width="6">:</td>
                        <td>
      &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input name="Country" type="text" size="30"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="186"><font size="2">City </font> </td>
                        <td width="6">:</td>
                        <td>
      &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input name="City" type="text" size="30"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="186"><font size="2">Address</font></td>
                        <td width="6">:</td>
                        <td>
      <input name="Address" type="text" size="30"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="186"><font size="2">Postal
                        Code</font></td>
                        <td width="6">:</td>
                        <td>
      &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" b-allow-digits="TRUE" --><input name="PostalCode" type="text" size="30"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="186"><font size="2">Referrer</font></td>
                        <td width="6">:</td>
                        <td>
                                                                        <input class="bginput" size="30" name="Referrer"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="186"><font size="2">Another Email Address</font></td>
                        <td width="6">:</td>
                        <td>
                                                                        <input class="bginput" size="30" name="AnotherEmailAddress"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="186"><b><font size="2"> </font></b></td>
                        <td width="6"> </td>
                        <td>
                                                                        </td>
                        <td width="10"> </td>
                </tr>
        </table>
                                                                </td>
                                                                <td width="20"> </td>
                                                        </tr>
                                                        <tr>
                                                                <td width="20"> </td>
                                                                <td> </td>
                                                                <td width="20"> </td>
                                                        </tr>
                                                </table>
        </td>
  </tr>
  <tr>
    <td valign="top" align="center">
        </td>
  </tr>
<tr>
    <td valign="middle" bgcolor="#F0F0F0">
        <table border="0" width="100%" id="table37">
                <tr>
                        <td width="20"> </td>
                        <td>
        </td>
                        <td width="20"> </td>
                </tr>
                <tr>
                        <td width="20"> </td>
                        <td>
        <table border="0" width="100%" id="table38">
                <tr>
                        <td width="10"> </td>
                        <td width="147"><font size="2">Yahoo! ID</font></td>
                        <td width="6">:</td>
                        <td>
                        <input class="bginput" size="30" name="YahooID"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="147"><font size="2">MSN ID</font></td>
                        <td width="6">:</td>
                        <td>
                        <input class="bginput" size="30" name="MSNID"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="147"><font size="2">Skype</font></td>
                        <td width="6">:</td>
                        <td>
                        <input class="bginput" size="30" name="SkypeName"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="147"><font size="2">ICQ</font></td>
                        <td width="6">:</td>
                        <td>
                        <input class="bginput" size="30" name="ICQ"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="147"><font size="2">AIM</font></td>
                        <td width="6">:</td>
                        <td>
                        <input class="bginput" size="30" name="AIM"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="147"> </td>
                        <td width="6">:</td>
                        <td>
                        </td>
                        <td width="10"> </td>
                </tr>
        </table>
                        </td>
                        <td width="20"> </td>
                </tr>
                <tr>
                        <td width="20"> </td>
                        <td>
        </td>
                        <td width="20"> </td>
                </tr>
        </table>
        </td>
  </tr>
  <tr>
    <td valign="top" align="center">
        </td>
  </tr>
  <tr>
    <td valign="middle" bgcolor="#F0F0F0">
        <table border="0" width="100%" id="table30">
                <tr>
                        <td width="20"> </td>
                        <td>
        </td>
                        <td width="20"> </td>
                </tr>
                <tr>
                        <td width="20"> </td>
                        <td>
        <table border="0" width="100%" id="table39">
                <tr>
                        <td width="10"> </td>
                        <td width="124"> </td>
                        <td width="6"> </td>
                        <td> </td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="124">
                        <p align="center"><font size="2">Course Title</font></td>
                        <td width="6">:</td>
                        <td><font color="blue" size="2">
                        <!--webbot bot="Validation" s-display-name="Course number and title" b-value-required="TRUE" b-disallow-first-item="TRUE" --><select style="FONT-SIZE: 10pt; COLOR: blue" name="CourseTitle" size="5">
                        <option selected>---------</option>
                        <option value="100 Fundamentals ">100 Fundamentals</option>
                        <option value="450 Chemical ">450 Chemical</option>
                        </select></font></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="124">
                        <p align="center"><font size="2">Course Number</font></td>
                        <td width="6">:</td>
                        <td><font face="Arial">
                        </font><!--webbot bot="Validation" b-value-required="TRUE" --><input size="30" name="CourseNumber"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="124"> </td>
                        <td width="6"> </td>
                        <td> </td>
                        <td width="10"> </td>
                </tr>
        </table>
                        </td>
                        <td width="20"> </td>
                </tr>
                <tr>
                        <td width="20"> </td>
                        <td>
        </td>
                        <td width="20"> </td>
                </tr>
        </table>
        </td>
  </tr>
  <tr>
                                                <td class="alt1" valign="middle">
                                                <p align="center"> </td>
                                        </tr>
<tr>
    <td valign="middle" bgcolor="#F0F0F0">
        <table border="0" width="100%" id="table29">
                <tr>
                        <td width="20"> </td>
                        <td>
                        <p align="center"><b><font face="Arial, Helvetica, sans-serif">
        Comments</font></b></td>
                        <td width="20"> </td>
                </tr>
                <tr>
                        <td width="20"> </td>
                        <td>
                        <p align="center">
                        <textarea name="Comments" cols="40" rows="8">
                        </textarea>
       
        </td>
                        <td width="20"> </td>
                </tr>
                <tr>
                        <td width="20"> </td>
                        <td> </td>
                        <td width="20"> </td>
                </tr>
        </table>
        </td>
    </tr>
<tr>
                                                <td class="alt2" valign="middle">
                                                <p align="center"> </td>
                                        </tr>
  <tr>
    <td valign="top" bgcolor="#F0F0F0">
        <p align="center"> <font size="-1" face="Arial, Helvetica, sans-serif">
        <input type="submit" name="" value="Submit">

        </font></td>
  </tr>
  <tr>
    <td valign="middle">
        </td>
  </tr>
  <tr>
    <td valign="middle">
        <p align="center"><b><a href="http://www.Atyafonline.com"><font size="2">Atyafonline.com</font></a></b></td>
  </tr>
  </form>
</table>

:confused: :confused: :confused:


Thanks
Regards
Emad Bahattab

Deepdog009 06-16-2007 04:09 AM

Quote:

Originally Posted by bahattab (Post 1269118)
hi

I had taken 6 hours to finger out who to use the Form Hake but I failed to understand how it works .

All what I need is to make a simple registration form.

If any one pleas can help me, i attached the form that i want , if any one can convert it to the form hack and send the to me .



HTML Code:



<table width="456" border="0" cellpadding="10">
<form name="form1" method="post" action="http://www.atyafonline.com/mailform/formmail.php">
<!-- CHANGE THE FOLLOWING LINE TO USE YOUR TARGET EMAIL ADDRESS -->
<input type=hidden name="recipient" value="bahattab@yahoo.com">
<INPUT type="hidden" value="http://www.ctld.net" name="redirect"> 
<INPUT type="hidden" value="SubjectTitil,FirstName,MName,LastName,Mobile,OfficePhone,AlternatePhone,EmaiAddress" name="required">
<INPUT type="hidden" value="email=E-mail Address,firstname=First Name,SubjectTitil=Subject" name="alias">

  <tr>
    <td valign="top" align="center">Training Registration Form </td>
  </tr>
  <tr>
    <td width="33%" valign="top" bgcolor="#F0F0F0" align="center">
        <table border="0" width="100%" id="table22">
                <tr>
                        <td width="20"> </td>
                        <td> </td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="20"> </td>
                        <td>
        <table border="0" width="100%" id="table23">
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Subject </font>
                        <font size="2" color="#FF0000">*</font></td>
                        <td width="4">:</td>
                        <td width="241">
                        <INPUT type="hidden" value="Subject" name="subject">
                        <select style="FONT-SIZE: 10pt; COLOR: blue" class="bginput" id="sel_user[languageid]_4" name="SubjectTitil" size="2">
                                                                        <option value="Training Registration" selected>Training Registration</option>
                                                                        <option value="Training Complaints">Training Complaints</option>
                                                                        </select></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"> </td>
                        <td width="4"> </td>
                        <td width="241"> </td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">First Name </font>
                        <font size="2" color="#FF0000">*</font></td>
                        <td width="4">:</td>
                        <td width="241">
      &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input name="FirstName" type="text" size="30" style="FONT-SIZE: 10pt; COLOR: blue"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><span lang="en-us"><font size="2">M. Name</font></span><font size="2">
                        </font><font size="2" color="#FF0000">*</font></td>
                        <td width="4"><span lang="en-us">:</span></td>
                        <td width="241">
      &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input name="MName" type="text" size="30" style="FONT-SIZE: 10pt; COLOR: blue"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Last Name </font>
                        <font size="2" color="#FF0000">*</font></td>
                        <td width="4">:</td>
                        <td width="241">
      &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input name="LastName" type="text" size="30" style="FONT-SIZE: 10pt; COLOR: blue"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"> </td>
                        <td width="4"> </td>
                        <td width="241">
                                                                        </td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Mobile </font>
                        <font size="2" color="#FF0000">*</font></td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="Integer" s-number-separators="x" b-value-required="TRUE" i-minimum-length="7" i-maximum-length="25" --><input class="bginput" size="30" name="Mobile" style="FONT-SIZE: 10pt; COLOR: blue" maxlength="25"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Office Phone  </font>
                        <font size="2" color="#FF0000">*</font></td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="Integer" s-number-separators="x" b-value-required="TRUE" i-minimum-length="4" i-maximum-length="25" --><input class="bginput" size="30" name="OfficePhone" style="FONT-SIZE: 10pt; COLOR: blue" maxlength="25"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113">Exte.</td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="Integer" s-number-separators="x" --><input class="bginput" size="13" name="OfficePhoneExte" style="FONT-SIZE: 10pt; COLOR: blue"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Your Email </font>
                        <font size="2" color="#FF0000">*</font></td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="String" s-allow-other-chars="@" --><input class="bginput" style="FONT-SIZE: 10pt; COLOR: blue" size="30" name="EmaiAddress"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Alternate Phone </font>
                        <font size="2" color="#FF0000">*</font></td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="Integer" s-number-separators="x" i-maximum-length="25" --><input style="FONT-SIZE: 10pt; COLOR: blue" name="AlternatePhone" size="30" maxlength="25"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"> </td>
                        <td width="4"> </td>
                        <td width="241">
                                                                        </td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Employer</font></td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input size="30" name="Employer"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Division/Section</font></td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input size="30" name="DivisionOrSection"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Job Title</font></td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input class="bginput" size="30" name="JobTitle"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"><font size="2">Custom Title</font></td>
                        <td width="4">:</td>
                        <td width="241">
                                                                        &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input class="bginput" size="30" name="CustomTitle"></td>
                        <td width="4"> </td>
                </tr>
                <tr>
                        <td width="4"> </td>
                        <td width="113"> </td>
                        <td width="4"> </td>
                        <td width="241"> </td>
                        <td width="4"> </td>
                </tr>
                </table>
                        </td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="20"> </td>
                        <td> </td>
                        <td width="10"> </td>
                </tr>
        </table>
        </td>
  </tr>
  <tr>
    <td valign="top">
        <p align="center"> </td>
  </tr>
  <tr>
    <td valign="top" bgcolor="#F0F0F0">
                                                <table border="0" width="100%" id="table27">
                                                        <tr>
                                                                <td width="20"> </td>
                                                                <td align=center>
                                                                        </td>
                                                                <td width="20"> </td>
                                                        </tr>
                                                        <tr>
                                                                <td width="20"> </td>
                                                                <td>
        <table border="0" width="100%" id="table33">
                <tr>
                        <td width="10"> </td>
                        <td width="186"><font size="2">Home Page</font></td>
                        <td width="6">:</td>
                        <td>
                                                                        <input class="bginput" size="30" name="HomePage"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="186"><font size="2">Country </font> </td>
                        <td width="6">:</td>
                        <td>
      &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input name="Country" type="text" size="30"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="186"><font size="2">City </font> </td>
                        <td width="6">:</td>
                        <td>
      &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" --><input name="City" type="text" size="30"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="186"><font size="2">Address</font></td>
                        <td width="6">:</td>
                        <td>
      <input name="Address" type="text" size="30"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="186"><font size="2">Postal
                        Code</font></td>
                        <td width="6">:</td>
                        <td>
      &nbsp;<!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" b-allow-digits="TRUE" --><input name="PostalCode" type="text" size="30"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="186"><font size="2">Referrer</font></td>
                        <td width="6">:</td>
                        <td>
                                                                        <input class="bginput" size="30" name="Referrer"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="186"><font size="2">Another Email Address</font></td>
                        <td width="6">:</td>
                        <td>
                                                                        <input class="bginput" size="30" name="AnotherEmailAddress"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="186"><b><font size="2"> </font></b></td>
                        <td width="6"> </td>
                        <td>
                                                                        </td>
                        <td width="10"> </td>
                </tr>
        </table>
                                                                </td>
                                                                <td width="20"> </td>
                                                        </tr>
                                                        <tr>
                                                                <td width="20"> </td>
                                                                <td> </td>
                                                                <td width="20"> </td>
                                                        </tr>
                                                </table>
        </td>
  </tr>
  <tr>
    <td valign="top" align="center">
        </td>
  </tr>
<tr>
    <td valign="middle" bgcolor="#F0F0F0">
        <table border="0" width="100%" id="table37">
                <tr>
                        <td width="20"> </td>
                        <td>
        </td>
                        <td width="20"> </td>
                </tr>
                <tr>
                        <td width="20"> </td>
                        <td>
        <table border="0" width="100%" id="table38">
                <tr>
                        <td width="10"> </td>
                        <td width="147"><font size="2">Yahoo! ID</font></td>
                        <td width="6">:</td>
                        <td>
                        <input class="bginput" size="30" name="YahooID"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="147"><font size="2">MSN ID</font></td>
                        <td width="6">:</td>
                        <td>
                        <input class="bginput" size="30" name="MSNID"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="147"><font size="2">Skype</font></td>
                        <td width="6">:</td>
                        <td>
                        <input class="bginput" size="30" name="SkypeName"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="147"><font size="2">ICQ</font></td>
                        <td width="6">:</td>
                        <td>
                        <input class="bginput" size="30" name="ICQ"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="147"><font size="2">AIM</font></td>
                        <td width="6">:</td>
                        <td>
                        <input class="bginput" size="30" name="AIM"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="147"> </td>
                        <td width="6">:</td>
                        <td>
                        </td>
                        <td width="10"> </td>
                </tr>
        </table>
                        </td>
                        <td width="20"> </td>
                </tr>
                <tr>
                        <td width="20"> </td>
                        <td>
        </td>
                        <td width="20"> </td>
                </tr>
        </table>
        </td>
  </tr>
  <tr>
    <td valign="top" align="center">
        </td>
  </tr>
  <tr>
    <td valign="middle" bgcolor="#F0F0F0">
        <table border="0" width="100%" id="table30">
                <tr>
                        <td width="20"> </td>
                        <td>
        </td>
                        <td width="20"> </td>
                </tr>
                <tr>
                        <td width="20"> </td>
                        <td>
        <table border="0" width="100%" id="table39">
                <tr>
                        <td width="10"> </td>
                        <td width="124"> </td>
                        <td width="6"> </td>
                        <td> </td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="124">
                        <p align="center"><font size="2">Course Title</font></td>
                        <td width="6">:</td>
                        <td><font color="blue" size="2">
                        <!--webbot bot="Validation" s-display-name="Course number and title" b-value-required="TRUE" b-disallow-first-item="TRUE" --><select style="FONT-SIZE: 10pt; COLOR: blue" name="CourseTitle" size="5">
                        <option selected>---------</option>
                        <option value="100 Fundamentals ">100 Fundamentals</option>
                        <option value="450 Chemical ">450 Chemical</option>
                        </select></font></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="124">
                        <p align="center"><font size="2">Course Number</font></td>
                        <td width="6">:</td>
                        <td><font face="Arial">
                        </font><!--webbot bot="Validation" b-value-required="TRUE" --><input size="30" name="CourseNumber"></td>
                        <td width="10"> </td>
                </tr>
                <tr>
                        <td width="10"> </td>
                        <td width="124"> </td>
                        <td width="6"> </td>
                        <td> </td>
                        <td width="10"> </td>
                </tr>
        </table>
                        </td>
                        <td width="20"> </td>
                </tr>
                <tr>
                        <td width="20"> </td>
                        <td>
        </td>
                        <td width="20"> </td>
                </tr>
        </table>
        </td>
  </tr>
  <tr>
                                                <td class="alt1" valign="middle">
                                                <p align="center"> </td>
                                        </tr>
<tr>
    <td valign="middle" bgcolor="#F0F0F0">
        <table border="0" width="100%" id="table29">
                <tr>
                        <td width="20"> </td>
                        <td>
                        <p align="center"><b><font face="Arial, Helvetica, sans-serif">
        Comments</font></b></td>
                        <td width="20"> </td>
                </tr>
                <tr>
                        <td width="20"> </td>
                        <td>
                        <p align="center">
                        <textarea name="Comments" cols="40" rows="8">
                        </textarea>
       
        </td>
                        <td width="20"> </td>
                </tr>
                <tr>
                        <td width="20"> </td>
                        <td> </td>
                        <td width="20"> </td>
                </tr>
        </table>
        </td>
    </tr>
<tr>
                                                <td class="alt2" valign="middle">
                                                <p align="center"> </td>
                                        </tr>
  <tr>
    <td valign="top" bgcolor="#F0F0F0">
        <p align="center"> <font size="-1" face="Arial, Helvetica, sans-serif">
        <input type="submit" name="" value="Submit">

        </font></td>
  </tr>
  <tr>
    <td valign="middle">
        </td>
  </tr>
  <tr>
    <td valign="middle">
        <p align="center"><b><a href="http://www.Atyafonline.com"><font size="2">Atyafonline.com</font></a></b></td>
  </tr>
  </form>
</table>

:confused: :confused: :confused:


Thanks
Regards
Emad Bahattab


Hi Bahattab

I peeked at that code and I must say its a bit over easy...

I can do it 4 ya, but unfortunely Im working on other projects and dont have extra time this week or next...I also work 16 hours, 6 days a week...

PM me l8ter at the end of the month and I will C what can B done or C if another member can help...

Good Luck

bahattab 06-16-2007 05:40 AM

Quote:

Originally Posted by Deepdog009 (Post 1269485)
Hi Bahattab

I peeked at that code and I must say its a bit over easy...

I can do it 4 ya, but unfortunely Im working on other projects and dont have extra time this week or next...I also work 16 hours, 6 days a week...

PM me l8ter at the end of the month and I will C what can B done or C if another member can help...

Good Luck

hi Deepdog009

thank you for your co , take your time , what i hope is to have it works. :D

:D :D :D
thanks
regards
Emad Bahattab

dsotmoon 06-16-2007 04:14 PM

Quote:

Originally Posted by Deepdog009 (Post 1268635)
ABE1 has this at the top of the page... https://vborg.vbsupport.ru/showthread.php?t=144880

Good luck:)


thank you, i replied in that thread with a problem, can you help? it seems the image/font files are missing from the zip

StudMuffin21 06-16-2007 07:12 PM

Quote:

Originally Posted by dirtycrow (Post 1075706)
hmmm. . . what am i doing wrong?

i wanted to get rid of all the radio buttons and drop downs.

Quote:

Originally Posted by |oR|Greg (Post 1075715)
You have to edit the hook, and both templates in order to make it work.


Hey guys,

So I'm just getting going with understanding the design of vbulletin (just got it a few weeks ago). I'm having the same issue as Dirty Crow, but I cannot for the life of me figure out what this second template is that Greg is talking about. Can someone maybe point me in the right direction please?

criscokid 06-17-2007 01:49 PM

Quote:

Originally Posted by criscokid (Post 1158156)
Suggestion for future version: The ability for the contents of the form to be posted as an event in the calendar.

Quote:

Originally Posted by Abe1 (Post 1158515)
Nice Idea. Putting on my list.

Hi Abe,

Any idea when you're likely to release a version of this mod with the form being posted as an event in the calendar?

Saviour 06-18-2007 04:44 PM

I currently have this hack installed on my forum and I'm using it for registered users to submit support requests...

This hack is freakin'awesome! Kudos!

The reason for this post is to ask for someone's assistance...

I've searched this foum for a link exchange hack and the only thing I can find is Links and Downloads Manager, which has link exchanging and other bells and whistles I just don't need. I'm also familiar with vbAdvanced, but don't want to spend the measly $35 for it. I'm a "tight-wad"!:)

I'm currently using LinkMachine which is PHP-based, but in order to use it, I have to create an HTML page as a template...I have to remove forum specific content, or it just doesn't work well with the board. Although the program is fairly good...it just doesn't have what I need in order to accomplish my goal.

What I'd like someone to help me with is to create a form for other sites to exchange link requests with my forum.

The form should have these fields and they should all be required:

1) Contact Name
2) Contact's E-Mail Address
3) Their Site's Title
4) Their Site's URL
5) Their Site's Description
6) URL Location of Their Reciprocal Link

I already have a hack installed that creates SEO friendly templates, so managing the link pages will not be a problem.

Once the form is submitted, it will be PM'd or e-mailed to me for review. Once I verify they are linking to my forum, I will add their info to the appropriate template page I've created.

In a perfect world, I'd like all of it to be automated, but unless I find a free program that can be incorporated into the forum, adding links, checking reciprocals, email notifications of missing links, updating links, etc., etc. will be entirely up to me.

It would also be nie if someone with enough vbulletin hack knowledge could create such a hack that would be of benefit to all users. Whoever does...definitely has my vote for BOTM!

Anyway...I hope I can get a volunteer to create the form and all other aspects of it.

Thanks, in advance for any replies and assistance.

Update...

No need for help anymore...finally figured it out and have it working, however, the addons supplied with this hack do not work. Someone might want to take a look into this. The Add-on hacks state they are supported...how does one get their hack validated and marked as supported when it doesn't even contain all the files and instructions you need to make it work.

This Form Hack 4.0 is exactly what I've been looking for and again, Kudos goes out to Abe on this one. I just want a simple CAPTCHA hack that will work with this hack.

I'm currently using vb 3.6.7 PL1.

Sebasti1 06-19-2007 02:38 PM

Hello with all, I installed this MOD but I do not see or to modify the form and also how to bind it to a forum? Thank you (sorry about the writing I speak French)

inteller2k7 06-20-2007 10:57 PM

this hack is pissing me oof i change the questions only and when i got to the Form place i get a
Code:

Parse error: syntax error, unexpected '=' in /home/forumaio/public_html/forum/newthread.php(71) : eval()'d code on line 287
i go to line 287 and it is blank i have not done any template edits since i dont no what to edit some help would be nice and fast than:mad:ks

RedGTiVR6 06-21-2007 04:21 AM

Quote:

Originally Posted by inteller2k7 (Post 1272790)
this hack is pissing me oof i change the questions only and when i got to the Form place i get a
Code:

Parse error: syntax error, unexpected '=' in /home/forumaio/public_html/forum/newthread.php(71) : eval()'d code on line 287
i go to line 287 and it is blank i have not done any template edits since i dont no what to edit some help would be nice and fast than:mad:ks

wow - I'm not really sure who is going to want to help with an attitude like that...

and on a different note...

For some reason I'm running into an issue trying to edit one of the forms I've made for our site.

I've gone through and made the changes (or so it seems) to the product to include the new code for the new questions, I've entered the code for the answers and the code for the questions.

I've then gone into the form template and updated, then into the answers template and updates.

However, when I go to check the form, nothing has changed.

Am I missing a step somewhere perhaps?
Maybe a field needs to be rebuilt?

Deepdog009 06-22-2007 01:58 AM

Hey folks please go back 2 around page 23 of this hack and read from there... U will C many ideas and helpful hints 2 assist ALL...

From pages 23 - 34 should help answer many questions, but if not I will try 2 help when time permits...

ABE1 form hack adds 2 templates and one plugin file...

Admincp -->>> goto products and install after that -->>> goto templates and find form & form_answers templates... modify as you will...

If you run into parse issues then double check your new modifications, most likely U added something wrong or forget 2 add quotes or something... Ohhh yeah the PLUGIN file has all the instructions on how 2 make changes and code stuff...

When making new forms slowly make changes and check yo form after every change 2 verify where the problems start at,,, then backtrack and C what the cause could be...

Download some of the FORM files in earlier posts 2 understand how it works...

Good Luck;)

RedGTiVR6 06-22-2007 02:32 PM

I ended up having to create new templates (with the exact same info mind you) and change the name of the templates the hack was looking for to those templates before I could get the changes to show up...

really not sure why that was the case. All I did was copy and paste the contents of the previous template into a new template and just change the name...strange.

InTeNsE-HuMoR 06-22-2007 10:27 PM

Hi, can anyone tell me how to remove a field that I don't want in the form? I have only been able to remove the field name and not the actual field itself, how to I completely remove a field?

Deepdog009 06-23-2007 05:53 AM

Quote:

{Saviour} Update...

No need for help anymore...finally figured it out and have it working, however, the addons supplied with this hack do not work. Someone might want to take a look into this. The Add-on hacks state they are supported...how does one get their hack validated and marked as supported when it doesn't even contain all the files and instructions you need to make it work.

This Form Hack 4.0 is exactly what I've been looking for and again, Kudos goes out to Abe on this one. I just want a simple CAPTCHA hack that will work with this hack.

I'm currently using vb 3.6.7 PL1.

When U guys posted asking about add-ons I was out of town...
I uploaded those missing files two days ago...

Most guys dont stay glued 2 these forums everyday my friend,,, when time permits I stop by 2 help and fix issues...

At the time of release I uploaded a new file and forgot 2 add images 4 that add-on...

Good Luck;)

H1MendlessDark 06-25-2007 05:55 PM

I was just wondering how to edit the questions below:

PHP Code:

$dropdownquestion1 "What is your gender?";

// The following choices must NOT have quotation marks
$dropdownchoice1a "no comment";
$dropdownchoice1b "male";
$dropdownchoice1c "female"

How do I edit the variables and stuff. I dont get it.

Jeffler 06-28-2007 05:14 PM

Alright, I'm an idiot, and I've never worked with hooks before (crazy, I know).

Can someone just tell me where I have to go to edit the hook? I'll be fine then. :P

Deepdog009 06-29-2007 04:32 AM

Quote:

Originally Posted by Jeffler (Post 1278571)
Alright, I'm an idiot, and I've never worked with hooks before (crazy, I know).

Can someone just tell me where I have to go to edit the hook? I'll be fine then. :P

Plugin Hook 4 this Hack is located in Admincp, near bottom of listing under RSS FEEDS and below that is {{{Plugins & Products}}}...

Within the {Plugins & Products} menu is option Plugin Mgr...

After accessing that menu look 4 Forms Hack plugin, open and view code...

This is where U make modifications 2 create new forms or make changes 2 primary test form...


Below is start of Hooks Code 4 this Hack...

Making changes ain't easy... I suggest taking your time and study and read the setup area several times...

Eventually U will understand how it works with a little patients...

Good Luck!



// To add more then one form, copy this whole text, and creat a new plug-in with the hook location 'newthread_start'.
// After, change the form name. You can't have 2 forms with the same name.

// Name of this form
$formname = "testemp";

if ($_REQUEST['do'] == $formname)
{

// ################################################## #####################
// ######################## CUSTOMIZE VARIABLES ##########################
// ################################################## #####################

////////////////////////////////////////////////////////////////////////////////////////////////////
////// BEGIN CUSTOMIZATION BELOW////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////////////////////////
//VARIABLES
//Study how variables are add here to add or remove any. If you add a variable to your form, you must add it to part one and part two.
////////////////////////////////////////////////////////////////////////////////////////////////////

// Part 1
$vbulletin->input->clean_array_gpc('p', array(
'normalanswer1' => TYPE_STR,
'radioanswer1' => TYPE_STR,
'radioanswer2' => TYPE_STR,
'radioanswer3' => TYPE_STR,
'radioanswer3other' => TYPE_STR,
'answer1' => TYPE_STR,
'answer2' => TYPE_STR,
'answer3' => TYPE_STR,
'dropdownanswer1' => TYPE_STR,
'checkboxanswer1_1' => TYPE_STR,
'checkboxanswer1_2' => TYPE_STR,
'checkboxanswer1_3' => TYPE_STR,
'longanswer1' => TYPE_STR
));

// Part 2
$normalanswer1 = $vbulletin->GPC['normalanswer1'];
$radioanswer1 = $vbulletin->GPC['radioanswer1'];
$radioanswer2 = $vbulletin->GPC['radioanswer2'];
$radioanswer3 = $vbulletin->GPC['radioanswer3'];
$radioanswer3other = $vbulletin->GPC['radioanswer3other'];
$answer1 = $vbulletin->GPC['answer1'];
$answer2 = $vbulletin->GPC['answer2'];
$answer3 = $vbulletin->GPC['answer3'];
$dropdownanswer1 = $vbulletin->GPC['dropdownanswer1'];
$checkboxanswer1_1 = $vbulletin->GPC['checkboxanswer1_1'];
$checkboxanswer1_2 = $vbulletin->GPC['checkboxanswer1_2'];
$checkboxanswer1_3 = $vbulletin->GPC['checkboxanswer1_3'];
$longanswer1 = $vbulletin->GPC['longanswer1'];

vFan 06-29-2007 05:31 PM

Silly question perhaps, but in addition to being posted to a thread, poll, etc., does the information submitted via the form hack automatically get stored in the database as well? If it doesn't get stored in the db then is it possible to modifiy the form to have 2 actions associated with the submit button. (You know like the ability to submit info to a db while notifying someone via email that their order has been received.) What I want is for the form data to be posted to a thread upon submission as well as storing it in the db so I can send it on to a different application it later. If if can be done, how do I do it?

(By the way, I have looked through the tables in my db and do not see any of the information that has been posted to my threads so I'm assuming that it only gets posted not stored ? Please correct me if I'm wrong)

Sorry if this is a ridiculous question but I am not a coder. Any help is appreciated. Thanks.

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 11:02 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.03107 seconds
  • Memory Usage 2,381KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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