Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2012, 07:44:15 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155442 Posts in 21702 Topics by 7734 Members
Latest Member: zvaigzdzius
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Member page  (Read 501 times)
tessed

Offline Offline

Posts: 91


WWW
« on: October 08, 2008, 08:28:52 PM »

Hi all,

I was wondering. How do i create restricted pages for members? I read that you should create a user, put this user in its own group and mark his pages private and viewable by only him. Is this the right way? UPDATE: found out this is the right way to do it!

Now i would like a way for the administrator to have a way to use a template for the member pages with some blocks only viewable by members. For instance pages where the members can see modify their personal info and read company news.

Hope i have explained what im after.

Regards,

Tyronne
« Last Edit: October 09, 2008, 10:02:04 AM by tessed » Logged

Webdesign: www.desse.nl
Chaploo
Guest
« Reply #1 on: October 21, 2008, 01:04:41 PM »

Hi,

I hope I understood what you're asking. I would try it that way:

Make a new template, upload it and point the member pages to that template.
In that template edit the index.php and call only the content blocks you want the member to see
(Options > Blocks >yes and edit info.php as described in the manuals):

Quote
<?php page_content(1); ?>
<?php page_content(2); ?>
<?php page_content(3); ?>
etc.

Is that what you were searching for?  smiley

regards
Jochen
Logged
tessed

Offline Offline

Posts: 91


WWW
« Reply #2 on: October 21, 2008, 02:03:01 PM »

Hi Jochen,

I understand what you mean, but i hope there is a better way. I mean if i have like 40 members, i would have to edit the template to add a content block each time my customer has a new member. And i would have like 40 content blocks in the index.php.

I would want a solution where if you are my member, that you can log in and view content i wrote only for you, something like your agenda maybe.

Regards,

Tyronne
Logged

Webdesign: www.desse.nl
vyni

Offline Offline

Posts: 566


« Reply #3 on: October 21, 2008, 04:18:28 PM »

If I´m right, You can do this like this

create a group for each member - on adding the member add his own group too.
Add this member too multiple groups, one standard group and his own group at least

Give him acess to create pages.

Advice him to create pages and how to set the permissions correct.
Advice him to set such pages to private - visitors allowed: just himself
or even himselsef and his grandpa - if this is a member too

Now use any template with/without blocks as You like.

regards from Himberg


Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!