PDA

View Full Version : Add-On Releases - World of Warcraft Guild Recruitment Form


sweede
12-09-2008, 10:00 PM
This is a quick release of my Guild Application form

This uses the Online Gaming Recruitment addition as its base ( https://vborg.vbsupport.ru/showthread.php?t=182165 ) with a lot of modification to be warcraft specific and have part of it dynamicly created.

Also included is a small tool i wrote to automaticly approve/deny applications via thread prefixes and move threads to a "Graveyard".

From the Readme.
----------------------------------------
All of the options in the control panel may be self explainitory (see images).

Editing the Application form template:
Adding new text field questions are automatic and done in the control panel.
Adding any other field is done through the template editor

Example:
<input type="text" size="30" value="$current_server" name="app[current_server]" />

Any application question must be in the format name="app[XXXXX]" , the value attribute
is the php variable for the preview.

Example of Dropdown (checkbox or radio fields follow similar concepts):
<select name="app[character_class]">
<option value="Druid" <if condition="$character_class == 'Druid'">selected="selected"</if> >Druid</option>
</select>

Every form MUST have the following code at the begining of the form
<form name="vbform" action="newthread.php" method="post" onSubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])">
<input type="hidden" value="$formname" name="do" />
<input type="hidden" value="submit" name="action" />
<input type="hidden" name="posthash" value="$posthash" />
<input type="hidden" name="poststarttime" value="$poststarttime" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="s" value="$session[sessionhash]" />

and the following at the end of the form.
<input type="submit" value="Submit" name="submit" style="font-family: Verdana; font-size: 10pt" class="button" />
<input type="submit" value="Preview" name="submit" style="font-family: Verdana; font-size: 10pt" class="button" />
<input type="reset" value="Reset" name="reset" style="font-family: Verdana; font-size: 10pt" class="button" />

For the Comment Boxes, you place the variable, $comment_boxes , in the position you want them to appear in the template.

If you want unregistered users to post, you will need
<if condition="!$show['member']"> $human_verify </if>
somewhere in your application form.


Editing the Application Post Template:
Editing this is very straight forward. You put the php variable of the form field name, in the proper template location.
For example, if you have <input name="app[MyQuestion]"> , then you would put $MyQuestion in your template.

The default template requires a new BBCode entry (See images bbCode_Class.png and bbCode_Style.png)

For the Textarea Questions, you will need the following variable, $guild_app_answer_qa_message somewhere in your form.


Thread Prefixes
This makes use of Extensive Prefixes. See the PrefixExample and ThreadPrefixes images.

Application Tools:
This makes it very simple to change prefixes or move applications to other forums. Some of the important items are now a vbulletin option.

sweede
12-10-2008, 11:07 AM
Fixed the two template issues that users around page 5 have been having.

dannykilla
12-10-2008, 11:14 AM
Looks nice man, any chance of you doing a version for Warhammer Online: AoR ???

sweede
12-10-2008, 11:23 AM
it would be trivial to modify the form for other games. read the readme.txt file for how the changes are made.

Wayne Luke
12-11-2008, 01:10 AM
Neither of your demo sites allowing viewing the form by guests. Can you post screenshots of this in action please?

sweede
12-11-2008, 01:59 AM
Neither of your demo sites allowing viewing the form by guests. Can you post screenshots of this in action please?



oo good call.

Wrecked
12-11-2008, 08:02 AM
Hi Sweede,

Great form, exactly what I was looking for since the other one I was using appears to have been abandoned.

To get people to the form itself is the URL just <yourforumURL>/newthread.php?do=apply

As when I go to that I get an error as follows

Fatal error: Call to undefined function fetch_require_hvcheck() in /home/thefinal/public_html/forums/newthread.php(74) : eval()'d code on line 465

Any ideas?

FWIW I do have another form installed to my forum but I customised it's name so the URL to access it is /newthread.php?do=Application

Cheers
Wreck

sweede
12-11-2008, 10:35 AM
hmm... i thought i fixed that

Change that line,
if (fetch_require_hvcheck('post'))
to
if( $vbulletin->options['hvcheck_post'] )

Wrecked
12-11-2008, 01:06 PM
Sorted!

Thanks mate, awesome mod :D

That line fixed all :D

BennehSmK
12-11-2008, 01:37 PM
Sweede, dunno whats happening, ive got an error message similar to Wrecked:

Fatal error: Call to undefined function fetch_require_hvcheck() in /home/smkodo/domains/spearmint-kodo.eu/public_html/newthread.php(74) : eval()'d code on line 465

Looking through the newthread.php I cannot locate

if (fetch_require_hvcheck('post'))

anywhere, any ideas?

Wrecked
12-11-2008, 03:02 PM
Sweede, dunno whats happening, ive got an error message similar to Wrecked:

Fatal error: Call to undefined function fetch_require_hvcheck() in /home/smkodo/domains/spearmint-kodo.eu/public_html/newthread.php(74) : eval()'d code on line 465

Looking through the newthread.php I cannot locate

if (fetch_require_hvcheck('post'))

anywhere, any ideas?
Benneh it's in the XML for the product mate

BennehSmK
12-11-2008, 06:38 PM
Benneh it's in the XML for the product mate

Ahhhh, cheers Wrecked, i did wonder if I was looking in the wrong place.

Ill check it when I get in from work!

mikey1974
12-13-2008, 07:46 PM
Awesome addon but instructions are a little vague when it comes to the tools section i have been playing with it for a few hours and i hit a stumbling block, when i change the forum id to number 7 i get a strange error

Fatal error: Undefined class name 'debuglog' in /xxxx/xxxxx/public_html/showthread.php(2149) : eval()'d code on line 21

i presume this line in the tools product file is the one i am supposed to be changing

if ($threadinfo[forumid] == 9)

any help would be greatfull appreciated cos the applications are looking like this atm without the tools

Character Information

<fdsfds: sdfds>, Human Death Knight

Class Spec
fdsf / dsf / fds

Current Professions

Profession 1 - Alchemy
Profession 2 - Alchemy

Personal Information

sweede
12-13-2008, 08:51 PM
Removed the debug line from the code and there is a custom bbcode that is needed that i forgot to mention in the readme file.

Title: Class
BB Code Tag name: Class
Replacement: <span class="{option}">{param}</span>
Example: Example
Description: CSS Class Code
Use {Option}: Yes
Remove tag if Empty: No

The Classes i use in the default app form is from my wowhead product CSS. https://vborg.vbsupport.ru/showthread.php?t=183035 , i also make use of my other plugin in the app thread, https://vborg.vbsupport.ru/showthread.php?t=169389

Check out your Main CSS options in your current style for all the classes you can use. I chose this method over hardcoding or a bunch of vbulletin options so that if you change your style the post itself will continue to match the new style.

The line you you need to change is the one you copied. that is the forum ID of whatever forum your applications are posted to (In the updated zip you no longer need to edit that plugin).

your SHOWTHREAD template MUST HAVE <!-- thread tools menu --> , for this product to be displayed. You also need to have moderator permissions in that forum.

ErikkuShafer
12-14-2008, 05:06 AM
I also can not find
if (fetch_require_hvcheck('post'))
at all, I'm guessing that was in an older version?

I'm having the same error pop up!

Parse error: syntax error, unexpected T_ELSE in /home/halcyon/public_html/forums/newthread.php(74) : eval()'d code on line 469

I replaced
if ( function_exists(fetch_require_hvcheck) ) with what you suggest above since it was the closest match I could find, error still appears.

mikey1974
12-14-2008, 06:45 AM
that works a treat :)......got it all up and running now

sweede
12-14-2008, 10:35 AM
fixed.

Dry-coding after working 6pm to 6am is bad mkay.

DDolphins
12-15-2008, 09:37 PM
Alright I have an odd problem. I have it set to show a thank you message when a user presses 'submit' However it just reloads the application and when you press submit again says a duplicate thread exists.

I tried the other options as well and all of them do the same thing. Is there something I'm missing? Everything else works fine and its a great mod just this little bug

sweede
12-15-2008, 09:43 PM
some of those options dont work correctly atm. A few of them depend on how your forum applications are setup. For example if you have private applications where the app is posted in a place where the person applying can't view the thread, then you shouldnt set certain options. I dont really note those or looked to see if i can work around it.

This was a quick hack that i did for my guild that i gave to a couple other guilds that i helped with their vbb site, that i finally decided to post here.

Eventually when i get free time from WotLK (lol), then i'll go through this code and clean it up considerably.

ErikkuShafer
12-16-2008, 06:10 AM
I really, really love this mod. BUT, I do have one more (at least for now) question.

I'm looking to change how the thread is formatted. Specifically the Q&A section. I'm kind of OCD how the design of forums, and the neon green and red doesn't fit well with my current theme. How can I change this? I'm not seeing any options or code in the templates or XML. I must be blind as a bat :(

Thanks in advance!

*Nominated for MOTM.

sweede
12-16-2008, 06:26 AM
all that is changed in the Application_Answers template

ErikkuShafer
12-16-2008, 07:18 AM
all that is changed in the Application_Answers template
At the bottom of Application_Answers all I see is:
$guild_app_answer_qa_message
How can I change that? I couldn't find squat in the XML, again as I am more than likely blind ;)

sweede
12-16-2008, 07:29 AM
Oh right right, that is a phrase.

guild_app_qa_answer_form is the phrase name. the default is

{1}. {2}
{3}

{1} is the question number.
{2} is the question itself
{3} is the answer

Finger78
12-16-2008, 05:44 PM
Ok I guess I must be too new to vB to really know how to install this properly, I uploaded the xml's and added in questions via the options but where do I uploaded the "mini" folder with the images in it and where would I find the application on my site? Like what would be the address?

The readme seems to be very detailed, but maybe you could cater to the newer user and make it a bit more beginner friendly with installation/setup?

sweede
12-16-2008, 05:53 PM
the images are for the prefix set. which you upload and create prefixes yourself, to whatever directory you want.

It's for the app_tools.xml product which is not needed by any means for the application itself to work. It's also wasnt designed to be beginner friendly :)

Finger78
12-16-2008, 06:02 PM
Well you think you could give me a quick rundown on how/where to set the page address? I'm pretty new to all of this so any detail you can give me about this whole process would be appreciated.

sweede
12-16-2008, 06:53 PM
Only talking about the guild_app product itself, it's totally self contained. you do not need the app_tools.xml or the images.

When you import the product, you'll have to go to the vbulletin options to set up the forum ID you want apps posted to , what user groups can post applications (generally you want registered members only to post apps, usergroup 2), etc.

Then you simply create a link some where that leads to
http://yoursite.com/newthread.php?do=apply (or http://yoursite.com/forums/newthread.php?do=apply or whatever).

As i said above, it wasnt something i ever planned on releasing and i wrote it for the 3 main guild sites i administrate. another guild on the server wanted to know if they could use it for their site so i created this product. It wasnt written for the "beginer" type of vb user and i havent had time or a need to really go through the code and clean it up and really formalize options like they should be.

A good knowledge of usergroug and forum permissions is needed and some php skills to be able to find and tweak some settings yourself.

If you want help installing this or general vbulletin help, you can contact me through MSN, im usually on all of the time and i think you can get that info from my member info here.

Finger78
12-16-2008, 07:14 PM
Ahh ok I think I finally figured it out lol, only question I have is how can I center the form rather then it be on the left side?

Also had a small issue, when it creates a forum post it looks like this

Character Information

fgnfgnfdg , Undead Priest

Class Spec
11 / 12 / 31

Current Professions

Profession 1 - Herbalism
Profession 2 - Skinning


Personal Information

Your name - joe

Anyway to get it to just display the questions/answers?

Mithan
12-16-2008, 09:29 PM
I installed this form, however the problem I have is that after I submit it, it doesn't (never, even if I change the options from 0 to 4) takes me to the next page, though does post the Application on the forum. This obviously gives the person applying the impression they didn't post the app, so they do it repetedly.

Is there a way to fix that?

Finger78
12-16-2008, 11:23 PM
Now that I test it it did the same to me as well

DDolphins
12-17-2008, 03:51 PM
That was my original problem too Mithan. I have it set to a private forum (only officers can see it) but I wanted it to go to the new page saying 'Thanks for the application' which it isnt doing.

It's a minor annoyance and how I fixed it was just adding in the introduction to the application

'Special Note: Only press submit once, though the form might not look like it was submitted, it was' sort of thing. Worked so far.

But if you do ever get around to fixing the code (maybe when 3.8 is released ;) ) it'd be appreciated. Actually I think I use pretty much majority of your mods and even as it is now it's a great mod

But I do understand where you're coming from with WOTLK and just no time to do anything else

ErikkuShafer
12-18-2008, 05:56 PM
Hey, I just added you on MSN so if you see Erik Shafer you know that's me :)

I'm still trying to find where that phrase is defined. I see where it's mentioned in the newthread_start, but that's it.

// While we're here. Lets make a variable in case we're submiting the form for real.

$guild_app_answer_qa_message .= construct_phrase( $vbphrase['guild_app_qa_answer_form'], $idx, trim($question), $$q_idx ) . "\n";


$idx++;
Here (http://halcyonaffinity.org/forums/newthread.php?do=apply) is my page to give you an example. Just hit preview and you'll see what I'm talking about. Everything is themed and then BAM, red and neon green! Which would be fine a majority of the time, I'm just kinda anal about colors.

mikey1974
12-22-2008, 02:58 PM
did you manage to figure out why (when posting to a hidden forum) the thankyou message hasnt appeared?

sweede
12-22-2008, 07:58 PM
Ahh ok I think I finally figured it out lol, only question I have is how can I center the form rather then it be on the left side?

Also had a small issue, when it creates a forum post it looks like this

Character Information

fgnfgnfdg , Undead Priest

Class Spec
11 / 12 / 31

Current Professions

Profession 1 - Herbalism
Profession 2 - Skinning


Personal Information

Your name - joe

Anyway to get it to just display the questions/answers?

Read the mod description again, specificly the very end.

I installed this form, however the problem I have is that after I submit it, it doesn't (never, even if I change the options from 0 to 4) takes me to the next page, though does post the Application on the forum. This obviously gives the person applying the impression they didn't post the app, so they do it repetedly.

Is there a way to fix that?
I will look at that when i get home tomorrow from work.

Hey, I just added you on MSN so if you see Erik Shafer you know that's me :)

I'm still trying to find where that phrase is defined. I see where it's mentioned in the newthread_start, but that's it.

// While we're here. Lets make a variable in case we're submiting the form for real.

$guild_app_answer_qa_message .= construct_phrase( $vbphrase['guild_app_qa_answer_form'], $idx, trim($question), $$q_idx ) . "\n";


$idx++;
Here (http://halcyonaffinity.org/forums/newthread.php?do=apply) is my page to give you an example. Just hit preview and you'll see what I'm talking about. Everything is themed and then BAM, red and neon green! Which would be fine a majority of the time, I'm just kinda anal about colors.

This is a phrase, which you change in the language & phrase manager.
search for the variable name "guild_app_aq_answer_form" and you would change what you need there.

AureliusFL
12-23-2008, 07:29 AM
I'm having the same issues as Mithan, when I chose option 0 (tell the user "Thank you for submitting your application") the firm simply redirects back to itself with all the info filled out, giving the user the impression that it did not submit.

Any idea how I might fix that?

ErikkuShafer
12-26-2008, 12:41 AM
I will look at that when i get home tomorrow from work.
Yep, I have the same problem where is just goes to the application page, not the Thank You page :(


This is a phrase, which you change in the language & phrase manager.
search for the variable name "guild_app_aq_answer_form" and you would change what you need there.
Awwwesome! Thanks a lot, you rock!

croft
12-27-2008, 04:39 AM
Thanks for this. It works great :)

Just have a question tho. the comment boxes '$comment_boxes' are lined up beside eachother. Our forum isnt that wide and i want them to be displayed under eachother instead.

How do i do that ?

Finger78
12-30-2008, 06:57 AM
Read the mod description again, specificly the very end.

Thanks for the info, sorry I missed that, all look well except at the very top I still get this code Hanardarer , Orc Shaman

Looked over the instructions again and didnt see how to fix this. Thanks again for the help.

And yes I installed your other mod, the WoW Character BBCode

Ok, well it seems I might have some insight into my problem, capital letters could be it?

Here is the example: For the original post -
bobetx , Undead Warlock = Works fine

Bobetx , Undead Warlock = Does NOT work

Once I manually edit a post and kick it to lower case, then I can edit it to all caps etc and things work as intended, but it seems on the original post it has to be lower case to work, I cant even begin to explain why this might be.

slick368
01-05-2009, 05:08 AM
Everything installed without a hitch. The app works and the post to the forums looks great. My only problem is that when I pull down the App Tools menu, it is blank with only a Perform Action button at the bottom.

I noticed the two screenshots in the package indicating that prefixes need to be set, but I am unclear as to how to get those two screens to come up so I can set the prefixes.

Is there something I'm missing?

ErikkuShafer
01-05-2009, 10:33 AM
Any update on how to fix where the user/applicant goes after the thread is submitted? Still have mine going back to the app, though the form is properly submitted. Getting a lot of applications lately and I'd like the process to go a little smoother is all! :)

AureliusFL
01-05-2009, 01:41 PM
Any update on how to fix where the user/applicant goes after the thread is submitted? Still have mine going back to the app, though the form is properly submitted. Getting a lot of applications lately and I'd like the process to go a little smoother is all! :)
I would love to see a fix for this too.

Ragefire
01-05-2009, 03:29 PM
Likewise. Great app tho!

wintrmte
01-07-2009, 05:10 AM
Agreed , although looking at the code I think I'm see where the problem is, but will look at it more tomorrow (too sleepy).

AureliusFL
01-07-2009, 05:44 PM
Agreed , although looking at the code I think I'm see where the problem is, but will look at it more tomorrow (too sleepy).
Halp us!

wintrmte
01-08-2009, 02:15 AM
OK, I found a few things that were not working here.. I'll go through them in order as they appear in the product.xml file. You will need to uninstall the product and the reinstall the edited product.xml file once you are done. I tested what I could, but did not test the forum poll or anything like that. The thank you message and redirect to post are working.

I hope this is ok, but I attached the product-new.xml that I modified to get this working on vBulletin 3.7.4 PL1. (Note, if you use my XML, I changed the output color for the Q&A part in the product-xml to be black. If you want to change this color, look for color=black and change it to be whatever color..)

Line 493:
Original Version:
$bbuserinfo[username], you need to answer every question!";
Change to:
eval(standard_error($vbulletin->userinfo['username'].", you need to answer every question!"));

Starting at line 661, insert a comment as shown below:
(This is what is causing the redirect to not work, there is an array created called $errors by VB, but it is blank.


/* if(is_array($errors))
{
$errormessage = $errors[0];
$_REQUEST['action'] = 'form';
} else { */


Line 693, Comment out lines 693 and 694 (this was preventing the thank you message from displaying if redirect option 0 was selected):

/* eval( 'print_output("' . fetch_template('STANDARD_ERROR') . '");' );
exit(); */


Line 695, Change

$errormessage = $vbulletin->options['guild_app_post_thankyou'];

TO:

eval(standard_error($vbulletin->options['guild_app_post_thankyou']));


Line 696, Comment out the bracket (this is the terminating bracket to line 665 that is now commented out.

/* { */


Line 706, Change
$errormessage = "$bbuserinfo[username], you need to answer every question!";
TO:
eval(standard_error($vbulletin->userinfo['username'].", you need to answer every question!"));

Ragefire
01-08-2009, 09:20 AM
Tried editing my modified .XML, and got errors when accessing the form (no doubt my lack of editing skills), so downloaded your XML, and edited that to include my options.

Works like a charm!

Thanks a million Wintrmte

wintrmte
01-08-2009, 01:06 PM
Tried editing my modified .XML, and got errors when accessing the form (no doubt my lack of editing skills), so downloaded your XML, and edited that to include my options.

Works like a charm!

Thanks a million Wintrmte

No problem -- I forgot to mention in my original post that I changed the output colors in the post for the Q&A to be Black instead of neon-green. If you want to change it, look in the product-xml for color=black and change it to what you need it to be.

Tolas
01-09-2009, 11:43 AM
Sweede, great work as always.

I do have a suggestion: Is it possible to have the character name also provide a link to their Guild Exes page?
http://www.warcraftrealms.com/guildexes/

In recruiting people we sometimes like to take a peek at their guild history to see where they have been, and it would be nice to have another link on their application that would provide easy access to something like that.


Wintrmte, you rock! Thanks for the Fix! I know Sweede gets busy at times and can't always update/fix right away.

Finger78
01-09-2009, 01:50 PM
No problem -- I forgot to mention in my original post that I changed the output colors in the post for the Q&A to be Black instead of neon-green. If you want to change it, look in the product-xml for color=black and change it to what you need it to be.


I have checked, checked and rechecked the xml and there is NO color=black in the document, could you please tell me how to change the color back to the original? I have tried looking through both the old and the new and my coding skills are 0 so I cant find what to change back.

Please if you provide a find/replace include the whole line in it (the find/replace info in your previous post is a little messed up and why it gives errors when used exactly)

Thanks again for the fix

Mithan
01-09-2009, 02:42 PM
never mind.

wintrmte
01-11-2009, 03:12 AM
I have checked, checked and rechecked the xml and there is NO color=black in the document, could you please tell me how to change the color back to the original? I have tried looking through both the old and the new and my coding skills are 0 so I cant find what to change back.

Please if you provide a find/replace include the whole line in it (the find/replace info in your previous post is a little messed up and why it gives errors when used exactly)

Thanks again for the fix

OK -- look for where it says "class=black" and replace it with g2 -- that's what the original had in it. That's my fault, I thought it was color=black, but it's actually class=black. My apologies.

but, keep in mind, you can actually edit the Application Form in your templates and change it there and not have to re-import the product-xml.

Vaupell
01-11-2009, 11:13 PM
Wery nice..

only comment, should be made as a blank, so we can use it for anygame
add our own classes and proffesions depending on game.

would also make it useable in the furture,, or are we allowed to modify the code entirely ?

sweede
01-14-2009, 01:53 PM
Wery nice..

only comment, should be made as a blank, so we can use it for anygame
add our own classes and proffesions depending on game.

would also make it useable in the furture,, or are we allowed to modify the code entirely ?

do whatever you need. would be nice to post your modifications back in this thread, you know, all GPL like and all.

Hawnted
01-15-2009, 09:53 PM
Everything installed without a hitch. The app works and the post to the forums looks great. My only problem is that when I pull down the App Tools menu, it is blank with only a Perform Action button at the bottom.

I noticed the two screenshots in the package indicating that prefixes need to be set, but I am unclear as to how to get those two screens to come up so I can set the prefixes.

Is there something I'm missing?

You need to apply the prefixes to the correct forum to fix your issue.

However, sweede I am having a similar problem in that the Graveyard does not display. I see in the app tools where to assign a prefix but not the graveyard button. Any hints there?

EDIT*************

Fixed my own problem. Your graveyard code was commented out I noticed. I uncommented and it worked just fine. However, for others out there the forum IDs are hardcoded so make sure to set them before importing.

Brak710
01-17-2009, 09:32 PM
I seem to be having issues with the most recent version, it's not posting the applications to the correct forum.

Is this just me?

sweede
01-18-2009, 07:56 AM
I seem to be having issues with the most recent version, it's not posting the applications to the correct forum.

Is this just me?

My bad, i had hardcoded the post to forum id on accident.

it's fixed now and will follow the vbulletin option.

Vackrick
01-19-2009, 07:58 AM
Invalid Forum specified. If you followed a valid link, please notify the administrator

wHEN I ACCEPT IT APPEAR THIS PLS HELP

sweede
01-19-2009, 08:02 AM
are you using 0.3.1 ? you need to check your set your vbulletin options to the forum you want the apps to be posted to.

Vackrick
01-19-2009, 10:34 AM
where do i download the latest version????

cause i edited it dun work

sweede
01-19-2009, 02:23 PM
where do i download the latest version????

cause i edited it dun work

Umm....

this thread ?

Vackrick
01-20-2009, 06:06 AM
dude is there any otehr way without editting the file and can accept the thread application..

slick368
01-20-2009, 06:13 AM
Upgraded this product to the latest version... didn't like how it jacked up the forum post, so i uninstalled and reverted back to the prior version. Now, regardless of which version I use (and i have re-tried them all) I get the following error:

Fatal error: Existing data passed is not an array
Called set_existing in [path]/newthread.php(74) : eval()'d code on line 225
Called eval in [path]/newthread.php on line 74
in [path]/includes/class_dm.php on line 235

Any ideas what has gone wrong?

Cyxla
01-25-2009, 05:32 AM
Thanks for the add-on sweede.

I like it, easy to edit and looks cool.

I only noticed 1 issue.
The App tool is not working for us when we use Firefox. (Firefox/3.0.5)
We can see the options like "Approved", "Best of" ect.. but whatever we click, we only can select the option that is on top.

When we try to same with IE7 its working like it should be.
But this just for your info, dont think we will use it anyway.

Brak710
01-25-2009, 03:20 PM
Thanks for the great work on this addon... I seem to be having another issue (not addon breaking tho)

I seem to get the Apptools drop down menu twice, but only the farthest left works.

It basically the drop down links look like this...

| Apptools \/ \/ | Apptools | Thread tools \/ |

LittleB@
01-31-2009, 09:09 PM
Thnx for this one, really appreciate it =)

As you can see by taking a look at the image I included I've managed to modd the plugin lightly to change questions and layout slightly, however, something I have not been able to change is the layout of the "Questions and Answers" in the preview and ultimately not in the submitted application.

What I would like to see is an addition of a line break after each of them questions somehow but I have been unable to solve the issue.

I do however suspect this part of the code to be the "villain":


// While we're here. Lets make a variable in case we're submiting the form for real.
$question = trim($question);
$question_answer = $$q_idx;
$question_id = $idx;
eval('$guild_app_answer_qa_message .= "' . fetch_template('App_Question_Answer') . '";');

unfortunately I've got limited php skills to make sure every question/answer is followed by line breaks that are accepted when entering them into the vb-database...

Any help would be greatly appreciated =)

sweede
01-31-2009, 10:29 PM
I'm totally confused

In the preivew and the forum post, you want a line break after the answer before the next question?

That's done in the newthread_start plugin.

Look around line 126 in the plugin code
$comment_boxes .= '</td><td valign="top">';

changing it to
$comment_boxes .= '<br /></td><td valign="top">';

may do what you want

I havent figured out a way to template that bit of logic yet, so it's a little.. wonkey.

LittleB@
01-31-2009, 10:40 PM
That's done in the newthread_start plugin.

Look around line 126 in the plugin code
$comment_boxes .= '</td><td valign="top">';

changing it to
$comment_boxes .= '<br /></td><td valign="top">';


Thank you, but what this does is adding a line break only in the form itself and not at the actual preview. Where exactly do you build the questions and answers variable that is ultimately inserted into the database as "the message"?

Edit*
Actually I think I found out something, by editing line 140 to look like this:
eval('$guild_app_answer_qa_message .= "' . fetch_template('App_Question_Answer') . '<br />' . '";'); I get the preview to print <br /> after each of the answers, the problem now seems to be the fact that in the process of inserting the message into the database the message is stripped of any html code... or something, what do you think? ^^

sweede
01-31-2009, 10:55 PM
try adding
$guild_app_answer_aq_message .= "<br />";

after
eval('$guild_app_answer_qa_message .= "' . fetch_template('App_Question_Answer') . '";');

LittleB@
01-31-2009, 11:07 PM
try adding
$guild_app_answer_aq_message .= "<br />";

after
eval('$guild_app_answer_qa_message .= "' . fetch_template('App_Question_Answer') . '";');

nope, not even showing up as <br />

I tried adding several <br /> along with some XX to see if anything got included like this:
$guild_app_answer_aq_message .= "<br />XX<br />XX<br />XX<br />";

but alas... nothing shows up, copare with my previous post where I at least see the <br /> printed in the preview ^^

Edit*
Woot!? XD Problem solved, I ventured into the template fetched at line 140 fetch_template('App_Question_Answer'). By hitting "return" on my keyboard at the end of the template I get the preview to show what I want it to show =)

Thnx for the help ^^

LittleB@
02-01-2009, 04:33 PM
Sorry to bother you again but I've ran into another problem.

Using the "app mover" while browsing the topic in order to Deny or Accept it is not working for me, well, it is partially working: I can assign forums and names for the radio buttons, I see the "Tool" while browsing the application topic and I can move the application, however - I am unable to select any but the first option to move to if you get what I mean?

(a simple grafic presentation of the problem)
*App Mover*
- Accept (this one works)
- Deny (I can't select this)
- Trash (I can't select this)

To work around this I could simply move all apps to the same forum and make sure to reply/change the subject or whatever but if you have the time I'd appreciate if you could have a look at this. The thought of being able to move the app to any destination just like that is thrilling ^^

Edit*
I changed the input type to instead be a checkbox, by doing this I am now able to first click the option I want and then remove the automaticaly selected first option... It's slightly barbaric but it works, perhaps this is a clue that could help you sort this out? (or yes, might just as well be my set-up but if it's related to new changes in vB hope this helps ^^ )

Cyxla
02-02-2009, 12:21 PM
LittleB@

For the line break after each answer and to get your next question on a new line you have to open your template "App_Question_Answer"

go to the end of the second line, this should be $question_answer and hit the enter key.
save your template and check your form, this did do the trick for me.

LittleB@
02-03-2009, 12:50 AM
LittleB@

For the line break after each answer and to get your next question on a new line you have to open your template "App_Question_Answer"

go to the end of the second line, this should be $question_answer and hit the enter key.
save your template and check your form, this did do the trick for me.

Yea thnx, already figured out that one myself ;)

sweede
02-03-2009, 01:02 AM
(a simple grafic presentation of the problem)
*App Mover*
- Accept (this one works)
- Deny (I can't select this)
- Trash (I can't select this)



found this problem,
The App_Mover template should be


<div>
<label for="ao_oct$forum_id">
<input type="radio" name="destforumid" id="ao_oct$forum_id" value="$forum_id" />$forum_name
</label>
</div>


and the dropdown works as it should

Tolas
02-03-2009, 11:50 AM
for some reason, my apps no longer are using the character BBcode when they get posted or previewed?

I am using the latest Version (0.3.2), I have already uninstalled it and re-installed
your character BBCODE (0.4.9b...although it still says 0.4.9a in my admin panel, not sure why as I have uninstalled completely and re-installed a few times) is fully functional on my site (I also tried re-installing that too)
I am guessing something might be off in App_Form_CharacterInfo ?

This is using vbulletin 3.8.1. Any help would be greatly appreciated, not sure what happened as it used to work fine, I might be overlooking something simple, I dunno.

sweede
02-03-2009, 05:21 PM
I might be overlooking something simple, I dunno.

I removed that. it was kind of silly to include bbcode specific to another mod that may not be used on every forum.

you would simply need to change the 2nd line of the App_Answer template to

$character_name

LittleB@
02-03-2009, 10:19 PM
and the dropdown works as it should
Sure works, you are the man! Thnx a lot =)

dannykilla
02-04-2009, 05:58 PM
I have a fixed width and for some reason the application is staying the same width which is wider than 1000px (which is the fixed width of my board) so can anyone help me please?

Dan

sweede
02-04-2009, 08:25 PM
I have a fixed width and for some reason the application is staying the same width which is wider than 1000px (which is the fixed width of my board) so can anyone help me please?

Dan

I had to update a couple things but it will be better with one template edit.

Import the new 0.3.3 version and edit the textarea cols attribute in the App_Question_box template (for 1000px fixed width, try cols="60")

dannykilla
02-04-2009, 09:25 PM
awesome it was col=55 thanks Sweede!

one thing though the border is slightly off?

http://www.pcgamingblog.co.uk/Capture.JPG

Tolas
02-05-2009, 01:25 PM
I removed that. it was kind of silly to include bbcode specific to another mod that may not be used on every forum.

you would simply need to change the 2nd line of the App_Answer template to

$character_name

Thanks :)

Martinjepsen
02-14-2009, 04:17 PM
Hey Swede

First of all: awesome addon great work.

Here is my question:

The app tool is super, but I would like for it to be able to follow the "thread" around.

Explanation:

When someone applies to our guild, the application goes into a closed section of the forum (officers) then they use the app tool to either dump it in an archived closed part of the forum or post it publically for the memebers to see.

When the members have discussed the application officers needs to move it again, and here it would be nice to have the app tool there as well, is that possible in any ways.

Sorry for the rambling, hop it made a bit of sense.

sweede
02-14-2009, 07:07 PM
When the members have discussed the application officers needs to move it again, and here it would be nice to have the app tool there as well, is that possible in any ways.



You can now add the app mover tool to more than one forum. The vbulletin option accepts a comma separated list.

Bl00dRoyal
02-17-2009, 10:02 PM
is there a way to have 2 different apps with this? My guild has both WoW and War members and WoW currently uses it but the War People want a separate version for them. Any help would be greatly appreciated.

TriAxis
03-01-2009, 10:14 PM
You can now add the app mover tool to more than one forum. The vbulletin option accepts a comma separated list.

I have this app installed and we are now using it. I did have to dabble with it to get only the questions we wanted asked but it is working as intended.

Except the app mover is not posting in more than one thread. I have 2 forum numbers listed in the test box.. example "7,21". It will only post to the first one listed. If I flip the numbers to "21,7" it will post in "21" but not in "7".

Anyone else having this problem? Sweede.. can you review this one again or should I be looking at the code in the "app mover" section of the style?

Thanks in advance.
TriAxis

SlompOchomp
03-27-2009, 12:08 PM
Request:
Could you posibly add a Dropdown options to say Accepted and Denied and after one of the options are slected it would change the Title: to say

Accepted "Class" - "Name" "Spec/Spec/Spec"

or

Denied "Class" - "Name" "Spec/Spec/Spec"

I am sure most would like this option. Great work BTW
Thanks in advanced!!

y2krazy
03-27-2009, 06:29 PM
Request:
Could you posibly add a Dropdown options to say Accepted and Denied and after one of the options are slected it would change the Title: to say

Accepted "Class" - "Name" "Spec/Spec/Spec"

or

Denied "Class" - "Name" "Spec/Spec/Spec"

I am sure most would like this option. Great work BTW
Thanks in advanced!!
This can be done very easily using the already packaged vBulletin prefix system. Just allow your usergroup to be able to use a set of prefixes for your App forum. When the status changes, Edit the thread the App is in and change the prefix to your desired one. Easy. :)

~ Sean

SkyCatcher
03-31-2009, 12:20 PM
is there a way to have 2 different apps with this? My guild has both WoW and War members and WoW currently uses it but the War People want a separate version for them. Any help would be greatly appreciated.


I'm interested in this too. Right now I would have to change the variables for a second form but I'm not 100% sure how many and which ones I would need to change to make a "copy" of it as a seperate application form.

SlompOchomp
03-31-2009, 02:06 PM
This can be done very easily using the already packaged vBulletin prefix system. Just allow your usergroup to be able to use a set of prefixes for your App forum. When the status changes, Edit the thread the App is in and change the prefix to your desired one. Easy. :)

~ Sean
Wonderfull Thanks that did the trick https://vborg.vbsupport.ru/external/2011/01/19.gif

quarum
04-15-2009, 09:42 PM
Am I missing something? I cant seem to find where to download this mod.

mikey1974
05-28-2009, 01:54 PM
Swede its been a while but AWESOME addon again dude, it rocks. thanks to the way you wrote it i actually understand this code a little better and managed to add some nice little features for extra questions and such. Was just curious though would you ever consider adding a answer all question option. The reason i ask is that for some reason we seem to be under constant randoms trying to register on the forums so they can spam ads, we locked the registration but they seem to think that filling out a quick application form will get them noticed, they always get deleted before anyone can see them BUT i wanna make it as difficult for these guys as possible

sweede
05-28-2009, 02:49 PM
i thought i added the option to do just that but it seems that i forgot about it.

easy enough to fix,
Open the newthread_Start hook for this plugin and add to the top (anywhere)

$answerall = 1;

SkyCatcher
05-28-2009, 07:12 PM
The option is in one of the plugins. It doesn't have an admincp option but edit the plugin and set to 1.

Dagothar
07-13-2009, 09:16 PM
How well does your baby work with 3.8?

AureliusFL
07-15-2009, 12:13 PM
Echoing the above poster...would love to see a 3.8 version of this beauty!

sweede
07-15-2009, 12:22 PM
it should work fine on 3.8

busultan
09-04-2009, 11:18 AM
It Work :D

ty

Elbulus
12-31-2009, 10:47 PM
Have you got plans to update it Vb4.0 ?

Also on the current version where abouts is the option hiding to change the font color? As we have a dark background and it seems to be a funny grey thats really hard to read !

cheers.

jimfries
01-21-2010, 12:07 AM
Love the addon, but I would love it even more if you had an update for vb 4.0 :D I just updated my forums for my guild, and am now running vb4.0.1 and would love to use this, but am unable to as of yet.

I'll keep checking if you do update it.

y2krazy
05-07-2010, 10:04 AM
Parse error: syntax error, unexpected '/', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/spgarner/public_html/newthread.php(76) : eval()'d code(154) : eval()'d code on line 1
I am now getting this error after customizing the application page. Any ideas? I get 15 of these, which is the amount of questions I have at the bottom (see link).

http://bluegarter.elementfx.com/newthread.php?do=apply

y2krazy
05-16-2010, 02:36 AM
Sweede? Any ideas?

sweede
06-23-2010, 01:20 PM
Sweede? Any ideas?

Ok, you posted a reply in my other mod but you may have wanted an answer to this one.



I would suggest reading your error again, it tells you exactly what and where the problem is.


Parse error: syntax error, unexpected '/', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/spgarner/public_html/newthread.php(76) : eval()'d code(154) : eval()'d code on line 1

Just in case you missed it

y2krazy
06-23-2010, 05:07 PM
I ended up making changes about a month ago to most of the templates since I was unable to find the error I must've made when trying to customize it. The 2 columns of questions just ended up looking sloppy if 2 questions lined up were different lengths. I converted it to 1 column for the questions and it looks much, much cleaner.

This could be used to satify those that want one (1) column for the questions and a more integrated feel to the rest of the vBulletin pages. Here is the code if you would like to use it:

App_Question_Answer
$question_id. $question
A: $question_answer


App_Form
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>$headinclude
<title>$vboptions - $formtitle</title>
$app_form_css
</head>

<body>
$header
$navbar
<if condition="$errormessage">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat"> Error Message </td>
</tr>
<tr>
<td class="alt1">
<div style="font-size:24px; color:red; font-weight: bolder;">$errormessage</div>
</td>
</tr>
</table>
<br />
<br />
</if>

<if condition="$preview">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat"> Preview </td>
</tr>
<tr>
<td class="alt1"> $preview </td>
</tr>
</table>
<br />
</if>

<form name="vbform" action="newthread.php" method="post" onSubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])">
<input type="hidden" value="$formname" name="do" />
<input type="hidden" value="submit" name="action" />
<input type="hidden" name="posthash" value="$posthash" />
<input type="hidden" name="poststarttime" value="$poststarttime" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td colspan="2">
$app_form_desc_head
</td>
</tr>
<tr>
<td valign="top" width="50%">
$app_form_character_info
</td>
<td valign="top" width="50%">
$app_form_personal_info
</td>
</tr>
<tr>
<td colspan="2">
<!-- Do not remove this variable -->
$comment_boxes

<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr class="tcat">
<td valign="top" colspan="3"><p align="center">
<input type="submit" value="Submit" name="submit" style="font-family: Verdana; font-size: 10pt" class="button" />
<input type="submit" value="Preview" name="submit" style="font-family: Verdana; font-size: 10pt" class="button" />
<input type="reset" value="Reset" name="reset" style="font-family: Verdana; font-size: 10pt" class="button" />
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
$footer
</body>
</html>


App_Form_PersonalInfo
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat" colspan="2"><b>Personal Information</b></td>
</tr>
<tr>
<td width="100%" align="left" class="alt1 wowsl"><b>Your Real Name:</b></td>
<td align="right" class="alt1 wowsc"><input type="text" size="30" value="$personal_name" name="app[personal_name]" /></td>
</tr>
<tr>
<td width="100%" align="left" class="alt1 wowsl"><b>Your Age:</b></td>
<td align="right" class="alt1 wowsc"><input type="text" size="5" value="$personal_age" name="app[personal_age]" /></td>
</tr>
<tr>
<td width="100%" align="left" class="alt1 wowsl"><b>Male or Female?</b></td>
<td align="right" class="alt1 wowsc"><select name="app[personal_sex]">
<option value="Guy" <if condition="$personal_sex == 'Guy'">selected="selected"</if> >Guy</option>
<option value="Girl" <if condition="$personal_sex == 'Girl'">selected="selected"</if> >Girl</option>
</select>
</td>
</tr>
<tr>
<td width="100%" align="left" class="alt1 wowsl"><b>Your Local Timezone:</b></td>
<td align="right" class="alt1 wowsc"><select name="app[personal_tz]">
<option value="PST" <if condition="$personal_tz == 'PST'">selected="selected"</if> >PST</option>
<option value="MT" <if condition="$personal_tz == 'MT'">selected="selected"</if> >MT</option>
<option value="CST" <if condition="$personal_tz == 'CST'">selected="selected"</if> >CST</option>
<option value="EST" <if condition="$personal_tz == 'EST'">selected="selected"</if> >EST</option>
<option value="GMT" <if condition="$personal_tz == 'GMT'">selected="selected"</if> >GMT</option>
<option value="Other" <if condition="$personal_tz == 'Other'">selected="selected"</if> >Other</option>
</select>
</td>
</tr>
<tr>
<td width="100%" align="left" class="alt1 wowsl"><b>What times do you play the most or are most active in the game?</b></td>
<td align="right" class="alt1 wowsc"><textarea cols="30" rows="2" name="app[personal_playtime]">$personal_playtime</textarea></td>
</tr>
<tr>
<td width="100%" align="left" class="alt1 wowsl"><b>What do you enjoy doing in-game the most?</b></td>
<td align="right" class="alt1 wowsc"><select name="app[personal_game_fav]">
<option value="Instancing" <if condition="$personal_game_fav == 'Instancing'">selected="selected"</if> >Instancing</option>
<option value="Raiding" <if condition="$personal_game_fav == 'Raiding'">selected="selected"</if> >Raiding</option>
<option value="Farming" <if condition="$personal_game_fav == 'Farming'">selected="selected"</if> >Farming</option>
<option value="Roleplaying" <if condition="$personal_game_fav == 'Roleplaying'">selected="selected"</if> >Roleplaying</option>
<option value="Cyberz" <if condition="$personal_game_fav == 'Cyberz'">selected="selected"</if> >Cyberz</option>
</select>
</td>
</tr>
<tr>
<td width="100%" align="left" class="alt1 wowsl"><b>Have you ever been a Raid Leader, Class Leader or Officer with another guild?</b></td>
<td align="right" class="alt1 wowsc"><textarea cols="30" rows="2" name="app[personal_prev_leader]">$personal_prev_leader</textarea></td>
</tr>
<tr>
<td width="100%" align="left" class="alt1 wowsl"><b>Do you have <a href="http://www.ventrilo.com/" target="_blank">Ventrilo</a> and a <u>working</u> microphone?</b></td>
<td align="right" class="alt1 wowsc"><select name="app[personal_vent]">
<option value="Yes" <if condition="$personal_vent == 'Yes'">selected="selected"</if> >Yes to both!</option>
<option value="No" <if condition="$personal_vent == 'No'">selected="selected"</if> >No and I shouldn't apply.</option>
</select>
</td>
</tr>
</table>


App_Answer
[B]Name: $personal_name / $personal_sex (Age: $personal_age)
Timezone: $personal_tz

