vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Online Gaming Recruitment Application System (https://vborg.vbsupport.ru/showthread.php?t=182165)

Gooner 06-10-2008 10:00 PM

Online Gaming Recruitment Application System
 
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!!

dannykilla 06-11-2008 01:00 PM

Awesome what about changing it a bit for Warhammer Online: AOR

Gooner 06-11-2008 02:06 PM

Quote:

Originally Posted by dannykilla (Post 1546640)
Awesome what about changing it a bit for Warhammer Online: AOR

sure... it can be changed easy.. just changing the words... the great thing about my plugin is that nothing is hard to change like other mods... let me know what you want changed/added and ill do it or i can tell you how.

dannykilla 06-11-2008 04:22 PM

cool thanks i'll take a look tonight

M-Tuning 06-11-2008 04:48 PM

Looks cool!

Gooner 06-11-2008 05:43 PM

I decided to change the name to a more appropriate one.. since it can be used for ANYTHING and not just world of warcraft. hope you all like it.

iogames 06-11-2008 06:49 PM

Where do you get it?
Do the original coder keeps upgrading?

Gooner 06-11-2008 06:57 PM

its mine but i dont have time to keep working on it, i have used it on my guild website for the past 2 months so thats why im giving permission for other coders to carry on the coding.. my study takes up all my time.

iogames 06-11-2008 09:08 PM

Thank you then! since my site will be have drafts

ssslippy 06-12-2008 12:26 AM

This is great improvement on top of what was originally there.


All times are GMT. The time now is 07:34 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01154 seconds
  • Memory Usage 1,776KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (11)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete