[align=left:31hct5b3][flash=,:31hct5b3]http://www.prepared-guild.com/forum/phpRaiderBlock.jpg[/flash:31hct5b3][/align:31hct5b3]
Mousing over the icons will display the "location" entered in phpRaider. Also, the dates are a link to open the relevant phpRaider raid display in a new browser window. The bottom link will open phpRaider's main window in a new browser window. There shouldn't be any problems with language, as the only written data which is used is entered manually in phpRaider.
Since I have very little experience in coding in an IntegraMOD environment, coding in a phpBB2 environment, and coding anything whatsoever, I do not have plans to add new features by request. This thing could've probably been coded better, and if there are any bugs/possible vulnerabilities I'd gladly take some tips and modify accordingly.
Installation Pre-requisites:
- Have phpRaider installed (d-uh!)
Download:
[url=http]http://www.prepared-guild.com/forum/phpraider_block.zip[/url]
Installation
[list type=decimal][*]Unzip the file to your local computer[*]If necessary customize settings according to the direction below[*]Copy the customized blocks_imp_phpraider.php to your /blocks directory (in the I-MOD root folder)[*]Copy the customized phpraider_block.tpl to /templates/*/blocks/ for each template you are using (i.e. /templates/fisubice/blocks/)[*]Add the block using the ACP (ACP->IMPortal->Blocks Management->Your Site's IMPortal->Add Blocks). The block file should be called phpraider.[/list]
Customization
Suggestion: I suggest u do all the editing before uploading the files to your website <img>
The Zipped files contain settings for a specific path of phpRaider, and are customized for a WoW guild. This could be changed quite easily though.
Installation path:
If the installation path of your phpRaider is different than "/phpraider", this needs to be changed. To specify your phpRaider installtion path (I used a relative path, you could use the absolute path as well) open blocks_imp_phpraider.php and edit this line:
- Code: Select all
$phpraiderpath = './phpraider';
to point to your phpRaider installation path. i.e.
- Code: Select all
$phpraiderpath = './raider';
Another place this needs to be done is the blocks_phpraider.tpl file. Open blocks_phpraider.tpl and edit this line]<span><a>phpRaider</a>[/code]
To point to your phpRaider installation path. i.e.
- Code: Select all
<span><a>phpRaider</a>
Game Icons path]open[/b] blocks_imp_phpraider.php and edit this line:
- Code: Select all
$text .='<tr><td> </td><td><img src="'.$raiderpath.'/games/WoW/images/raids/'.$config_row['icon_name'].'"...
to point to your game's image store. i.e.
- Code: Select all
$text .='<tr><td> </td><td><img src="'.$raiderpath.'/games/LOTRO/images/raids/'.$config_row['icon_name'].'"...
I think thats it. It's my 1st time posting here, so I hope I haven't broken any rules or whatever. This is also my 1st mod, so I'd appreciate calm and constructive comments/criticism (like]). A big thank you to Jere Pà¤ÃƒÆ’ ¤kkà¶nen for his help, and a final big Thank you to Whiskey, which this mod is greatly inspired (read: copy+pasted) by/from.
Have fun with it.
Tholin.