I've read somewhere that thottbot and allakhazan we're not so "clean" about keyloggers and stuff (Nothing confirmed thought...). For the following stuff, I've used the site www.wowhead.com. So I wondered how I could change external links from my guild roster. Here's how I was able to do it:
First, to be able to change things in the "Find team" page:
Copy the file "search_alla.php" from the /lib folder and rename it "search_wowh.php".
Here's the content of the file:
- Code: Select all
<!-- BEGIN WOWH SEARCH BOX -->
<?php print border('sorange','start'); ?>
<table cellspacing="0" cellpadding="4" border="0" class="bodyline">
<td valign="middle" class="membersRowRight1">
<div align="center">
<script type="text/javascript">var mt_style = 3</script>
<script src="http://www.wowhead.com/widgets/searchbox.js" type="text/javascript"></script>
</div></td>
</tr>
</table>
<?php print border('sorange','end'); ?><!-- END WOWH SEARCH BOX -->
Now you just go in the "questlist.php" from the home directory and add the following lines near where you can find the word "ROSTER_LIB.'search_alla.php'":
- Code: Select all
echo "<table cellspacing=\"6\">\n <tr>\n";
echo ' <td valign="top">';
include_once(ROSTER_LIB.'search_wowh.php');
echo " </td>\n";
Note: You can as well put in comments/remove the other external links like thottbot...
Second, I've changed the characters quest page links as well by doing the following changes in the file enUS.php (In the /localization directory):
I've added this code at line 632 (or just search for "Thottbot" in the text):
- Code: Select all
$questlinks[0]['enUS']['name']='Wowhead';
$questlinks[0]['enUS']['url1']='http://www.wowhead.com/?search=';
$questlinks[0]['enUS']['url2']='&obj=&desc=&minl=';
$questlinks[0]['enUS']['url3']='&maxl=';
And also if you wish that all items links in the roster is using Wowhead, you can put in comments:
- Code: Select all
$itemlink['enUS']='http://www.thottbot.com/index.cgi?i=';
to add the following line:
- Code: Select all
$itemlink['enUS']='http://www.wowhead.com/?search=';
Have fun It's working pretty sweet for me!
P.S. If you're not sure of the changes, you should take a backup of your files...
P.P.S Batteries not included