Download
English Explaination below
Deutsche Erklärung weiter unten
English
Coru LFMember is a WordPress plugin, which allows a guild or clan to display if they are looking for members for a specified game or not.
On default, World of Warcraft is preinstalled, but it is possible to add own or to modify existing games. It is also possible to add free spots to a game or modify them.
To display the recruitment status, just place the following code somewhere in your template (e.g. the sidebar):
<?php
if (function_exists('coru_lfmember_display'))
{
coru_lfmember_display('game' , 'array output' , 'opening html tag (optional)' , 'closing html tag (optional)');
}
?>
game
„Game Short Name“ of the game you want to display as „looking for members“. Cannot be empty.
array output
true:
an array will be returned
array([0] =>array( ‚id‘ , ‚game_id‘ , ‚position_detail‘ , ‚position_image‘ , ‚position_link‘ , ‚position_name‘ , ‚position_need‘ , ‚position_open‘) , [1] => array(…), and so on);
false:
instead of an array, the open positions will be returned preformated. Each position will be encapsulated by the opening and closing html tag.
Cannot be empty.
opening html tag
optional
closing html tag
optional
Deutsch
Coru LFMember ist ein WordPress Plugin, welches einer Gilde oder einem Clan erlaubt, anzuzeigen, ob sie noch Mitglieder für ein bestimmtes Spiel suchen oder nicht.
Standardmäßig ist World of Warcraft vorinstalliert, aber es gibt die Möglichkeit, eigene Spiele hinzuzufügen. Genauso ist es möglich, freie Plätze zu definieren/bearbeiten.
Um den Rekrutierungsstand anzuzeigen, einfach folgenden Code im Template (z.B. Sidebar) einbinden:
<?php
if (function_exists('coru_lfmember_display'))
{
coru_lfmember_display('game' , 'array ausgabe' , 'öffnendes html tag (optional)' , 'schließendes html tag (optional)');
}
?>
game
„Game Short Name“ des anzuzeigenden Spieles, darf nicht leer sein.
array ausgabe
true:
Ein Array wird zurückgegeben
array([0] =>array( ‚id‘ , ‚game_id‘ , ‚position_detail‘ , ‚position_image‘ , ‚position_link‘ , ‚position_name‘ , ‚position_need‘ , ‚position_open‘) , [1] => array(…), usw.);
false:
anstelle eines Arrays werden die Positionen direkt vorformatiert ausgegeben, jede Position wird von den beiden ggf. angegebenen HTML tags eingekapselt.
Darf nicht leer sein.
öffnendes html tag
Optional
schließendes html tag
Optional
Good idea, but perhaps you could expand it so that larger sites could have the option to allow others to list their LFM on their site?
it’s a good idea, I’ll keep it in mind. I still have to improve quite a few parts before daring to add something complex like that 🙂