Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Plugin: glx_gravatar

#16 2005-05-08 16:40:22

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: Plugin: glx_gravatar

just to make sure, you activated the plugin yes?

Offline

#17 2005-05-08 17:07:30

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: Plugin: glx_gravatar

hehe ;-) just had to ask. can you provide any more info, like url/code/setup?

Offline

#18 2005-05-09 08:14:13

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

Re: Plugin: glx_gravatar

hehe, glad it could be solved :)


Johan Nilsson

Offline

#19 2005-05-10 05:19:37

lisamac
New Member
From: Barrie, ON Canada
Registered: 2005-04-27
Posts: 4
Website

Re: Plugin: glx_gravatar

Hey guys,

I think I have a weird, new problem. The gravatar IS working – I’m able to pull from gravatar just fine. Here’s the issue: whenever anyone posts a new comment ALL of the gravatars in the comments change to the most recent posting.

Have a look at http://www.lisamcmillan.com/journal/5/joy-to-the-world-the-comments-work#comment — feel free to play around in there. My site is in a constant state of testing lately. :-)

glx_gravatar Johan Nilsson 0.1 Gravatar
Textpattern version: 1.0rc3
Site URL: www.lisamcmillan.com
PHP version: 4.3.11
Register globals: 1
Magic quotes: 1/0
Server: Apache/1.3.33 (Unix) PHP/4.3.11

Passed all diagnostics.

I’ve tried editing the plugin to include only the md5’d email, no default, border, etc… still doesn’t work. I’ve turned off the default img so if you get a blank gravatar when using a non-gravatar’d email no worries.

Here’s my form:

<txp:zem_nth step="1" of="2"><div class="lineone"></txp:zem_nth> <txp:zem_nth step="2" of="2"><div class="linetwo"></txp:zem_nth> <txp:glx_gravatar class="gravatar" /> <p><txp:message /><br /> <small>&#8212; <txp:comment_name /> &#160;&#160; <txp:comment_time /> &#160;&#160; <txp:comment_permlink>#</txp:comment_permlink></small></p> </div> <hr style="clear:both;" />

Thanks for ANY information you guys can give me. I’m really wanting to get this working and I’m SURE I’ve just done something stupid. Feels like the email variable is sticking. I’m lost.

Cheers,
Lisa

Offline

#20 2005-05-10 07:25:33

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

Re: Plugin: glx_gravatar

Hey Lisa, my guess is that you have an old rc3, you need atleast rev180 to make this work

$thiscomment was added to rev142 but it wasnt until Andrew figure out what was wrong we could make use of $thiscomment.


Johan Nilsson

Offline

#21 2005-05-10 15:02:08

lisamac
New Member
From: Barrie, ON Canada
Registered: 2005-04-27
Posts: 4
Website

Re: Plugin: glx_gravatar

My hero! swooning – that did it! Thanks much Johan!

Lisa (forever indebted to you) McMillan

Offline

#22 2005-05-22 18:14:11

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: Plugin: glx_gravatar

nice to see this plugin available I’ll be using it eventually, however, I was wondering if this has to be used in the comments? That is the way I want to use it is for comments as well as below an article title, where the author name might bepresent.

So, it would display:

article title
gravatar image/author name

Is this possible with this plugin?

Thanks

Offline

#23 2005-05-22 19:49:27

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: Plugin: glx_gravatar

So your thought is for usage on a multi-author website? Interesting… I don’t think it’d be too difficult to adapt it for that sort of use.

Offline

#24 2005-05-22 19:55:43

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: Plugin: glx_gravatar

> Andrew wrote:

> So your thought is for usage on a multi-author website? Interesting… I don’t think it’d be too difficult to adapt it for that sort of use.

Just as you state, that is what I’m trying to go for. It would be a case of perhaps a 20px image for the comments area, but a 40px image for the author detail in the entry.

I guess first I need to get the author link working first!

Cheers

Offline

#25 2005-05-22 20:07:58

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

Re: Plugin: glx_gravatar

ahh, nice idea, maybe it could take a email adress as a argument instead of just using this tag in the comment form.


Johan Nilsson

Offline

#26 2005-05-22 20:16:21

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: Plugin: glx_gravatar

Well… you might have to get a little creative in order to make it work in a friendly manner. I don’t think $thiscomment exists at the time forms or templates are parsed, so you could just add an initial check to test for its existence and output in one of two modes, comment mode or article/author mode. Granted, that’s just off the top of my head so that could be flawed… just an idea.

Offline

#27 2005-05-22 20:34:46

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: Plugin: glx_gravatar

Here’s another gravatar related plugin that may or may not be of interest: http://txfx.net/2005/03/11/wp-gravatar-signup/ It allows a user to sign up for a gravatar at the comment page, althugh it’s WP only.

And here’s the WP implementation for a Post Author Gravatar: http://www.jamiephelps.com/cogentprose/postgravatar/

Hope that helps in some part (though probably not!)

Offline

#28 2005-05-23 07:19:19

osei
Plugin Author
From: Stockholm, Sweden
Registered: 2004-07-01
Posts: 178
Website

Re: Plugin: glx_gravatar

Andrew thats true, there must be a check somewhere, maybe it would be best to do a common garavatar function and then use diffrent tags, function to call that function, then you could easily add as many variations you want of the gravatar plugin?


Johan Nilsson

Offline

#29 2005-06-06 00:51:23

zenko
New Member
Registered: 2005-05-24
Posts: 2

Re: Plugin: glx_gravatar

Hi everyone, I am looking for some help into this, I hope someone can help me as I am lost here.
I implemented the gravatar plug-in just fine, it shows a default image or the user image if having one.

The problem is that i have live coments using AJAX, so the deal is, when seeing the coments live it does not show the gravatars, but when seeing the post itself it shows them, any ideas in how can I mix this so it shows gravatars all the time ?
I hope I explain myself clear, sorry for the bad english.

you can see an example of what I am talking about and test it yourself here:
http://www.nosoynormal.com/

If you click the post title you go and see comments with gravatars, if you click comments to see them live you don’t, any ideas ?

Thanks.

Offline

#30 2005-06-20 07:43:27

graumeister
Plugin Author
From: Ban Bang Por, Samui, Thailand
Registered: 2005-01-16
Posts: 167
Website

Re: Plugin: glx_gravatar

hi osei,

with gravatar not working (just now) i found some small problems with the plugin. the first is a warning by getimagesize (no gravatar available, no imagesize ;) which is easily killable with an @. but the plugin at all have no timeout or something like this. it needs very long on on articles with many comments to load the page. maybe it would be advisable to set a constant or something like this, if gravatar at the first request is not available, so the next time it is called, no request is send and maybe only the defaultavatar is served.

i had to disable the plugin for now – its very slow with no gravatar.com working ;)

greetings patrick


Samui? Samui! (about the life as farang in thailand)
David’s Neighbour

Offline

  1. Index
  2. » Archives
  3. » Plugin: glx_gravatar

Board footer

Powered by FluxBB