AutoRecruit (Roster 2 Addon) - Updated OCT 7

Auto updating class recruitment

Moderator: Adric

AutoRecruit (Roster 2 Addon) - Updated OCT 7

Postby Adric » Sat Oct 06, 2007 6:36 am

Ok, worked on this a while.. please let me know what you think.

Basicaly it works like this, This addon shows you how many members you have for each class at or above the minimum level specified (default is 70)
you then set the number you need.

so lets say that you have 30 druids in your guild, yet you need 2 more - you would then set it at 32. On the Recruitment page, next to druids, it would then say apply. "Apply" is a link to whatever you use for your application system.

As people join or leave your guild, the recruitment pane is automaticaly updated to either open or close recruitment for each class based on the numbers you set.


Known Bugs/Issues
** Php error on diplay if the recruiter has not been set up for that guild
** Need localization Files for Spanish, and German...

Updates
** Oct 5 - French Localization Added
** Oct 7 - Bug Fixes for no guilds showing...

*** Local Files to follow
$lang['autorecruit'] = 'AutoRecruit';
$lang['autorecruit_desc'] = 'Automaticaly sets recruitment status per class using the roster';
$lang['arecruitbutton'] = 'Recruitment|Shows what classes the guild is recruiting';

// Config strings
$lang['admin']['autorecruit_conf'] = 'AutoRecruit Configuration|Configure base settings for AutoRecruit';
$lang['admin']['autorecruit_minlevel'] = 'Minimum Level|Minimum level of characters to count towards class totals';

$lang['admin']['autorecruit_title'] = 'AutoRecruit Settings';

$lang['admin']['setting'] = 'Setting';
$lang['admin']['actual'] = 'Actual Count';
$lang['admin']['threshold'] = 'Threshold';

$lang['admin']['min_level'] = 'Minimum Level';
$lang['admin']['app_link'] = 'Application URL';

// Guild Page Set
$lang['ar_page']['title'] = 'Class Recruitment';
$lang['ar_page']['class'] = 'Class';
$lang['ar_page']['status'] = 'Status';
$lang['ar_page']['apply'] = 'Apply';

// Setup
$lang['ar_page']['no_guild'] = 'No guild selected.';
$lang['ar_page']['no_setup'] = 'AutoRecruit has not been setup for this guild.';
Attachments
autorecruit.zip
Updated Oct 7
(10.16 KiB) Downloaded 571 times
Last edited by Adric on Mon Oct 08, 2007 7:15 am, edited 2 times in total.
User avatar
Adric
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 61
Joined: Wed Jul 05, 2006 7:52 am

AutoRecruit (Roster 2 Addon)

Postby Melina » Sat Oct 06, 2007 7:51 am

When I go to the settings to select a guild the list shows nothing just '----'
User avatar
Melina
WR.net Apprentice
WR.net Apprentice
 
Posts: 49
Joined: Fri Aug 03, 2007 6:49 am

Re: AutoRecruit (Roster 2 Addon)

Postby brathak » Sat Oct 06, 2007 8:08 am

Hello,

Here your complete addon in French

hope its good

Tested on my website and seems to be correct.

demo here : Recrutement
Attachments
french_autorecruit.rar
Autorecruit in french
(9.17 KiB) Downloaded 451 times
Last edited by brathak on Sat Oct 06, 2007 8:11 am, edited 1 time in total.
Image
brathak
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Wed Feb 07, 2007 4:38 pm

Re: AutoRecruit (Roster 2 Addon)

Postby Adric » Sat Oct 06, 2007 9:44 am

Melina wrote:When I go to the settings to select a guild the list shows nothing just '----'


can you post a link to your roster?
User avatar
Adric
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 61
Joined: Wed Jul 05, 2006 7:52 am

AutoRecruit (Roster 2 Addon)

Postby Melina » Sat Oct 06, 2007 7:41 pm

Roster
Edit: Fixed Sorry
Last edited by Melina on Sat Oct 06, 2007 9:46 pm, edited 2 times in total.
User avatar
Melina
WR.net Apprentice
WR.net Apprentice
 
