Member Log [UPDATE V1.1]

Logs changes to the guild member list when the guild list is updated
Integrated into WoWRoster v1.7.1 and later

Member Log [UPDATE V1.1]

Postby Averen » Fri Jul 28, 2006 2:44 am

Update V1.1

[Only required if you installed before 12AM 28th July GMT]

Open lib/wowdb.php

Find, Line 1513
Code: Select all
      $this->closeQuery($result);

After, Add
Code: Select all
      return $oldmembers;


Open admin/update.php

Find, Line 262
Code: Select all
                     $output .= "<ul>\n";

After, Add
Code: Select all
                     $i = 0;


Find, Line 274 - 276
Code: Select all
                        {
                           $output .= start_update_trigger($char_name,'guild');
                        }

After, Add
Code: Select all
                        $i++;


Find, Line 290
Code: Select all
                     $output .= "<strong>Update [<span class=\"orange\">Memeber Log</span>]</strong>\n<ul>\n";

Replace With
Code: Select all
                     $output .= "<strong>Updating [<span class=\"orange\">Memeber Log</span>]</strong>\n<ul>\n";


Find, Line 294
Code: Select all
                     require '../addons/memberlog/install_db.php';

Replace With
Code: Select all
                     require ROSTER_BASE.'addons'.DIR_SEP.'memberlog/install_db.php';
Last edited by Averen on Fri Jul 28, 2006 3:49 pm, edited 4 times in total.
User avatar
Averen
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 152
Joined: Thu Jul 20, 2006 5:18 am

Member Log

Postby Subxero » Fri Jul 28, 2006 4:49 am

Cool addon ... but i can get make work for me :/

I manually moded the 3 files and uploaded the addon.. nothing
I get your modified files and .. nothing again :/

It create the database ... but dont put ANY data on the table :/

And in the update log shows these line..

Update [Memeber Log]

other question its no better "Member Log" and not "Memeber Log"
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

Re: Member Log

Postby Averen » Fri Jul 28, 2006 2:24 pm

Yeh that's fine Zanix do what you wish.

The member log only updates when guild members are added / removed so until new memebers are added or old ones removed it will not show anyone. I think I'm going to update this to automatically add in any existing players to the added column when it is installed...

Cheers for the typo, I shall fix it right now. :)
User avatar
Averen
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 152
Joined: Thu Jul 20, 2006 5:18 am

Member Log

Postby Subxero » Fri Jul 28, 2006 2:30 pm

I delete from database a member to get a new member to TEST and i get the update from log, appaers again on roster but memberlog continue empty.

.....
Updating member - [ xxxxx ]
Updating member - [ xxxxx ]
Adding member - [ xxxxx ]
Update [Memeber Log]
Update Summary for [xxxxxxxx]
Members Updated: 188
Members Added: 1
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

Re: Member Log

Postby Averen » Fri Jul 28, 2006 2:47 pm

Ah I see, I may have broken something unintentionally bare with me a second!
User avatar
Averen
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 152
Joined: Thu Jul 20, 2006 5:18 am

Re: Member Log

Postby Averen » Fri Jul 28, 2006 3:09 pm

Ah I seem to have missed out bits in the install instructions, do this and it should fix it.
Last edited by Averen on Fri Jul 28, 2006 3:50 pm, edited 4 times in total.
User avatar
Averen
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 152
Joined: Thu Jul 20, 2006 5:18 am

Re: Member Log

Postby Subxero » Fri Jul 28, 2006 3:27 pm

Averen wrote:Find, Line 262
Code: Select all
                     $output .= "<ul>\n";

After, Add
Code: Select all
                     $i = 0;


Find, Line 273 - 275
Code: Select all
                        {
                           $output .= start_update_trigger($char_name,'guild');
                        }

After, Add
Code: Select all
                        $i++;


File ?
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

Re: Member Log

Postby Averen » Fri Jul 28, 2006 3:31 pm

Ah

Open admin/update.php

Was in the wrong place, fixed.
Last edited by Averen on Fri Jul 28, 2006 3:32 pm, edited 1 time in total.
User avatar
Averen
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 152
Joined: Thu Jul 20, 2006 5:18 am

Member Log

Postby Subxero » Fri Jul 28, 2006 3:33 pm

not admin/update.php you have edited later xD
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

Re: Member Log

Postby Averen » Fri Jul 28, 2006 3:36 pm

Shh :P Now have you tested it yet?
User avatar
Averen
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 152
Joined: Thu Jul 20, 2006 5:18 am

Member Log

Postby Subxero » Fri Jul 28, 2006 3:38 pm

Yep!! works! now better clean download files with working version.
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

Re: Member Log

Postby Averen » Fri Jul 28, 2006 3:40 pm

Already have :)
User avatar
Averen
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 152
Joined: Thu Jul 20, 2006 5:18 am


Return to Member Log

Who is online

Users browsing this forum: No registered users and 0 guests

cron