Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2009-11-10 15:58:35

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

Re: smd_bio : store additional biographical info about your users

decoderltd wrote:

Premature end of script headers: php-fcgi-starter

Bizarre. That normally indicates a PHP environment config problem but why the plugin triggers it I have no idea. Don’t think it’s doing anything out of the ordinary on that tab.

Are you running this on a live site or a local XAMPP? Anything in the log files that might shine some more light on it?


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#26 2009-11-10 16:15:58

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

Re: smd_bio : store additional biographical info about your users

Hi Stef,

I’m running it on a live site, I’ve checked the Diagnostics tab and everything seems fine.

Offline

#27 2009-11-10 16:30:59

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

Re: smd_bio : store additional biographical info about your users

Sorry, I meant the server’s log files. Do you have access to those? While you’re in the Diagnostics tab, though, what are the following reported as:

Server
PHP Server API
Server OS

and are you using a stock .htaccess file?

/me clutching at straws

Last edited by Bloke (2009-11-10 16:31:20)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#28 2009-11-10 16:54:42

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

Re: smd_bio : store additional biographical info about your users

Hi Stef,

Sorry, I don’t have access to the server logs, but here’s the other info you asked for-

Server: Apache
PHP Server API: cgi-fcgi
Server OS: Linux 2.6.17-11-server

I’m using the following .htaccess settings:

# DirectoryIndex index.php index.html
# Options +FollowSymLinks
# RewriteBase /relative/web/path/

<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} -f [OR]
 RewriteCond %{REQUEST_FILENAME} -d
 RewriteRule ^(.+) - [PT,L]

 RewriteRule ^(.*) index.php
</IfModule>

Offline

#29 2009-11-24 19:04:01

rsskga
Member
From: San Francisco, CA USA
Registered: 2007-06-23
Posts: 50
Website

Re: smd_bio : store additional biographical info about your users

I think this may be the right place to ask this question… I’ve read through the regarding community-drive TXP article, and am at least somewhat familiar with Manfre’s and Stef’s plugins, as well as Jonathon’s snooz site, Zem_Contact_Reborn, etc.

I’m wondering if anyone has enabled functionality that allows for sending emails to anonymized addresses – i.e. like on a dating site where the recipient’s email address needs to be obscured. On the surface, it seems like this shouldn’t be too hard… Maybe just mapping the anonymized email address to the user’s real email address somehow. Hopefully that way the anonymized emails wouldn’t actually have to exist as a real email address setup at a domain (which I would have no idea how to do dynamically). I don’t want to have to set up actual email forwarding, just a sleight of hand thing. I think that’s adequately secure for my purposes, but I could be naive.

Anyone have any thoughts on this? Advice for how I might approach it? I have some programming skills… should be able to edit and add to other people’s code. Probably not skilled enough to start a plugin from scratch though I’m going to go read the plugin development guidelines.

Thanks!


Swim Kitten, A Magento Site
When nothing but incredibly revealing dresses and swimwear will do

Offline

#30 2009-11-24 19:18:20

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: smd_bio : store additional biographical info about your users

Raina, perhaps this example will get you started

Offline

#31 2009-11-24 19:39:57

rsskga
Member
From: San Francisco, CA USA
Registered: 2007-06-23
Posts: 50
Website

Re: smd_bio : store additional biographical info about your users

Thanks very much, Ruud. I’m a Tori Amos fan, too… I will have to spend some time on your site.

So I simply need to create a different ‘Department’ for each user and in that way their email address will remain hidden? It’s been a while since I used ZCR. That’s easier than I anticipated! I’ll just map a username instead of ‘department’ to the email form and voila!

Thanks again!


Swim Kitten, A Magento Site
When nothing but incredibly revealing dresses and swimwear will do

Offline

#32 2009-12-01 06:27:27

kuro
Member
From: Mexico City | Mérida, Yucatán
Registered: 2005-08-26
Posts: 73
Website

Re: smd_bio : store additional biographical info about your users

<txp:smd_bio_info items=“photo” label=”“>
<txp:thumbnail id=”{smd_bio_photo}” />
</txp:smd_bio_info>

<txp:smd_bio_info items=“RealName” label=”“ />

i put this in my site, but i cannot see the images. . i’ve try every kind of combination but i failed…

Some recomendations?

Offline

#33 2009-12-01 10:01:27

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

Re: smd_bio : store additional biographical info about your users

kuro wrote:

i put this in my site, but i cannot see the images.

How are you displaying your bio pages to your visitors? Do you want a list of all authors or are you trying to show the bio on an individual article page? In its default form, smd_bio will only show the info from the author of the current article being viewed. If that author does not have an image uploaded, you won’t see anything.

So, assuming:

  1. you have uploaded photos of your author(s) to the Images tab
  2. you have created thumbnails for them
  3. you have set up a bio item of type Image, called ‘photo’ in the Bio Config tab
  4. you have associated an image with the author(s) on the Admin->Users tab

you then need to decide how you are going to display the information. If you put smd_bio_info inside a <txp:article_custom /> tag, or a <txp:article /> tag on a list/landing page then you can get the bio info for each author in turn alongside the other tags in your form/container.

Alternatively you can explicitly specify one or more authors using the author attribute. You could also use author="SMD_PRIVS:2:3" to get the bio info for all Managing Editors and Copy Editors. Does any of that help you?


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#34 2009-12-01 18:51:45

kuro
Member
From: Mexico City | Mérida, Yucatán
Registered: 2005-08-26
Posts: 73
Website

Re: smd_bio : store additional biographical info about your users

Bloke wrote

you then need to decide how you are going to display the information. If you put smd_bio_info inside a <txp:article_custom /> tag, or a <txp:article /> tag on a list/landing page then you can get the bio info for each author in turn alongside the other tags in your form/container.

let me explain it (that was the first thing i didn’t before):

i wanna show just the image thumbnail for every author in the metadata :
<p class=“autor”>
<txp:smd_bio_info items=“image” label=”“> <txp:image id=”{smd_bio_photo}” />
</txp:smd_bio_info> | <txp:smd_bio_info items=“RealName” label=”“ /> This part is fine! | </p>

i did all the steps for plugin (even i saw the permission for chmod in the folders [tmp and images folder]) . .
Thanks for your quick answer. :D

Last edited by kuro (2009-12-01 18:53:56)

Offline

#35 2009-12-25 09:42:42

Siguo
Member
From: Beijing, China
Registered: 2008-05-22
Posts: 44

Re: smd_bio : store additional biographical info about your users

mmm……doesn’t work. :(

I have install and active it, but doesn’t work. it’s the only one plugin.

the extension tab’s url become

……/textpattern/index.php?event=smd_bio

and can’t open the extension tab.

Last edited by Siguo (2009-12-25 09:43:44)

Offline

#36 2010-01-15 14:55:21

Rodin
New Member
From: Latvia
Registered: 2010-01-15
Posts: 2

Re: smd_bio : store additional biographical info about your users

Hello!

Great plugin! Thank you!

Is it possible to make an author to edit his information himself? For example, I have an author with 4th permission privileges and when he enters admin side he can edit only his email and change password. So, is it possible to make him edit his smd_bio fields himself? Which line in your plugin I should change or add ?

Thanks!

Offline

Board footer

Powered by FluxBB