Quote:
Originally Posted by mbulmer
This worked for me:
Go to your replacement variable manager.
Add a new variable replacement, and in the "Search for text" field, put:
Code:
http://wow.allakhazam.com/templates/wow
In the "Replace with text" field, put:
Code:
http://wow.allakhazam.com
|
where is that hardcoded, in what script is the
http://wow.allakhazam.com/templates/wow
defined?
works great with the replacement manager, but it strips it out also if you post that link
http://wow.allakhazam.com/templates/wow in a post

so would just rather fix it in the code
thanks!
also,
works for items, but can not seem to get it to work with spells / quests..
is this not an option
I looked through all the files, and can not seem to find where that link is hardcoded-
[root@server itemstats]# find . -exec grep "wow" '{}' \; -print
PHP Code:
define('ICON_STORE_LOCATION', 'http://wow.allakhazam.com/images/icons/');
./config.php
define('ICON_STORE_LOCATION', 'http://wow.allakhazam.com/images/icons/');
./docs/config.txt
$data = itemstats_read_url('http://wow.allakhazam.com/search.html?q=' . urlencode($name));
$xml_data = itemstats_read_url('http://wow.allakhazam.com/dev/wow/item-xml.pl?witem=' . $item_id);
$item['link'] = 'http://wow.allakhazam.com/db/item.html?witem=' . $item_id;
$item['html'] = str_replace("<a href='http://wow.allakhazam.com/db/itemset", "<a class='set' href='http://wow.allakhazam.com/db/itemset", $item['html']);
$data = itemstats_read_url('http://wow.allakhazam.com/db/itemset.html?setid=' . $item_set_id);
$item_set_bonuses = str_replace('/db/spell.html', 'http://wow.allakhazam.com/db/spell.html', $item_set_bonuses);
./includes/allakhazam.php
// Replace the 'ttd' table style with 'wowitemt'.
$item['html'] = str_replace('class=ttb', "class='wowitemt'", $item['html']);
./includes/thottbot.php
.wowitemt
.wowitemt a:link, .wowitemt a:visited, .wowitemt a:active { color: #FFB019; text-decoration: none; font-weight: normal }
.wowitemt a:hover { color: #FFB019; text-decoration: underline; font-weight: normal }
.wowitemt td
./templates/itemstats.css
<table class='wowitemt'>
./templates/popup-error.tpl
is it in one of the xml files that it's reading from alla ?