Membership/Comments plugins

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

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/