631
smdcom
Show Total Members In Who is Online Block

hi guys.. i would like to display my total members in who is online block... i has applied this code...

Quote:

$result = $xoopsDB->query("SELECT count(uid) FROM ".$xoopsDB->prefix("users")." WHERE level='1'");
list($numbers) = $xoopsDB->fetchRow($result);
$block['total_members'] = &numbers;
where i put it in system_blocks.php

then i edit the block template...

it doesn't work in XOOPS 2.0.7.3.. but i tested in XOOPS 2.0.6 it's work...

any one can help me?



632
smdcom
Re: XOOPS + PHPBB

Quote:

MarkD wrote:
hey everyone, I have a phpbb forum on my site, then I discovered about xoops, I want to install XOOPS as my homepage, but I want my forum to stay there, how can I, make the members at my forum, members at xoops, and vice versa, is there anyway for doing this?


go tohttp://www.bbpixel.com



633
smdcom
Re: Module not showing up...

Quote:

tvepsorg wrote:
I have downloaded a module and I have used cuteftp to upload the files. I have kept the directory of the files like they should and when I go to modules in the admin panel the modules are not showing up. I have tried to upload several different modules and still I get the same problem. I have tried to upload the modules using drag and drop with IE and still the same problem. The files are definately on the server, but XOOPS is not seeing them in the admin panel. Does anyone know what causes this and how to fix it?


make sure you upload the folder inhttp://yourdomain.com/modules/



634
smdcom
Re: Make XOOPS Demo Site?

gotcha!

i have release XOOPS demo site...

http://demo.xoopsmalaysia.org

i'm using cron task to do it.. every 2 hours the system delete and restore automatically... take a look.



635
smdcom
Re: Make XOOPS Demo Site?

Quote:

Herko Coomans wrote:
We're already working on that, I'll check to see how it stands

Herko

i hope u let me know if u found how to do that..



636
smdcom
Re: Make XOOPS Demo Site?

i'm trying to do XOOPS demo site.. hhmm... anyone have idea how to do that?



637
smdcom
Re: Make XOOPS Demo Site?

Quote:

jmass wrote:
This should be as simple as:

cp -rf /original_site/* /new_site

and a simple sql script to delete the DB and dumpa the new one.

JMass


can u give me the details about this command...

seems like the mysqlcommander doesn't work..

hhmm... anyone have other ideas? and have demo site for XOOPS



638
smdcom
Re: Make XOOPS Demo Site?

i will try... thanks dude..

but i someone else have any different, please say so..



639
smdcom
Re: Make XOOPS Demo Site?

do u know what is the command?

command to empty MySQL data...

anyone?



640
smdcom
Re: Make XOOPS Demo Site?

Quote:

hervet wrote:
Yes, I beleive that they are copying a full install every two hours + a reset of the databases.

Surely a cron task under Linux/Unix


but what command to be put in cron jobs?? what command to reset the database?

i'm using cpanel to use cron




TopTop
« 1 ... 61 62 63 (64) 65 66 »



Login

Who's Online

103 user(s) are online (63 user(s) are browsing Support Forums)


Members: 0


Guests: 103


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