Realm: $current_server
Name: $character_name (http://www.wowarmory.com/character-sheet.xml?r=$current_server&cn=$character_name)
Race & Class: $character_race $character_class
Spec: $character_talents_1/$character_talents_2/$character_talents_3
Professions: $character_profession_1 + $character_profession_2

http://www.wow-heroes.com/index.php?zone=us&server=$current_server&name=$character_name
http://be.imba.hu/?zone=US&realm=$current_server&character=$character_name
http://www.armory-light.com/us/$current_server/$character_name/
http://www.wow-achievements.com/Person.aspx?region=US&realm=$current_server&name=$character_name
http://elitistarmory.com/US/$current_server/$character_name

I. Generic Questions

What times do you play the most or are most active in the game?
$personal_playtime

What do you enjoy doing in-game the most?
$personal_game_fav

Have you ever been a Raid Leader, Class Leader or Officer with another guild?
$personal_prev_leader

Do you have Ventrilo (http://www.ventrilo.com/) and a working microphone?
$personal_vent

II. Specific Questions

$guild_app_answer_qa_message


App_Form_DescBox
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat" colspan="3"> $vboptions[bbtitle] - $formtitle </td>
</tr>
<tr>
<td class="alt1" colspan="3">

<span class="smallfont"><b>$formpurpose</b></span>

</td>
</tr>
</table>


App_Question_box
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat"><font size="3" color="#ff0000">$idx.</font> $question</td>
</tr>
<tr>
<td class="alt1" align="center" class="alt2 wowsc">
<textarea rows="5" cols="120" name="app[question_$idx]">${$q_idx}</textarea>
</td>
</tr>
</table>


App_Form_CharacterInfo
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat" colspan="2"><b>Character Information</b></td>
</tr>
<tr>
<td width="100%" align="left" class="alt1 wowsl"><b>Character Name:</b></td>
<td align="right" class="alt1"><input type="text" size="30" value="$character_name" name="app[character_name]" /></td>
</tr>
<if condition="!$show['member']">
$human_verify
</if>
<tr>
<td width="100%" align="left" class="alt1 wowsl"><b>Current Realm:</b></td>
<td align="right" class="alt1">
<input type="text" size="30" value="$current_server" name="app[current_server]" />
</td>
</tr>
<tr>
<td width="100%" align="left" class="alt1 wowsl"><b>Character Race:</b></td>
<td align="right" class="alt1">
<select name="app[character_race]">
<option value="Blood Elf" <if condition="$character_race == 'Blood Elf'">selected="selected"</if> >Blood Elf</option>
<option value="Orc" <if condition="$character_race == 'Orc'">selected="selected"</if> >Orc</option>
<option value="Tauren" <if condition="$character_race == 'Tauren'">selected="selected"</if> >Tauren</option>
<option value="Troll" <if condition="$character_race == 'Troll'">selected="selected"</if> >Troll</option>
<option value="Undead" <if condition="$character_race == 'Undead'">selected="selected"</if> >Undead</option>
</select>
</td>
</tr>
<tr>
<td width="100%" align="left" class="alt1 wowsl"><b>Character Class:</b></td>
<td align="right" class="alt1">
<select name="app[character_class]">
<option value="Death Knight" <if condition="$character_class == 'Death Knight'">selected="selected"</if> >Death Knight</option>
<option value="Druid" <if condition="$character_class == 'Druid'">selected="selected"</if> >Druid</option>
<option value="Hunter" <if condition="$character_class == 'Hunter'">selected="selected"</if> >Hunter</option>
<option value="Paladin" <if condition="$character_class == 'Paladin'">selected="selected"</if> >Paladin</option>
<option value="Priest" <if condition="$character_class == 'Priest'">selected="selected"</if> >Priest</option>
<option value="Mage" <if condition="$character_class == 'Mage'">selected="selected"</if> >Mage</option>
<option value="Rogue" <if condition="$character_class == 'Rogue'">selected="selected"</if> >Rogue</option>
<option value="Shaman" <if condition="$character_class == 'Shaman'">selected="selected"</if> >Shaman</option>
<option value="Warlock" <if condition="$character_class == 'Warlock'">selected="selected"</if> >Warlock</option>
<option value="Warrior" <if condition="$character_class == 'Warrior'">selected="selected"</if> >Warrior</option>
</select>
</td>
</tr>
<tr>
<td class="alt1 wowsl"><b>Class Talent Points:</b></td>
<td align="right" class="alt1">
<input type="text" size="2" value="$character_talents_1" name="app[character_talents_1]" /> /
<input type="text" size="2" value="$character_talents_2" name="app[character_talents_2]" /> /
<input type="text" size="2" value="$character_talents_3" name="app[character_talents_3]" />
</td>
</tr>
<!--
<tr>
<td width="100%" align="left" class="alt1 wows1">Picture of your Raid UI &nbsp;&nbsp;&nbsp;&nbsp;[<a href="#" onClick="window.open('vbimghost.php?do=popupload&ed=app_raid_ui','vbimghost2','scrollbars=yes,resiz able=yes,width=562,height=97'); return false" title="Upload">Upload</a>]</td>
<td align="right" class="alt1 wowsc"><input type="text" size="30" name="app[character_raid_ui]" id="app_raid_ui"></td>
</tr>
-->
<tr>
<td class="alt1 wowsl"><b>Current Professions:</b></td>
<td width="300" align="right" class="alt1 wowsl">Profession 1: &nbsp;&nbsp;
<select name="app[character_profession_1]">
<option value="Alchemy" <if condition="$character_profession_1 == 'Alchemy'">selected="selected"</if> >Alchemy</option>
<option value="Blacksmithing" <if condition="$character_profession_1 == 'Blacksmithing'">selected="selected"</if> >Blacksmithing</option>
<option value="Enchanting" <if condition="$character_profession_1 == 'Enchanting'">selected="selected"</if> >Enchanting</option>
<option value="Engineering" <if condition="$character_profession_1 == 'Engineering'">selected="selected"</if> >Engineering</option>
<option value="Herbalism" <if condition="$character_profession_1 == 'Herbalism'">selected="selected"</if> >Herbalism</option>
<option value="Inscription" <if condition="$character_profession_1 == 'Inscription'">selected="selected"</if> >Inscription</option>
<option value="Jewelcrafting" <if condition="$character_profession_1 == 'Jewelcrafting'">selected="selected"</if> >Jewelcrafting</option>
<option value="Leatherworking" <if condition="$character_profession_1 == 'Leatherworking'">selected="selected"</if> >Leatherworking</option>
<option value="Mining" <if condition="$character_profession_1 == 'Mining'">selected="selected"</if> >Mining</option>
<option value="Tailoring" <if condition="$character_profession_1 == 'Tailoring'">selected="selected"</if> >Tailoring</option>
<option value="Skinning" <if condition="$character_profession_1 == 'Skinning'">selected="selected"</if> >Skinning</option>
</select>
<br>
Profession 2: &nbsp;&nbsp;
<select name="app[character_profession_2]">
<option value="Alchemy" <if condition="$character_profession_2 == 'Alchemy'">selected="selected"</if> >Alchemy</option>
<option value="Blacksmithing" <if condition="$character_profession_2 == 'Blacksmithing'">selected="selected"</if> >Blacksmithing</option>
<option value="Enchanting" <if condition="$character_profession_2 == 'Enchanting'">selected="selected"</if> >Enchanting</option>
<option value="Engineering" <if condition="$character_profession_2 == 'Engineering'">selected="selected"</if> >Engineering</option>
<option value="Herbalism" <if condition="$character_profession_2 == 'Herbalism'">selected="selected"</if> >Herbalism</option>
<option value="Inscription" <if condition="$character_profession_2 == 'Inscription'">selected="selected"</if> >Inscription</option>
<option value="Jewelcrafting" <if condition="$character_profession_2 == 'Jewelcrafting'">selected="selected"</if> >Jewelcrafting</option>
<option value="Leatherworking" <if condition="$character_profession_2 == 'Leatherworking'">selected="selected"</if> >Leatherworking</option>
<option value="Mining" <if condition="$character_profession_2 == 'Mining'">selected="selected"</if> >Mining</option>
<option value="Tailoring" <if condition="$character_profession_2 == 'Tailoring'">selected="selected"</if> >Tailoring</option>
<option value="Skinning" <if condition="$character_profession_2 == 'Skinning'">selected="selected"</if> >Skinning</option>
</select>
</td>
</tr>
</table>


Thank you again, Sweede for this Mod. I'm glad it still works for 3.8! :)

Bestrafung
06-25-2010, 11:38 PM
I've looked over every post in this thread and haven't seen this come up yet but I'm getting a fatal error on submittal.

Fatal error: Call to undefined function build_forum_counters() in /home/cyril/public_html/forums/misc.php(100) : eval()'d code on line 749

I'm using vBulletin 3.8.5, and am unsure why this is happening. I'd appreciate any help in fixing this.

Edit: I'm also in the process of updating the form for Cataclysm. If I can get this working and get it updated I'll post it here.

sweede
06-26-2010, 02:19 AM
I've looked over every post in this thread and haven't seen this come up yet but I'm getting a fatal error on submittal.

Fatal error: Call to undefined function build_forum_counters() in /home/cyril/public_html/forums/misc.php(100) : eval()'d code on line 749

I'm using vBulletin 3.8.5, and am unsure why this is happening. I'd appreciate any help in fixing this.

Edit: I'm also in the process of updating the form for Cataclysm. If I can get this working and get it updated I'll post it here.

The version that i have uploaded to vbulletin.org does not use any hooks in misc.php

Nor is any plugin over 749 lines in length.

I also do not call build_forum_counters() in any plugin in this mod

I would suggest going to your admincp
Products & Plugins -> Plugin Manager

Sort by Hook Location and find what products are using misc_start. That may help you find what mod is causing your problem.

Bestrafung
06-26-2010, 05:20 AM
Thank you for your quick response sweede. The offending plugin was from the Online Gaming Recruitment addition that you referenced at the beginning of this thread. I thought both needed to be installed. Now that it is uninstalled I don't know how to access the form for testing. With the other product it was located at misc.php?do=app_form. How do I access it under your product?

sweede
06-26-2010, 05:22 AM
newthread.php?do=app_form

i think..

Bestrafung
06-26-2010, 07:43 AM
Thank you again for your quick reply. After looking at your plugin I determined it is actually newthread.php?do=apply. Now I can begin to try to set all of this up. Is some of this documented somewhere to make it easier? Again, thank you for all of your help.

y2krazy
11-08-2010, 06:29 AM
The form was working properly at one point, but now for regular registered users, they are recieveing an "HTTP 500 Internal Server Error" when submitting the form. When they click "Preview" it works fine, but the error happens when clicking "Submit."

Please let me know if there is any way to resolve this. Thank you.

sweede
11-08-2010, 09:10 AM
The form was working properly at one point, but now for regular registered users, they are recieveing an "HTTP 500 Internal Server Error" when submitting the form. When they click "Preview" it works fine, but the error happens when clicking "Submit."

Please let me know if there is any way to resolve this. Thank you.

Something on your server changed. You will need to look through your apache error logs to find the error. Something I can't help you with but if you find the error I may be able to tell you how to fix it (or you can google it)

y2krazy
11-08-2010, 01:18 PM
From "error_log" in my domain's public_html directory:

[05-Nov-2010 20:21:06] Undeclared entity warning at line 716, column 1
[05-Nov-2010 20:21:08] Undeclared entity warning at line 684, column 1
[05-Nov-2010 20:21:58] Undeclared entity warning at line 684, column 1
[05-Nov-2010 20:21:59] Undeclared entity warning at line 716, column 1
[05-Nov-2010 20:22:00] Undeclared entity warning at line 716, column 1
[05-Nov-2010 20:22:00] Undeclared entity warning at line 716, column 1
[05-Nov-2010 20:22:00] Undeclared entity warning at line 716, column 1
[05-Nov-2010 20:22:00] Undeclared entity warning at line 684, column 1
Is this what you are referring to?

Again, this ONLY happens for the "Registered Users" usergroup. All other usergroups are able to submit the form without error.

y2krazy
11-22-2010, 08:22 PM
Uninstalled and reinstalled.

Instead of a 500 Server Error, I now get the following:

vBulletin Message

No Thread specified. If you followed a valid link, please notify the administrator.

When clicking "Submit" it goes to the above vB error and the URL is as follows:

"http://www.surprise-mutiny.com/showthread.php?p="

It does not create a new thread, therefore the redirect is trying to send the user to a blank post number.

Any ideas? Thanks.

y2krazy
11-28-2010, 01:10 PM
Bump. Still need help with this.

y2krazy
12-15-2010, 10:38 AM
Come back, sweede! :(

mclarens
12-25-2010, 05:45 AM
sadly doest work for the new VB, anyone know if there is other good applys forms?

y2krazy
01-04-2011, 02:29 PM
New Year's Bump. Still need help with this, please.

sweede
01-08-2011, 01:10 PM
Go to the plugins section of the vb admin, edit the plugin
Guild App Form hack @ hook, newthread_start


add
die(
"<b>Foruminfo: </b><pre> " . print_r($foruminfo ,1) . "</pre>" .
"<b>newpost: </b><pre>" . print_r($newpost,1) . "</pre>" .
"<b>errors: </b><pre>" . print_r($errors,1) . "</pre>"
);

before
if ( $redirectoption == "1" )
{

You can send me the results on your guilds website, i registered under the username offended.

y2krazy
01-11-2011, 03:07 PM
You can send me the results on your guilds website, i registered under the username offended.
Results sent via PM. Thanks in advance!

EDIT: Problem band-aid'd for now. Selecting "1" in the AdminCP redirect options causes the error; however, redirecting to the forum the post was made it works.

Vitaris
02-12-2011, 09:53 PM
Tried installing this on my site today, but got the following errors cluttering up the top of the page:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: App_Question_box in [path]/includes/functions.php on line 4097

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: App_Question_Answer in [path]/includes/functions.php on line 4097

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 4097

Parse error: syntax error, unexpected T_STRING in /home/xxx/public_html/cms/newthread.php(77) : eval()'d code(179) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: App_Form_CSS in [path]/includes/functions.php on line 4097

Parse error: syntax error, unexpected T_STRING in /home/xxx/public_html/cms/newthread.php(77) : eval()'d code(396) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: App_Form_DescBox in [path]/includes/functions.php on line 4097

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: App_Form_CharacterInfo in [path]/includes/functions.php on line 4097

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: App_Form_PersonalInfo in [path]/includes/functions.php on line 4097

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: App_Form in [path]/includes/functions.php on line 4097

Any pointers to help iron this out? I did a search but didn't come up with much that would give me an idea of how to go about fixing this. I'm running vBulletin 4.1.1.

sweede
02-12-2011, 11:11 PM
It doesn't work with any 4.x version of VBB and i currently have no plans (or time) to learn vb4's new template systems and recode my mods.

I would love to be able to spend some time and pick up coding again, but for the past year or so I've been working 6am to 6pm 6 or 7 days a week (sometimes up to 20 days in a row without a day off).