ArmorySync 2.6 beta svn[234] for Roster 2.0 Beta

Sync Blizzards' Armory data with WoWRoster (addon depreciated no longer works see ApiSync)

Moderators: Ulminia, poetter

Re: ArmorySync 2.6 beta svn[230] for Roster 2.0 Beta

Postby joehail » Sun Sep 23, 2007 7:04 am

Ok, I must be doing something wrong. on http://www.ecs-guild.com/roster2/ I have used the newest version of Armory. it says that it has updated everyone, but for some reason , no one but the 2 players that have previously uploaded are clickable, and one of them is not up to date, only as far as when he uploaded. Am I doing something wrong? I have used all 3 Armory addon buttons with the same result.

Thanks in advance for the help.
Image
User avatar
joehail
WR.net Journeyman
WR.net Journeyman
 
Posts: 103
Joined: Tue Jul 04, 2006 4:54 pm
Location: Cincinnati, Ohio USA

ArmorySync 2.6 beta svn[230] for Roster 2.0 Beta

Postby Anaxent » Sun Sep 23, 2007 4:05 pm

I have been following your progress and porting it to df at the same time. I have just updated to the new version that is avliaibale in the first post and yes the makelink function is now working with out the use of an str_replace but now I see that you are using themes. the themes dire for each addon should be added to the main <roster_dir>/templates/<theme>/<addon_name>/
rather then being in its own dir
like so

Code: Select all

 $roster
->tpl->set_filenames(array(
                
'status_head' => $addon['basename'] . '/status_head.html',
                
'status_body' => $addon['basename'] . '/status_body.html',
                
'footer' =>      $addon['basename'] . '/footer.html',
                ));
 


Evenb when I do add this and copy the theme files form the addon dir into the template/default/ dir i do not get errors but also do not see the themes
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: ArmorySync 2.6 beta svn[230] for Roster 2.0 Beta

Postby zanix » Sun Sep 23, 2007 4:08 pm

Copying the themes to templates/default/armorysync/
The code should look like this
Code: Select all

 $roster
->tpl->set_filenames(array(
                
'status_head' => 'armorysync/status_head.html',
                
'status_body' =>  'armorysync/status_body.html',
                
'footer' =>      'armorysync/footer.html',
                ));
 


EDIT: I just realized that what I posted is EXACTLY the same as above
Last edited by zanix on Mon Sep 24, 2007 3:21 am, edited 1 time in total.
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: ArmorySync 2.6 beta svn[228] for Roster 2.0 Beta

Postby poetter » Sun Sep 23, 2007 11:43 pm

figarotic wrote:230: memberlist synch gives:

Fatal error: Call to a member function hasProp() on a non-object in \roster\addons\armorysync\inc\armorysync.class.php on line 146


Change line 146 to this:
Code: Select all
        if ( $this->_checkContent( $content, array( 'guildInfo', 'guild' ) ) ) {
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

ArmorySync 2.6 beta svn[230] for Roster 2.0 Beta

Postby poetter » Sun Sep 23, 2007 11:53 pm

@ Anaxent & zanix

I already thought that. The disadvantage is that i am not able to put the file to this svn location. even if i would change the dir structure of the armorysync svn to start from the roster root dir, this will bite svn structures of roster.
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Re: ArmorySync 2.6 beta svn[230] for Roster 2.0 Beta

Postby poetter » Mon Sep 24, 2007 12:18 am

joehail wrote:Ok, I must be doing something wrong. on http://www.ecs-guild.com/roster2/ I have used the newest version of Armory. it says that it has updated everyone, but for some reason , no one but the 2 players that have previously uploaded are clickable, and one of them is not up to date, only as far as when he uploaded. Am I doing something wrong? I have used all 3 Armory addon buttons with the same result.

Thanks in advance for the help.


Don't know. i would need your password to test on your site. But in general click AmorySync for Guild Memberlist and after that ArmorySync for Guilds.
Last edited by poetter on Mon Sep 24, 2007 12:19 am, edited 1 time in total.
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Re: ArmorySync 2.6 beta svn[230] for Roster 2.0 Beta

Postby Anaxent » Mon Sep 24, 2007 1:54 am

poetter wrote:@ Anaxent & zanix

I already thought that. The disadvantage is that i am not able to put the file to this svn location. even if i would change the dir structure of the armorysync svn to start from the roster root dir, this will bite svn structures of roster.


Well shoot that makes alot of sense. Maybe we should create a new addon svn structure just for this reason which will not include any of the main roster files but start with the rosters structure.

/addons/<svn addons>
/templates/<template name>

this will allow you to build a template for your addons and could also allow theme developers to start using the svn to build new themes. I will talk with Zanix and im sure he will read this post too.
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

ArmorySync 2.6 beta svn[230] for Roster 2.0 Beta

Postby poetter » Mon Sep 24, 2007 2:11 am

@Anaxent. Well, even then you won't be able to keep both svn working copies(roster and addon) in one directory, cause they belong to different repository's
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

ArmorySync 2.6 beta svn[230] for Roster 2.0 Beta

Postby zanix » Mon Sep 24, 2007 3:21 am

The current template file is designed to handle template files in the addons directory
addons/addonname/templates/

Currently it issues a user error, but I think I may remove the error notice

As for not working when roster is ported to DF, we might have to troubleshoot that with rosterdf
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

ArmorySync 2.6 beta svn[230] for Roster 2.0 Beta

Postby poetter » Mon Sep 24, 2007 3:31 am

All right, how do i have to define the set_filenames array then?

Code: Select all
$roster->tpl->set_filenames(array(
                'status_head' => 'addons/armorysync/templates/status_head.html',
                'status_body' =>  'addons/armorysync/templates/status_body.html',
                'footer' =>      'addons/armorysync/templates/footer.html',
                ));


Like this?
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

ArmorySync 2.6 beta svn[232] for Roster 2.0 Beta

Postby poetter » Mon Sep 24, 2007 6:10 am

Hi all,

i updated the first post with a new version. Happy testing
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

ArmorySync 2.6 beta svn[233] for Roster 2.0 Beta

Postby poetter » Mon Sep 24, 2007 6:27 am

And once again updated the first post. Forgot to add some locales.

One word abou the new options. You might need to uninstall and install ArmorySync to see them. As i don't know upgrade handling of configs and buttons yet, this is the only way.
Last edited by poetter on Mon Sep 24, 2007 6:28 am, edited 1 time in total.
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Re: ArmorySync 2.6 beta svn[230] for Roster 2.0 Beta

Postby Ymryl » Mon Sep 24, 2007 7:20 am

joehail wrote:Ok, I must be doing something wrong. on http://www.ecs-guild.com/roster2/ I have used the newest version of Armory. it says that it has updated everyone, but for some reason , no one but the 2 players that have previously uploaded are clickable, and one of them is not up to date, only as far as when he uploaded. Am I doing something wrong? I have used all 3 Armory addon buttons with the same result.

Thanks in advance for the help.


I have the same issue, so you are not alone. Poetter, I have PM'd you the admin password. Is there something that maybe changed in the base beta files that is causing this? Should I try wiping everything and starting over?
Last edited by Ymryl on Mon Sep 24, 2007 7:27 am, edited 1 time in total.
User avatar
Ymryl
WR.net Apprentice
WR.net Apprentice
 
Posts: 38
Joined: Mon Jul 17, 2006 11:45 pm
Location: RI, USA

Re: ArmorySync 2.6 beta svn[230] for Roster 2.0 Beta

Postby zanix » Mon Sep 24, 2007 7:36 am

poetter wrote:All right, how do i have to define the set_filenames array then?

They way you had it at first should be fine
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: ArmorySync 2.6 beta svn[230] for Roster 2.0 Beta

Postby tuigii » Mon Sep 24, 2007 2:19 pm

Small frFR issue (my fault :? )
Line 84 :
$lang['Talenttrees']['Hunter']['Marksmanship'] = "Précision ";
Remove the space before the colsing quotes.


Also :
The image for NightElfs is still not present.
It askes for this image :
...
<img src="/roster_20b1/addons/info/images/portrait/night elf-female.gif
...
of course, only these are present:
nightelf-female.gif
nightelf-male.gif



When syncing, I have a (new) box being openend up front, like this :
Image
What is it ?
:shock:
Got it :!:
Something like this is missing in the locale files :
Code: Select all
$lang['start']="Démarrage"// For the frFR.php version  :D 


Nice :wink:
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

PreviousNext

Return to ArmorySync - Depreciated

Who is online

Users browsing this forum: No registered users and 0 guests

cron