Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-12-08 10:15:54

vineonardo
Member
Registered: 2011-08-31
Posts: 128
Website

[Solved] Create Basic User Profiles using Textpattern

Hello,
Umm, I know probably I’m asking too much, I wish to know if I can create basic user profiles in Textpattern?
Users will have to login and will have a profile page. They can also share photos and have a wall to post stuff like links.

Call me stupid, I know but I just want to know if by any chance, is this possible?

thanks for your time.

Last edited by vineonardo (2013-04-12 14:39:45)

Offline

#2 2012-12-08 10:46:42

milosevic
Member
From: Madrid, Spain
Registered: 2005-09-19
Posts: 390

Re: [Solved] Create Basic User Profiles using Textpattern

Possible but not easy. you need some plugins such smd_user and cbe_frontauth.


<txp:rocks/>

Offline

#3 2012-12-08 10:59:06

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,529
Website GitHub Twitter

Re: [Solved] Create Basic User Profiles using Textpattern

Maybe smd_bio can help you

Last edited by Dragondz (2012-12-08 10:59:31)

Offline

#4 2012-12-08 17:26:30

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

Re: [Solved] Create Basic User Profiles using Textpattern

vineonardo wrote:

Call me stupid, I know but I just want to know if by any chance, is this possible?

As Dragondz mentions, smd_bio can and will help.

You might use mem_form, mem_self_register, and mem_simple_form as well. Don’t forget cbe_frontauth too.

  • smd_bio: create your user profile fields.
  • mem_self_register: give new users a sign-up form.
  • mem_form / mem_simple_form: Build forms for your user to update their profile or to add links and things.
  • cbe_frontauth: Protect blocks of content and show only to the logged in user. This is where you can place the aforementioned forms (edit contact info, edit email, add link, etc…).

Hard part: Sharing photos. I can’t tell you what to do about that. It’s possible of course to give them access to the admin area (/textpattern) but the experience they’l have will probably not be ideal, especially if you trying to, for lack of a better way to put this, make a Facebook clone.


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

#5 2012-12-08 18:14:21

vineonardo
Member
Registered: 2011-08-31
Posts: 128
Website

Re: [Solved] Create Basic User Profiles using Textpattern

Thank you all for the replies. I am thinking to use external service for photo sharing, like instagram or flickr, but this is just an initial thought, have to see how will it work.
But, really thank you all for your time and ideas.

Offline

#6 2012-12-10 20:34:48

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

Re: [Solved] Create Basic User Profiles using Textpattern

vineonardo wrote:

like instagram or flickr

With smd_bio you can make a field called flickr and a field called instagram. With mem_form and smd_bio you can provide your users a form for adding those account usernames to their profile. With that information stored on each user you can then use it to display their photos in many different ways. There are Flickr plugins to get you started quick.

instagram is a little fussy about letting external sites pull their stuff unless the user in question that your trying to pull for authorizes it. Flickr let’s it all hang out.

Last edited by whaleen (2012-12-10 20:35:30)


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

#7 2012-12-10 20:39:36

vineonardo
Member
Registered: 2011-08-31
Posts: 128
Website

Re: [Solved] Create Basic User Profiles using Textpattern

@whaleen
Thanks for your reply.
I did play with cbe_frontauth and smd_bio plugins. They are both wonderful.
What I really missed is, User registration.
I know, now I’m taking this too far but can we allow users to register themselves?
Right now I guess all we can do is, add an input box to collect user’s email id and then later create their accounts manually from admin panel. But can we automate this step?

Thanks again.

Edit: Oops, my bad. I completely forgot about mem_self_register. Seems my registration requirement has solved too.

Last edited by vineonardo (2012-12-10 20:50:18)

Offline

#8 2012-12-10 20:49:09

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

Re: [Solved] Create Basic User Profiles using Textpattern

Yes mem_self_register works great. Good luck. I could share some snippets if you run into any trouble with it.


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

#9 2012-12-10 20:51:23

vineonardo
Member
Registered: 2011-08-31
Posts: 128
Website

Re: [Solved] Create Basic User Profiles using Textpattern

Thank you Whaleen.
Considering my limited understanding of php coding, I actually might require your kind help some more. :)

Offline

#10 2012-12-10 21:34:40

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

Re: [Solved] Create Basic User Profiles using Textpattern

I wouldn’t touch the PHP if I were you. :) You should be able to get something working with plugins alone. Of course PHP is behind the scenes but you might not have to look at it.


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

#11 2012-12-10 21:58:20

vineonardo
Member
Registered: 2011-08-31
Posts: 128
Website

Re: [Solved] Create Basic User Profiles using Textpattern

Ah, that’s a good news I guess.

Not related to the topic, but I checked txtstrap, that looks really interesting to me. I’ve been using flat files(external template files) & bootstrap with textpattern for a while but had never thought it could be done the you have made it.
I’ll check it out once for sure, looks like a good package to head start a new project. Really good job, thanks for sharing.

Offline

Board footer

Powered by FluxBB