Posts: 49
Joined: Fri Aug 03, 2007 6:49 am

Re: AutoRecruit (Roster 2 Addon)

Postby Adric » Sat Oct 06, 2007 8:37 pm

that doesnt seem to be a valid link...
User avatar
Adric
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 61
Joined: Wed Jul 05, 2006 7:52 am

Re: AutoRecruit (Roster 2 Addon)

Postby Adric » Sun Oct 07, 2007 4:23 am

It appears that you anly have one guild, i think that may be the problem...
User avatar
Adric
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 61
Joined: Wed Jul 05, 2006 7:52 am

AutoRecruit (Roster 2 Addon)

Postby Melina » Sun Oct 07, 2007 4:27 am

Only one guild how would that affect it?
User avatar
Melina
WR.net Apprentice
WR.net Apprentice
 
Posts: 49
Joined: Fri Aug 03, 2007 6:49 am

Re: AutoRecruit (Roster 2 Addon)

Postby Adric » Sun Oct 07, 2007 5:10 am

it has to do with how the list is generated...
User avatar
Adric
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 61
Joined: Wed Jul 05, 2006 7:52 am

AutoRecruit (Roster 2 Addon)

Postby Melina » Sun Oct 07, 2007 5:15 am

Ah, so is there anything I can do to get this to work?
User avatar
Melina
WR.net Apprentice
WR.net Apprentice
 
Posts: 49
Joined: Fri Aug 03, 2007 6:49 am

Re: AutoRecruit (Roster 2 Addon)

Postby Mathuin » Sun Oct 07, 2007 1:49 pm

I have the same problem as Melina. I fixed it by changing line 50 of autorecruit/admin/index.php from:

if( $guilds > 1 )

to:

if( $guilds > 0 )

It works for me. Adric, if this fix is valid, can you commit the fix and update the addon?
Mathuin
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Sun Sep 09, 2007 4:50 am

AutoRecruit (Roster 2 Addon)

Postby Mathuin » Sun Oct 07, 2007 2:03 pm

Oooh, I forgot something.

Can you change line 25 of autorecruit/guild/index.php from:

$guildset = $_GET['guild'];

to:

$guildset = ( $_GET['guild'] ? $_GET['guild'] : '1' );

That should make the default case (i.e., no guild variable) equal to guild number one.

Thanks!
Mathuin
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Sun Sep 09, 2007 4:50 am

AutoRecruit (Roster 2 Addon)

Postby PleegWat » Sun Oct 07, 2007 4:14 pm

Using $_GET['guild'] is wrong. You should use $roster->data['guild_id']. If no guild is passed, that contains the default guild ID.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Re: AutoRecruit (Roster 2 Addon)

Postby Adric » Mon Oct 08, 2007 9:27 am

updated...
User avatar
Adric
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 61
Joined: Wed Jul 05, 2006 7:52 am

AutoRecruit (Roster 2 Addon) - Updated OCT 7

Postby Subxero » Mon Oct 08, 2007 10:42 am

Adric can be more "specific" the applies ?

now only consider class.

But you have at roster the talents and principal spec name.

Its not the same a priest holy/discipline like a priest shadow.
Or druid restoration like feral...
Or warriors protection like fury/arms.

Can be optional choose CLASS or SPECS

Class:
Druid
Hunter
Mage
Paladin
Priest
Rogue
Shaman
Warlock
Warrior

Specs:
-HEALER
Priest Holy/discipline
Paladin Holy
Shaman Restoration
Druid Restoration
-TANK
Warrior Protection
Paladin Protection
Druid Feral
-DPS
Mage
Warlock
Hunter
Rogue
Priest Shadow
Paladin Retribution
Shaman Enhancement/Elemental
Druid Feral/Balance
Warrior Fury/Arms

And later can be a option to exclude ALTERS or RANKS ?

By note or by rank .. or both.
Subxero - Priest 70 Holy - Asphelt Knight Officer - Zul'jin Horde.
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

Next

Return to AutoRecruit

Who is online

Users browsing this forum: No registered users and 0 guests

cron