![]() |
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 |
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.
|
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 |
$def_default = '';
is that where the default path goes? |
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? |
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): PHP Code:
4) Did you also put content from /includes directory to your's place?? |
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. Code:
<img src="http://mysite.com/images/defaultgrav.gif" alt="" /> |
| All times are GMT. The time now is 04:56 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.