View Full Version : Addon: GeoS Gravatar Comments
Name:
GeoS Gravatar Comments
Description:
Displays gravatars (http://www.gravatar.com/) in comments.
It works under 1.4.2 (at this version was tested) with need of modificated /index.php and /includes/addons_lib.php upload. Current Pixelpost version (1.5dev) needs only addon file.
It use <GRAVATAR_COMMENTS> tag.
Addon details:
Version: 0.2
Added: 2005-09-24 04:38:05
Updated: 2005-09-29 18:00:00
Category: mod
Requires Pixelpost version -
Addon page:
http://pixelpost.org/v1/index.php?x=...ds&details=111
Download:
http://pixelpost.org/v1/devfiles/?id=111
lokjah
09-24-2005, 06:17 PM
sweet! thanks GeoS
the only thing I dont see is where we can code in the path to a default gravatar image for people who dont have a gravatar account...
maybe thats one of the things you are getting to after the weekend...
thanks again!
I forgot to write it in addon desc visible in admin section - default address is in addon code.
skennedy1217
09-26-2005, 01:17 AM
So this means I have to replace the index.php file to run the addon? I've made other mods to that file because of various bugs and don't want to lose them. Can I just cut and paste that section?
You can cut & paste. Best tool to find this places it some Diff stuff. Download oryginal index.php and compare with this from my mod. I remember 1 change (~ line 440).
PS At moment I added better desc of addon (which is visible in admin section). Now there is info, that addon settings are in the code of it (lines 55-59).
Have fun
lokjah
09-27-2005, 04:53 AM
$def_default = '';
is that where the default path goes?
lokjah
09-27-2005, 05:54 AM
hmm for some reason when I use <GRAV_IMAGE_COMMENTS>
None of my comments show up...maybe because I'm not using pop up comments?
http://aenonfiredesign.com/pp142/
also what does the first setting represent?
$def_gravatar = ' ';
doesnt the addon grab the email address from the comment form?
lokjah
09-27-2005, 06:02 AM
ok I can get the comments to show up if I replace <IMAGE_COMMENTS> on line 436 of your index.php file with <GRAV_IMAGE_COMMENTS>
but I'm not getting gravatars yet...
I also notice that pp is not recognizing the gravatars_comments.php at all, I can delete everything from that file and it doesnt affect the site, Ive added some span and classes to the li's and they dont get fed back to the html.
the last line of the add-on uses <GRAVATAR_COMMENTS> I tried changing that to <GRAV_IMAGE_COMMENTS> but it still didnt do anything....
1) You shouldnt modify index.php
2) In addon desc I made error. You should use <GRAVATAR_COMMENTS> tag instead of <GRAV_IMAGE_COMMENTS> (I finished adding on PP page this addon 15 minutes before I left home for weekend - rush was a reason of error). Sorry for that.
3) Default gravatar is set to (line 55 of /addons/gravatars_comments.php):
$def_gravatar = 'geos@pixelpost.org';
It is used for posts without gravatars as default. For rest of comments (with emails) it tries to use commenter email.
4) Did you also put content from /includes directory to your's place??
lokjah
09-29-2005, 05:05 AM
ah, i see you are using your gravatar account as the default image..
I was just wanting to hard code an image path to one on my site rather than needing to use a gravatar email for it.
<img src="http://mysite.com/images/defaultgrav.gif" alt="" />
lokjah
09-29-2005, 05:15 AM
hmm I redownloaded your revised addon folder and still not getting any gravatars or comments showing up, I wonder if its a php safe mode issue with the addons_lib.php?
1. Give me a link.
2. http://dev.geos.wzzone.com/ - here is same addon and works.
3. That isnt addons_lib.php issue if you copy it to /includes dir. It is necessary just like all files in my mod (for PP earlier then 1.5).
4. What is funny I see gravatars randomly, maybe gravatar.com have some problems (IMHO yes coz after login I see - "Gravatar.com is Down for Maintenance").
ah, i see you are using your gravatar account as the default image..
I was just wanting to hard code an image path to one on my site rather than needing to use a gravatar email for it.
<img src="http://mysite.com/images/defaultgrav.gif" alt="" />
Now is updated :D
lokjah
09-29-2005, 04:14 PM
sweet! thanks GeoS..
the link is the same one i posted earlier in this thread, from the dreamhost test installation
http://aenonfiredesign.com/pp142/
you'll see both images there have comments but they arent displayed....
and yeah addons_lib.ph is in my includes directory...
I was working on new DB (I dont know why) and that is why it was working.
Now it is in 100% clean from bug and works on your site.
PS Ive made next update of this mod.
lokjah
09-30-2005, 02:44 PM
sweet, think its finally gettin there for me, once i got the right combination of settings... thanks for the default link to a gravatar. I had to keep the first option of the email address blank for it to show my gravatar tho, not sure why...
tis gettin there tho:)
thanks GeoS
lokjah
09-30-2005, 03:31 PM
well, after implementing it more Its still not working right for me...
http://aenonfiredesign.com/pp142/index.php?showimage=2
if you refresh that page a few times you will get different gravatars, sometimes a plain black image, sometimes a gray one, sometimes the correct one.
buggy at the moment...
lokjah
10-01-2005, 02:42 AM
correct that, seems its what you said about the gravatar site is still true, not all the random gravatars are loading on the gravatar site either, as well as the other sites im using gravatars on...
As I wrote before:
Gravatar.com is Down for Maintenance
Logins are currently disabled due to site maintenance. Please check back at a later time.
That is why they works randomly (one time works and at other moment doesn't).
Tiestoo
11-21-2007, 12:08 PM
I would love to use this addon, but it doesnt work for me! I installed it (didn't replace index.php because of version 1.6.0. Also, I replaced <IMAGE_COMMENTS> in image_template.html with <GRAVATAR_COMMENTS>. But there is no image showing up in my comments. Can someone help me?
This is veryyy old addon and I dont know how big demand is to make some update stuff.
Maybe when PP 1.7 comes out, I'll try to find some free time and update it. Please PM me then.
Tiestoo
11-24-2007, 12:18 PM
Thx alot, I'll do that :-)
munthe
01-03-2008, 12:26 AM
I found this addon (http://www.schonhose.nl/pixelpost-addons/comments/) that might do the trick... I haven't tried it out thou.
Let me know if you try it
Dennis
01-04-2008, 11:27 AM
That addon will work. :D
Sirenon
07-31-2008, 06:42 AM
When I use the Geos Gravatar addon the comments appears three times: if there a two comments appears sis comments. Why?
Sirenon
07-31-2008, 09:53 AM
OK, I solved the problem.
So, is an update for this coming or?
Hi,
The addon download page is down? Please fix
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.