vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - [1e2] Gravatar as Default Avatar for users without image: auto generate random avatar (https://vborg.vbsupport.ru/showthread.php?t=262196)

mindhunter77 10-21-2011 07:09 PM

There seems to be a bug,

This did not happen when I initially installed this, but it started happening today, maybe Gravatar changed something?

When this mod is enabled on my forum, it causes quick replay to throw a "Do you want to leave this page, or stay on this page" for everyone using the quick reply.

I had to go one by one and through my mods disabling them until I found it was this one.

Someone else said that it may also show do to a mix of http and https in the url that is being pulled from gravatar, though I don't know that to be true.

galerio 10-21-2011 08:05 PM

1 Attachment(s)
The url of gravatars are all http, so if your forum is on https it can be a problem.
Please, try this attached version (import and overwrite). It uses the https for gravatar images (from http://www.gravatar.... to https://secure.gravatar...)

Please, let me know if it works.

galerio 11-29-2011 02:14 PM

Update for VB 4.1.8 and HTTPS version added for those boards that use https protocol.

kpuls 11-30-2011 02:48 AM

Quote:

Originally Posted by Zohhak (Post 2229672)
Can you give Support for adding gravatars to CMS-Widgets like "Recent Posts/Threads", too?

IMO it's to inconsistent, as it is now. Hopefully you find a way to automatically add gravatars to the templates, soon.

Galerio,

Thanks for the update today, and I'd like to second a vote for this. :)

Don't know if it helps, but the CMS widget for recent articles pulls from the following template: vbcms_widget_recentarticle_page

I'm just not sure what to edit there to implement the Gravatar call. If you could help with that one, I could try and roll it into the others and post back on the mods that need to be made.

galerio 11-30-2011 06:48 AM

Thanks kplus, I'll take a look into it.

kfyonur 11-30-2011 09:46 AM

Good mod,thanx

WebiMax 12-20-2011 08:20 PM

Works great, waiting on the automatic entries and CMS support, thanks for you help.

jorgejgm 01-22-2012 10:16 AM

Thank you. Work fine.

Small problem.

The path of the image in the facebook application is incorrect because the domain of forum is added to the route of gravatar.

Example. In app facebook the path of the image is:
http://myforumvbulletin.comhttps://secure.gravatar.com/avatar/XXXXXXXX

Any solution?

Thank you very much

galerio 01-22-2012 04:31 PM

@jorgejgm can you give more details? I can't understand the refering about facebook application. Can you give me an example link? (you can do it also in PM).
I have tried to login to your forum using the facebook connect, and I can see a regular gravatar in my profile, so I cannot see your problem.

jorgejgm 01-22-2012 05:48 PM

Thank you Galerio. Send PM.

Facebook app of vbulletin https://www.vbulletin.com/index.php?do=facebookapp (I explained very bad, sorry)

galerio 01-22-2012 07:02 PM

Thank you, I have seen the issue, but I don't have the Vbulletin Facebook App, so I can't see its source code and look for a solution. And I'm not going to purchase it by now. I'm sorry, but I can't give you support.

jorgejgm 01-25-2012 05:23 PM

Thanks Galerio. A shame.

jorgejgm 01-25-2012 05:40 PM

solved
In user_info.php (apps facebook)

Find:
PHP Code:

return vB_SITE_ROOT . (!empty($this->vb_avatarurl) ? $this->vb_avatarurl 'images/misc/unknown.gif'); 

and replace by:

PHP Code:

return (!empty($this->vb_avatarurl) ? $this->vb_avatarurl 'HTTP://YOURFORUM.XXX/images/misc/unknown.gif'); 


chikuru 02-26-2012 04:11 AM

Is this compatible with vb 4.1.10?

Thanks!

galerio 02-26-2012 09:01 AM

Yes it is, maybe I just need to update infos in txt file if you want gravatar also in sidebar and blog/cms, but it's a simple thing to do. I'll do it now.

Edit: added updated version compatible with 4.1.10

Kraxell 03-01-2012 03:37 PM

Mhm...not very effective because after every update the changes are lost. Is it possible to do that with templates?

galerio 03-01-2012 04:12 PM

Sorry, but there's no way to alter avatars in sidebar and blogs with a template change. It's something hardcoded in the source files.
But the avatars in showpost, profile and memberlist are already there also after an update.

w8baby 03-02-2012 06:30 PM

tried the edits in vb 4.1.11. works perfectly :). had to wait 5-10min for it to update sidebar

galerio 03-02-2012 06:59 PM

You should clean the sidebar block cache. Or wait for some hours.

postcd 04-08-2012 08:01 AM

Please can you make this mod so user can select from my custom avatars, nto gravatars (just adding another option in Mod config so i can set manually path to images.. (my def avatars directory)

thank you

galerio 04-08-2012 08:25 AM

I can't understand you. You mean an option to let users to disable gravatars so that their avatar will be choosen from your custom images in your avatar directory?
So, for example, I didn't select an avatar on your board, so the avatar is choosen randomly from a directory of your images on your server. Is this what you are asking for?
If so, this is not possible with my mod.

postcd 04-09-2012 06:18 AM

That is a bullshit, everything is possible when you want, this would substantially improve the mod. Better to say you dont want to make it, rather than saying bullshit like that you dont understand and its not possible in this mod.

galerio 04-09-2012 08:06 AM

Quote:

Originally Posted by postcd (Post 2318240)
That is a bullshit, everything is possible when you want, this would substantially improve the mod. Better to say you dont want to make it, rather than saying bullshit like that you dont understand and its not possible in this mod.

Ahah! So I've understood well what you mean, right?
Definitly, what you are asking for is a complete different mod. I haven't the skill to do it. So, take some book about php, sql and html, learn it, and then do it by yourself. And don't waste my time offending me. Ok guy? I've made this mod for free, I don't want to use all my time to make just you happy. So don't pretend what you can't.

postcd 04-10-2012 05:11 PM

Im not pretending, maybe You do. It is your thing, im just saying that what im wanting is making the script pick random avatar image from my vb forum folder and that many members would welcome this possibility. I just dont like saying "it is not possible in my Mod", you should say that you dont have time or you think it is not good idea. :-)

ru55ian 06-15-2012 08:10 PM

did anyone notice it stopped working as of today for some reason. I mean yesterday it was working and today instead of gravatar, just link shows up to the member's page.

galerio 06-15-2012 08:28 PM

On my forum it is still working.
Sorry, I'm very busy and I haven't installed 4.2 yet, so if the problem is related to the latest version of VB I need to do tests, but I can't do it now. Please, be patient.

Thanks

ru55ian 06-16-2012 12:46 AM

gravatar.com was down.... now it's back up and plugin started working again :-)

arrarrgee 06-16-2014 02:39 AM

Thanks Galerio. Works like a charm on 4.2.2

arrarrgee 06-21-2014 01:47 AM

Could someone please tell me the names of php to be edited to replicate the same changes for avatars in the main forum page and list of threads in a forum as well..
Thx
arr

arrarrgee 06-24-2014 08:10 AM

anyone...help pls.....

tim.liton 11-30-2015 01:46 PM

This is not working on 4.2.3. Shows no errors on installation but the gravatars are broken.

edit: fixed by changing 404 to retro. But, the digitalpoint avatars are not working now. They show blank.


All times are GMT. The time now is 10:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01169 seconds
  • Memory Usage 1,782KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (31)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete