requirements: Rahtek's PHPNuke Roster updates linked in Rahtak's thread here.
Change the following lines in the following files. I will try to get a package put together after work if anyone wants it:
- Code: Select all
/index.php
==========
(after) Line 16: $module_link = 'http://'.$_SERVER['HTTP_HOST']."/modules.php?name=".$module_name;
/memberlist.php
===============
line 286: $tableHeaderRow .= ' <th class="membersHeaderRight"><a href="' . $module_link . '&op=indexstat&s='.$field.$desc.'">'.$th_text."</a></th>\n";
line 428: global $wordings, $roster_conf, $guildFaction, $module_link
line 459: return $tooltip.'<a href="' . $module_link . '&op=char&player='.$row['name'].'&server='.$row['server'].'">'.$row['name'].'</a></div>';
line 470; return '<a href="' . $module_link . '&op=char&player='.$row['name'].'&server='.$row['server'].'">'.$row['name'].'</a>';
/questlist.php
==============
line 79: $option_blockzones = selectQuery("`".ROSTER_QUESTSTABLE."` quests,`".ROSTER_MEMBERSTABLE."` members WHERE quests.member_id = members.member_id","DISTINCT quests.zone","zone",$zoneidsafe,"zone",$module_link . "&op=indexquests&zoneid");
line 80: $option_blockquests = selectQuery("`".ROSTER_QUESTSTABLE."` quests,`".ROSTER_MEMBERSTABLE."` members WHERE quests.member_id = members.member_id","DISTINCT quests.quest_name","quest_name",$questidsafe,"quest_name",$module_link . "&op=indexquests&questid");
line 108: <form method="post" action="'.$module_link.'&op=indexquests">
line 194: 'onclick="w = window.open(\'' . $module_link . '&op=char&player='.$row['name'].'&server='.$row['server'].'&action=character\',\'PopUp\',\'width=830,height=750,left=100,top=100,screenX=100,screenY=100,fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no\'); return true;"'.
admin/config.php
================
line 21: $script_filename = $module_link.'&op=config';
currently, the addon's (maxres and so on) have some display issues. Also, as it is not working in Rahtak's code, Siggen also does not work in these edits.