http://www.sciox.org/xoops/
shinybt wrote:
which stats module u were saying? sorry, this was the 3rd days for me to play this XOOPS and gallery. It was a 1st php portal for me also.. >.<
Installation. |
--------------------------------
After installing the normal module, you have to modify some files.
First you must at in the file "header.php" (which is in the root directory) under:
include_once XOOPS_ROOT_PATH.'/class/xoopsblock.php';
the line:
include_once("modules/statistics/include/counter.php");
Whith this peace of code the website add information of the hits to the database, so
you can view them in the admin section.
<?php
[color=FF0000][b]function statistics_counter_countpage() {[/b][/color]
/********************************************************************/
/* File: counter.php */
/* Directory: ./include/ */
...
...
else
{
$xoopsDB->queryF("INSERT INTO ".$xoopsDB->prefix("statistics_ip")." (ip, date, hits) VALUES ('$ip', '$now_ip', '1')");
}
[color=FF0000][b]}
statistics_counter_countpage();[/b][/color]
?>
$ip = $HTTP_SERVER_VARS['REMOTE_ADDR'];
$ip = isset($_SERVER["REMOTE_ADDR"]) ? $_SERVER["REMOTE_ADDR"] : $HTTP_SERVER_VARS['REMOTE_ADDR'];
ERROR: requested index [] out of bounds [2]
FROM_UNIXTIME(unix_timestamp)
Returns a representation of the unix_timestamp argument as a value in 'YYYY-MM-DD HH:MM:SS' or YYYYMMDDHHMMSS format, depending on whether the function is used in a string or numeric context:
mysql> select FROM_UNIXTIME(875996580);
-> '1997-10-04 22:23:00'
mysql> select FROM_UNIXTIME(875996580) + 0;
-> 19971004222300
FROM_UNIXTIME(unix_timestamp,format)
Returns a string representation of the Unix timestamp, formatted according to the format string. format may contain the same specifiers as those listed in the entry for the DATE_FORMAT() function:
mysql> select FROM_UNIXTIME(UNIX_TIMESTAMP(),
'%Y %D %M %h:%i:%s %x');
-> '1997 23rd December 03:43:30 x'
hrac wrote:
To join to core team for LDAP, I PM-ed to onokazu. About LDAP developments, I PM-ed to you.
I want to see LDAP in core of 2.1, because everytime I try to use XOOPS as a CMS solution in my company, it is refused because of lack of LDAP support. But I'm sure XOOPS is better than other portal/CMS solutions used in my company. But the others are using because they have LDAP support.
this is the message i get with xcGal when i try to upload a jpeg:
/netpbm/jpegtopnm 'albums/userpics/10001/1065324287.jpeg' | pnmscale -xsize=137 -ysize=160 | pnmtojpeg -quality=80 > 'albums/userpics/10001/thumb_1066300480.jpeg'
The picture 'albums/userpics/10001/1065324287.jpeg' can't be inserted in the album. Unable to create thumbnail or reduced size image.
/usr/bin/jpegtopnm /home/gstarret/www/xoops2/modules/xoopsgallery/cache/albums/2003-08-kindergarten/20030811_083800.jpg | /usr/bin/pnmcut 348 696 1106 1482 | /usr/bin/ppmtojpeg --quality=95 > /home/gstarret/www/xoops2/modules/xoopsgallery/cache/albums/2003-08-kindergarten/20030811_083800.thumb.jpg
robekras wrote:
There is also an non-compliant output when a XoopsFormHidden
is used.
A XoopsFormHidden within a XoopsForm is outputted without
the <tr> <td> environment.