Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
World of Warcraft Guild Recruitment Form Details »»
World of Warcraft Guild Recruitment Form
Version: 0.3.4, by sweede sweede is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.x Rating:
Released: 12-09-2008 Last Update: 02-13-2009 Installs: 55
Uses Plugins Template Edits Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 12-17-2008, 03:51 PM
DDolphins DDolphins is offline
 
Join Date: Sep 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #33  
Old 12-18-2008, 05:56 PM
ErikkuShafer ErikkuShafer is offline
 
Join Date: Feb 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Code:
        // 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 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.
Reply With Quote
  #34  
Old 12-22-2008, 02:58 PM
mikey1974 mikey1974 is offline
 
Join Date: Jan 2008
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did you manage to figure out why (when posting to a hidden forum) the thankyou message hasnt appeared?
Reply With Quote
  #35  
Old 12-22-2008, 07:58 PM
sweede's Avatar
sweede sweede is offline
 
Join Date: Jan 2007
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Finger78 View Post
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

Code:
[class="bigusername tcat"]Character Information[/class]

[char="Tich"] fgnfgnfdg [/char], Undead Priest

[class=q2]Class Spec[/class]
11 / 12 / 31

[class="bigusername tcat"]Current Professions[/class]

[class=q2]Profession 1[/class] - Herbalism
[class=q2]Profession 2[/class] - Skinning


[class="bigusername tcat"]Personal Information[/class]

[class=q2]Your name[/class] - joe
Anyway to get it to just display the questions/answers?
Read the mod description again, specificly the very end.

Quote:
Originally Posted by Mithan View Post
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.

Quote:
Originally Posted by ErikkuShafer View Post
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.

Code:
        // 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 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.
Reply With Quote
  #36  
Old 12-23-2008, 07:29 AM
AureliusFL AureliusFL is offline
 
Join Date: Dec 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #37  
Old 12-26-2008, 12:41 AM
ErikkuShafer ErikkuShafer is offline
 
Join Date: Feb 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sweede View Post
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

Quote:
Originally Posted by sweede View Post
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!
Reply With Quote
  #38  
Old 12-27-2008, 04:39 AM
croft croft is offline
 
Join Date: Aug 2002
Location: Sweden
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #39  
Old 12-30-2008, 06:57 AM
Finger78 Finger78 is offline
 
Join Date: Feb 2007
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sweede View Post
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
Code:
[char="Archimonde"] Hanardarer [/char], 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 -
[char="archimonde"] bobetx [/char], Undead Warlock = Works fine

[char="Archimonde"] Bobetx [/char], 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.
Reply With Quote
  #40  
Old 01-05-2009, 05:08 AM
slick368 slick368 is offline
 
Join Date: Mar 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #41  
Old 01-05-2009, 10:33 AM
ErikkuShafer ErikkuShafer is offline
 
Join Date: Feb 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:46 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05156 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete