by IllusoryThrall » Thu May 17, 2007 8:46 am
for those wanting to do this.. here's EXACTLY what I did. and yes, it works.
~~FYI: I have my roster and my phpBB installed on the same directory, which allows them to integrate a bit easier. this required renaming index.php and search.php in the roster, and changing a couple links to those files in menu.php (for the index) and indexsearch.php (for search.php). However, I think this method should work even without being on the same directory.
## Pre-edting, go to your roster homepage... do a "View Source" and go find the realm status image link. it'll look something like this:
<td rowspan="2" valign="top" class="rowright"><img alt="WoW Server Status" src="http://www.your-roster-url-here.com/realmstatus.php" /></td> </tr>
## OPEN portal.php
## FIND
//
// END: Avatar On Index MOD
//
## ADD AFTER
//
// Begin Realm Status Block
$realm_img = '<img alt="WoW Server Status" src="http://mnm-guild.com/realmstatus.php" />';
//
// End Realm Status Block
## FIND
// Recent Topics
'L_RECENT_TOPICS' => $lang['Recent_topics'],
## ADD AFTER
// Realm block
'L_REALM_STATUS' => $lang['Realm_status'],
'REALM_STATUS_IMG' => $realm_img,
## OPEN templates/whatever template you're using/portal_body.tpl
## FIND
## wherever you want to put the block.. i suggest either left or right side columns..
## ADD
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<TR>
<td class="catHead" height="25"><span class="cattitle"><b>{L_REALM_STATUS}</b></span></td>
</TR>
<TR>
<td class="row1" height="25"><P><span class="genmed"><br /><center>{REALM_STATUS_IMG}</center><br /></span></td>
</TR>
</table>
## OPEN language/lang_english/lang_main.php
## FIND (which was added by installing EZ Portal)
$lang['Post_your_comment'] = 'Post your comment';
$lang['Welcome'] = 'Welcome';
## ADD AFTER
$lang['Realm_status'] = 'Realm Status'; // Realm Status
## SAVE and UPLOAD all files. .. Enjoy!
Last edited by
IllusoryThrall on Thu May 17, 2007 8:47 am, edited 1 time in total.