[ADDON] Visitor Goal (Who was here?)

Download and support for PhpBB3 Forum Goal MOD
User avatar
themission
BBCoder III
BBCoder III
Posts: 123
Joined: 10 Aug 2011, 20:32
BBCodes: 3
Location: Devon UK

[ADDON] Visitor Goal (Who was here?)

Post by themission »

From Stokers - Final answer
User avatar
Stoker
Site Admin
Site Admin
Posts: 3543
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

[ADDON] Visitor Goal (Who was here?)

Post by Stoker »

You need to check with the who was here? author. I have the same settings and its running fine here.
Board rules! No PM support
User avatar
themission
BBCoder III
BBCoder III
Posts: 123
Joined: 10 Aug 2011, 20:32
BBCodes: 3
Location: Devon UK

[ADDON] Visitor Goal (Who was here?)

Post by themission »

Ok thanks;)
Leinad4Mind
BBCoder II
BBCoder II
Posts: 27
Joined: 28 Apr 2011, 10:55

[ADDON] Visitor Goal (Who was here?)

Post by Leinad4Mind »

I've a "problem" with this add-on. It should appear just the Record, and not the total visitor of that day. (i've choose 24h (1 day) on acp for the WWH mod). And each day the goal is different 'cause it uses the total count of each day.

How can I fix it, and put the record instead?

Cheers!

EDIT: Problem solved!

I've added a new variable:
static private $record_total = 0;

and added too before "// Need to update the record?"

self::$record_total = $config['wwh_record_ips'];

and then on the new code of this addon where was count_total, i've put record_total.

It was an easy fix :D