Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Online Gaming Recruitment Application System Details »»
Online Gaming Recruitment Application System
Version: 1.00, by Gooner Gooner is offline
Developer Last Online: Jul 2009 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.x Rating:
Released: 06-10-2008 Last Update: 06-17-2008 Installs: 29
Uses Plugins
Re-useable Code Translations  
No support by the author.

This is a modification originally developed for 3.6.x for websites wishing to use an application, although originally designed for world of warcraft it can be used for any game.

This Mod only officially works with 3.6... but since this is open code. anyone can take the code and make it work for 3.7 and re-publish it... with credits ofcourse.

I have had this modification for a long time and only today decided to release it to the public hoping somebody might want to carry on its developement because i just dont have time, so feel free to modify the code and re-release it under a different name but please give credit.

Install
  • Unzip "product-vgat" from the "OTD Application System" folder.
  • Navigate to "Plugins & Products" in your vbulletin control pannel and then "Manage Plugins"
  • Upload the "product-vgat" plugin

Your product is now installed and ready for configuration.

Main Configuration (refresh website after plugin installation first)
  • from your vbulletin admin panel go into your Vbulletin options and scroll down to "Guild Application Form Options"
  • configure "form url" and "forum location" to your own preference

Field checking has not really been fully tested or developed so you may encounter bugs while using "Non Empty Fields", "Numeric Fields", "Boolean Fields", The rest is fully tested and operational!!!!

How To Configuring Your Application Questions
The thing that makes my application system good is that its VERY easy to add and delete questions by yourself with minimal programming knowlege, mostly just copy and paste and change the question
  • go into "Style & Templates" and then into "Style Manager" and "Edit" the template you will be using.
  • scroll down to "vgat_form" and double click
This is were you add, edit and delete all your questions which will be required when a visitor fills out their application, I will try my best to explain how to add the following questions: Radio Button, CheckBox, Single Line Text Box, Multiline Text Box, Drop-Down Menu

Radio Button Question Example
Code:
<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
		<tr>
			
			
				<td class="alt1 wowsl" valign="center" width=50%>
				I Am a Human
				</td>
				<td class="alt1 wowsc" valign="center" width=50%>
				<center>
					<input type="radio" name="q_Human" value="No"  /> No 
					<input type="radio" name="q_Human" value="Yes"  /> Yes 
				</center>

				</td>
			
		</tr>
</table>
Question = "I Am a Human"
Question Name = q_Human You need to write down the "Question Name" for EVERY question you make because you will need it later when we design your output tmplate which gets posted on your forum
Input Type = radio Indicates that this question is a Radio Button

Check-Box Question Example
Code:
<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
		<tr>
			
			
				<td class="alt1 wowsl" valign="center" width=50%>
				What is your favurite colours:
				</td>
				<td class="alt1 wowsc" valign="center" width=50%>
				<center>
					<input type="checkbox" name="q_colour_red" value="red"  /> red 
					<input type="checkbox" name="q_colour_green" value="green"  /> green
					<input type="checkbox" name="q_colour_blue" value="blue"  /> blue
					<input type="checkbox" name="q_volour_pink" value="pink"  /> pink
				</center>

				</td>
			
		</tr>
</table>
Drop-Down Menu Question Example
"q_ConnectionType" is your name in this instance, which you will need later
Code:
<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
	
			<tr>
				<td class="alt1 wowsl" valign="center" width=50%>	
				What type of Internet Connection do you use:
				</td>
				<td class="alt1 wowsc" valign="center" width=50%>
				<center>
				<select name="q_ConnectionType">
				<option value="--" ></option>
				<option value="Dialup" >Dialup</option>
				<option value="ISDN" >ISDN</option>
				<option value="DSL" >DSL</option>
				<option value="Cable" >Cable</option>
				<option value="Faster than Cable" >Faster than Cable</option>
				</select>

				</center>
				</td>
			</tr>
