Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
CRON : Force avatar on all with none set, including old users Details »»
CRON : Force avatar on all with none set, including old users
Version: 1.00, by Vaupell Vaupell is offline
Developer Last Online: Jan 2015 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.6 Rating:
Released: 10-06-2010 Last Update: Never Installs: 11
Uses Plugins
Additional Files  
No support by the author.

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 :
avatarchanger.zip

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-07-2010, 08:56 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #3  
Old 10-07-2010, 09:15 PM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
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 ?
Reply With Quote
  #4  
Old 10-09-2010, 11:20 PM
S S0DEN's Avatar
S S0DEN S S0DEN is offline
 
Join Date: Jul 2006
Location: Ft Carson
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 10-10-2010, 07:07 AM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by S S0DEN View Post
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.
Reply With Quote
  #6  
Old 12-31-2010, 10:38 PM
arrow816 arrow816 is offline
 
Join Date: Mar 2010
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 01-01-2011, 08:26 AM
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Location: California
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't seem to work, on your site as well there are a few users without avatars
Reply With Quote
  #8  
Old 10-18-2011, 06:46 PM
ahobilam's Avatar
ahobilam ahobilam is offline
 
Join Date: Aug 2011
Location: Chennai, India
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 10-19-2011, 03:31 PM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not functionally!!!
Reply With Quote
  #10  
Old 05-11-2012, 08:08 AM
doubleclick doubleclick is offline
 
Join Date: Jul 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:17 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.04289 seconds
  • Memory Usage 2,306KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete