Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/miklb/extended-user-info

Habari plugin that extends user information.
https://github.com/miklb/extended-user-info

Last synced: 10 days ago
JSON representation

Habari plugin that extends user information.

Awesome Lists containing this project

README

        

Extended User Info
==================

Habari plugin that extends user information with links for social media and a bio blurb.

Author: [Michael Bishop](http://miklb.com)

License: [Apache Software License 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)

Version: 0.1

### Usage ###

Currently the plugin extends for a Twitter URL, Facebook URL & a bio blurb. Since this plugin is extending the author info, simply using `$post->author->info->` for the three options.

* twitterurl
* facebookurl
* bioblurb

So to output the Twitter URL, `author->info->twitterurl; ?>`. You can extend that to check to make sure the option is set first using something like

```php
author->info->twitterurl ) ) { ?> Follow On Twitter
```