Membership/Comments plugins

By ispro - October 26, 2011

I have installed both the Membership and Comments plugins.

When I run user-signup the user gets added but I get the following error message: Notice: Undefined variable: errors in /home/content/08/8217408/html/site2.0/user/user-signup.php on line 91 Mail Error:

What goes in the access list for blog comments? wsc_comments?

How does a user logoff?



Vlad Lyczmanenko

Re: [ispro] Membership/Comments plugins

By Jason - October 27, 2011

Hi Vlad,

The Undefined variable error is the result of a small bug in the script. This will be fixed in a future release. For now, change this line:

if ($mailErrors) { die("Mail Error: $errors"); }

to this:

if ($mailErrors) { die("Mail Error: $mailErrors"); }

However, this bug is only triggered when an error occurs while sending an email. If you run it again, you should receive a message telling you what the error was. It could be that the email address being used in invalid, or there are problems with the SMTP setting on your server. If you get an error, let us know what it was and we can point you in the right direction.

The access list is only for users that need to access sections inside CMS Builder, ie, if the users actually logs into CMS Builder, do you want them to have access to those sections. If not, you can leave them out of the access list code, the comments plugin will still work.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Membership/Comments plugins

By ispro - October 27, 2011

Now I get the error: Mail Error: Undefined index: disabled

V Lyczmanenko

Re: [Jason] Membership/Comments plugins

By ispro - October 27, 2011

I solved my latest issue by finding another thread in the forum and making changes to lib/common.php. Now in the comments plugin, I sucessfully add a comment, but then I get the error message: Error sending message: mail(): Bad parameters to mail() function, mail not sent. Please let us know about this error!

Also, i) how doesthe user log off? ii) request to change the password from the system-generateed one?

VL