1.0.1999 RC2 block errors

View planned events from the WoW AddOn GroupCalendar

Moderator: Ulminia

Re: 1.0.1999 RC2 block errors

Postby Anaxent » Fri Jun 20, 2008 6:57 am

Matt I have used your block code and added to it basically to figure out the module name ($module_name) but the name of the file which in this case is
block-rosterdf-side-Group_Calendar.php
the extra code will parse out the "-" and take the word after the first "-" as the block name so Matt you will need to rename the file to use "block-WoWRosterDF-" for it to work but doing things this way allows the user to maybe have a few different installs of roster and still use the same blocks by just renaming it. The new code also defines the sql defines using the $module_name as part of the prefix. In time I would like to make more blocks for the df version of roster and maybe have different versions of each of the blocks for instance side, center, scrolling etc...
Attachments
block-rosterdf-side-group_calendar.zip
(4.1 KiB) Downloaded 98 times
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

Re: 1.0.1999 RC2 block errors

Postby Gator81 » Fri Jun 20, 2008 8:28 am

could a block also be made to work in phpnuke? I think he was going to but they were tied up with something else at the time.

thanks
Gator81
WR.net Journeyman
WR.net Journeyman
 
Posts: 115
Joined: Fri Jun 01, 2007 4:44 am

1.0.1999 RC2 block errors

Postby Ulminia » Fri Jun 20, 2008 10:07 am

its possable that it could be made for phpnuke but agian id have to learn how to make a block for it too that is what this block has had so many issues
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: 1.0.1999 RC2 block errors

Postby MattM » Sun Jun 22, 2008 11:34 am

Code: Select all
blocks/block-rosterdf-side-Group_Calendar.php

    * Warning line 43: include_once(modules/rosterdf//addons/GroupCalendar/locale/enUS.php) [function.include-once]: failed to open stream: No such file or directory
    * Warning line 43: include_once() [function.include]: Failed opening 'modules/rosterdf//addons/GroupCalendar/locale/enUS.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php')
    * Warning line 44: include_once(modules/rosterdf//lib/cmslink.lib.php) [function.include-once]: failed to open stream: No such file or directory
    * Warning line 44: include_once() [function.include]: Failed opening 'modules/rosterdf//lib/cmslink.lib.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php')


Code: Select all
includes/db/db.php

    * CMS Warning line 75: On /index.php While executing query "SELECT id, title, start AS start_time, DATE_ADD(`start`, INTERVAL `duration` MINUTE) AS `end_time`, type, description, duration, TIME_FORMAT(`start`, '%l:%i%p') AS stime, TIME_FORMAT(DATE_ADD(`start`, INTERVAL `duration` MINUTE), '%l:%i%p') AS etime, TIME_FORMAT(`start`, '%H:%i:%s') AS s_time, TIME_FORMAT(DATE_ADD(`start`, INTERVAL `duration` MINUTE), '%H:%i:%s') AS e_time, DAYOFMONTH(`start`) AS d, MONTH(`start`) AS m, YEAR(`start`) AS y FROM df_WoWRosterDF_roster_addons_GroupCalendar_info WHERE MONTH(`start`) = 6 AND YEAR(`start`) = 2008 AND TIME_FORMAT(`start`, '%H:%i:%s')='00:00:25' ORDER BY `start`" the following error occured: Table 'doblivion.df_WoWRosterDF_roster_addons_GroupCalendar_info' doesn't exist In: /data/htm/doblivion.com/blocks/block-rosterdf-side-Group_Calendar.php on line: 167

these work for me

Code: Select all

$module_name= 'WoWRosterDF';
   

define ( 'WOSTERDF_PATH', 'modules/'.$module_name.'/');
//define ( 'WOSTERDF_PATH', '/data/htm/doblivion.com/modules/WoWRosterDF');
define ( 'WOSTERDF_URL', 'http://doblivion.com/modules/'.$module_name);
define ( 'MYSQLI',true); //false for regular mysql
define ( 'GC_DETAILURL','http://doblivion.com/'.$module_name.'/p=guild-GroupCalendar/a=g:1/');
define ( 'GC_DETAILURL2','.html');

define('IN_ROSTER',True);
define('ROSTER_INSTALLED',True);
define('TIMEZONE',-5);

if ($disabled != True){
$content = "";
include_once (WOSTERDF_PATH.'/addons/GroupCalendar/locale/enUS.php');
include_once (WOSTERDF_PATH.'/lib/cmslink.lib.php');
define('CALENDAR_TABLE','df_wowrosterdf_roster_addons_GroupCalendar_info');
define('CONFIG_TABLE','df_wowrosterdf_roster_addon_config');
define('ATTENDANCE_TABLE','df_wowrosterdf_roster_addons_GroupCalendar_attend');
define('OTHERINFO_TABLE','df_wowrosterdf_roster_addons_GroupCalendar_other');

Last edited by MattM on Sun Jun 22, 2008 11:54 am, edited 6 times in total.
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

Re: 1.0.1999 RC2 block errors

Postby MattM » Sun Jun 22, 2008 11:56 am

Thanks Ulminia/Anaxent
Last edited by MattM on Sun Jun 22, 2008 11:57 am, edited 1 time in total.
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

Re: 1.0.1999 RC2 block errors

Postby Soloknight » Sat Jul 05, 2008 10:46 pm

I'm looking for a phpnuke ver. also, A center block with the calendar in it with events and who sign up ect. would be sweet and a great addition to your already great addon
Soloknight
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Mon Sep 24, 2007 11:44 pm

1.0.1999 RC2 block errors

Postby Ulminia » Sun Jul 06, 2008 5:55 am

php nuke ver is a long way away i donr kno how phpnuke blocks are mods are encoded i will how ever look into it after i remake the df block
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Previous

Return to Group Calendar

Who is online

Users browsing this forum: No registered users and 0 guests

cron