I coded something similar for Joomla 1.0.x.
Prerequisite for working with itemstats is an installed version of puitemstats mambot and of course an installation of eqdkp.
You can get it here
// Retrieve the XML for this item from Allakhazam.
$xml_data = itemstats_read_url('http://wow.allakhazam.com/dev/wow/item-xml.pl?witem=' . $item_id);
// Retrieve the XML for this item from Allakhazam.
$xml_data = itemstats_read_url('http://wow.allakhazam.com/cluster/item-xml.pl?witem=' . $item_id);
DELETE FROM item_cache WHERE item_link IS NULL ;
$ mysql DATABASENAME
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 894056
Server version: 5.0.54 Gentoo Linux mysql-5.0.54
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> DELETE FROM item_cache WHERE item_link IS NULL ;
Query OK, 3 rows affected (0.07 sec)
mysql> quit
Bye
$
cerb3ros wrote:Hello Again,
Is it easy, to have Latest Items to work with Wowdb.com ? I sychronised my site with it and dont need any joomla bot at all. You can see it here:
http://www.mysamurai.eu/v6
So we can have it without install any bot (its now well known that the bot in some sites its working and in other not).
Also, in eqdkp plus, there is the ability to have different loot pools. If we can set for example a copy of this module to be on Epics, a second one on Weapons and third one on T6, will be marvelous
I have done something like this on my site, though its manually edit
Hope you can help, ty
Users browsing this forum: No registered users and 1 guest