Page 1 of 2

Question using SelfRegistration, CustomContent and FrontEndUsers

Posted: Sun Feb 26, 2006 3:01 am
by Maron
How do I install these three things?  I've tried uploading them all as modules and plugins, but neither worked.  Can I have some help, please? =D

Thank you in advance!

Re: Question using SelfRegistration, CustomContent and FrontEndUsers

Posted: Sun Feb 26, 2006 4:00 am
by calguy1000
Okay, the following instructions assume you're using CMS 0.11.2, and are on a hosted environment where you need to ftp your files up, and lastly, that you want the FrontEndUsers, the CustomContent, And the SelfRegistration modules.

Well, if youre using cms 0.11.2 you should download the appropriate .tar.gz files from each project on the forge,

Then expand each of them, and upload the expanded files to your /modules directory.  assuming you access your web host via ftp.  SelfRegistration and FrontEndUsers both require the CMSMailer module, so you'll need that package as well.

Once all four packages have been uploaded, in their expanded form to the /modules directory, go to your administration page with the browser, then select "Modules", under the Extensions menu.

You should then see each of these modules listed there, with the option to "install" them..  Click on CMSMailer first (as the other modules need to see that it is installed, before they themselves will successfully install).  Then install FrontEndUsers (as SelfRegistration and CustomContent need FrontEndUsers).  Laslly, install the CustomContent and SelfRegistration modules.

Now, if using 0.11.2, you should go to "Users & Groups" >> "Group Permissions", and make sure that your user account has all of the permissions turned on.

After this point, after refreshing the menu, you should see SelfRegistration, and FrontEndUsers under the "Users & Groups" menu, and CMSMailer under the extensions module.

I would recommend that you configure CMSMailer first, before proceeding to FrontEndUsers.

Hope all this helps.

Re: Question using SelfRegistration, CustomContent and FrontEndUsers

Posted: Tue Feb 28, 2006 1:24 am
by Maron
Thank you so much for your help!!  I have three other questions, if that's alright.  The first one is:

I want my main page set up so that when people go there, there's a button that says "log in", they click it, and then it takes them to a page where they're allowed to log in.  How do I get the log in stuff on the page?

How do I manage the custom content?

I have a forum (PunBB) installed and I want people who are users on the forum to be able to access the main site with the same login info as well (so that they only really need to sign up at either the forum or the main site in order to access both), but whenever I try to go to the "PunBB/ProtectedPage" page and I click on "Page Access Permissions Administration", it takes me to a page that says "You need the 'Modify PunBB Page Access' permission to perform that function."  Why is this happening and how can I fix it?

Thank you so much for all of your help!

Re: Question using SelfRegistration, CustomContent and FrontEndUsers

Posted: Tue Feb 28, 2006 4:56 am
by calguy1000
I can help you with items #1, and #2, but because I have absolutely no experience with punbb, I can't be much help with #3.

#1
Create a page, called "login",  on that page have the {cms_module module=FrontEndUsers} tag, along with all of your other layout, etc.  Now on your homepage, add the tag {cms_selflink page="login"}  that should do the trick for you.

#2
CustomContent is best managed using the funky comment syntax.
i.e:

Code: Select all

<!--customContent: startif: group=somespecialgroup -->
This is the text I want to display to logged in users who are members of somespecialgroup (take care not to have spaces in your group names, I can't recall if I handled the quotes correctly in CustomContent.
<!--customContent: else -->
You are not a member of the somespecialgroup, so you won't be able to do funky things
<!--customContent: endif -->
#3
It seems that you have some module that somewhat integrates PunBB into CMS, and you're experiencing a permissions issue.  Go to "Users And Groups" >> "Group Permissions" in the admin side of your site (when logged in as administrator), and see if there is a permission there that particular PunBB module (though I'm just guessing).

That should get you past the permissions issue. however, to the best of my knowledge (and I think I'm up-to-date on this), No code has been written to synchronize the FrontEndUsers user database, and the PunBB user database, so you may not get very far with this task.

Hope I helped you.

Re: Question using SelfRegistration, CustomContent and FrontEndUsers

Posted: Tue Feb 28, 2006 5:37 pm
by Maron
For #1 - thanks so much for the help.  It's working great. =D

For #2 - I haven't tested it out yet because I need help with the SelfRegistration module.  Whenever I put {cms_module module=SelfRegistration} on a page, I get this error:

"Error!

Insufficient number (or incorrect) parameters supplied to module"

I'm not sure why this is happening because it's successfully installed and all.

Thanks.

Re: Question using SelfRegistration, CustomContent and FrontEndUsers

Posted: Tue Feb 28, 2006 5:49 pm
by Maron
I also have another question...

I have a horizontal navigation and I only want certain links to appear there.  For instance, here's what my panel looks like:
http://december-love.org/junk/panel.jpg

And then here's what my page looks like:
http://december-love.org/junk/site.jpg

But see the links for "SELFREGISTRATION" and "LOGIN"?  I don't want those to be there.  I want them to be pages, but I don't want them to appear on the horizontal navigation.  In other words, the only links that I want to be visible on the horizontal navigation are "Home" "Gackt" "Discography" and "Translation".

Re: Question using SelfRegistration, CustomContent and FrontEndUsers

Posted: Tue Feb 28, 2006 7:24 pm
by calguy1000
Maron wrote: For #2 - I haven't tested it out yet because I need help with the SelfRegistration module. Whenever I put {cms_module module=SelfRegistration} on a page, I get this error:
You need the group="somegroup" parameter to tell selfreg which frontend users group to add users to.

Re: Question using SelfRegistration, CustomContent and FrontEndUsers

Posted: Tue Feb 28, 2006 7:25 pm
by calguy1000
I would put the "Login" and "Self Registration" pages, as a child of a "Section header", and mark that "Section header" as not shown in the menu.
Maron wrote: I also have another question...

I have a horizontal navigation and I only want certain links to appear there. For instance, here's what my panel looks like:
http://december-love.org/junk/panel.jpg

And then here's what my page looks like:
http://december-love.org/junk/site.jpg

But see the links for "SELFREGISTRATION" and "LOGIN"? I don't want those to be there. I want them to be pages, but I don't want them to appear on the horizontal navigation. In other words, the only links that I want to be visible on the horizontal navigation are "Home" "Gackt" "Discography" and "Translation".

Re: Question using SelfRegistration, CustomContent and FrontEndUsers

Posted: Wed Mar 01, 2006 3:16 am
by Maron
calguy1000 wrote: You need the group="somegroup" parameter to tell selfreg which frontend users group to add users to.
What would the code for that be?  This: {cms_module module=SelfRegistration group="somegroup"} ?
calguy1000 wrote: I would put the "Login" and "Self Registration" pages, as a child of a "Section header", and mark that "Section header" as not shown in the menu.
How do you mark them as not shown in the menu?  I was fishing around in the panel to see if I could find that somewhere...but I can't seem to find it...

Re: Question using SelfRegistration, CustomContent and FrontEndUsers

Posted: Wed Mar 01, 2006 3:22 am
by calguy1000
Maron wrote:
calguy1000 wrote: You need the group="somegroup" parameter to tell selfreg which frontend users group to add users to.
What would the code for that be? This: {cms_module module=SelfRegistration group="somegroup"} ?
Exactly
Maron wrote:
calguy1000 wrote: I would put the "Login" and "Self Registration" pages, as a child of a "Section header", and mark that "Section header" as not shown in the menu.
How do you mark them as not shown in the menu? I was fishing around in the panel to see if I could find that somewhere...but I can't seem to find it...
If you go to "Content -> Pages", then "Add Content", when the next page comes up, change the "Content Type" to "Section Header", then the page will refresh, you will see that one of the options is "Shown In Menu"

If you don't get these options, check your permissions.

Re: Question using SelfRegistration, CustomContent and FrontEndUsers

Posted: Thu Mar 02, 2006 6:47 pm
by Maron
calguy1000 wrote: If you go to "Content -> Pages", then "Add Content", when the next page comes up, change the "Content Type" to "Section Header", then the page will refresh, you will see that one of the options is "Shown In Menu"
Okay, great, I did that.  Thanks.  Only thing is, now when I make seperate links to the registration and login pages, they're blank pages.  How do I get the information that's on the login and registration pages to actually show on the website instead of just a blank white page?

Thank you.

Re: Question using SelfRegistration, CustomContent and FrontEndUsers

Posted: Thu Mar 02, 2006 6:52 pm
by calguy1000
well if you have two pages:  "Login" and "Register", that are both children of the section header that is not shown in the menu, then on the login page you woud put:

{cms_module module=FrontEndUsers}

and on the Register Page, you would put

{cms_module module=SelfRegistration group="somegroup"}

that should do the trick.

Re: Question using SelfRegistration, CustomContent and FrontEndUsers

Posted: Thu Mar 02, 2006 7:46 pm
by Maron
Mkay, now that's working...but a new issue has popped up.  When I go to view the self registration page, I get this error "Group name specified does not exist".  How do I fix that?

Re: Question using SelfRegistration, CustomContent and FrontEndUsers

Posted: Thu Mar 02, 2006 7:49 pm
by calguy1000
probably a typo in your {cms_module module=SelfRegistration group="somegroup"}
"somegroup" must exist in the frontend users module.

[me=calguy1000]thinks about the docs in selfreg and wonders if they need a tweak.[/me]

Re: Question using SelfRegistration, CustomContent and FrontEndUsers

Posted: Thu Mar 02, 2006 8:29 pm
by Maron
calguy1000 wrote: probably a typo in your {cms_module module=SelfRegistration group="somegroup"}
"somegroup" must exist in the frontend users module.
=o

How do I make "somegroup" exist in the frontend users module?  I searched around and couldn't find it...