[size=99px]-- -- Structure de la table `ROL_booker_raids`-- CREATE TABLE `ROL_booker_raids` ( `id` int(10) unsigned NOT NULL auto_increment, `name` varchar(45) NOT NULL default '', `text` text NOT NULL, `date` varchar(90) NOT NULL default '', `estimated` varchar(45) NOT NULL default '0', `user` varchar(45) NOT NULL default '', `raid_leader` varchar(45) NOT NULL default '', `max_signups` int(10) unsigned NOT NULL default '0', `small_raid` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`id`)) TYPE=MyISAM ; -- -- Structure de la table `ROL_booker_signups`-- CREATE TABLE `ROL_booker_signups` ( `id` int(10) unsigned NOT NULL auto_increment, `name` varchar(45) NOT NULL default '', `class` varchar(20) NOT NULL default '', `guild` varchar(45) NOT NULL default '', `raid_id` int(10) unsigned NOT NULL default '0', `have_acc` smallint(5) unsigned NOT NULL default '0', `text` text NOT NULL, PRIMARY KEY (`id`)) TYPE=MyISAM ; -- -- Structure de la table `ROL_config`-- CREATE TABLE `ROL_config` ( `id` int(6) NOT NULL auto_increment, `type` varchar(20) NOT NULL default '', `param` varchar(50) NOT NULL default '', `value` varchar(200) NOT NULL default '', PRIMARY KEY (`id`)) TYPE=MyISAM; -- -- Contenu de la table `ROL_config`-- INSERT INTO `ROL_config` VALUES (1, 'recruit', 'hunter', '0');INSERT INTO `ROL_config` VALUES (2, 'recruit', 'warlock', '0');INSERT INTO `ROL_config` VALUES (3, 'recruit', 'druid', '0');INSERT INTO `ROL_config` VALUES (4, 'recruit', 'warrior', '0');INSERT INTO `ROL_config` VALUES (5, 'recruit', 'mage', '0');INSERT INTO `ROL_config` VALUES (6, 'recruit', 'priest', '0');INSERT INTO `ROL_config` VALUES (7, 'recruit', 'paladin', '0');INSERT INTO `ROL_config` VALUES (8, 'recruit', 'rogue', '0');INSERT INTO `ROL_config` VALUES (9, 'recruit', 'shaman', '0');INSERT INTO `ROL_config` VALUES (10, 'booker', 'officers', '33,14,6,8');INSERT INTO `ROL_config` VALUES (11, 'booker', 'members', '3,29,40');INSERT INTO `ROL_config` VALUES (12, 'booker', 'smallraid', '1');INSERT INTO `ROL_config` VALUES (13, 'booker', 'lang', 'EN');INSERT INTO `ROL_config` VALUES (14, 'booker', 'raidleader', 'Aranel');INSERT INTO `ROL_config` VALUES (15, 'objective', 'target', 'Nefarian'); [/code]
You can delete the install folder afterwards.
2. If you want to use the Teamspeak block:Open the file
blocks/blocks_imp_ts.phpFill in
serveraddress,
serverudpport and
serverqueryport.
Save and close the file.
3. If you want to use the WoW Server Status blockopen
/wowserverstatus.php Fill in
server, messages,
language and
URL.
Save and close the file.
4. Clone the templates/Integra2 folder to match the themes installed on your board.
5. Once all files have been edited, upload the contain of the folder "ROL wow tools" to your IM root directory.You are done with the files installation
[size=99px]
list_classes[/color]
Don't populate the others fields
Click the "
Add a new value" button and start encoding the wow classes either in french, english or deutsch.
This is important to encode them right, keep exactly the names below,
without accentued characters and with the first letter capitalized, otherwise the mod will not work properly]FRANCAIS: Chaman, Chasseur, Demoniste, Druide, Guerrier, Mage, Paladin, Pretre, Voleur [/i]
ENGLISH : Druid, Hunter, Mage, Paladin, Priest, Rogue, Shaman, Warlock, Warrior DEUTSCH: Druide, Hexenmeister, Jager, Krieger, Magier, Paladin, Priester, Schamane, Schurke Give the same values to each field inline (Value, Text, Image)
4. Click the "
Send" button to save your changes
Adding a WoW Class field to the users data 1. Go to your board ACP =>
P.C.P. =>
Fields definition 2. Click the "
Add a new field" bouton at the bottom of the page
3. Fill in the
Name field with this value:
classe ATTENTION do not put anyting else then "classe" there, this is important!
Fill in the
legend field with "Class", "Classe" or "Klasse" following your language
Fill in the
explanation field with wathever you want, this is to explain the user that this field is his main wow character class
Once this is done, click the "
Input" option on the top menu
Choose "
No" to all 4 questions there (
Not a config value, System field, Required field, Show Visibility)
For the "
Get mode" field, choose "
LIST_DROP" in the dropdown list
Let "
Get function", "
Check function", "
Default value" empty
For the "
Values list", choose "
list_classes" in the dropdow list (this is the one we created above)
Let "
Input Template style" empty
Choose "
Registered user" for the last "
Auth level" option
4. Click the "
Send" button to save your new field
Adding the WoW Class field to the users registration form 1. Go to your board ACP =>
P.C.P. =>
PCP Wizard =>
Alter Form Display 2. In the top dropdown list, you should already have this page select:
Profil ÂÂÂ » Profile ÂÂÂ » Your profile ÂÂÂ » Registration informationIf not, find it and click the
Select button
3. Click "
Add / Remove Page Fields"
At this point, if you are running an IM 1.4.1 board and never used the PCP wizard before, you will more then probably receive the following (damn) alert message]
/*CBACK CrackerTracker* has detected a potential attack on this site with a worm or exploit .script so the Security System stopped the .script.
If you can see this page after including a new MOD into your board or after clicking on a link please contact the Board Administrator with this error message and a de.scription what you have done before you could see this page, that the Admin has the possibility to fix the problem./
Don't panic, here's the workaround for it: <img>
- Code: Select all
##-----[ OPEN ]------------------------------------------#/admin/admin_pcp_wizard.php ##-----[ FIND ]------------------------------------------#define('IN_PHPBB', true); ##-----[ AFTER, ADD ]------------------------------------------#define('CT_SECLEVEL', 'LOW'); ##-----[ SAVE/CLOSE ALL FILES ]------------------------------------------## EoM
4. Once you are on the page "[b]PCP Wizard ÂÂÂ » Add / Remove Page Fields"
In the left list, find the field "
Classe" and select it, then click the middle button "
->" to sent it on the right side. Then, on the right list, select "
Classe" and click the "
Move up button" until the field is where you want it to appear in the registration form.
Click the "Send" button.
You are back on the first page, verify that your new field is there and then click the "Send" button again
And that's all <!-- s]Now all your users can define their WoW character class from their profile control panel[/b]