Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder: Plugins & Add-ons:
Membership/Comments plugins

 

 


ispro
User

Oct 26, 2011, 12:11 PM

Post #1 of 5 (255 views)
Shortcut
Membership/Comments plugins Can't Post

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


Jason
Staff / Moderator


Oct 27, 2011, 9:29 AM

Post #2 of 5 (250 views)
Shortcut
Re: [ispro] Membership/Comments plugins [In reply to] Can't Post

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:


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


to this:


Code
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 - Programmer 
interactivetools.com

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


ispro
User

Oct 27, 2011, 4:46 PM

Post #3 of 5 (244 views)
Shortcut
Re: [Jason] Membership/Comments plugins [In reply to] Can't Post

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

V Lyczmanenko


ispro
User

Oct 27, 2011, 5:30 PM

Post #4 of 5 (242 views)
Shortcut
Re: [Jason] Membership/Comments plugins [In reply to] Can't Post

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


Jason
Staff / Moderator


Oct 28, 2011, 11:04 AM

Post #5 of 5 (227 views)
Shortcut
Re: [ispro] Membership/Comments plugins [In reply to] Can't Post

Hi,

What was the change that you made to lib/common.php? Please fill out a 2nd Level Support Request 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:


Code
<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 - Programmer 
interactivetools.com

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