611
smdcom
membership

take a look of this code:

Quote:

$member_handler =& xoops_gethandler('member');
$total_active_users = $member_handler->getUserCount(new Criteria('level', 0, '>'));
$users_reg_today = $member_handler->getUserCount(new Criteria('user_regdate', time()-(24*3600), '>='));
$users_reg_2day = $member_handler->getUserCount(new Criteria('user_regdate', time()-(2*24*3600), '>='));


$block['activeusers'] = $total_active_users;
$block['todayreg'] = $users_reg_today;
$block['yesterdayreg'] = $users_reg_2day - $users_reg_today;


i want to count user registered today, yesterday and total members... i use this code, but it's not working properly. only for total members = as $total_active_users... anyone have other code to share to count total registration today, yesterday and also latest nick registered?

TQ



612
smdcom
Re:List of files that changed from 2.0.7 to 2.0.7.3

dia upgrade with include/common.php include/version.php is for XOOPS 2.0.7.2 to 2.0.7.3


but the upgrade with
edituser.php header.php search.php userinfo.php

class:
database pagenav.php

include:
commentform.inc.php comment_reply.php common.php functions.php version.php
comment_new.php comment_view.php cp_header.php searchform.php

kernel:
configitem.php user.php

modules:
system


is for XOOPS 2.0.7 to 2.0.7.3



hope u understand



613
smdcom
Re:Xoops forum problem. Why do threads display like this?

go to your edit user profile... then set your profile default mode to flat...



614
smdcom
Re: NewBB 2 RC1

cannot put in before </head>.. like this:


Quote:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<head>
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<meta name="robots" content="<{$xoops_meta_robots}>" />
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="<{$xoops_meta_author}>" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="XOOPS" />
<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
<!-- RMV: added module header -->
<{$xoops_module_header}>

<script type="text/javascript" language="javascript">
<!--
<{$xoops_js}>
//-->
</script>
</head>




615
smdcom
Re: NewBB 2 RC1

Quote:

sbkiller wrote:
<{$xoops_module_header}>


What it does? Maybe I forgot about it.


it's include newbb header code in your page...

if you don't insert it in your theme.html, newbb pop up menu will now working...



616
smdcom
Re: Integrated Xoops and InvisionBoard Login.

Quote:

Nater wrote:
I've installed invision board on my website b/c i've found it's much easier to use and much more handy to manage. I was wondering if someone could write me something so that when people create an account on the website it will automatically create one for the Invision Board and they don't have to create another account for that. It would be Much apreciated and propably rewarded $. Thank You


go tohttp://www.bbpixel.com

there is ipb integrated for XOOPS 2.x



617
smdcom
Re: xoopsgallery

Quote:

asdfg wrote:
i have problem while upload the picture which is
<Not able to create thumbnail>

how can i fix it?


ask ur hosting provider... which one they support

netpbm or imagemagick.. and ask for the path

k.



618
smdcom
MySQL PHP Backup Module

anyone.. please try this module i integrate it for XOOPS 2.x

The module has Backup / Restore / Delete / Download sections for MySQL db.

MySQL PHP Backup

note: /dump directory must be 777

give ur comment here... thanks!




619
smdcom
Re: Add Yahoo! Messenger Status In Site Info Block

it seems msn doesn't support Online Status Indicator anymore...

i have test it.. but it display blank image...

http://status.dewaldsr.com:8081/register?type=msn&name=pairacy&onurl=&offurl=&unknownurl=&ircchannel=

u can try it there.. by using your own msn id...

let me know



620
smdcom
Re: Add Yahoo! Messenger Status In Site Info Block

Quote:

JasonMR wrote:
I may be able to offer a solution. Though, as I don't use IM, nor am interested in using it, I will not implement it.

Check out this web sitehttp://www.onlinestatus.org/. The nice thing about this solution: you can use a set of icons, with a common design, which looks better than using the propriatary icon set.

Here is a link to a site, that the previous one links to:http://onlinestatus.foxinus.cz:8085/.
There you can get the icons and HTML-snippets/code needed.

Hope this helps.


thanks... i will take a look of it..





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



Login

Who's Online

201 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 201


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