11
smdcom
Re:XM-Memberstats 2.0b Release!!!

in line 54 & 96:
$user=file("../../modules/xmmemberstats/blocks/data.dat");


replace with:
$user=file(XOOPS_ROOT_PATH."/modules/xmmemberstats/blocks/data.dat");

12
brash
Re:XM-Memberstats 2.0b Release!!!
  • 2004/11/7 6:07

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Hi SMD

I assume you are talking about making these changes to xmmemberstats/blocks/membership_block.php ? I can't find this string anywhere else.

13
brash
Re:XM-Memberstats 2.0b Release!!!
  • 2004/11/7 6:11

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Yay ! Now I have flags !

14
smdcom
Re:XM-Memberstats 2.0b Release!!!

Quote:

brash wrote:
Hi SMD

I assume you are talking about making these changes to xmmemberstats/blocks/membership_block.php ? I can't find this string anywhere else.


opsstt!! once again... i forgot... sorry...

it's true.. it's in xmmemberstats/blocks/membership_block.php

thanks brash!

15
brash
Re:XM-Memberstats 2.0b Release!!!
  • 2004/11/7 6:22

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


No worries

16
brash
Re:XM-Memberstats 2.0b Release!!!
  • 2004/11/7 6:32

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Just a suggestion SMD. Do you think it would be worth having an option to display the online user list in the format of user, location on site, country?

I'd personally rather see anonymous users displayed as "guest" or something like that, then have their location on the site and country displayed next to that. I'm not a great fan of having ANY IP address information displayed to visitors, even if the last octet is blanked out. This still narrows it down to 253 possible IP addresses that could be port scanned very quickly by someone with malicious intent. If admins need an IP address, then they can still just click on the popup section.

Just my 2c...

17
smdcom
Re:XM-Memberstats 2.0b Release!!!

ok.. all you need is just to change the code in xmmemberstats/blocks/membership_block.php

in line 118 - 123
$censored "$add1.$add2.$add3.***";            
$guess .= '<table class="outer" cellspacing="0"><tr><td class="even" colspan="2">'.$censored.'</td><td width="10%" align="center" class="odd"><img src="'.XOOPS_URL.'/modules/xmmemberstats/images/flags/'.$country.'.gif" alt="'.$alt.'"></td></tr></table>';


you can change to something like this:
//$censored = "$add1.$add2.$add3.***";            
$guess .= '<table class="outer" cellspacing="0"><tr><td class="even" colspan="2">[color=ff0000]Anonymous[/color]</td><td width="10%" align="center" class="odd"><img src="'.XOOPS_URL.'/modules/xmmemberstats/images/flags/'.$country.'.gif" alt="'.$alt.'"></td></tr></table>';


have a try... but maybe i can put this option in feature request.. but if you want to disable it in this version.. you can do so, by using that hack..

18
carnuke
Re: XM-Memberstats 2.0b Release!!!
  • 2004/11/7 11:26

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


download link gives

Parse error: parse error, unexpected '[' in /home/xoops/public_html/class/module.textsanitizer.php on line 184

19
smdcom
Re:XM-Memberstats 2.0b Release!!!

@carnuke: sorry i close the site at the moment... i want to install multilanguage module... but seems i can't get it works properly...

20
smdcom
Re:XM-Memberstats 2.0b Release!!!

i install XOOPS multilanguage 1.4.2, and follows the instructions... but it doesn't works properly in my page... i'm searching for the solution now.. i open the site.. if anybody have an idea to solve this.. let me know... thanks

Login

Who's Online

143 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 143


more...

Donat-O-Meter

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

Latest GitHub Commits