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: [ispro] Membership/Comments plugins

By Jason - October 28, 2011

Hi,

What was the change that you made to lib/common.php? Please fill out a [url http://www.interactivetools.com/support]2nd Level Support Request[/url] so we can take a look at this error.

You can have the user logoff from any page that uses CMS Builder buy using a link like this:

<a href = "?action=logoff">Log Out</a>

If you take a look in the plugin's examples folder you'll see user-profile.php, which show examples of updating a user's profile.

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/