Page 1 of 2

Looking for help/ frontend users

Posted: Fri Dec 24, 2004 5:15 pm
by calguy1000
wishy is working on private pages for 0.8

we're all sitting here waiting with baited breath for it...

Looking for help/ frontend users

Posted: Fri Dec 24, 2004 6:32 pm
by Ted
Actually, it's not me. A guy who comes into the IRC room every once in awhile said that he would work on it. It will be done as a module, so 0.8 will come out regardless of wether it's done or not.

Looking for help/ frontend users

Posted: Sat Dec 25, 2004 2:53 am
by reviewum
Great idea, I think modules are the way to go with this one! Personally I don't think any of my installs would ever need private pages... but if they do it is nice to know there will be a module

Looking for help/ frontend users

Posted: Sun Jan 02, 2005 7:32 pm
by Greg
Looks great however in 0.8.1 I get errors.

On trying to add a 'New User '
Notice: Undefined index: module_ProtectedPages_username in d:\aaawebsites\websites\gregbloorcms\modules\ProtectedPages\adminforms.php on line 198
On trying to add a 'New Group'
Notice: Undefined index: module_ProtectedPages_groupname in d:\aaawebsites\websites\gregbloorcms\modules\ProtectedPages\adminforms.php on line 251

Notice: Undefined index: module_ProtectedPages_groupdesc in d:\aaawebsites\websites\gregbloorcms\modules\ProtectedPages\adminforms.php on line 252
And with the module installed I get this when displaying any page
Notice: Undefined index: PPAGES_ACCESS_GRANTED in d:\aaawebsites\websites\gregbloorcms\modules\ProtectedPages\modulefunctions.php on line 284

Cosmetic errors, working on it!

Posted: Sun Jan 02, 2005 9:22 pm
by Silmarillion
Hello Greg
Greg wrote:Looks great however in 0.8.1 I get errors.
Sorry about these errors, they are purely cosmetic, everything should work fine! But I'l fix them soon anyway, of course! Stay tuned for next version...

Best regards
Silmarillion
Maintainer of the Protected Pages module

Looking for help/ frontend users

Posted: Sun Jan 02, 2005 11:18 pm
by Greg
Thanks Silmarillion,
Your module is a feature many have been looking for for some time.
I am running one site were part is public and the other part is private to a group of about 40 people. Thus far I have been using a htaccess file to restrict the private area to members only, however this then excludes the use of the cms in that area. Does your module work with 0.7.3 as well?

Looking for help/ frontend users

Posted: Mon Jan 03, 2005 11:14 am
by Silmarillion
Hey Greg
Great to hear that it's what people wants! I have just uploaded a 0.9.1 version which should fix those issues. Found a real bug in the process, too ;-)
Actually most of it was developed under a 0.7.3-version, but as far as I remember I had to use one of the 0.8-features (a postrender-hook to select whether the actual content or the "no access"-sign should be shown), so I don't think it will work with 0.7.3 anymode. I'm sorry!

If you have any other issues or suggestions, please do not hesitate to report here or in IRC!

Best regards Morten/Silmarillion
Greg wrote:Thanks Silmarillion,
Your module is a feature many have been looking for for some time.
I am running one site were part is public and the other part is private to a group of about 40 people. Thus far I have been using a htaccess file to restrict the private area to members only, however this then excludes the use of the cms in that area. Does your module work with 0.7.3 as well?

Looking for help/ frontend users

Posted: Mon Jan 03, 2005 1:43 pm
by Greg
Hi Silmarillion,
Thanks for the quick update.
I have 1 site still at 0.7.3 that uses the file link capability of htmlarea so need to plan an alternative to that before upgrading to 0.8.1, but it will be upgraded so no problem.

99% there but I am getting one more error when I cancel a login:
Notice: Undefined index: ppages_language in d:\aaawebsites\websites\gregbloorcms\modules\ProtectedPages\lang.php on line 28
Edit user - check a group for a member - and update:
Notice: Undefined variable: newusername in d:\aaawebsites\websites\gregbloorcms\modules\ProtectedPages\processadmin.php on line 92
User updated
Also I'm wondering how the 'Groups' work?

I created a group and added the group to the module tag on the page. When the password screen pops up I put in the group name, press ok, but nothing happens. Is there supposed to be a password for groups as well?

I'm not sure what the purpose of the groups is.

Thanks again.

Looking for help/ frontend users

Posted: Mon Jan 03, 2005 1:51 pm
by Ted
We really need to get HTMLArea working correctly. Since you're not the only one asking for it, I guess I'll jump on it before I start on 0.9 stuff (even though I've been avoiding it like the plague)

Looking for help/ frontend users

Posted: Mon Jan 03, 2005 2:14 pm
by Greg
Hi Wishy

You must find those WYSIWYG editors very frustrating, none of them seem to work 100%. I am only using the one feature of htmlarea on that 0.7.3 site and I don't like how I have the site set-up so will need to change it anyway. The way it is set-up now people upload files to 'their' directory using the file manager, then on their page they create links to the file they uploaded. They don't understand paths or filenames or directory structure so need a 'point and click' feature to add the link to their file. That is why I was so interested in ibrowser with TinyMCE.

Looking for help/ frontend users

Posted: Mon Jan 03, 2005 3:44 pm
by Silmarillion
Hi again Greg
Greg wrote:Hi Silmarillion,
99% there but I am getting one more error when I cancel a login:
Notice: Undefined index: ppages_language in d:\aaawebsites\websites\gregbloorcms\modules\ProtectedPages\lang.php on line 28
Edit user - check a group for a member - and update:
Notice: Undefined variable: newusername in d:\aaawebsites\websites\gregbloorcms\modules\ProtectedPages\processadmin.php on line 92
User updated
Both issues should be solved. I just wait a while to see if more issues show up, if not I'll update the wiki-page again
Also I'm wondering how the 'Groups' work?
You should not log in using the groupname, but always using a username. The trick is that with groups you can allow whole groups of users at once access to a page. Users can be members of several groups etc. You do not have to use the feature, you can just allow single users instead, but with many users that may be impractical. Hope it makes sense...
Thanks again.
You're welcome!

Best Regards
Morten/Silmarillion

Looking for help/ frontend users

Posted: Mon Jan 03, 2005 4:30 pm
by Greg
Hi Silmarillion,

I'm a little slow on the use of the groups.

I create a group.
Create a user (John) with a password that is a member of that group.
Create other users that are members of that same group.

Are the other users able to then use their name to login with John's password (one common password)?

Looking for help/ frontend users

Posted: Mon Jan 03, 2005 10:45 pm
by Greg
I took a closer look at FCKEditor and it has the 'browse server' feature for both images and links. Works - but having problems with paths just like ibrowser in TinyMCE. Can't find configuration for the path ??

Looking for help/ frontend users

Posted: Mon Jan 03, 2005 11:46 pm
by Greg
Thanks Patricia

Very well done explanation, I'm just a bit thick today. :?

Looking for help/ frontend users

Posted: Sun Jan 09, 2005 6:51 pm
by Greg
Hi Silmarillion,

Any progress on 0.9.2 ?