11
irmtfan
Re: membership block
  • 2006/10/21 18:52

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


I cant see any Who's online or membership block

12
iHackCode
Re: membership block

that looks like the xm-memberstats module. looks like the guests are not being counted.. looks like its not being counted when show list is set to 'No'.

Try Adding What I Have In Green . I Think That Should Fix It.

xm-memberstats 2.0e
file /blocks/membership_block.php
$block['online_total'] = sprintf(_ONLINEPHRASE$total);
        if (
is_object($xoopsModule)) {
            
$mytotal $online_handler->getCount(new Criteria('online_module'$xoopsModule->getVar('mid')));
            
$block['online_total'] .= ' ('.sprintf(_ONLINEPHRASEX$mytotal$xoopsModule->getVar('name')).')';
        }
        
        [
color=009900] if ($options[0] == ) {
            for (
$i 0$i $total$i++) {
                if (!
$onlines[$i]['online_uid'] > 0) {$guests++;}
            }            
        }[/
color]
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

13
GoLeM
Re: membership block
  • 2006/10/21 23:53

  • GoLeM

  • Just popping in

  • Posts: 60

  • Since: 2006/8/30


Bandit-X, strange as it is...your code and ours is not the same...even similar...look

http://www.slibe.com/image/472b1baa-ajoj-jpg/

http://www.slibe.com/image/2491cc1b-sssss-jpg/

what should we do?

14
GoLeM
Re: membership block
  • 2006/10/22 0:15

  • GoLeM

  • Just popping in

  • Posts: 60

  • Since: 2006/8/30


there is one more problem..i can't save what I input in the template...there is just view option

15
iHackCode
Re: membership block

the file is in 'XooPS/modules/xmmemberstats/blocks/membership_block.php' , its a php file. not a template file
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

16
iHackCode
Re: membership block

the file is in 'XooPS/modules/xmmemberstats/blocks/membership_block.php' , its a php file. not a template file
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

17
iHackCode
Re: membership block

the file is in 'XooPS/modules/xmmemberstats/blocks/membership_block.php' , its a php file. not a template file
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

18
iHackCode
Re: membership block

um sry.. quadruple post..!!

Edit:
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

19
GoLeM
Re: membership block
  • 2006/10/22 12:09

  • GoLeM

  • Just popping in

  • Posts: 60

  • Since: 2006/8/30


Quote:

Bandit-X wrote:
the file is in 'XooPS/modules/xmmemberstats/blocks/membership_block.php' , its a php file. not a template file

we did it through ftp client saved it...and it doesn't work

is there any other module for displaying number of members on the page, I guess we have a big problem with this, I don't know what to do anymore

20
Quest
Re: membership block
  • 2006/10/22 12:16

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


We are talking about the xmmemberstats module?

I really thought it was just the access settings for anonymous in the admin/system/groups. They need access to the module but if you don't want them to see the block then you just un-check the block permissions. But still leaving them with access to the module. At this point you might try uninstalling it completely, downloading it from a different mirror and reinstalling it to your site then set the permissions at mentioned. I haven't ever seen or heard it having this problem before.

Quest

Login

Who's Online

455 user(s) are online (370 user(s) are browsing Support Forums)


Members: 0


Guests: 455


more...

Donat-O-Meter

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

Latest GitHub Commits