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)
-   -   Add-On Releases - World of Warcraft Recruitment Form (https://vborg.vbsupport.ru/showthread.php?t=150424)

kiwivc 02-08-2008 03:45 AM

Quote:

Originally Posted by clayh456 (Post 1407816)
This is a great mod, and its ease-of-use stomps Form Hack 4.0 flat (albeit a great form mod nonetheless). However, it's essentially useless to anyone looking to use such a technology for a non-World of Warcraft or non-Gaming purpose (which is, believe it or not, just as large of a group looking for a product/plug-in such as this).

I know I can use phrasing to modify the questions & output, but editing the output (font sizes & etc., as well as organization of the information), and editing the answering options/methods is too much of a hassle. I also couldn't seem to figure out how to disable the portion that asks for character name, race, class, level, etc. and thus assumed it was either impossible or otherwise not worth it.

I'll keep an eye on this mod for improvements, and an eye on similar mods that may sprout up in the future.

If I can do it then you can too. It is very limited to what phpnoobs are able to achieve but check out my edited application form for our Enemy Territory based clan. Of course my fingers are crossed for an editable purpose made ET Application Form some day :D. I spent a bit of time playing around with the phrases to achieve the result.
NB: the images are too small to read anything...it's just to give you an idea.

Application Form:
http://img235.imageshack.us/img235/746/app1ou7.th.jpg
Result:
http://img230.imageshack.us/img230/3...sultzm4.th.jpg

Flootroops 02-08-2008 01:46 PM

Quote:

Originally Posted by Mother_Dee (Post 1437449)
Odd. Have you enabled usergroup permissions in the Form Configurations Options? If so, have you input the specific usergroups able to use the form? This would disable viewing of this form for unregistered users so this issue wouldn't happen, instead they'd get a forum error message telling them they need to register or login.

The forum I have setup to have this post to is a private forum but I have set unregistered users to be able to post to it just not see it. I have also setup the unregistered users usergroup ID to be able to use the form under the form settings. I am still getting the same error message. Any ideas? My website is www.micthrillaz.com. Just click the apply button on the main page to access the form.

Mother_Dee 02-11-2008 12:25 PM

Disable the unregistered usergroup from being able to post from the form. That *should* fix it, since orphaned posts stink anyway and if someone is serious about filling out an application, why not make them register? :)

See if that works. I have no idea how to get around that if you want unregistered users to be able to post applications, I'd have to dig quite a bit.

Here's my form, and what you get being unregistered:

http://www.darkportals.com/forum/new...do=application

Kahoona 02-13-2008 09:34 PM

After updating my forum to Patch Level 2, whenever you fill out all the fields it still says you haven't filled them all out.

Mother_Dee 02-14-2008 12:37 PM

Strange. Do you have the most recent version of the mod installed?

I updated to PL2 without a hitch in this mod. Sorry I can't be of help. :(

Kahoona 02-15-2008 02:22 AM

Pretty sure I do, is there a version check somewhere?

Flootroops 02-16-2008 04:05 AM

Quote:

Originally Posted by Mother_Dee (Post 1440733)
Disable the unregistered usergroup from being able to post from the form. That *should* fix it, since orphaned posts stink anyway and if someone is serious about filling out an application, why not make them register? :)

See if that works. I have no idea how to get around that if you want unregistered users to be able to post applications, I'd have to dig quite a bit.

Here's my form, and what you get being unregistered:

http://www.darkportals.com/forum/new...do=application

I figured it out. You have to disable to "image verification" for unregistered users to be able to use the form.

blind-eddie 02-16-2008 11:29 PM

Quote:

Originally Posted by Ulkesh (Post 1275823)
I think I love you, man. :) I've been using the old Forms hack that you based yours off, and dread any time I have to go into the damned thing to change questions or layouts and such. :) Thank you for making this so very much easier. I (and my sanity) appreciate it.


Amen!!!!! Great mod, this is by far the best & easiest to edit...Thank You


One question, After submit is hit, the app. shows up in a thread. How do I change the font size of the Personal Information Area to a larger size. I have edited this to suit my needs for America Army. I have changed all font sizes in xml, but the submited app. does not change...Thanks.

Mother_Dee 02-17-2008 11:41 AM

Eddie -

You'll need to edit the wow_form_answers template since that's what is pulled when posting the answers to the new thread. Right now it looks like the header for that section is set to +2, and the rest appears to pull the font size of your standard forum posts.

Floo -

Ah, thanks for the info. I don't allow guests to post because I like to know who is posting on my guild forums. Just watch for spam bots if you've turned off image verification.

Tolas 04-20-2008 03:28 PM

Anyone know what changes I would need to make to the xml in order to import a second form without disturbing the original one?

Our guild is starting to recruit in both factions now and I would like to have a application for both. Since my current one is set to Alliance, any new Horde members can't put in their proper race/class info.

thanks

Mother_Dee 04-22-2008 07:47 PM

I haven't tried to upload a separate .xml file, but you can easily open the application up to show all races so that it would fit both Alliance and Horde.

In wow_form Find:

Code:

        <if condition="$wow_form_faction==0">
        <option value="$dropdownchoice4a" <if condition="$dropdownchoice4a == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4a</option>
        <option value="$dropdownchoice4b" <if condition="$dropdownchoice4b == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4b</option>
        <option value="$dropdownchoice4c" <if condition="$dropdownchoice4c == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4c</option>
        <option value="$dropdownchoice4d" <if condition="$dropdownchoice4d == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4d</option>
        <option value="$dropdownchoice4e" <if condition="$dropdownchoice4e == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4e</option>
        </if>                                 
        <if condition="$wow_form_faction==1">
        <option value="$dropdownchoice4f" <if condition="$dropdownchoice4f == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4f</option>
        <option value="$dropdownchoice4g" <if condition="$dropdownchoice4g == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4g</option>
        <option value="$dropdownchoice4h" <if condition="$dropdownchoice4h == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4h</option>
        <option value="$dropdownchoice4i" <if condition="$dropdownchoice4i == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4i</option>       
        <option value="$dropdownchoice4j" <if condition="$dropdownchoice4j == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4j</option>
        </if>


Replace with:

Code:

        <option value="$dropdownchoice4a" <if condition="$dropdownchoice4a == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4a</option>
        <option value="$dropdownchoice4b" <if condition="$dropdownchoice4b == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4b</option>
        <option value="$dropdownchoice4c" <if condition="$dropdownchoice4c == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4c</option>
        <option value="$dropdownchoice4d" <if condition="$dropdownchoice4d == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4d</option>
        <option value="$dropdownchoice4e" <if condition="$dropdownchoice4e == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4e</option>
        <option value="$dropdownchoice4f" <if condition="$dropdownchoice4f == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4f</option>
        <option value="$dropdownchoice4g" <if condition="$dropdownchoice4g == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4g</option>
        <option value="$dropdownchoice4h" <if condition="$dropdownchoice4h == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4h</option>
        <option value="$dropdownchoice4i" <if condition="$dropdownchoice4i == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4i</option>       
        <option value="$dropdownchoice4j" <if condition="$dropdownchoice4j == $dropdownanswer4">selected="selected"</if>>$dropdownchoice4j</option>

Since the classes are across the board now with TBC, unless you want to have different questions per faction it's a pretty easy fix.

vrokar 04-29-2008 05:07 PM

I have noticed I am unable to remove the "What times do you play the most or are most active in the game? " Any idea why? Also, as far as the title of the application, I noticed it displays as Recruitment Application. Is it possible somehow to add $answer1 into the title so when posted it adds the character name to the thread title?

Mother_Dee 04-30-2008 12:28 PM

Vrokar -

If you edit the plugin so that the the the post title reads:

Code:

$posttitle = "$formtitle - $answer1, $dropdownanswer2 $dropdownanswer4 $dropdownanswer1";
It will come out with character name, level race class. You can change it around as you see fit, this is how I have it on my forums.

So, for example, my new threads would look like this: Balaa - 70 Troll Priest

Have fun playing with the variable. :)

vrokar 04-30-2008 01:08 PM

That works great. I was hoping you could do it with the easy settings. Guess not, had to search the code through the plugin manager. Thanks for the help man. Much appreciated.

Quote:

Originally Posted by Mother_Dee (Post 1503323)
Vrokar -

If you edit the plugin so that the the the post title reads:

Code:

$posttitle = "$formtitle - $answer1, $dropdownanswer2 $dropdownanswer4 $dropdownanswer1";
It will come out with character name, level race class. You can change it around as you see fit, this is how I have it on my forums.

