201
Roby73
Re: Deprecated since Xoops 2.5.4: how can I solve this
  • 2011/11/27 23:15

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Thank you very much!
if the module is not updated by the developer, I will use this solution



202
Roby73
Re: Deprecated since Xoops 2.5.4: how can I solve this
  • 2011/11/27 22:32

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Quote:
/class/xoopstory.php and /class/xoopstopic.php will require more work. I think, it's only in News, and ZySpec is looking into it.


To resolve momentarily the problem i include the file xoopstory.php and xoopstopic.php in the module...
In this mode there are the problems with new xoops version?

Some modules are not supported, i do not know how as upgrade these.



203
Roby73
Re: class/captcha
  • 2011/11/25 15:49

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


For convert capatcha to recaptca in your site, you most modify mode in array $config in /class/captcha/config.php to
'mode' => 'recaptcha',

Add google key in /class/captcha/config.recaptcha.php 'private_key' and 'public_key'.

Now your security code is in recaptcha mode.

For add recaptcha in other module i see as work module profile. register.php and /include/forms.php files




204
Roby73
Re: class/captcha
  • 2011/11/25 1:06

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Sorry i had not read
Quote:
I'm not sure if this behavior is ideal because it overrides the config file settings.

Thanks for Everything and for your good job



205
Roby73
Re: class/captcha
  • 2011/11/25 0:29

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Thank trabis for your help.
The code work with registered user
But i don't understand, the general config 'skipmember' can be setted? Or is only possible set it in single module?

I would set skipmember for all modules in one time.

Thank you



206
Roby73
Re: class/captcha
  • 2011/11/24 3:17

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


In the module xfguestbook and in the file xfcreate.php i add in all switch(op) the code:

xoops_load('XoopsCaptcha');
        
$xoopsCaptcha XoopsCaptcha::getInstance();
        if (!
$xoopsCaptcha->verify()) {
            
$msgstop .= $xoopsCaptcha->getMessage();
        }


And in the file form_sign.inc.php the code:

$button_tray->addElement(new XoopsFormCaptcha(), true);


With anonymous user all is ok, but not with register user.
I try add skipmember in config.recatpcha.php, don't work.
I test in new sessions, logout/login and cleaning all cache.

try changing the code in xoopscaptcha.php, recaptcha work in all condition.... registered user, anonymous and all groups.
the problem seems to be at line 112

if (!empty($this->config['skipmember']) && is_object($GLOBALS['xoopsUser'])) {
            
$this->active false;
            return 
$this->active;
        }


and line 209

} else if (is_object($GLOBALS['xoopsUser']) && ! empty($skipMember)) {
            
$is_valid true;


Thank you trabis



207
Roby73
Re: class/captcha
  • 2011/11/23 22:31

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


I modified some modules with capatcha code (with system class).
tellafirend and xfguestbook

In these modules the capatcha code is visible only a anonymous users.

kipmember' => false/true don't change.




208
Roby73
class/captcha
  • 2011/11/23 13:57

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


HI.
I have this problem.
In config.php i have set the 'skipmember' => false, // Skip CAPTCHA check for members, but the capatcha code is not visible at users.... only anonymous

I use recapatcha code, the problem seems to be in the file xoopscaptcha.php.

Thank you very much!.



209
Roby73
Bookmark me
  • 2011/11/19 1:57

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Sorry for my finicky reply.

The description in bookmark tool of the button facebook, the description is wrong...
"Bookmark to Faceboom"




210
Roby73
Re: MyLinks 3.11 missing file entry.php
  • 2011/11/15 22:51

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


There is an other qrcode module?

The button make it qrcode don't work whith module qrcode classic.




TopTop
« 1 ... 18 19 20 (21) 22 23 24 25 »



Login

Who's Online

219 user(s) are online (156 user(s) are browsing Support Forums)


Members: 0


Guests: 219


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