Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#211 2012-06-01 10:08:29
Re: smd_bio : store additional biographical info about your users
Please try the latest beta version which fixes the newline issue in textarea value fields, and I’ve also found another way to check the collation which is not only less prone to errors, it saves a query too. Result!
Feedback gratefully appreciated as ever, please.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#212 2012-06-01 10:33:19
- Teemu
- Member
- From: Shanghai
- Registered: 2010-04-27
- Posts: 60
Re: smd_bio : store additional biographical info about your users
I can confirm newline issue in textarea value fields is fixed. Thanks again Stef!
Offline
#213 2012-06-03 03:52:34
- rsilletti
- Moderator

- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: smd_bio : store additional biographical info about your users
All looks well on the update.
Offline
#214 2012-07-31 13:37:48
Re: smd_bio : store additional biographical info about your users
Hi!
I have read the Parsing_Tag_Attributes on text boot and also the comment of johnstephens and Bloke but my code don’t work. It output nothing!
<txp:smd_bio_info author='<txp:comment_name />' items="sign" debug="1">{smd_bio_sign}</txp:smd_bio_info>
Obviusly, in a comments form and all comments users are registred.
Oooo!!! I’m stupid!!! <txp:comment_name /> it’s a link!!!!!
<txp:smd_bio_info author='<txp:comment_name lnk="0" />' items="sign" debug="1">{smd_bio_sign}</txp:smd_bio_info>
Now it’s work!
Last edited by MarcoK (2012-07-31 13:59:20)
Offline
#215 2012-08-26 10:41:06
Re: smd_bio : store additional biographical info about your users
Has anyone figure out a way to post data from mem_self_register straight into a smd_bio field?
I’m finally biting the bullet and converting my customised table of user data over to smd_bio – it seems to make sense as all of the work has been done for me (thanks Stef!).
The only problem I have is that I want to be able to enter a surname on the registration form. I’m using jQuery to create a username that is the firstname plus the first character of the surname. Of course, all of this works but the surname is now lost – someone has to go back in and re-enter it. Ideally, this could all be done in a single step, but I’m not good enough to figure out how to modify a plugin to post to two different tables.
Thanks for any ideas.
Offline
#216 2012-09-06 22:49:53
- cabes
- Member
- Registered: 2008-01-01
- Posts: 28
Re: smd_bio : store additional biographical info about your users
Hello! I want to have a couple specific authors report to another author, and I want the head author to be able to login using cbe_frontauth and see the information about the authors that are under them. I have all the login working and got it working to show just their articles, but cant seem to wrap my mind around how to get this to work. I have a field in smd user manager that called “reportto” where I enter the username of the author that they report to. This is what I have, but I think the logic must be wrong because it seems like I should define this in the bio_author field and not need the if_bio:
<txp:smd_bio_author author=“SMD_ALL”>
<txp:smd_if_bio field=“reportto” value=”<txp:cbe_frontauth_whois />”>
<txp:smd_bio_info fields=“name, RealName, department” labeltag=“dt” wraptag=“dl” break=“dd” />
</txp:smd_if_bio>
</txp:smd_bio_author>
I would greatly appreciate any help to solve this!
Thanks,
Caleb
Offline
#217 2012-09-07 06:40:40
Re: smd_bio : store additional biographical info about your users
Caleb,
I can’t respond to your question, sorry, but I am intrigued with your authoring setup. Can you describe that a little more from a conceptual point of view? What exactly is your editorial workflow and how does that structure with smd_bio fit into it?
Offline
#218 2012-09-07 11:01:45
- cabes
- Member
- Registered: 2008-01-01
- Posts: 28
Re: smd_bio : store additional biographical info about your users
I should probably be using something other than textpattern to do this, but I thought I should give it a shot since I like it. I am trying to build a mini portal for teams, which are comprised of a team leader, team members, and then clients assigned to each team member. There are only about 2 or three clients per team member, so its really not too huge. I want each person to be able to login on the front end and see the basic data for their subordinates, as well as any information specifically for them. I have assigned permission levels for each group and can do some sorting that way, but its not very useful for specificity. So I made the reportto field in smd_bio and am trying to use that to link users to other users. Does that make any sense?
I got the specific information working by just allowing the team leader to make articles with the information, and changing the author to point to the right person. Then I just show only show the user logged in its own articles.
I could put the client information for each team member in those articles, but since it is basic information I could already have entered into smd_bio, it would be nice to just change the “reportto” field to a different username and it automatically show up when the team member.
If I can figure this out, then hopefully it will work the same for the team leader, and they will be able to see all the basic information for their specific team members. So like a little tree hierarchy.
Thanks!
Caleb
Offline
#219 2012-10-13 21:12:56
Re: smd_bio : store additional biographical info about your users
hello steph
I play with smd_bio 0.4 beta and I noticed a small bug with attribute wraptag :
<smd_bio_info wraptag="div" class="youpi">
result:
<div class="youpi">
<div class="youpi">
content
</div>
</div>
The “wraptag” is doubled
Offline
#220 2012-10-15 13:22:53
Re: smd_bio : store additional biographical info about your users
hello Steph,
Another strang behavior (0.4 beta).
Since update 4.5 (4.5.1 (r4105)), I can not display a newly created field:
I created a field called website type url.
website is created in the table and smd_bio_meta and information entered are stored in the smd_bio table.
But impossible to display informations on the front with {smd_bio_website} or <txp:smd_bio_data field="website" />
No problem with field created before update…
————
And I think we should review the html tagging for a better integration with the new back office
Offline
#221 2012-10-15 13:28:51
Re: smd_bio : store additional biographical info about your users
sacripant wrote:
impossible to display informations on the front with
{smd_bio_website}or<txp:smd_bio_data field="website" />
Thanks for the report and the one about the double wraptag. I’ll look at these this afternoon for you.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#222 2012-10-31 18:22:50
Re: smd_bio : store additional biographical info about your users
Hi Stef!
I need to do this:
Show a list of writers (columnist) in front page, (title of the article, photo and name of the author).
I did this:
<txp:smd_bio_info fields="foto" label="">
<txp:thumbnail id="{smd_bio_foto}" />
</txp:smd_bio_info>
<txp:author link="1" section="opinion" /><txp:title />
In front page I see 7 times the photo of the author, and I don’t know how to limit to 1, the articles per author. Can you give me a hand with this?
Last edited by robhert (2012-10-31 18:23:37)
Offline
#223 2013-01-31 22:36:04
Re: smd_bio : store additional biographical info about your users
It appears a checkbox(es) widget does not work. Is it meant to on the front-side? It accepts comma separated values and shows the corresponding number of checkboxes under the smd_bio tab but on the front of site, using a widget, I get only only checkbox which does nothing.
Anyone know a way to get these checkboxes working on the front-side? I feel like I’m missing something obvious here. Thanks y’all.
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
#224 2013-02-24 14:09:40
Re: smd_bio : store additional biographical info about your users
New to this plugin so maybe I’m missing the obvious – I’m trying to output the author image in an author list page. So far, all items are displaying except the image.
Using 4.5.4 with smd_bio 0.3.1
Bio Config values:
| Name | Title | Type | Size | Value |
|---|---|---|---|---|
| image | image | Image | 60,60 | (empty) |
When I visit the Users tab, I see two image fields – one is a text field titled “image” and the next is a select dropdown with a list of all the images in TXP. Choosing an image and pressing “save” results in the image apparently not being saved.
On the front side I have:
<txp:smd_bio_info items="image">
<txp:thumbnail id="{smd_bio_image}" />
</txp:smd_bio_info>
Not sure if I missed something?
Last edited by jstubbs (2013-02-24 14:10:23)
Offline
#225 2013-02-25 10:16:56
Re: smd_bio : store additional biographical info about your users
jstubbs wrote:
Not sure if I missed something?
You’ve not missed anything — the plugin is in dire need of a remodel for 4.5.x. Even the current beta 0.40 doesn’t save stuff properly because jQuery has changed, the HTML is all over the place, etc. I’ll try to do it today and get a new version available, sorry for the lackadaisical attitude to my plugins of late.
Last edited by Bloke (2013-02-25 10:17:14)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline