Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-01-14 03:57:22

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

profiles - focus on authors or sections?

the concept of the site is kind of like all your typical social networks except only for a few users. the users have a flash player to work with which they will plug in their own stream of music from a url, and a header image. they can publish podcasts and blog posts. front page lists all the activity going on in the site.

the planning of this site seems like its leaning on either of these sides:
1. trying out many of the author related plugins to build semi-robust profile
2. manually create the profiles using sections, and locking the authors up to only be allowed to work in their section.

why i am able to lean between option 1 and 2 is because of the very small user base and that we have no problem manually creating the new users, even if it meant making a bunch of new sections. i just worry that updates would be horribly messy if i did that cause i’d always be updating the page templates.

Last edited by mrtunes (2010-01-14 03:57:58)

Offline

#2 2010-02-04 17:06:15

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

Re: profiles - focus on authors or sections?

hello never heard from anyone on this but i guess the post was a little confusing.

just some update on this: i have decided to keep profiles as a section that i create manually.

I just need to be able to take a user and “lock” them into their specific section so they can’t alter anyone else’s profile.

the other problem i’m having is trying to assign an image to a Section. i might have to manually make a list of If_Section arguments.

Last edited by mrtunes (2010-02-04 17:06:28)

Offline

#3 2010-02-04 18:13:07

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: profiles - focus on authors or sections?

mrtunes wrote:

the other problem i’m having is trying to assign an image to a Section.

You can name the images like the sections: <img src="/images/<txp:section />.jpg" />. Or create image categories named like the sections and use one of the many plugins that can display an image from a category (for example <txp:wet_for_each_image limit="1" category='<txp:section />'>). Or use CSS like in this TXP Tip.

Offline

#4 2010-02-04 18:30:37

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

Re: profiles - focus on authors or sections?

that looks good to me, thank you :)

Offline

Board footer

Powered by FluxBB