11
macklein
captcha not appearing
  • 2009/4/23 19:08

  • macklein

  • Just popping in

  • Posts: 21

  • Since: 2006/6/29


Hello peopple,
I'd like to know if the captcha in registration page is off by default in XOOPS 2.3.3? if so, how do I activate it?..



12
macklein
Re: xoops debug active for registered users
  • 2009/4/2 18:44

  • macklein

  • Just popping in

  • Posts: 21

  • Since: 2006/6/29


Thank you very much, as I see, the community is getting better



13
macklein
xoops debug active for registered users
  • 2009/4/2 16:14

  • macklein

  • Just popping in

  • Posts: 21

  • Since: 2006/6/29


is the debug supposed to be displayed for registered users?
In earlier versions of XOOPS it was displayed only for administrator when the debug was active (inline mode). Now i am using XOOPS 2.3.3 and the debug is displayed for registered users too...

how can I make it so that the debug only shows for administrators?



14
macklein
Re: Upgrading xoops, why unchanged files?
  • 2008/12/3 14:18

  • macklein

  • Just popping in

  • Posts: 21

  • Since: 2006/6/29


Quote:

ghia wrote:
To make sure everybody of the 2.3.x branch has the correct core files?


Thanks for the reply,

but, the package is 2.3.1 to 2.3.2a, not 2.3.x to 2.3.2a, it's a specific version upgrade, or is this same package used for other upgrades???



15
macklein
Upgrading xoops, why unchanged files?
  • 2008/12/3 13:34

  • macklein

  • Just popping in

  • Posts: 21

  • Since: 2006/6/29


Hello people.
I want to upgrade from 2.3.1 to 2.3.2a. The thing is I've made some modifications to XOOPS files. So, I used a cvs software to check which files change when I copy the new files from the xoops-2.3.1-to-2.3.2a package. I noticed that only 13 files were changed. So, what's the point in including a lot more files in the xoops-2.3.1-to-2.3.2a package?? must of these files didn't change when upgrading....



16
macklein
is there a module for this?
  • 2007/10/28 3:13

  • macklein

  • Just popping in

  • Posts: 21

  • Since: 2006/6/29


Hello XOOPS people...

I'd like to know if there is a module that i can use to manage a professional and business directory.
I mean , i want to have people, like contacts, with their names, job, phones, address, picture (optional). I also want to manage business directory just like the professional ( address, phones, picture, etc).

Is there a module that i can use?



17
macklein
php problem
  • 2007/6/9 1:44

  • macklein

  • Just popping in

  • Posts: 21

  • Since: 2006/6/29


hello everybody,
can someone can help me here??

I get problems with the newbb module after modifying newbb/language/modinfo.pph , the problem is near this:

define('_MI_IMG_SET','Image Set');
define('_MI_IMG_SET_DESC','Select the Image Set to use');
define('_MI_DIR_ATTACHMENT','Attachments physical path.');
define('_MI_DIR_ATTACHMENT_DESC','Physical path only needs to be set from your XOOPS root and not before, for example you may have attachments uploaded to www.yoururl.com/uploads/newbb the path entered would then be '/uploads/newbb' never include a trailing slash '/' the thumbnails path becomes '/uploads/newbb/thumbs'');
define('_MI_PATH_MAGICK','Path for ImageMagick');
define('_MI_PATH_MAGICK_DESC','Usually it is '/usr/bin/X11'. Leave it BLANK if you do not have ImageMagicK installed or for autodetecting.');
.
.
[more defines]

it produces this output:

physical path.'); define('_MI_DIR_ATTACHMENT_DESC','Physical path only needs to be set from your XOOPS root and not before, for example you may have attachments uploaded to www.yoururl.com/uploads/newbb the path entered would then be '/uploads/newbb' never include a trailing slash '/' the thumbnails path becomes '/uploads/newbb/thumbs''); define...[plus the rest of defines in modinfo.php]


inside the page area of any page using newbb. Is this a php problem??? what could this be??



18
macklein
Re: Module Development tutorial (with classes)
  • 2007/2/19 14:11

  • macklein

  • Just popping in

  • Posts: 21

  • Since: 2006/6/29


Quote:


and another question just for confirmation.. when defining a function and putting for example $id = false in the brackets like this

getAll($id = false)

means that this attribute is not necessary when calling?


It means that you could pass the attribute when calling , but if you don't, it will be taken as false (in this case)



19
macklein
Re: Module Development tutorial (with classes)
  • 2007/2/19 14:09

  • macklein

  • Just popping in

  • Posts: 21

  • Since: 2006/6/29


Quote:

banesto wrote:
Thanks, that worked out!

How can i get actual results from "getObjects" function (it's in AccMembersTypeHandler class)?

function getObjects($criteria null$id_as_key false) {
        
$ret = array();
        
$limit $start 0;
        
$sql 'SELECT * FROM '.$this->db->prefix('acc_member_type');
        if (isset(
$criteria) && is_subclass_of($criteria'criteriaelement')) {
            
$sql .= ' '.$criteria->renderWhere();
            
$limit $criteria->getLimit();
            
$start $criteria->getStart();
        }
        
$result $this->db->query($sql$limit$start);
        if (!
$result) {
            return 
$ret;
        }
        while (
$myrow $this->db->fetchArray($result)) {
            
$MembersType = new MembersType();
            
$MembersType->assignVars($myrow);
            if (!
$id_as_key) {
                
$ret[] =& $MembersType;
            } else {
                
$ret[$myrow['tid']] =& $MembersType;
            }
            unset(
$MembersType);
        }
        return 
$ret;
    }


$class_handler =& xoops_getmodulehandler('memberstype');
$memberstype =& $class_handler->getObjects;

... what's next? i get $ret back, right? how can i get out results from that?


$ret is an array of $XoopsObject's, so you wil have your result like this:
$ret[0]=an Object;
$ret[1]another Object;
and so on.........



20
macklein
Re: Module Development tutorial (with classes)
  • 2007/2/19 14:05

  • macklein

  • Just popping in

  • Posts: 21

  • Since: 2006/6/29


Quote:

banesto wrote:
how does this work? i mean how does foreach loop connects to the following operations? Variables $k and $v are not mentioned and yet somehow function can access variables like "$name", "$climit" etc..

foreach ($MembersType->cleanVars as $k => $v) {
            ${
$k} = $v;
        }

        if (
$MembersType->isNew()) {
            
$tid $this->db->genId('acc_member_type');
            
$sql sprintf("INSERT INTO %s (tid, name, climit, cname) VALUES (%u, %s, %u, %s)"$this->db->prefix('acc_member_type'), $tid$this->db->quoteString($name), $climit$this->db->quoteString($cname));}


if you have $k="foo", and you do ${$k}=$v;
then you have created a variable $foo=$v
this is usefull if u want to create variables named as the keys of an array automaticly




TopTop
« 1 (2) 3 »



Login

Who's Online

163 user(s) are online (89 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits