Witch Hunt v2.0.0 beta

Keep track of who updates their character profile and when

Moderator: Carasak

Witch Hunt v2.0.0 beta

Postby Carasak » Thu Oct 04, 2007 12:06 am

here the 1st version to try.
no diference in functionality to last roster 1.7.3 version.

http://www.wowroster.net/Downloads/details/id=118.html

Version 2.0.0.1b
Updated installer function
only shows characters from active guild
marks characters who are possible "uploads" from armory with a yellow !




Todolist:
- catch if no data and inform user
- fix timezone and offset stuff
- templates
- clean up that mess someone calls code
Last edited by Carasak on Fri Jul 25, 2008 4:51 am, edited 11 times in total.
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Re: Witch Hunt v2.0.0 beta

Postby Tupsi » Wed Nov 28, 2007 9:13 pm

people already got deleted ages ago in the roster still show up as "Who never uploaded". Digging in the database itself I found out that there are indeed still there but with a guild id of "0" (instead of "1" for my one guild).

So the question for witchhunt would be be to filter those out if possible.

and the slightly offtopic one would be, "why there are still in there at all?"
Tupsi
WR.net Apprentice
WR.net Apprentice
 
Posts: 74
Joined: Fri Jul 14, 2006 5:26 pm

Witch Hunt v2.0.0 beta

Postby PleegWat » Wed Nov 28, 2007 10:00 pm

0 was the ID of the universal guildless guild before we went to per guild/faction guildless guilds.
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: Witch Hunt v2.0.0 beta

Postby Carasak » Wed Nov 28, 2007 11:05 pm

tupsy

will try to include that in next version
will probably change scope of this addon to guild
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Witch Hunt v2.0.0 beta

Postby Tupsi » Wed Nov 28, 2007 11:34 pm

thanks.

I managed for now to include some extra statements in the WHERE clause of the sql. A bit dirty, but it works :-)
Tupsi
WR.net Apprentice
WR.net Apprentice
 
Posts: 74
Joined: Fri Jul 14, 2006 5:26 pm

Witch Hunt v2.0.0 beta

Postby PleegWat » Thu Nov 29, 2007 1:19 am

You can set the guild_id for the members with id=0 to any other guild, and they'll be removed properly on the next guild update. Will probably generate some garbage in the memberlog for that guild, so use the ID for your current guildless guild if there is one.
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: Witch Hunt v2.0.0 beta

Postby Carasak » Fri Nov 30, 2007 6:46 pm

I didnt come arround yet to make the necesarry changes to the installer.
so if you got latest roster version you cant install this addon atm.
quite busy atm so dont know when i will be able to make it.
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Witch Hunt v2.0.0 beta

Postby Blueleaf » Sun Dec 02, 2007 1:01 am

For anyone that wishes to fix this change the following line.

File
./addons/witchhunt/inc/install.def.php
change this line 27 from
Code: Select all
class witchhunt


to
Code: Select all
class witchhuntInstall
User avatar
Blueleaf
WR.net Apprentice
WR.net Apprentice
 
Posts: 50
Joined: Thu Apr 26, 2007 12:06 am
Location: Minot, ND

Witch Hunt v2.0.0 beta

Postby Holgiranemsi » Thu Jan 24, 2008 7:36 pm

And here for the German folks the missing part of "deDE.php" which causes the config menu to be not understandable.

Add this to the file
[rosterdir]/addons/witchhunt/locale/deDE.php

right before the string ?> (end of file)

Code: Select all
$lang['admin']['alarmDays']='Alarm Tage|Anzahl an Tagen, bis die User-Chardaten als überholt angesehen werden.';
$lang['admin']['field']='Datenbank-Feld|Feld, in dem gesucht werden soll - z.B. guild_rank,guild_title,officer_note,gRank,note.';
$lang['admin']['criteria']='Vergleichsmodus|SQL Operator: <=,=,>=,<,>, LIKE,NOT LIKE,...';
$lang['admin']['searchString']='Such-Matrix für Twinks| Wert, nach dem gesucht wird um Twinks auszuschliessen';
$lang['admin']['admin']='Zugriffsbeschränkung|Sichtbar für Admin (On) oder für alle (Off)';
$lang['admin']['activeMeasure1']='Kriterium für Semiaktiv-Status|week, day, month (Woche/Tag/Monat)';
$lang['admin']['activeMeasure2']='Kriterium für Inaktiv-Status|week, day, month (Woche/Tag/Monat)';
$lang['admin']['activeCount1']='Semiaktiv - Wert';
$lang['admin']['activeCount2']='Inaktiv - Wert';
$lang['admin']['alarmStamp']='Konvertierungs-Faktor|Möglichst nicht ändern ;-)';
Holgiranemsi
WR.net Journeyman
WR.net Journeyman
 
Posts: 88
Joined: Fri Feb 16, 2007 12:28 pm

Re: Witch Hunt v2.0.0 beta

Postby Carasak » Thu Jan 24, 2008 7:39 pm

vielen dank
wird in der naechsten release eingebaut
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Re: Witch Hunt v2.0.0 beta

Postby rouven » Fri Feb 22, 2008 7:54 pm

Would be nice to see this addon in the subversion trunk, too :)
User avatar
rouven
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 93
Joined: Fri Jan 12, 2007 4:39 am
Location: Hamburg, Germany

Witch Hunt v2.0.0 beta

Postby TankGirl » Thu Mar 06, 2008 5:00 pm

Found a small error in the PHP. I believe it's to check authorization (admin view only).

lib/login.php
Warning line 109: Missing argument 1 for RosterLogin::getAuthorized(), called in /var/www/html/r2/addons/witchhunt/index.php on line 22 and defined
Notice line 111: Undefined variable: access

Hope this helps.

WoWRoster2 1665
MySQL 5.0.27
PHP 5.2.5

UPDATE:
BTW Witchhunt v2.0.0.1 works perfectly now. No more php errors.
Good work.
Last edited by TankGirl on Wed Mar 19, 2008 3:02 am, edited 2 times in total.
User avatar
TankGirl
WR.net Apprentice
WR.net Apprentice
 
Posts: 51
Joined: Mon Apr 30, 2007 2:14 pm
Location: The bad place in my mind.

Re: Witch Hunt v2.0.0 beta

Postby Carasak » Sat Mar 08, 2008 7:40 am

@Tankgirl
I could not reproduce the error you reported

@Holgiranemsi
thanks for the german texts

would need some help for french admin panel texts
spanish are still missing and i will do them asap

@Subxero
hope thats was what you where looking for
it now checks for bank bags, recipes and quests and if all 3 checks fail it is asumed the update was from armory addon.


see 1st post for changes in this version

thanks all for help suggestions and error reporting
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Re: Witch Hunt v2.0.0 beta

Postby tuigii » Mon Mar 10, 2008 12:44 pm

Carasak wrote:@Tankgirl
I could not reproduce the error you reported

thanks all for help suggestions and error reporting


I'm having the same issue : http://www.papy-team.fr/roster/index.ph ... hunt&a=g:1
Using 1665 'clean' (WoWRoster v1.9.9.1665)

Also : your sure about install.def.php : line 24
Code: Select all
class witchhunt

Better append the word Install to it, otherwise nobody will see it work :wink:

Be motivated for this addon - its very usefull.

I just love to wisp to the right persons : "/w Please, take 30 seconds to up your chars .... You CAN do it :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

Re: Witch Hunt v2.0.0 beta

Postby Carasak » Mon Mar 10, 2008 6:33 pm

about the name of the installer class:
you sure you downloaded the correct ZIP from the download section?
I just verified it... and the class is named witchhuntInstall

@Tankgirl
the error should be fixed now
I simply didnt see that zanix changed stuff about the login class


@all
I did NOT change version number for this fix but simply replaced the ZIP in download section (including some cleaning)
I advice to delete your witchhunt folder and and just redownload the new zip
Last edited by Carasak on Mon Mar 10, 2008 7:50 pm, edited 1 time in total.
User avatar
Carasak
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Tue Aug 15, 2006 2:33 am
Location: Spain

Next

Return to Witch Hunt

Who is online

Users browsing this forum: No registered users and 0 guests

cron