Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

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

#37 2005-07-22 21:15:08

lcidw
New Member
From: The Netherlands
Registered: 2004-06-12
Posts: 8
Website

Re: Plugin: glx_gravatar

I guess i’m doing something wrong. I do have the 1.0rc3 Rev180, and inserted <code><txp:glx_gravatar /></code> in the form: comments (not comment_form).

Here is what the comments form looks like now..

<code><ol class=“commentlist”>
<li class=“alt”>
<div class=“lightblue”><txp:glx_gravatar /><txp:comment_name /> says:
<br />
<small class=“commentmetadata”><txp:comment_permlink><txp:comment_time /></txp:comment_permlink></small>
</div>
<br />
<txp:message /><br />
</li>
</ol></code>

But nothing changes, all the comments are just like they where before..

Last edited by lcidw (2005-07-22 21:16:43)

Offline

#38 2005-07-22 22:35:23

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plugin: glx_gravatar

Have you switched the plug-in on?? :)

I also note that you have the “ol” in the form. I don’t think that’s right. The “ol” is hard-coded and the way you have it you will have an “ol” for every comment which will all be inside the hard-coded “ol”.

Last edited by thebombsite (2005-07-22 22:41:51)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#39 2005-07-22 22:49:41

lcidw
New Member
From: The Netherlands
Registered: 2004-06-12
Posts: 8
Website

Re: Plugin: glx_gravatar

Well, see http://www.onedot.nl/blog/whieee-keyboard#commentaar

I removed the ol tags, and it seemed that it is all in the CSS of the MX4 template (from textpattern.org).

But still, having the tags removed making it all look bad, still didn’t show the gravatar.

Of the 3 posts, and 3 numbers, you see there.. removing the ol or changing it to something else like p, it will show 6 numbers, the post and the space between it seems.

Last edited by lcidw (2005-07-22 22:52:09)

Offline

#40 2005-07-22 23:09:30

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plugin: glx_gravatar

OK. No problem. It’s just unusual to nest them like that. The plug-in is definitely switched on because the code is showing in the source so why don’t they show? I’ll have to think. Let me get used to your CSS.

In the mean time you seem to have not closed a “p” tag for your “more” link?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#41 2005-07-23 01:16:17

lcidw
New Member
From: The Netherlands
Registered: 2004-06-12
Posts: 8
Website

Re: Plugin: glx_gravatar

Thanks :)

Actually it was a nested p tag, to get the more thing working: <code><p id=“more”><txp:body /></p></code> But since the body gets the p tags, it was double. Excerpts seem to get them too now. So i removed the whole more code, and the extra p tags. Looks a lot cleaner now.

I would be damn glad if you can find the problem with the Gravatar :)

Last edited by lcidw (2005-07-23 01:17:16)

Offline

#42 2005-07-23 01:28:17

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plugin: glx_gravatar

First thing you need to do is add – class=“gravatar” – to your gravatar tag. See what happens.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#43 2005-07-23 01:34:30

lcidw
New Member
From: The Netherlands
Registered: 2004-06-12
Posts: 8
Website

Re: Plugin: glx_gravatar

I believe that did it! At least, there are little squares now in front of the names at the comments. Doesn’t someone without a Gravatar account get a random Gravatar? Cause then i’ll find one :)

Offline

#44 2005-07-23 01:43:04

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plugin: glx_gravatar

No you have to create one and upload it to your images directory then add default=“full/path/to/image” to the tag. You can also use size=“40”. I believe 40px is the default but if it’s there you can adjust the size to suit your layout

Last edited by thebombsite (2005-07-23 01:43:33)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#45 2005-07-23 01:48:28

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plugin: glx_gravatar

As I have a Gravatar I’ve popped a comment in so you can see it working. By all means delete it when you’re sorted.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#46 2005-10-17 12:02:11

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

Re: Plugin: glx_gravatar

hi all, i took ownership of this plugin and made some minor updates. you find more information over here in this thread ;)

greetings
patrick


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

Offline

#47 2006-07-08 10:11:28

Romuald
Archived Plugin Author
From: France (69)
Registered: 2005-03-01
Posts: 20
Website

Re: Plugin: glx_gravatar

Nice plugin !
I’ve modified a few for the ‘alt’

<code>alt=“Gravatar de ‘.$thiscomment[‘name’].’”
</code>

There’s automaticely the alt with the name of the comment.

Offline

#48 2006-07-13 22:49:13

Brutal
Member
Registered: 2005-01-28
Posts: 14

Re: Plugin: glx_gravatar

Is there any way to make the plugin use a cache for the images?

Offline

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

Board footer

Powered by FluxBB