Questions

Keep track of who updates their character profile and when

Moderator: Carasak

Witch Hunt

Postby SethDeBlade » Tue Feb 20, 2007 8:03 pm

is there a demolink or screenshot available?
User avatar
SethDeBlade
WR.net Expert
WR.net Expert
 
Posts: 192
Joined: Thu Jul 06, 2006 1:02 am
Location: Germany

Re: Witch Hunt

Postby Carasak » Tue Feb 20, 2007 10:21 pm

SethDeBlade wrote:is there a demolink or screenshot available?


cant set up a demo cause i modded my the roster on my website.
added a screenshot though

any suggestions are welcome
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Witch Hunt

Postby bbj911 » Wed Feb 21, 2007 3:01 pm

Ok so how do u manage to isolate just the mains and not hit all the alts aswell ?

...time passes....

ah i see its by guild lvl
Last edited by bbj911 on Wed Feb 21, 2007 3:04 pm, edited 1 time in total.
User avatar
bbj911
WR.net Apprentice
WR.net Apprentice
 
Posts: 61
Joined: Mon Oct 23, 2006 6:47 pm

Re: Witch Hunt

Postby Carasak » Wed Feb 21, 2007 3:30 pm

bbj911 wrote:Ok so how do u manage to isolate just the mains and not hit all the alts aswell ?

...time passes....

ah i see its by guild lvl


exactly by guild_rank from the ROSTER_MEMBERSTABLE
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Witch Hunt

Postby Elethil » Wed Feb 21, 2007 5:02 pm

Mine worked but it looks nothing like the screen shot. Looks just like a verry basic web page? It dosn't look nice and match the roster site like the Screenie shows.
Last edited by Elethil on Wed Feb 21, 2007 5:04 pm, edited 1 time in total.
User avatar
Elethil
WR.net Journeyman
WR.net Journeyman
 
Posts: 147
Joined: Wed Jul 05, 2006 10:28 pm

Re: Witch Hunt

Postby Carasak » Wed Feb 21, 2007 5:10 pm

like mentioned above i only have a customized roster running

seems i have to make a clean install of original roster to have a look at it asap

screenshot above is from my website
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Re: Witch Hunt

Postby Carasak » Thu Feb 22, 2007 3:29 pm

v1.1 should look more wowroster like
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Witch Hunt [v1.1.2]

Postby Fangorn » Mon Feb 26, 2007 4:02 am

Hi there, this looks like a nice addon however I don't understand how it figures out which character is a main and which isn't...

I'm asking because the addon lists all my characters (they are on the same account). Same thing for my wife and a few other members, while a lot of other guildmates accounts are missing altogether even though they do update the roster?

Thanks,



- Jeff
Last edited by Fangorn on Mon Feb 26, 2007 4:03 am, edited 1 time in total.
ImageImageImage
User avatar
Fangorn
WR.net Apprentice
WR.net Apprentice
 
Posts: 35
Joined: Mon Jul 24, 2006 4:26 am
Location: Ashburn, Virginia, USA

Re: Witch Hunt [v1.1.2]

Postby Carasak » Mon Feb 26, 2007 11:47 am

Fangorn wrote:Hi there, this looks like a nice addon however I don't understand how it figures out which character is a main and which isn't...

I'm asking because the addon lists all my characters (they are on the same account). Same thing for my wife and a few other members, while a lot of other guildmates accounts are missing altogether even though they do update the roster?

Thanks,



- Jeff


For each guild rank there is a id number example
0 =guild master
1= officer
2 = raidleader
3 = main
4= trial member
5 = alt
....
in the conf.php file change
$addon_conf['witchHunt']['gRank'] to a value corresponding to your ranks
using the above example if you only want rank main and above to be scanned put 3 as value then it checks rank 0,1,2,3.

hope that helped you
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Questions

Postby PleegWat » Mon Feb 26, 2007 3:13 pm

It checks on guild rank. It doesn't really do an alt check.

If there's demand for real main/alt detection in this, I'd recommend using the AltMonitor tables to check this.

Have the addon check if the altmonitor table exists (roster_addon_altmonitor) and if it does join it in on members.member_id = alts.member_id, and add a where condition (alts.alt_type & 2 = 0). Then, for rosters with altmonitor installed, it should only display characters that are displayed as mains in the AltMonitor list.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Re: Questions

Postby Fangorn » Mon Feb 26, 2007 4:49 pm

Aaaah understood thank you :)
ImageImageImage
User avatar
Fangorn
WR.net Apprentice
WR.net Apprentice
 
Posts: 35
Joined: Mon Jul 24, 2006 4:26 am
Location: Ashburn, Virginia, USA

Re: Questions

Postby reshurc » Wed May 02, 2007 12:53 am

PleegWat wrote:It checks on guild rank. It doesn't really do an alt check.

If there's demand for real main/alt detection in this, I'd recommend using the AltMonitor tables to check this.

Have the addon check if the altmonitor table exists (roster_addon_altmonitor) and if it does join it in on members.member_id = alts.member_id, and add a where condition (alts.alt_type & 2 = 0). Then, for rosters with altmonitor installed, it should only display characters that are displayed as mains in the AltMonitor list.


Can I get a code example for this?
[-No posters allowed, only posters about posters not allowed allowed-]
Image
User avatar
reshurc
WR.net Apprentice
WR.net Apprentice
 
Posts: 10
Joined: Fri Jan 12, 2007 9:19 am

Re: Questions

Postby JasmineTTO » Fri May 11, 2007 6:21 pm

First of all, I love this addon. Gives me a good view on who updates and who doesn't. But I have a question, is it possible to just have the date shown in the table last updated and last online? For me there really is no need for a certain time to be displayed. And it would make the table a little cleaner, giving me (or anyone else who might want that) a quicker view when things were updated.

I use version 1.2 now and the new way the status of members is displayed is a very nice addition. But if the above would be possible, that would be really great.

Thanks!

Jasmine
EU Argent Dawn
JasmineTTO
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Tue Apr 24, 2007 3:32 pm

Re: Questions

Postby Carasak » Fri May 11, 2007 8:53 pm

JasmineTTO wrote:...is it possible to just have the date shown in the table last updated and last online?...


will make a way to configure shown date format for a future version.
atm
here you get some instructions to modify the code..very easy
Find line 74:
Code: Select all
        $newDate$dat2[2].'/'.$dat2[1].'/'.$dat2[0].' '.$dat1[1]; 

change to:
Code: Select all
        $newDate$dat2[2].'/'.$dat2[1].'/'.$dat2[0]; 


Find line 80:
Code: Select all
    $lnewDate$ldat2[2].'/'.$ldat2[1].'/'.$ldat2[0].' '.$ldat1[1]; 

change to:
Code: Select all
    $lnewDate$ldat2[2].'/'.$ldat2[1].'/'.$ldat2[0]; 


Find line 160:
Code: Select all
$lnewDate$ldat2[2].'/'.$ldat2[1].'/'.$ldat2[0].' '.$ldat1[1]; 

change to:
Code: Select all
$lnewDate$ldat2[2].'/'.$ldat2[1].'/'.$ldat2[0]; 


if you have any problems or questions..just ask
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Questions

Postby JasmineTTO » Mon May 14, 2007 3:01 am

Works like a charm. Thank you!
JasmineTTO
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Tue Apr 24, 2007 3:32 pm


Return to Witch Hunt

Who is online

Users browsing this forum: No registered users and 0 guests

cron