11
jdseymour
Re: Woopra - Real Time Stats

Well I installed the new version.....same problem.

I looked a woopra.php and did the following:

at
// put guest info
    
$woo_username $xoopsConfig['guest'];
    
$woo_avatar XOOPS_UPLOAD_URL "/blank.gif"."' title='Avatar' alt='Avatar' />";
    echo 
"var woopra_visitor = new Array();rn";
    echo 
"woopra_visitor['name'] = '" $woo_username "';rn";
    echo 
"woopra_visitor['avatar'] = '".$woo_avatar."';rn";
}


I did:
// put guest info
    
$woo_username $xoopsConfig['guest'];
    
$woo_avatar XOOPS_UPLOAD_URL "/blank.gif"."' title='Avatar' alt='Avatar' />";
    echo 
"var woopra_visitor = new Array();rn";
#    echo "woopra_visitor['name'] = '" . $woo_username . "';rn";
#    echo "woopra_visitor['avatar'] = '".$woo_avatar."';rn";
}


And it now detects anonymous users. I also edited anonymous to guest - what I call non logged in users on my site.

12
zyspec
Re: Woopra - Real Time Stats
  • 2008/10/23 2:55

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Hmm... Interesting. That means that all you really did was create an empty woopra_visitor() array. I would have thought that you could assign the name and avatar for visitors, but I guess not. Changing $xoopsConfig['anonymous'] to $xoopsConfig['guest'] will probably cause a PHP Notice since that's not a valid array key. The intent of using $xoopsConfig['anonymous'] was to "grab" the variable you set in Preferences for what you call your visitors - guest in your case but apparently it doesn't matter since you're not passing this value to Woopra anyway.

Hopefully once I get my site(s) approved by Woopra I can try this myself and see if I can find a way around this limitation...

Thanks for testing the module. Can you tell me what version of XOOPS & PHP you're using?

13
jdseymour
Re: Woopra - Real Time Stats

Sure. XOOPS 2.3.1 final and php 5.2.6

14
jdseymour
Re: Woopra - Real Time Stats

Quote:
Hopefully once I get my site(s) approved by Woopra I can try this myself and see if I can find a way around this limitation...


I know they are closing the beta.....did you ever get approved. Otherwise contact me and I will share my site with you for testing.

15
ghia
Re: Woopra - Real Time Stats
  • 2008/11/17 16:44

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


At this very moment you are being watched with Woopra by xoops.org!

16
Mamba
Re: Woopra - Real Time Stats
  • 2008/11/17 18:01

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


And what a view it is!

Yes, I can see you, Ghia!

But seriously, it is a very nice tool!

Zyspec, I'm looking forward to test the XOOPS module!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

17
jdseymour
Re: Woopra - Real Time Stats

Yeah, I bet x.o is wild to see in woopra. Glad to hear you are using it.

Login

Who's Online

183 user(s) are online (134 user(s) are browsing Support Forums)


Members: 0


Guests: 183


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits