PDA

View Full Version : World of Warcraft Recruitment Status Module!


ChaoticMageDDC
09-14-2006, 10:00 PM
Go into your Admin CP > Styles & Templates > Style Manager > Add New Template

Call it adv_portal_recruitment > Paste this code into the template!

<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 ;) 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 :D

Snake
09-15-2006, 12:37 PM
Wow I have been waiting for this!

ChaoticMageDDC
09-15-2006, 05:59 PM
I'm very new to the whole coding game so i wasn't sure how to use vbulletins code to allow for this template to use it's colors hence why each table is colored =( My hope with posting this is that someone can clean it up, improve on it greatly so everyone can enjoy it. I hate having to edit the template each time i want to make a change between the Closed and Open status. This is more "my vision" and what i wanted to see then anything...

I can visualize in my head an SQL backend with a nice front end with drop downs that can make changes easily. Problem is i don't even know where to begin to create such a thing!!!

Josh1
09-16-2006, 09:28 AM
There is no Shaman.gif :)

ChaoticMageDDC
09-16-2006, 07:41 PM
oops, i uploaded the wrong zip file :confused:

Fixed!

Ulkesh
09-19-2006, 05:56 AM
Installed. Thanks. Nice so far.

www.caprinidomineri.org

ChaoticMageDDC
09-21-2006, 03:26 PM
Looks good, just wish changing the status would be easier =( but i guess it's not that big of a deal.. Wish i knew how to do it .......

Mithan
09-21-2006, 06:25 PM
I put the following code instead of yours, it works fine and I use the forums template as well:

<tr class="alt1">
<td><img src="./forum/images/classicons/Druid.gif"></td>
<td>Druids</td>
<td><a href="http://www.wowhq.com/forum/showthread.php?t=2097">Open</a></td>
</tr>
<tr class="alt2">
<td><img src="./forum/images/classicons/Hunter.gif"></td>
<td>Hunter</td>
<td>Closed</td>
</tr>
<tr class="alt1">
<td><img src="./forum/images/classicons/Mage.gif"></td>
<td>Mage</td>
<td>Closed</td>
</tr>
<tr class="alt2">
<td><img src="./forum/images/classicons/Paladin.gif"></td>
<td>Paladin</td>
<td><a href="http://www.wowhq.com/forum/showthread.php?t=2097">Open</a></td>
</tr>
<tr class="alt1">
<td><img src="./forum/images/classicons/Priest.gif"></td>
<td>Priest</td>
<td><a href="http://www.wowhq.com/forum/showthread.php?t=2097">Open</a></td>
</tr>
<tr class="alt2">
<td><img src="./forum/images/classicons/Rogue.gif"></td>
<td>Rogue</td>
<td>Closed</td>
</tr>
<tr class="alt1">
<td><img src="./forum/images/classicons/Warlock.gif"></td>
<td>Warlock</td>
<td>Closed</td>
</tr>
<tr class="alt2">
<td><img src="./forum/images/classicons/Warrior.gif"></td>
<td>Warrior</td>
<td>Closed</td>
</tr>
</span></div></td></tr>

drdeathuk69
10-01-2006, 01:43 AM
could this be altered to make a clan recruiting status one

phpdevrus
10-01-2006, 07:11 AM
could this be altered to make a clan recruiting status one

this is a nice template hack.

you can easily change it to a clan recruiting status one ;-) just make your own images and change the text.

good luck

Zerstoren
11-23-2006, 02:42 PM
Works great on my site. I ended up using the code from Mithan.

I also set "Use Module Shell Template" to Yes, as well as set the ColSpan to 10. For some reason it would load incorrectly in IE7 if it's set to 0 or 1 and you have Module Shell Template set to Yes.

http://www.fullcircleguild.net

Espada
01-13-2007, 10:02 PM
What do i need to click in order to copy into the template (or what part of the template do i copy it into)? thanks

NoKz
01-16-2007, 08:45 PM
Good mod, thanks a ton. However, I do not use the wow theme on my site. I also had a problem with not being able to collapse the module. So I edited a couple lines and got exactly what I wanted. Thanks!

www.TFBguild.com

PS: Here's the code after I edited it. ^_^
<style type="text/css">
<!--
.style3 {color: #000000; font-weight: bold; }
.style4 {color: #000000}
.style14 {color: #FF0000}
.style15 {color: #00a222}
.style49 {
color: #2E6D9C;
font-weight: bold;
}
-->
</style>
<tr>
<th width="2%" align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><img src="images/wow/Druid.gif" width="20" height="20"></div></th>
<th width="12%" align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style4">&nbsp;Druids </span></div></th>
<th width="86%" align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Closed</strong></span></div></th>
</tr>
<tr>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><img src="images/wow/Hunter.gif" width="20" height="20"></div></th>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style4">&nbsp;Hunters </span></div></th>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Closed</strong></span></div></th>
</tr>
<tr>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><img src="images/wow/Mage.gif" width="20" height="20"></div></th>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style4">&nbsp;Mages </span></div></th>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Closed</strong></span></div></th>
</tr>
<tr>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><img src="images/wow/Paladin.gif" width="20" height="20"></div></th>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style4">&nbsp;Paladins</span></div></th>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Closed</strong></span></div></th>
</tr>
<tr>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><img src="images/wow/Priest.gif" width="20" height="20"></div></th>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style4">&nbsp;Priests </span></div></th>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Closed</strong></span></div></th>
</tr>
<tr>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><img src="images/wow/Rogue.gif" width="20" height="20"></div></th>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style4">&nbsp;Rogues </span><span class="style3"> </span></div></th>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Closed</strong></span></div></th>
</tr>
<tr>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><img src="images/wow/Shaman.gif" width="20" height="20"></div></th>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style4">&nbsp;Shaman </span></div></th>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style15">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="style49">Open</span></span></div></th>
</tr>
<tr>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><img src="images/wow/Warlock.gif" width="20" height="20"></div></th>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style4">&nbsp;Warlock</span></div></th>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Closed</strong></span></div></th>
</tr>
<tr>
<th height="20" align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><img src="images/wow/Warrior.gif" width="20" height="20"></div></th>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style4">&nbsp;Warrior </span></div></th>
<th align="left" valign="top" bgcolor="#FFFFFF" scope="col"><div align="center"><span class="style14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Closed</strong></span></div></th>
</tr>
<div align="center"><br>
</div>

ZEvilWyvernX
01-28-2007, 09:38 AM
Grreat mod could you consider making one for Vanguard sage of heroes Its released in 3 days but preorders are playing now and Im trying to develop a site