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)
-   -   Mini Mods - CRON : Force avatar on all with none set, including old users (https://vborg.vbsupport.ru/showthread.php?t=251780)

Vaupell 10-06-2010 10:00 PM

CRON : Force avatar on all with none set, including old users
 
1 Attachment(s)
Force avatar on users with none
released on 07-okt-2010

Require :
This mod require the forum to have atleast 1 avatar installed.

About :
Was tired of users with no avatar, and the "default avatar" addon
didnt add avatars so other mod's could use them.. this does add
avatars just as if the user selected one.

Via cron adds avatar defined by administrator on all users.

Possible to set which avatar users get.
Possible to exclude sertain usergroups, by default admin,mod and sup admin are excluded.

Demo 's:
Kinda hard, cause its a cron job, with a default timer set for 10 minuttes between
updates..

Im running it on this site ( Tebt ) but there is nothing to see,
users will just get a avatar (real avatar) so its possible to fetch_avatar_url
for other mods.

Download :
Attachment 122628

History :
07-okt-2010 : Version 1.0 Released


Changelog :


Installation instructions :
1) upload the files
1a) read the readme.txt
2) import the product

Uninstall :
1) uninstall the product file
2) delete the file in ./includes/cron/

Plans for furture upgrades + bug's found :
- no plans

ozzy47 10-07-2010 08:56 PM

I installed product, set it up, ran the cron but I don't see the avatar displayed in any of the mods that call to the avatar?

Vaupell 10-07-2010 09:15 PM

Quote:

Originally Posted by ozzy47 (Post 2107869)
I installed product, set it up, ran the cron but I don't see the avatar displayed in any of the mods that call to the avatar?


Do you call avatar via fetch_avatar_url() or do you simply link profile picture..
entirely different things.. ?

Did you also make sure that the avatar you set in settings EXIST ?

tryed it on 3 different sites, one windowsbox, unixbox and normal freebsd. servers.
what it does, is to actually change the avatarid which means if you dont see
anything, then the avatarid is set wrong!

please be more specifik when reporting a problem, or link,
does your database user table under avatarid have any 0's ?

after running the cron job.. if looking on Cms board are you watching
your browsers cache or site cache instead of live ?

S S0DEN 10-09-2010 11:20 PM

How about you explain it a little better? Fetch what url and where? If you need to define something else with the admin cp or template, you need to include that in your instructions.

Vaupell 10-10-2010 07:07 AM

Quote:

Originally Posted by S S0DEN (Post 2108546)
How about you explain it a little better? Fetch what url and where? If you need to define something else with the admin cp or template, you need to include that in your instructions.


There is nothing to explain things from the manual!
but here you go! this have nothing to do with this mod,
but this mod allows this function to actually work.

Quote:

Originally Posted by fetch_avatar_url()

Fetches the URL for a User's Avatar
  • return: Information regarding the avatar
array fetch_avatar_url (integer $userid, [boolean $thumb = false])
  • integer $userid: The User ID
  • boolean $thumb: Whether to get the Thumbnailed avatar or not





And all it does is update the database via cron
from checking users if they have avatar or not.

arrow816 12-31-2010 10:38 PM

Hello,
I am using 4.1.0 PL2..

I have installed this and it does not seem to be actually setting avatars to every one. We have one installed avatar in our system and the cron folder has been uploaded to the correct directory

Juggernaut 01-01-2011 08:26 AM

It doesn't seem to work, on your site as well there are a few users without avatars

ahobilam 10-18-2011 06:46 PM

Nothing found after install.
I found in the VB option it was mentioned as user ID 1 to get changed but which is for Administrators.
I changed it to 2 which is for Registered users always members will be in large count in this ID.

I found no change.

Manoel J?nior 10-19-2011 03:31 PM

Not functionally!!!

doubleclick 05-11-2012 08:08 AM

Just installed it. Doesn't work. Came here for help, and I see the last reply for help was in 2010.

What exactly is the criteria for a mod to get the big blue "Supported" checkmark at the top of a mods page?


All times are GMT. The time now is 03:12 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.01089 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)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
  • (10)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