The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
||||||||||||||||||||||||||
gWoWEvents - World of Warcraft Event Signup
![]() Developer Last Online: Sep 2023 ![]() ![]()
![]() What is it?
[hr]-[/hr]gWoWEvents is a modification for vBulletin which allows you to add World of Warcraft event sign ups to your forum calendar. If you use this mod, please Mark as Installed, and if you really enjoy this mod, please Nominate for MOTM, and if you really really enjoy this mod, feel free to Support Developer! Thank you! Support [hr]value[/hr]I use my released mods daily, if I find an issue with them or add features for myself I will release updates. If there are significant bugs or simple feature requests I will do my best to release fixes. Some of my mods rely on fetching data from 3rd party websites, due to the unreliable results, my mods will require users to troubleshoot for themselves if they find the addon is not working for them specifically. I am offering my personal mods that work ok for me for you to use, I am sorry I do not have time to troubleshoot many user specific issues. Thank you for your understanding. Features [hr]-[/hr]
Installation [hr]-[/hr]
Changes [hr]-[/hr] v1.0.10a - upload class_gwowarmory.php
v1.0.10 - upload cron.gwowevents.charinfo.php, class_gwowarmory.php, import product with overwrite
v1.0.9 - upload cron.gwowevents.charinfo.php, upload images, import product with overwrite
v1.0.8 - import product with overwrite enabled
v1.0.7 - Upload functions_gwowevents.php, images, import product with overwrite enabled
v1.0.5 - Import product with overwrite enabled.
v1.0.4 - Upload all files import product.
v1.0.3 - Import product.
v1.0.2 - Upload all files import product.
Copyright [hr]-[/hr]gXboxLive, Copyright ? Ghryphen (https://github.com/ghryphen) Please maintain copyrights in derivative works, thank you. Download Now
Screenshots
Show Your Support
|
Comments |
#62
|
|||
|
|||
![]() Quote:
|
#63
|
|||
|
|||
![]()
PHP Fatal error:
Cannot use string offset as an array in /XXX/XXX/XXX/forum/includes/cron/cron.gwowevents.charinfo.php on line 50 |
#64
|
|||
|
|||
![]()
I've been hung up suddenly with a fatal error and no cron running since the 12th. Before that, character imports were doing fine. See above. Any thoughts?
|
#65
|
|||
|
|||
![]()
I'm getting the same error. *shrugs* I'm not sure what's generating the error since nothing in cron.gwowevents.charinfo.php has changed.
|
#66
|
|||
|
|||
![]()
I am getting the following error:
Code:
gWoWEvents Armory Import Fatal error: Cannot use string offset as an array in /data/6/0/97/80/423406/user/431220/htdocs/pandemicfear/forums/includes/cron/cron.gwowevents.charinfo.php on line 64 |
#67
|
|||
|
|||
![]() Quote:
US|Shattered+Hand|Alliance|Eviserator <======= Faulty Entry US|Shattered Hand|Alliance|Eviserator <======= Good Entry |
#68
|
|||
|
|||
![]()
If you are receiving the following error:
PHP Fatal error: Cannot use string offset as an array in /XXX/XXX/XXX/forum/includes/cron/cron.gwowevents.charinfo.php on line 50 I have rewritten the CRON process and it is working fine for me now. Try replacing ALL of the code in your cron.gwowevents.charinfo.php file with the following: Code:
<?php // ######################################################################## // // gWoWEvents, Copyright ? 2006, Ryan Snook (www.gryphonllc.com ) // // If you have fixes, improvements or other additions to make to // gWoWEvents, please contact me at rsnook@gmail.com for collaboration. // I appreciate your kind consideration. // // This work is licensed under the Creative Commons // Attribution-Noncommercial-No Derivative Works 3.0 United States License. // To view a copy of this license, visit // http://creativecommons.org/licenses/by-nc-nd/3.0/us/ or send a letter to // Creative Commons, 171 Second Street, Suite 300, // San Francisco, California, 94105, USA. // // ########################### SVN info ################################### // $Id: cron.gwowevents.charinfo.php 830 2008-01-23 20:18:51Z gryphon $ // $Rev: 830 $ // $LastChangedBy: gryphon $ // $Date: 2008-01-23 12:18:51 -0800 (Wed, 23 Jan 2008) $ // ######################## SET PHP ENVIRONMENT ########################### error_reporting(E_ALL & ~E_NOTICE); if (!is_object($vbulletin->db)) { exit; } // ########################## REQUIRE BACK-END ############################ require_once('./includes/functions_gwowevents.php'); // Following line provided by LostPhoenix $res = $vbulletin->db->query("SELECT * FROM " . TABLE_PREFIX . "gwowevents WHERE `armorydata` != '1' GROUP BY `realmchar` ORDER BY `armorydata` ASC"); while ($char = $vbulletin->db->fetch_array($res)) { require_once('./includes/class_gwowarmory.php'); $x = new gWoWArmory; $x->SetLocale($char['locale']); $x->SetRealmName($char['realm']); $x->SetCharName($char['character']); sleep(5); $character['sheet'] = $x->FetchCharacterSheet(); sleep(5); $character['skills'] = $x->FetchCharacterSkills(); if ($character['characterInfo']['errCode'] != 'noCharacter') { $charinfo_query = " `charurl` = '" . $character['sheet']['characterInfo']['character']['charUrl'] . "', `level` = '" . $character['sheet']['characterInfo']['character']['level'] . "', `title` = '" . $character['sheet']['characterInfo']['character']['prefix'] . "', `faction` = '" . $character['sheet']['characterInfo']['character']['faction'] . "', `factionid` = '" . $character['sheet']['characterInfo']['character']['factionId'] . "', `gender` = '" . $character['sheet']['characterInfo']['character']['gender'] . "', `genderid` = '" . $character['sheet']['characterInfo']['character']['genderId'] . "', `race` = '" . $character['sheet']['characterInfo']['character']['race'] . "', `raceid` = '" . $character['sheet']['characterInfo']['character']['raceId'] . "', `class` = '" . $character['sheet']['characterInfo']['character']['class'] . "', `classid` = '" . $character['sheet']['characterInfo']['character']['classId'] . "', `talentspec` = '" . $character['sheet']['characterInfo']['characterTab']['talentSpec']['treeOne'] . "," . $character['sheet']['characterInfo']['characterTab']['talentSpec']['treeTwo'] . "," . $character['sheet']['characterInfo']['characterTab']['talentSpec']['treeThree'] . "', `talent1` = '" . $character['sheet']['characterInfo']['characterTab']['talentSpec']['treeOne'] . "', `talent2` = '" . $character['sheet']['characterInfo']['characterTab']['talentSpec']['treeTwo'] . "', `talent3` = '" . $character['sheet']['characterInfo']['characterTab']['talentSpec']['treeThree'] . "', `guild` = '" . $character['sheet']['characterInfo']['character']['guildName'] . "', `guildurl` = '" . $character['sheet']['characterInfo']['character']['guildUrl'] . "', `hp` = '" . $character['sheet']['characterInfo']['characterTab']['characterBars']['health']['effective'] . "', `mp` = '" . $character['sheet']['characterInfo']['characterTab']['characterBars']['secondBar']['effective'] . "', `str` = '" . $character['sheet']['characterInfo']['characterTab']['baseStats']['strength']['effective'] . "', `agi` = '" . $character['sheet']['characterInfo']['characterTab']['baseStats']['agility']['effective'] . "', `sta` = '" . $character['sheet']['characterInfo']['characterTab']['baseStats']['stamina']['effective'] . "', `int` = '" . $character['sheet']['characterInfo']['characterTab']['baseStats']['intellect']['effective'] . "', `spi` = '" . $character['sheet']['characterInfo']['characterTab']['baseStats']['spirit']['effective'] . "', `arm` = '" . $character['sheet']['characterInfo']['characterTab']['baseStats']['armor']['effective'] . "', `strbase` = '" . $character['sheet']['characterInfo']['characterTab']['baseStats']['strength']['base'] . "', `agibase` = '" . $character['sheet']['characterInfo']['characterTab']['baseStats']['agility']['base'] . "', `stabase` = '" . $character['sheet']['characterInfo']['characterTab']['baseStats']['stamina']['base'] . "', `intbase` = '" . $character['sheet']['characterInfo']['characterTab']['baseStats']['intellect']['base'] . "', `spibase` = '" . $character['sheet']['characterInfo']['characterTab']['baseStats']['spirit']['base'] . "', `armbase` = '" . $character['sheet']['characterInfo']['characterTab']['baseStats']['armor']['base'] . "', `prof1` = '" . $character['sheet']['characterInfo']['characterTab']['professions']['skill']['0']['name'] . "', `skill1` = '" . $character['sheet']['characterInfo']['characterTab']['professions']['skill']['0']['value']['0'] . "', `prof2` = '" . $character['sheet']['characterInfo']['characterTab']['professions']['skill']['1']['name'] . "', `skill2` = '" . $character['sheet']['characterInfo']['characterTab']['professions']['skill']['1']['value']['0'] . "', `cooking` = '" . $character['skills']['characterInfo']['skillTab']['skillCategory']['1']['skill']['0']['value']['0'] . "', `firstaid` = '" . $character['skills']['characterInfo']['skillTab']['skillCategory']['1']['skill']['1']['value']['0'] . "', `fishing` = '" . $character['skills']['characterInfo']['skillTab']['skillCategory']['1']['skill']['2']['value']['0'] . "', `riding` = '" . $character['skills']['characterInfo']['skillTab']['skillCategory']['1']['skill']['3']['value']['0'] . "', "; $char['realmchar'] = addslashes($char['realm'] . "." . $char['character']); if ($character['sheet']['characterInfo'] && $character['sheet']['characterInfo']['characterTab']['characterBars']['health']['effective']) { $vbulletin->db->query("UPDATE " . TABLE_PREFIX . "gwowevents SET " . $charinfo_query . " `armorydata` = '1' WHERE `realmchar` = '" . $char['realmchar'] . "'"); } else { $vbulletin->db->query("UPDATE " . TABLE_PREFIX . "gwowevents SET `armorydata` = '2' WHERE `realmchar` = '" . $char['realmchar'] . "'"); } } if (VB_AREA == 'AdminCP') { echo $char['character'] . '<pre>'; print_r($character['skills']); echo '<pre><hr />'; } $char_updated .= $char['character'] . ", "; } echo $char_updated; ?> |
#69
|
|||
|
|||
![]()
Getting this error when trying to add an event to the calendar.
Code:
Database error in vBulletin 3.6.8: Invalid SQL: SELECT gwe.*, user.username, userfield.field0 FROM forumgwowevents gwe LEFT JOIN forumuserfield AS userfield ON userfield.userid = gwe.userid LEFT JOIN forumuser AS user ON user.userid = gwe.userid WHERE eventid = 07 ORDER BY gwe.response ASC, gwe.date; MySQL Error : Unknown column 'userfield.field0' in 'field list' Error Number : 1054 Date : Thursday, March 20th 2008 @ 04:01:35 PM Script : http://WEBSITENAME.com/forum/calendar.php?do=getinfo&e=7&day=2008-12-20 Referrer : http://WEBSITENAME.com/forum/calendar.php?do=add&type=single&c=1 IP Address : Username : Classname : vB_Database |
#70
|
|||
|
|||
![]()
If found by grouping by character name you put a lot less stress on the armory. The current SQL Call to get the array of characters that needs to be updated will put the same character in multiple times.
By changing: Code:
$res = $vbulletin->db->query("SELECT * FROM " . TABLE_PREFIX . "gwowevents WHERE `armorydata` != '1' ORDER BY `armorydata` ASC"); Code:
$res = $vbulletin->db->query("SELECT * FROM " . TABLE_PREFIX . "gwowevents WHERE `armorydata` != '1' GROUP BY `realmchar` ORDER BY `armorydata` ASC"); |
#71
|
||||
|
||||
![]()
@stevewwm You need to update the field id in the options.
@LostPhoenix, @Eviserator I will look in these changes. |
![]() |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|