Moderator: Integra Moderator
'RAIDDATE' => create_date("l j F, g]['date'], $board_config['board_timezone']),
"Whisky";p="22769" wrote:[size=99px]
[size=99px]http://rebirthoflight.net/ara/ItemStatsIM.rar[/url]
Unzip the contain on your HDD
OPEN itemstats/config.php
adapt the values to match your IM Database settings and your WoW icon store location
SAVE and CLOSE
Before moving further, backup the following files from your host site in order to be able to recover them in case of problem]
Upload the whole contain of the ItemStatsIM folder into your IM directory and replace all existing files.
Then, upgrade your existing IM templates files:
[color=green]OPEN templates/yourtheme/overall_header.tpl
FIND]
- Code: Select all
<script></script>
[color=green]AFTER, ADD]
- Code: Select all
<link><script><overLIB></script>
[b]FIND]
- Code: Select all
<link>
[color=green]AFTER, ADD]
- Code: Select all
{ITEMSTATS_REFS}
[color=green]
SAVE and CLOSE
Last step, create the item cache table in your IM DB...go to phopmyadmin and execute this query]CREATE TABLE IF NOT EXISTS `item_cache` (`item_name` varchar(100) NOT NULL DEFAULT '', `item_id` varchar(100) DEFAULT '0', `item_lang` varchar(2) DEFAULT '', `item_link` varchar(100) DEFAULT NULL, `item_color` varchar(20) NOT NULL DEFAULT '', `item_icon` varchar(50) NOT NULL DEFAULT '', `item_html` text NOT NULL, UNIQUE KEY `item_name` (`item_name`), FULLTEXT KEY `item_html` (`item_html`))[/code]
You can now link any WoW item in your forum like this][item]Nefarian's balls[/item][/code]
[hr:2i3rdgwn]
[size=99px]http://rebirthoflight.net/portail/mods/bbcode_box/images/item.gif[/flash:2i3rdgwn] item1.gif=>[flash=,:2i3rdgwn]http://rebirthoflight.net/portail/mods/bbcode_box/images/item1.gif[/flash:2i3rdgwn]
Then upload them to your /mods/bbcode_box/images/ directory
OPEN templates/yourtheme/posting_body.tpl
FIND
- Code: Select all
<td><a>Advanced BBCode Box v5.0.0</a> </td>
BEFORE, ADD
- Code: Select all
<td><img></td>
OPEN mods/bbcode_box/bbcode_box.js
FIND
- Code: Select all
table_help = "Creates a Table using BBCode";
AFTER, ADD
- Code: Select all
wowitem_help = "Display a WoW item]Nefarian's balls[/item]";
GO AT THE END OF THE FILE, ADD]
- Code: Select all
// Function added by Aranel for the itemstat buttonfunction BBCitem() { var txtarea = document.post.message; if ((clientVer >= 4) && is_ie && is_win) { theSelection = document.selection.createRange().text; if (theSelection != '') { document.selection.createRange().text = "[item]" + theSelection + "[/item]"; document.post.message.focus(); return; } } else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0)) { mozWrap(txtarea, "[item]", "[/item]"); return; } if (wowitem == 0) { ToAdd = "[item]"; document.post.wowitem.src = "mods/bbcode_box/images/item1.gif"; wowitem = 1; } else { ToAdd = "[/item]"; document.post.wowitem.src = "mods/bbcode_box/images/item.gif"; wowitem = 0; } PostWrite(ToAdd);}
[color=green]SAVE AND CLOSE ALL FILES
I can't do more...
if it is working pleaz edit your post tittle, remove my name and add a "[SOLVED]" instead <img>
"r1Pped";p="25879" wrote:check the bbcode_box.js has been modified properly and uploaded correctly. Its this file that makes the [item][/item] appear.
"Whisky";p="24835" wrote:I dont know PCP hasnt added it
Here's the SQL query to run against your phpmyadmin
- Code: Select all
ALTER TABLE `phpbb_users` ( ADD COLUMN (`classe` varchar(15) default NULL))
ALTER TABLE phpbb_users ADD COLUMN classe varchar (15) default NULL;
"Whisky";p="23363" wrote:Hi,
For the server status block, after having verified and tested again, I still not have any explanations.
In my opinion, this is due to your host web server that either doesnt allow php to read the contain of an "external" web page, or that cannot even ping any other machine outside his network.
"soapbar89";p="26760" wrote:hello, I installed your recent loot block on my IMPortal and I have a problem. It brings up the items correctly, but the mouse over doesn't appear. Here is a pic:
[url=http]http://seraphaction.net/files/itemstats_nope.jpg[/url]
Any ideas?
Thanks
Does anyone know enough about php to break the server status part of this mod down into an IM Portal block? Keeping copyright and creative rights intact of course! I attempted to do this myself but failed as I know just enough to be dangerous with PHP.
"ckilmer75";p="26731" wrote:"Whisky";p="23363" wrote:Hi,
For the server status block, after having verified and tested again, I still not have any explanations.
In my opinion, this is due to your host web server that either doesnt allow php to read the contain of an "external" web page, or that cannot even ping any other machine outside his network.
Hey Whiskey,
I also have the same issue he had with the Server Status Block not working with US Servers. It works with Khaz Modan.
And US Server Status works on my WoW Roster install.
Any ideas? I PM'd you my website.
$url = 'http://www.wow-europe.com/fr/serverstatus';
$url = 'http://www.worldofwarcraft.com/realmstatus/';
"Whisky";p="27459" wrote:"ckilmer75";p="26731" wrote:"Whisky";p="23363" wrote:Hi,
For the server status block, after having verified and tested again, I still not have any explanations.
In my opinion, this is due to your host web server that either doesnt allow php to read the contain of an "external" web page, or that cannot even ping any other machine outside his network.
Hey Whiskey,
I also have the same issue he had with the Server Status Block not working with US Servers. It works with Khaz Modan.
And US Server Status works on my WoW Roster install.
Any ideas? I PM'd you my website.
in the file wowserverstatus.php, you have to change the line:
- Code: Select all
$url = 'http://www.wow-europe.com/fr/serverstatus';
with
- Code: Select all
$url = 'http://www.worldofwarcraft.com/realmstatus/';
because you are playing on an US server
During peak hours, Blizzard's website connection can become overloaded and unreliable. In previous versions of this .script, it would hang indefinitely while waiting for Blizzard's server status page. This version solves that problem by caching data and only checking for updates at definable intervals.
-- -- Structure de la table `ROL_booker_raids`-- CREATE TABLE `ROL_booker_raids` ( `id` int(10) unsigned NOT NULL auto_increment, `name` varchar(45) NOT NULL default '', `text` text NOT NULL, `date` varchar(90) NOT NULL default '', `estimated` varchar(45) NOT NULL default '0', `user` varchar(45) NOT NULL default '', `raid_leader` varchar(45) NOT NULL default '', `max_signups` int(10) unsigned NOT NULL default '0', `small_raid` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`id`)) TYPE=MyISAM ; -- -- Structure de la table `ROL_booker_signups`-- CREATE TABLE `ROL_booker_signups` ( `id` int(10) unsigned NOT NULL auto_increment, `name` varchar(45) NOT NULL default '', `class` varchar(20) NOT NULL default '', `guild` varchar(45) NOT NULL default '', `raid_id` int(10) unsigned NOT NULL default '0', `have_acc` smallint(5) unsigned NOT NULL default '0', `text` text NOT NULL, PRIMARY KEY (`id`)) TYPE=MyISAM ; -- -- Structure de la table `ROL_config`-- CREATE TABLE `ROL_config` ( `id` int(6) NOT NULL auto_increment, `type` varchar(20) NOT NULL default '', `param` varchar(50) NOT NULL default '', `value` varchar(200) NOT NULL default '', PRIMARY KEY (`id`)) TYPE=MyISAM; -- -- Contenu de la table `ROL_config`-- INSERT INTO `ROL_config` VALUES (1, 'recruit', 'hunter', '0');INSERT INTO `ROL_config` VALUES (2, 'recruit', 'warlock', '0');INSERT INTO `ROL_config` VALUES (3, 'recruit', 'druid', '0');INSERT INTO `ROL_config` VALUES (4, 'recruit', 'warrior', '0');INSERT INTO `ROL_config` VALUES (5, 'recruit', 'mage', '0');INSERT INTO `ROL_config` VALUES (6, 'recruit', 'priest', '0');INSERT INTO `ROL_config` VALUES (7, 'recruit', 'paladin', '0');INSERT INTO `ROL_config` VALUES (8, 'recruit', 'rogue', '0');INSERT INTO `ROL_config` VALUES (9, 'recruit', 'shaman', '0');INSERT INTO `ROL_config` VALUES (10, 'booker', 'officers', '33,14,6,8');INSERT INTO `ROL_config` VALUES (11, 'booker', 'members', '3,29,40');INSERT INTO `ROL_config` VALUES (12, 'booker', 'smallraid', '1');INSERT INTO `ROL_config` VALUES (13, 'booker', 'lang', 'EN');INSERT INTO `ROL_config` VALUES (14, 'booker', 'raidleader', 'Aranel');INSERT INTO `ROL_config` VALUES (15, 'objective', 'target', 'Nefarian');
-- Structure de la table `ROL_config`-- CREATE TABLE `ROL_config` ( `id` int(6) NOT NULL auto_increment, `type` varchar(20) NOT NULL default '', `param` varchar(50) NOT NULL default '', `value` varchar(200) NOT NULL default '', PRIMARY KEY (`id`)) TYPE=MyISAM;---------------------------------------------------------------Have added the ROL_config, just cant figure out how to add the other stuff below?----------------------------------------------------------------- -- Contenu de la table `ROL_config`-- INSERT INTO `ROL_config` VALUES (1, 'recruit', 'hunter', '0');INSERT INTO `ROL_config` VALUES (2, 'recruit', 'warlock', '0');INSERT INTO `ROL_config` VALUES (3, 'recruit', 'druid', '0');INSERT INTO `ROL_config` VALUES (4, 'recruit', 'warrior', '0');INSERT INTO `ROL_config` VALUES (5, 'recruit', 'mage', '0');INSERT INTO `ROL_config` VALUES (6, 'recruit', 'priest', '0');INSERT INTO `ROL_config` VALUES (7, 'recruit', 'paladin', '0');INSERT INTO `ROL_config` VALUES (8, 'recruit', 'rogue', '0');INSERT INTO `ROL_config` VALUES (9, 'recruit', 'shaman', '0');INSERT INTO `ROL_config` VALUES (10, 'booker', 'officers', '33,14,6,8');INSERT INTO `ROL_config` VALUES (11, 'booker', 'members', '3,29,40');INSERT INTO `ROL_config` VALUES (12, 'booker', 'smallraid', '1');INSERT INTO `ROL_config` VALUES (13, 'booker', 'lang', 'EN');INSERT INTO `ROL_config` VALUES (14, 'booker', 'raidleader', 'Aranel');INSERT INTO `ROL_config` VALUES (15, 'objective', 'target', 'Nefarian');
Registered users: App360MonitorBot, Bing [Bot], Majestic-12 [Bot]