Gaming Recruitment Application System

World of Warcraft Recruitment Status Module!

Go into your Admin CP > Styles & Templates > Style Manager > Add New Template

Call it adv_portal_recruitment > Paste this code into the template!

Code:
<style type="text/css">
<!--
.style3 {color: #000000; font-weight: bold; }
.style4 {color: #000000}
.style7 {
    color: #D0974B;
    font-size: 11px;
    font-weight: bold;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}
.style12 {
    color: #D0974B;
    font-weight: bold;
    font-size: 12px;
}
.style14 {color: #FF0000}
-->
</style>
<table width="100%" height="27"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <th height="25" align="left" bgcolor="#2A0803" scope="col"><span class="style7"><span class="style12">   &nbsp;&nbsp;&raquo; </span> Recruitment Status </span></th>
  </tr>
</table>
<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="2%" align="left" valign="top" bgcolor="#edd8ab" scope="col"><img src="/images/wow/Druid.gif" width="20" height="20"></th>
    <th width="12%" align="left" valign="top" bgcolor="#edd8ab" scope="col"><div align="left"><span class="style4">&nbsp;Druids </span></div></th>
    <th width="86%" align="left" valign="top" bgcolor="#edd8ab" scope="col"><span class="style14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closed</span></th>
  </tr>
  <tr>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><img src="/forums/images/wow/Hunter.gif" width="20" height="20"></th>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><div align="left"><span class="style4">&nbsp;Hunters </span></div></th>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><span class="style14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closed</span></th>
  </tr>
  <tr>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><img src="/forums/images/wow/Mage.gif" width="20" height="20"></th>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><div align="left"><span class="style4">&nbsp;Mages </span></div></th>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><span class="style14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closed</span></th>
  </tr>
  <tr>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><img src="/forums/images/wow/Paladin.gif" width="20" height="20"></th>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><div align="left"><span class="style4">&nbsp;Paladins</span></div></th>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><span class="style14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closed</span></th>
  </tr>
  <tr>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><img src="/forums/images/wow/Priest.gif" width="20" height="20"></th>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><div align="left"><span class="style4">&nbsp;Priests </span></div></th>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><span class="style14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closed</span></th>
  </tr>
  <tr>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><img src="/forums/images/wow/Rogue.gif" width="20" height="20"></th>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><div align="left"><span class="style4">&nbsp;Rogues </span><span class="style3"> </span></div></th>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><span class="style14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closed</span></th>
  </tr>
  <tr>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><img src="/forums/images/wow/Shaman.gif" width="20" height="20"></th>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><div align="left"><span class="style4">&nbsp;Shaman </span></div></th>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><span class="style14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closed</span></th>
  </tr>
  <tr>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><img src="/forums/images/wow/Warlock.gif" width="20" height="20"></th>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><div align="left"><span class="style4">&nbsp;Warlock</span></div></th>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><span class="style14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closed</span></th>
  </tr>
  <tr>
    <th height="20" align="left" valign="top" bgcolor="#edd8ab" scope="col"><img src="/images/wow/Warrior.gif" width="20" height="20"></th>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><div align="left"><span class="style4">&nbsp;Warrior </span></div></th>
    <th align="left" valign="top" bgcolor="#edd8ab" scope="col"><span class="style14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closed</span></th>
  </tr>
</table>
<br>

Make sure you upload the attached icons to a directory of your choice and edit the img src locations to your directory.

I'm a complete noob when it comes to this so there is a lot of uneccessary code i'm sure but it works so i'm happy
wink.gif
I've been looking for something like this for so long i decided to make one on my own.

I'm hoping someone with some time and knowledge can create a front end for this so it's not Static and can be changed dynamically from some type of form when the recruitment status changes...

Next go to vBa CMPS > Add Module > Template > Call it Recruitment Status > Template to include should be adv_portal_recruitment > Be sure to set "Use Module Shell Template" to "NO" > Save it

I couldn't figure out how to fit this thing within the template as it kept throwing off all my other modules. There will be some minor tweaking to do so it fits your board.

Hopefully some find this useful until someone with some knowledge can make this with a backend sql table and maybe a front end form to change the status, that would be awesome
biggrin.gif
 
MMO Recruitment (EQ, EQ2, LotR, Vanguard, WoW, Matrix Online, SWG, FFO)

** This is an update**

You should remove the current product and import the new file (not overwrite) for best results.

Both Modules now use Module Shell Template.
Fixed several bugs that caused page errors on different forums.
Added Everquest support.

It is very very important to set Use Module Wrapper Template: Yes, otherwise you will break your front page.

If you changed any of your templates you will need to revert them after the product import!

This is a VBAdvanced add on for the portal home page.. It will display a list of classes you are recruiting for your selected game, it also provides (a now templated) form to update the status, permissions for the form are controlled via group id's (primary group id) in the admin panel.

The zip file has a complete set of instructions for installing and removing the mod.

PLEASE CLICK INSTALL FOR SUPPORT (unless you like cannot install it and need that kind of support)..

vBadvanced MMO Recruitment Modules Supporting :
Everquest, Everquest2, Lord of the Rings Online, Vanguard and World of Warcraft!


Installing the product:


Download recruit.zip from the link provided below.Copy the contents of the upload folder to your forum root, take care not to overwrite directories, but to copy files into them.
Import mmoRecruit.xml from the Product Manager Interface.
Open the settings menu, select your game and submit the form. Once the game is selected choose the last option to import the initial database.

Create the Display vBa CMPS Module:

Add a new module from your vBa CMPS menu, select PHP file as the module type.
Set Module Title to Recruitment or Recruiting or whatever you would like the heading to say.
Select init_recruit.php as the file to include.
Leave Initialize BB Code Parser, Initialize Forum Permissions, Initialize Moderator Cache, Initialize Ignored Users and Clean File Output to no
Chose Use Module Wrapper Template: Yes (this is important, you will break the page with out it)!!
You can set a link for the heading of the module, to point to your recruiting post by filling in Module Link.
Make sure all usergroups are selected and save the form.
You can now add this as a module to any vBa CMPS page.
You will now see the display box on the page you place it on, with each class set to 1. If you do not, go back and check the instructions.

Create the Update vBa CMPS Module:


Add a new module from your vBa CMPS menu, select PHP file as the module type.
Set Module Title to mmoUpdateRecruit.
Select update_recruitment.php as the file to include.
Leave Initialize BB Code Parser, Initialize Forum Permissions, Initialize Moderator Cache, Initialize Ignored Users and Clean File Output to no
Chose Use Module Wrapper Template: Yes (this is important, you will break the page with out it)!!
Set Collapse by default to your preference..
You can now add this as a module to any vBa CMPS page.


Optional (Add AJAX Support to the updater form):

Inside the header OR headerinclude template (where ever your <head> </head> tags exist)

Put: <script type="text/javascript" src="http://www.mydomain.com/forum/clientscript/mmoRecruit.js"></script>

The AJAX has been tested on Firefox and IE7, if the requestor code fails the form will just submit normally.



Troubleshooting:

If the product import fails you can still do it by hand.
The templates are in forum_templates directory, the name of the file is the template name that needs to be used.

Creating the SQL Tables by hand.

Code:
CREATE TABLE game_rec_settings(
    game VARCHAR( 120 ) NOT NULL,
    enabled INT(2) NOT NULL,
    groups VARCHAR( 12 ) NOT NULL            
)ENGINE = MYISAM;

You may need to add the table prefix.

Code:
INSERT INTO game_rec_settings(game,enabled,groups)VALUES('','1','6,7,5');

Again you may need to include the table prefix

UPDATED:
**Updated XML typos. pft..
**Added Matrix online, FFO and SWG
**In some cases the game would not be set when updating the table, this should not happen anymore.
**Now supports Lord of the Rings Online.
**Update form can now be set to collapse by default and it will actually stay that way!
**Added (optional)AJAX POST support to the update form.
**Fixed bad XML in product file.
**All modules now use vBa CMPS Shell Module Templates
**Added Everquest Live
 
Last time i checked he hadn't written 1.4 but that may have changed. I know i re-wrote this for my wow site let me see if i can find the xml for it and i'll upload it.
 
Back
Top