So, for example, my new threads would look like this: Balaa - 70 Troll Priest

Have fun playing with the variable. :)


Mother_Dee 04-30-2008 05:51 PM

<--- woman

And you're welcome. :) I just happened to have to dig myself last week as the Officers came up with the request and I had to come up with a solution. Guess it was your lucky week! ;)

Flootroops 05-01-2008 03:33 PM

To get this working with 3.7 I had to edit the wow_form. I did this by going to my admincp. Then Styles & Templates -> Style Manager -> Next to my default style I expanded the drop down menu and selected Edit Templates - > Go - > I scrolled down to wow_form and double clicked. Searched for:

Code:

<input type="hidden" name="posthash" value="$posthash" />
added before:

Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
I also had to turn off the human verification manager to get it to work. That is under vbulletin options in the admincp.

KURTZ 05-04-2008 04:52 PM

Quote:

Originally Posted by Flootroops (Post 1504696)
To get this working with 3.7 I had to edit the wow_form. I did this by going to my admincp. Then Styles & Templates -> Style Manager -> Next to my default style I expanded the drop down menu and selected Edit Templates - > Go - > I scrolled down to wow_form and double clicked. Searched for:

Code:

<input type="hidden" name="posthash" value="$posthash" />
added before:

Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
I also had to turn off the human verification manager to get it to work. That is under vbulletin options in the admincp.

thx :)

just a question: i saw that the new threads are 'moderated', so how can i disable this feature and how can i make the new forms as normal threads?

TIA

edit: another question: (check the pic) there are 20 options, i need only 8 with different prefix (i don't want -KEY-), so i need to delete some options how i can do that?

KURTZ 05-07-2008 06:54 AM

anyone? :(

Mother_Dee 05-09-2008 06:04 PM

Kurtz -

Do you have new posts from that usergroup to said forum set as moderated? Check all the usergroups that post new apps and are coming up moderated, and make sure the forum permissions are set right.

What exactly are you looking to do with the Attunement section (mine has been off for eons, and now with most keys and attunements being nuked in 2.4 it becomes even more useless)... could you elaborate so we know where to start?

atomhead 05-14-2008 01:56 AM

Broken in latest version of vb, can I get a fix??

Quote:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
edit: used fix above and it's working fine (didn't change anything with human verification though)

elricstorm 07-02-2008 03:34 PM

Hi Everyone..

Been a long time since I revisited my own modification. I've been working heavily and haven't had much time to do much of anything programming wise. I just now got back into gaming and have been designing a custom Age of Conan vbulletin theme skin and also creating a new recruitment application form for that game. I still play World of Warcraft, but only on a very limited basis.

The two biggest issues I think most folks have been talking about here are the new security token issues with 3.7x. I saw a fix outlined here and yes, that works fine. I've fixed it for the AoC recruitment app but I wanted to touch base with some other areas of this one.

I will more than likely update the WoW recruitment form for 3.7x as I place the AoC one up.

If anyone has suggestions for the upcoming changes, please post them here and I'll be looking at things to come.

My new AoC guild site is located at http://praetorianknights.net . Check it out if you want to. :)

matDDH 07-16-2008 03:48 AM

When are you planning on putting up the AOC recruitment form?

Zhin Jio 08-05-2008 01:27 PM

Is there an easy way to use this mod to have two separate applications? We have very different questions sets depending on whether the applicant wants to raid or just be a casual player.

Thanks in advance...

PS - I did copy the form, hooked to newthread_start, and named something new. But the cpadmin settings for questions don't give any option to edit one form vs. the other.

- ZJ

samual 08-09-2008 07:55 PM

Works great!

Question though, I am having it post to a forum. The trouble that I am having is I have a dark background and I cant see the questions. The App. its self if perfect, but when I go to the forum that I have it posting to that is where I can't see the letters of the questions. I can see the answers though. Can someone point me in the right direction to change the colors of the text of the submitted application?

mikeylikesitz 10-17-2008 05:09 PM

any plans on updating this?

TheLastSuperman 10-19-2008 03:05 PM

Quote:

Originally Posted by samual (Post 1594967)
Works great!

Question though, I am having it post to a forum. The trouble that I am having is I have a dark background and I cant see the questions. The App. its self if perfect, but when I go to the forum that I have it posting to that is where I can't see the letters of the questions. I can see the answers though. Can someone point me in the right direction to change the colors of the text of the submitted application?

@ Samual, the option is in your AdminCP --> VBulletin Options --> Elricstorm's WoW Form Style Settings

_______________________________

Fantastic! I had to modify heavily to suit my needs however it works perfectly! (Tournament Site for bf2142 & COD4, using as a Request to Join application and special thanks for the custom questions as it saved me some code work!)

3.6.8

S-MAN

taito 11-06-2008 04:38 PM

any idea if this will be update for Wrath for WoW? If not could anyone tell me how to add in the new level cap and the new class?

alliancedie 11-10-2008 09:42 PM

are you going to have an update for WOTLK

Ragefire 11-19-2008 07:57 AM

Another request for a Wrath update or instructions on how to edit :)

FluidG 11-23-2008 10:00 PM

I added the WoTLK options in the templates and phrases but the additions do not show in the form. Anyone know if you have to reimport the changes in a remade XML file?

Elbulus 11-24-2008 10:43 PM

Quote:

Originally Posted by FluidG (Post 1671610)
I added the WoTLK options in the templates and phrases but the additions do not show in the form. Anyone know if you have to reimport the changes in a remade XML file?

I done the changes or atleast thing i made the changes in the correct place in the .xml file , uploaded it and everyone was the same :( Gonna have a look into it a bit more when i'm not trying to heal people in heroics >< Will post back if i work it out !

Kaas 12-04-2008 12:44 PM

I had the same issue, It had something to do with the cache or somethign with the templates... I fully modified my xml to reflect WOLTK... Now however I am having an issue with a "security toekn" IE: CSRF, I for the life of me can not figure out where the line is to be modified... And no one has posted a sugestion in the dev forum on it..
If you have any ideas, let me know please...

Thanks

mikey1974 12-13-2008 07:35 AM

I am no genious when it comes to php but i gave this a go for the sake of my sanity when WotLK was released.....its worked on our forum and i stress this is a short term fix till electricstorm or someone with the same know how starts to work on this script again

download Electricstorms product file and then edit it using what ever package you need, then make the following changes, it looks long but alot of it is just same old, same old

find
Code:

$dropdownchoice1i = $vbphrase[wow_form_warrior];
underneath add:
Code:

$dropdownchoice1j = $vbphrase[wow_form_deathknight];
then find:
Code:

$dropdownchoice5i = $vbphrase[wow_form_holy];
underneath add:
Code:

$dropdownchoice5j = $vbphrase[wow_form_blood];

then find:
Code:

$dropdownchoice6i = $vbphrase[wow_form_protection];
underneath add:
Code:

$dropdownchoice6i = $vbphrase[wow_form_frost];

then find:
Code:

$dropdownchoice7h = $vbphrase[wow_form_survival];
underneath add:
Code:

$dropdownchoice7i = $vbphrase[wow_form_unholy];

then find:
Code:

$dropdownchoice8j = $vbphrase[wow_form_skinning];
underneath add:
Code:

$dropdownchoice8k = $vbphrase[wow_form_inscription];

find:
Code:

                                        <option value="$dropdownchoice1i" <if condition="$dropdownchoice1i == $dropdownanswer1">selected="selected"</if>>$dropdownchoice1i</option>
underneath:
Code:

                                        <option value="$dropdownchoice1j" <if condition="$dropdownchoice1j == $dropdownanswer1">selected="selected"</if>>$dropdownchoice1j</option>
find:
Code:

                                <option value="$dropdownchoice5i" <if condition="$dropdownchoice5i == $dropdownanswer5">selected="selected"</if>>$dropdownchoice5i</option>
underneath add:
Code:

                                <option value="$dropdownchoice5j" <if condition="$dropdownchoice5j == $dropdownanswer5">selected="selected"</if>>$dropdownchoice5j</option>
find:
Code:

                                <option value="$dropdownchoice6i" <if condition="$dropdownchoice6i == $dropdownanswer6">selected="selected"</if>>$dropdownchoice6i</option>
underneath:
Code:

                                <option value="$dropdownchoice6j" <if condition="$dropdownchoice6j == $dropdownanswer6">selected="selected"</if>>$dropdownchoice6j</option>
find:
Code:

                                <option value="$dropdownchoice7h" <if condition="$dropdownchoice7h == $dropdownanswer7">selected="selected"</if>>$dropdownchoice7h</option>
underneath:
Code:

                                <option value="$dropdownchoice7i" <if condition="$dropdownchoice7i == $dropdownanswer7">selected="selected"</if>>$dropdownchoice7i</option>
find:
Code:

                                <option value="$dropdownchoice8j" <if condition="$dropdownchoice8j == $dropdownanswer8">selected="selected"</if>>$dropdownchoice8j</option>
underneath:
Code:

                                <option value="$dropdownchoice8k" <if condition="$dropdownchoice8k == $dropdownanswer8">selected="selected"</if>>$dropdownchoice8k</option>

Find:
Code:

                        <phrase name="wow_form_warrior" date="0" username="Elricstorm" version="1.0.1"><![CDATA[Warrior]]></phrase>
underneath add:
Code:

                        <phrase name="wow_form_deathknight" date="0" username="Elricstorm" version="1.0.1"><![CDATA[DeathKnight]]></phrase>

find:
Code:

                        <phrase name="wow_form_affliction" date="0" username="Elricstorm" version="1.0.1"><![CDATA[Affliction]]></phrase>
underneath add:
Code:

                        <phrase name="wow_form_blood" date="0" username="Elricstorm" version="1.0.1"><![CDATA[Blood]]></phrase>

find:
Code:

                        <phrase name="wow_form_combat" date="0" username="Elricstorm" version="1.0.1"><![CDATA[Combat]]></phrase>
underneath add:
Code:

                        <phrase name="wow_form_frost" date="0" username="Elricstorm" version="1.0.1"><![CDATA[Frost]]></phrase>

find:
Code:

                        <phrase name="wow_form_destruction" date="0" username="Elricstorm" version="1.0.1"><![CDATA[Destruction]]></phrase>
underneath add:
Code:

                        <phrase name="wow_form_unholy" date="0" username="Elricstorm" version="1.0.1"><![CDATA[Unholy]]></phrase>

find:
Code:

                        <phrase name="wow_form_skinning" date="0" username="Elricstorm" version="1.0.1"><![CDATA[Skinning]]></phrase>
underneath add:
Code:

                        <phrase name="wow_form_inscription" date="0" username="Elricstorm" version="1.0.1"><![CDATA[Inscription]]></phrase>

Right ok i cheated on the next part but it works, wont reflect it in the control panel but still it works ok on the form

find:
Code:

$dropdownchoice270 = "70";
work upwards changing the numbers so it looks like the following
Code:

$dropdownchoice264 = "74";
$dropdownchoice265 = "75";
$dropdownchoice266 = "76";
$dropdownchoice267 = "77";
$dropdownchoice268 = "78";
$dropdownchoice269 = "79";
$dropdownchoice270 = "80";

get the idea take it all the way down to 11 instead of lvl 1, if you have someone applying to join your guild below level 11 that then tough titty for them. I think thats about it then simply save your work / re-apply the product overwriting the one you had previously installed and it should work great.

Again i stress, i just looked at the file and made the next logical steps i claim no glory for this its electricstorms work that takes all the credit and as i said i am the village idiot so if it takes over the world dont blame me LOL

Finger78 12-18-2008 01:06 AM

I applied the fixes in the post above mine and they worked fine, however this mod is so outdated a LOT of the info it asks for in the form are no longer relevant, this is a good mod I just hope the author can find some time to update it. I would be happy to provide some suggestions for possible updates to the form. Msg me!

Flootroops 12-29-2008 08:33 PM

I applied all the above changes but it's still not showing Inscription, DK's or the DK talent choices. I did it twice by copying and pasting the code exactly. Could you possibly send me your editted XML?

Flootroops 12-30-2008 06:33 PM

I tried these changes in 3 different .xml editors. The only change that seems to be working is the change to reflect level 80's.

Ragefire 01-05-2009 10:40 AM

Snap Flootroops

Zhin Jio 01-07-2009 05:16 PM

Since noone seems to be contributing real fixes to this, I will explain in a bit of detail how to go about making changes to this "correctly". I'll use two examples, level changes (non-hack way as opposed to what is suggested above), and adding "Death Knight".
  • Adding new levels to the dropdown
    • Part ONE : Modifying the plugin code
      1. Plugins & Products -> Plugin Manager
      2. Click on [Edit] next to your formname under the Elricstorm product
      3. Find the following line:
        Code:

        $dropdownchoice270 = "70";
      4. Add the following after:
        Code:

        $dropdownchoice271 = "71";
        $dropdownchoice272 = "72";
        $dropdownchoice273 = "73";
        $dropdownchoice274 = "74";
        $dropdownchoice275 = "75";
        $dropdownchoice276 = "76";
        $dropdownchoice277 = "77";
        $dropdownchoice278 = "78";
        $dropdownchoice279 = "79";
        $dropdownchoice280 = "80";

      5. Please note, NEW values are used in this example, unlike the example a few posts up. For those new to this... its important that variable names here are unique.
    • Part TWO - Adding in phrases
      • Ok, in this case, we can skip this step since we didn't add any new phrases in. Proceed below...
    • Part THREE - Modify the template
      1. Styles & Templates -> Style Manager
      2. In your style, select 'Edit Templates'
      3. Scroll to the bottom, find 'wow_form', double_click
      4. Find the following block:
        Code:

        <option value="$dropdownchoice270" <if condition="$dropdownchoice270 == $dropdownanswer2">selected="selected"</if>>$dropdownchoice270</option>
      5. After it, add in a similar line for every level above 70 you're adding. For example, to add in level 71, you'd put in:
        Code:

        <option value="$dropdownchoice271" <if condition="$dropdownchoice271 == $dropdownanswer2">selected="selected"</if>>$dropdownchoice271</option>
  • Adding the Death Knight Class
    • Part ONE : Modifying the plugin code
      1. Plugins & Products -> Plugin Manager
      2. Click on [Edit] next to your formname under the Elricstorm product
      3. Find the following line:
        Code:

        $dropdownchoice1i = $vbphrase[wow_form_warrior];
      4. After it, add the following:
        Code:

        $dropdownchoice1j = $vbphrase[wow_form_deathknight];
      5. Note, that in THIS case, the new variable is incremented using a letter instead of a number (dropdownchoice1j) AND we *are*, in fact, using a new phrase (wow_form_deathknight)
    • Part TWO - Add the new phrase(s)
      1. Languages & Phrases -> Phrase Manager
      2. "Add New Phrase" button
        Code:

        Phrase Type : GLOBAL
        Product : Elricstorm's World of Warcraft Recruitment Form
        Varname : wow_form_deathknight
        Text : Death Knight

      3. Note that in the above example, the "Varname" *MUST* match the new vbphrase that you added above
      4. Click "Save"
    • Part THREE - Modify the template
      1. Styles & Templates -> Style Manager
      2. In your style, select 'Edit Templates'
      3. Scroll to the bottom, find 'wow_form', double_click
      4. Find the following block:
        Code:

        <option value="$dropdownchoice1i" <if condition="$dropdownchoice1i == $dropdownanswer1">selected="selected"</if>>$dropdownchoice1i</option>
      5. After it, add:
        Code:

        <option value="$dropdownchoice1j" <if condition="$dropdownchoice1j == $dropdownanswer1">selected="selected"</if>>$dropdownchoice1j</option>
      6. Note that the block you're searching for will contain the variable name we added in the above step (Modifying the code), namely 'dropdownchoice1i'
      7. Save

The above method(s) can be used for adding other fields as well, including Inscription or whatever else. I leave those examples as an exercise to the reader.

PS - No offense meant to other submitted fixes... they just weren't working.

Zhin Jio 01-07-2009 05:21 PM

Quote:

Originally Posted by Kaas (Post 1678416)
I had the same issue, It had something to do with the cache or somethign with the templates... I fully modified my xml to reflect WOLTK... Now however I am having an issue with a "security toekn" IE: CSRF, I for the life of me can not figure out where the line is to be modified... And no one has posted a sugestion in the dev forum on it..
If you have any ideas, let me know please...
Thanks

This occurs in versions past ... I think 3.6.something or other. Fix:

Edit your wow_form template, find the following:
Code:

<input type="hidden" name="posthash" value="$posthash" />
<input type="hidden" name="poststarttime" value="$poststarttime" />

Add this after:
Code:

<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

I'm not certain the sessionhash is necessary, but it works. Tested on 3.7.4, I will not speak to this fix's validity on any other version.

Bman200 01-15-2009 01:58 AM

Why is it giving me the following when I try to submit or preview the form: Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.


All times are GMT. The time now is 08:05 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.02066 seconds
  • Memory Usage 1,926KB
  • 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
  • (51)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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