</table>
Single Line Text Box Question Example
Code:
		<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
				<td class="alt1 wowsl" valign="center" width=50%>	
				What is your Character name?
				</td>

				<td class="alt1 wowsc" valign="center" width=50%>
				<center>
				<input type="text" size="25" value="" name="q_CharacterName" />
				</center>
				</td>
			</tr>
		</table>
Multi-Line Text Box Question Example
Code:
		<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
			<tr>
				<td class="alt2 wowpl" valign="center">	
				Please describe what you like about the game and your character.
				</td>
			</tr>
			<tr>

				<td class="alt1 wowsc" valign="center">
				<center>
				<textarea rows="5" cols="70" name="q_LikeAboutTheGame"></textarea>
				</center>
				</td>
			</tr>
		</table>

Now i will explain how to configure your output file which will be posted on the forums.
  • Go back in to your "Guild Application Form Options" panel
  • Scroll down to the "Thread Body" panel

Example Code
Code:
[ size=5][ color=#87F717][ b]Character Information[/b][/color][/size]


[b ][u ][ color=#B1FB17]Armory Link[/color][/u][/b] - {{q_ArmoryLink}}
[b ][u ][ color=#B1FB17]Recent WWS Report[/color][/u][/b] - {{q_WWS}}


[b ][ color=#CCFB5D]Character name:[/color][/b] {{q_CharacterName}}
[b ][ color=#CCFB5D]Character Class:[/color][/b] {{q_CharacterClass}}
[b ][ color=#CCFB5D]Character Level:[/color][/b] {{q_CharacterLevel}}
As you can see the Names of the questions i told you to write down are done like "{{q_CharacterName}}" between {{}}.

You can also have thread titles look like the following:
Code:
Application from {{q_CharacterName}} Class: {{q_CharacterClass}}

::Making the application system work with 3.7.x::
  • Access Admin Panel and navigate to your Style Manager and edit the style you use.
  • Scroll down to "vgat_form" and Access
Find Line:
Code:
<input type="hidden" value="1" name="agree" />
Below it Add:
Code:
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
SAVE....

Scroll down the list again and find "vgat_rules" and Access.

Find Line
Code:
<input type="hidden" name="s" value="$session[sessionhash]" />
Below it Add:
Code:
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
SAVE....

Done

This Mod only officially works with 3.6... but since this is open code. anyone can take the code and make it work for 3.7 and re-publish it... with credits ofcourse.

Thats about it and im sure you can figure the rest out for yourselves.. i will try and help with any questions you may have.

Enjoy!!

Show Your Support

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

Comments
  #22  
Old 06-12-2008, 11:26 AM
Gooner Gooner is offline
 
Join Date: May 2007
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To add the option via control pannel to dynamically change and add any question would be alot of coding, but i have uploaded an easy to edit template with questions...

Every question is between <Table ---> and ----> </table> so anything between the <Table> code you can delete or just edit to your own question... also i have just added another extra code to try and fix the token error.... download and try>>

"Application System (Different Layout) + 3.6.x-3.7.x.zip "


Example::::
Code:
		<table class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
				<td class="alt1 wowsl" valign="center" width=50%>	
				What is your Character name?
				</td>

				<td class="alt1 wowsc" valign="center" width=50%>
				<center>
				<input type="text" size="25" value="" name="q_CharacterName" />
				</center>
				</td>
			</tr>
		</table>
That is 1 question which you can delete or change because it is in between the "Table" coding.
Reply With Quote
  #23  
Old 06-12-2008, 11:36 AM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got this now: XML Error: Empty document at Line 1 when i try to install or overwrite ...
Reply With Quote
  #24  
Old 06-12-2008, 11:38 AM
Freddie Freddie is offline
 
Join Date: Jul 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gooner View Post
Make sure you have set up the configuring in your Vbulletin Admin panel, you need to create the BBCode output file and choose the forum were you want the application to be posted... and make sure you have the permissions set on that forum to allow registered members to create new threads.

The BBcode is explained in my original post above.
I followed your tutorial indication but it is still doing the way I explained im my previous post

I configured the options, choosing to not send the PMs, the I wrote both Thread body and Thread title with correct field names but nothing happens except resetting fields.
I specified as output forum a registered-only forum.

What am I doing wrong?

Thanks for you help Gooner
Reply With Quote
  #25  
Old 06-12-2008, 11:51 AM
Gooner Gooner is offline
 
Join Date: May 2007
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KURTZ View Post
i got this now: XML Error: Empty document at Line 1 when i try to install or overwrite ...
ok... try download the new XML file i uploaded and follow the "Making it work with 3.7" in the original post which i have just added... i tried it on my forum and i got no errors.. hopefully it will be the same for you.
Reply With Quote
  #26  
Old 06-12-2008, 11:52 AM
Gooner Gooner is offline
 
Join Date: May 2007
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Freddie View Post
I followed your tutorial indication but it is still doing the way I explained im my previous post

I configured the options, choosing to not send the PMs, the I wrote both Thread body and Thread title with correct field names but nothing happens except resetting fields.
I specified as output forum a registered-only forum.

What am I doing wrong?

Thanks for you help Gooner
Are you sure your clicking the "Submit" buttona dn not the "Reset" button?? because i dont see any reason why your form should be resseting unless your triggering it to do so... make sure you click "Submit" and not use your enter key or missclick the Reset button.
Reply With Quote
  #27  
Old 06-12-2008, 11:55 AM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gooner View Post
ok... try download the new XML file i uploaded and follow the "Making it work with 3.7" in the original post which i have just added... i tried it on my forum and i got no errors.. hopefully it will be the same for you.
no way Gooner, it doesn't work ... still Xml line 1 error ...
Reply With Quote
  #28  
Old 06-12-2008, 11:58 AM
Gooner Gooner is offline
 
Join Date: May 2007
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KURTZ View Post
no way Gooner, it doesn't work ... still Xml line 1 error ...
it must be something else specifically to do with 3.7.x then because i have those lines added on my 3.6 board and it works error free... and im unable to troubleshoot it because my lisence has expired and i cannot installed 3.7 untill i pay again... im sure another coder wth 3.7 will be able to solve the issue rather easy though.
Reply With Quote
  #29  
Old 06-12-2008, 11:59 AM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gooner View Post
it must be something else specifically to do with 3.7.x then because i have those lines added on my 3.6 board and it works error free... and im unable to troubleshoot it because my lisence has expired and i cannot installed 3.7 untill i pay again... im sure another coder wth 3.7 will be able to solve the issue rather easy though.
but the first version that you released ran, with the security issue, but ran ...
Reply With Quote
  #30  
Old 06-12-2008, 12:05 PM
Freddie Freddie is offline
 
Join Date: Jul 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gooner View Post
Are you sure your clicking the "Submit" buttona dn not the "Reset" button?? because i dont see any reason why your form should be resseting unless your triggering it to do so... make sure you click "Submit" and not use your enter key or missclick the Reset button.
I'm not as good as you in writing Vbulletin hacks but also not so stupid to click a wrong button instead of the correct one
Joking aside, yes, I'm clicking the "Submit" button but nothing happens but a reload with all fields resetted.
I was taking a look into your XML file and I see there is only a management for the !OnError, so maybe I'm getting some error but is not shown.

I'll try to do some attempts with changes I have in mind, but if you have some suggestion to solve this case I would appreciate it a lot

Thanks again.
Reply With Quote
  #31  
Old 06-12-2008, 12:11 PM
Gooner Gooner is offline
 
Join Date: May 2007
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KURTZ View Post
but the first version that you released ran, with the security issue, but ran ...
I changed the template arrangement which might of had some error in it.. but i just uploaded the old original one that definatly works on 3.6 so in theory all you should need to do is add the token error code to both vgat_form & vgat_rules and it should work...
Reply With Quote
Reply


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 11:34 PM.


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.15121 seconds
  • Memory Usage 2,339KB
  • 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
  • (12)bbcode_code
  • (8)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