1
sevak
Xoops 2.3.1 code documentation published
  • 2008/10/30 2:02

  • sevak

  • Just popping in

  • Posts: 42

  • Since: 2004/4/12


http://www.xoops.info has published code documentation for XOOPS 2.3.1. I hope it will be helpful for the beginners.
Thanks,
anjan



2
sevak
Re: Podcasting
  • 2006/5/22 4:28

  • sevak

  • Just popping in

  • Posts: 42

  • Since: 2004/4/12


Quote:

Mithrandir wrote:
So it seems to be a normal RSS Feed, but with
<enclosure url=" http://www.mywebsite.com/myaudio.mp3" length="4834743" type="audio/mpeg" />

in it. Should be doable.
Just a matter of having a module to keep track of the mp3, its length and its type.

Perhaps a slight modification of one of the downloads modules to support this feature for audio files hosted locally? Definitely doable, I should say.



Please don't keep it to mp3, you should allow video enclosure. And that is called video casting or vodcasting.
http://www.vodcasting.nl



3
sevak
Re: 2.2.3 create account bugs
  • 2005/8/28 5:59

  • sevak

  • Just popping in

  • Posts: 42

  • Since: 2004/4/12


Thanks! Bug 1 Fixed!



4
sevak
Re: 2.2.3 create account bugs
  • 2005/8/28 4:49

  • sevak

  • Just popping in

  • Posts: 42

  • Since: 2004/4/12


I am sorry for putting mutiple reply as reply is not editable.
Automatically activating gives workaround for bug 2 for time being. Not for bug 1.
thanks



5
sevak
Re: 2.2.3 create account bugs
  • 2005/8/28 4:46

  • sevak

  • Just popping in

  • Posts: 42

  • Since: 2004/4/12


For time being I am choosing activate automatically. However a Fix for bug 1 and 2 will be nice. Thanks



6
sevak
Re: 2.2.3 create account bugs
  • 2005/8/28 4:21

  • sevak

  • Just popping in

  • Posts: 42

  • Since: 2004/4/12


I think this error is coming from muliple places.I changed the code as instructed. Error still persists if I chose a password
abcd
abcd432
a564
etc

This is my authfactory.php after modification

<?php
class XoopsAuthFactory
{

    function 
XoopsAuthFactory()
    {
    }

    
/**
     * Get a reference to the only instance of authentication class
     * 
     * if the class has not been instantiated yet, this will also take 
     * care of that
     * 
     * @static
     * @return      object  Reference to the only instance of authentication class
     */
    
function &getAuthConnection()
    {
        static 
$auth_instance;        
        if (!isset(
$auth_instance)) {
            
$config_handler =& xoops_gethandler('config');
            
$criteria = new CriteriaCompo();
            
$criteria->add(new Criteria('conf_name''auth_method'));
            
$config =& $config_handler->getConfigs($criteria);             
            require_once 
XOOPS_ROOT_PATH.'/class/auth/auth.php';
    
/**
https://xoops.org/modules/news/article.php?storyid=2533&page=0
        
   if (!$config) { // If there is a config error, we use xoops
                $xoops_auth_method = 'xoops';  
            } else {
                $xoops_auth_method = $config[0]->getVar('conf_value');
            }
 **/

/** code added intead of above **/
if (!$config) { // If there is a config error, we use xoops
    
$xoops_auth_method 'xoops';
} else {
    
$xoops_auth_method $config[0]->getConfValueForOutput();
    if(!
is_readableXOOPS_ROOT_PATH.'/class/auth/auth_' $xoops_auth_method '.php')){
        
$xoops_auth_method 'xoops';
    }
}

            
$file XOOPS_ROOT_PATH.'/class/auth/auth_' $xoops_auth_method '.php';
            require_once 
$file;
            
$class 'XoopsAuth' ucfirst($xoops_auth_method);
            switch (
$xoops_auth_method) {
                case 
'xoops' :
                    
$dao =& $GLOBALS['xoopsDB']; 
                    break;
                case 
'ldap'  
                    
$dao null;
                    break;
            }
            
$auth_instance = new $class($dao);
        }
        return 
$auth_instance;
    }

}
?>



7
sevak
2.2.3 create account bugs
  • 2005/8/28 3:22

  • sevak

  • Just popping in

  • Posts: 42

  • Since: 2004/4/12


I have installed 2.2.3 on websitehttp://www.bollywood.name
Level of strictness is default - strict only alphabet and number.

Select the level of strictness for username filtering
Bug 1
------
1.1 Click on register now

http://www.bollywood.name/modules/profile/register.php

1.2 type email, username and display name

1.3 now try any password and conform password that has not all non numeric character like.

abcd
abcd123r
abrfgt

All the time it gives error

"Sorry, your password must be at least 3 characters long"

Bug 2
-----
2.1 Now try all numeric password like
1234
123456
12345678
it goes to next screen
2.2 Click finish it sends activation email.Syntax of activation url is wrong. It is of type

http://www.bollywood.namehttp://www.bollywood.name/modules/profile/activate.php?op=actv&id=2&actkey=412665e1

it should be

http://www.bollywood.name/modules/profile/activate.php?op=actv&id=2&actkey=412665e1

Bug 3
-----
3.1 login as administrator and try changing email of admin. It says saved but it doesn't work



8
sevak
Developer docs of xoops2.2 at xoops.info
  • 2005/8/23 22:20

  • sevak

  • Just popping in

  • Posts: 42

  • Since: 2004/4/12


Using phpxref tool, XOOPS 2.2 developer doc is published athttp://www.xoops.info . It will be a reference for module developer, beginner and experinced users alike. Besides file level code doc, it has context specific code and search for classes, variable, functions and constants.
Summary of XOOPS 2.2 is follow.

Summary statistics:
Files Scanned: 699 containing 92658 lines
2854 variable names in 7736 definitions and 49852 references.
1735 function/method names in 1983 definitions and 24114 references.
1939 constant names in 2010 definitions and 6381 references.
230 class names in 230 definitions and 1758 references.

All criticism welcome.

thanks



9
sevak
sqlite
  • 2004/4/30 3:15

  • sevak

  • Just popping in

  • Posts: 42

  • Since: 2004/4/12


Guys thanks for great product. Anyplan to support sqlite. A great feature in php5.
Also, from my part slowly doing langauge pack translation of XOOPS 2.0.6 in Hindi. Anybody wanna participate pm me.



10
sevak
Re: International Language site
  • 2004/4/13 13:07

  • sevak

  • Just popping in

  • Posts: 42

  • Since: 2004/4/12


VP-IAL seems different. Will look good better if you can find a logo .Keep it UP!




TopTop
(1) 2 »



Login

Who's Online

179 user(s) are online (119 user(s) are browsing Support Forums)


Members: 0


Guests: 179


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