xoops forums

btesec

Friend of XOOPS
Posted on: 2008/1/9 12:36
btesec
btesec (Show more)
Friend of XOOPS
Posts: 623
Since: 2007/2/20
#11

Re: Xoops Modules (All Xoops Users Please Read)

Also read the wiki 'QA and Testing' http://www.xoops.org/modules/mediawiki/index.php/QA-Testing it is very clear to understand.

BlueStocking

Home away from home
Posted on: 2008/1/9 13:47
BlueStocking
BlueStocking (Show more)
Home away from home
Posts: 1191
Since: 2007/2/16
#12

Re: Xoops Modules (All Xoops Users Please Read)

Btesec

There is a easy way to make a link to the wiki -
it is open Double braces ~ name of page ~ and close Double braces.

Welcome aboard the wiki train...

I found your link
php5/mysql5

Quote:

Hi,
I am using
# Apache Web Server Version 2.2.4
# PHP Script Language Version 5.2.1
# MySQL Database Version 5.0.27

and most if not all of the modules that are mantained/updated are functional with the above specs. It would be great to see all modules updated at least once or twice a year. Maybe someone/group with the programming skills can take this slack to update them. I know there are some useful modules(outdated ones i mean) that are not working. Maybe a forum can be started for this where all needed modules can be listed and updated since the current modules devs are not able or have abandoned the projects. What do you all think? It has taken me a while to identify modules that really work properly, I mean almost an year.

my 2 cents here.

BTESEC


Thanks for joining in...
BlueStocking
http://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

phppp

XOOPS Contributor
Posted on: 2008/1/14 12:29
phppp
phppp (Show more)
XOOPS Contributor
Posts: 2857
Since: 2004/1/24
#13

Re: Xoops Modules (All Xoops Users Please Read)

Can we have a XOOPS module team starting from this thread?

Potential tasks of this team:
1 Keep modules in xoops.org repository up-to-date
2 Evaluate modules in repository
3 Help module authors release security fixes in case necessary
4 Adopt abandoned modules or help make migration scripts for abandoned modules
5 Make out-of-box module distributions for different types of users

trabis

Core Developer
Posted on: 2008/1/14 13:38
trabis
trabis (Show more)
Core Developer
Posts: 2253
Since: 2006/9/1 1
#14

Re: Xoops Modules (All Xoops Users Please Read)

I can take number 4. :)

mdeshane

Just popping in
Posted on: 2008/1/14 15:48
mdeshane
mdeshane (Show more)
Just popping in
Posts: 3
Since: 2006/10/18
#15

Re: Xoops Modules (All Xoops Users Please Read)

This sounds like a fabulous idea! There are plenty of "DEAD" modules in the repository. It would be nice to see some or most of them useable again. I could probably do some debugging, I seem to be pretty good at that. Also, IMHO we need to keep compatibility with PHP4 for at least 1 more year. As most web hosts have just started upgrading their servers in the last few months. I know that my host (iPowerWeb), will still be upgrading accounts to PHP5 in August. However, come 2009 we should all kiss PHP4 goodbye for good!

JulioNC

Quite a regular
Posted on: 2008/1/14 17:03
JulioNC
JulioNC (Show more)
Quite a regular
Posts: 239
Since: 2004/10/8
#16

Re: Xoops Modules (All Xoops Users Please Read)

A Great Example of maintainers software packages is The Debian Project (A Linux distribution).

When we can't contact the developer module, or perhaps the developer says it is no longer able to support his module. These XOOPS modules will be called Orphan XOOPS Modules (OXM).

Those who want to adopt these Orphan XOOPS Modules, they can join to New XOOPS Developer.

A XOOPS Developer is a person who work with a official modules and third party modules. Obviously, his modules must pass quality control and testing (See a QA and testing wiki page).

Skill:
- XOOPS API knowledge (of course in PHP)
- Contributions of XOOPS Community

Benefits:
- Join a XOOPS Developer Group
- List of XOOPS Jobs available (People will know that you are a developer and you can get a job)
- Maybe you can get a e-mail account: yourname @ xoops.org
- and other things

IMHO, We need a new XOOPS DEV Forge.
Excuse me, my english is not good

Resources:

https://nm.debian.org/
http://www.debian.org/devel/join/
http://www.debian.org/devel/join/newmaint (more info)
https://nm.debian.org/newnm.php (Join a Debian Maintainer)
http://people.debian.org/~anibal/talks/20050910-debian-uy.txt (Spanish information, Please, you use google translate)

Peekay

XOOPS is my life!
Posted on: 2008/1/14 20:43
Peekay
Peekay (Show more)
XOOPS is my life!
Posts: 2334
Since: 2004/11/20
#17

Re: Xoops Modules (All Xoops Users Please Read)

Quote:

JulioNC wrote:

IMHO, We need a new XOOPS DEV Forge.

I agree. I'm not a module developer, but confess I am unaware of a suite of modules that seems (to me) to be as good as the ones the dev forge had - xfmod a.k.a. xoopsforge a.k.a. cforge.

A solution where each project had it's own file repository, bug-tracking utility and discussion forum seems (to me) to provide the ideal environment for structured development or updating of modules.

Anyone who can adopt that module suite and fix the incompatibilities and security issues would provide the 'orphanage' project with a great utility IMHO.

I struggled with it for for a while, but concluded that it needs a throbbing PHP brain in a glass jar to get it to work with 'globals' off and a modern version of Xoops.

My brain throbs, but sadly that's just the beer!
A thread is for life. Not just for Christmas.

trabis

Core Developer
Posted on: 2008/1/15 17:20
trabis
trabis (Show more)
Core Developer
Posts: 2253
Since: 2006/9/1 1
#18

Re: Xoops Modules (All Xoops Users Please Read)

I took a look in xoopsforge and I was able to get it installed, not bad!
Then I made the administration to work.
But now I´m pretty stuck.
I got errors in header and footer and I think it is because the XF folder is outside de modules folder and XOOPS does not reconize it.
It will be a great problem to make it work as a module I think.

:(

trabis

Core Developer
Posted on: 2008/1/15 19:00
trabis
trabis (Show more)
Core Developer
Posts: 2253
Since: 2006/9/1 1
#19

Re: Xoops Modules (All Xoops Users Please Read)

Placing xf in modules folder, adding a xoopsversion.php, changing relative paths and installing it made it work!

Now, for solving the globals issue I added some lines in pre.php (this is included everywere)

//POSTS and GETS
$strings = array(
'update','feedback','_summary','_details',
'search','substr','status','action','list_of_groups','response_text','response_title',
'add_to_can','submit','resend','form_public','form_status','form_license',
'group_type','form_domain','action2','sure','string''submit',
);

$ints = array(
'is_public','_is_public','_diary_id','response_id','group_id','user_id','diary_id'
);

foreach (
$strings as $k){
    $
$k '';
}

foreach (
$ints as $k){
    $
$k '';
}

if ( isset(
$_POST) ) {
    foreach ( 
$_POST as $k => $v ) {
        if (
in_array($k,$strings)){
            $
$k addslashes($v);
        }
    }
}

if ( isset(
$_GET) ) {
    foreach ( 
$_GET as $k => $v ) {
        if (
in_array($k,$strings)){
            $
$k addslashes($v);
        }
    }
}

if ( isset(
$_POST) ) {
    foreach ( 
$_POST as $k => $v ) {
        if (
in_array($k,$ints)){
            $
$k intval($v);
        }
    }
}

if ( isset(
$_GET) ) {
    foreach ( 
$_GET as $k => $v ) {
        if (
in_array($k,$ints)){
            $
$k intval($v);
        }
    }
}


Now everytime I get an undefined variable I just add it to the corresponding array(strings or ints)!!

Can anybody check if this code is safe to use?
How should I sanitize it better?

irmtfan

Module Developer
Posted on: 2008/1/17 0:51
irmtfan
irmtfan (Show more)
Module Developer
Posts: 3419
Since: 2003/12/7
#20

Re: Xoops Modules (All Xoops Users Please Read)

the most issue for reopening the d.x.o is to decide what tools we should use in the site.
personally i like to see a developer to continue work on "xproject" or "xfmod" and make a built in forge module for XOOPS. i think we should use XOOPS modules for XOOPS dev site
also we have other alternatives like using cforge and ...