Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2011-01-20 21:14:02
- alexandrebibliotecario
- Member
- Registered: 2011-01-20
- Posts: 22
the Gravatar plugin for textpattern
Hi!
I installed the plugin for gravatar, but it only shows the gravatar logo. Does anyone use this plugin too?
Offline
#2 2011-01-20 21:24:31
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: the Gravatar plugin for textpattern
Which one? It’s better to post questions about plugins in the plugin thread (just use the search to find it).
Offline
#3 2011-01-20 22:08:06
- alexandrebibliotecario
- Member
- Registered: 2011-01-20
- Posts: 22
Re: the Gravatar plugin for textpattern
Hi!
It is the glx gravatar.
But the thread is closed:
http://forum.textpattern.com/viewtopic.php?id=12059
Offline
#4 2011-01-20 22:55:49
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: the Gravatar plugin for textpattern
Oh, I think it was closed accidentally, I have re-opened it (link). Though the plugin is not maintained anymore, its users may be still subscribed to the topic, so maybe someone can help you out, if you post there.
Last edited by els (2011-01-20 22:58:00)
Offline
#5 2011-01-21 00:17:16
- alexandrebibliotecario
- Member
- Registered: 2011-01-20
- Posts: 22
Re: the Gravatar plugin for textpattern
Hi Els!
Thank you for re-open the thread.
I’ve found out this plugin in this link:
http://code.google.com/p/textpattern-plugins/wiki/GlxGravatar
It was updated on Oct 11, 2010.
I will post a topic in the glxgravatar thread.
Thank you again.
Offline
#6 2011-01-21 01:12:18
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: the Gravatar plugin for textpattern
alexandrebibliotecario wrote:
http://code.google.com/p/textpattern-plugins/wiki/GlxGravatar
It was updated on Oct 11, 2010.
Well, if you don’t get a reply here, you can always try and file a new issue there.
Offline
Re: the Gravatar plugin for textpattern
alexandrebibliotecario wrote:
Hi!
I installed the plugin for gravatar, but it only shows the gravatar logo. Does anyone use this plugin too?
Yes, I do and it is working fine for me, but you should remember that it will only display an avatar for a user if that user has registered one at www.gravatar.com otherwise it will simply show the “default” avatar that you are seeing. The user’s avatar will be registered against the user’s email address.
You can create a “default” avatar yourself if you don’t like the Gravatar version but you need to add it to the tag. Instructions are in the plugin’s help file.
Last edited by thebombsite (2011-01-21 13:32:45)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#8 2011-01-21 20:30:51
- alexandrebibliotecario
- Member
- Registered: 2011-01-20
- Posts: 22
Re: the Gravatar plugin for textpattern
Hi Stuart!
Could you copy and paste your code to me (us)?
Offline
Re: the Gravatar plugin for textpattern
This is something I’m currently using:-
<txp:glx_gravatar size="40" class="avatar photo" alt='<txp:comment_name link="0" />' />
Naturally you can change the gravatar display size (40), the classes and the alt to your own requirements.
You can also add default="path/to/default.jpg"
to use a default avatar of your own. Maybe something site-related.
I am using the “current” version, v2009.3, rather than the development version (it does say the development version might break).
Last edited by thebombsite (2011-01-21 22:42:44)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#10 2011-01-21 23:46:55
- alexandrebibliotecario
- Member
- Registered: 2011-01-20
- Posts: 22
Re: the Gravatar plugin for textpattern
Hi Stuart!
You forgot to tell me in what form you put this line.
This is what I have in my “comments display” form:
<h2 id=”<txp:text item=“comment” />”><txp:comments_invite textonly=“1” showalways=“1” showcount=“0” /></h2>
<txp:glx_gravatar />
<txp:comments />
<txp:if_comments_preview>
<div id=“cpreview”>
<txp:comments_preview />
</div>
</txp:if_comments_preview>
<txp:if_comments_allowed>
<txp:comments_form isize=“25” msgcols=“45” msgrows=“15” />
<txp:else />
<p><txp:text item=“comments_closed” /></p>
</txp:if_comments_allowed>
Offline
#11 2011-01-21 23:49:10
- alexandrebibliotecario
- Member
- Registered: 2011-01-20
- Posts: 22
Re: the Gravatar plugin for textpattern
My website is:
Pay me a visit and see that the plugin doesn’t work with me…
Last edited by alexandrebibliotecario (2011-01-22 23:24:21)
Offline
Re: the Gravatar plugin for textpattern
It needs to go into the comments
form template Alexandre.
The comments_display
form template simply controls the overall display and mechanics of the comments
and comment_form
blocks.
The gravatar needs to be in the comments
form itself as that is where it picks up the email address of the commenter.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline