Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Manoel - Random Avatar Details »»
Manoel - Random Avatar
Version: 1.00, by Manoel J?nior Manoel J?nior is offline
Developer Last Online: May 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 10-02-2011 Last Update: 10-02-2011 Installs: 30
Uses Plugins
Re-useable Code Translations  
No support by the author.

*OVERVIEW*

This plugin will make a random default images avatar show for all users if the user does not have an avatar. This works in the postbit. It uses the image "images/avatars/patch_images/" by default, which is used in several locations for the same purpose, and works on vB 3.6+ and vB 3.8.x. This is editable in the Admin CP.

Other version for 3.8.x. Click Here

Use images with:

- sequential numbers
- support extensions: gif|png|jpg|jpeg

* INSTALLATION *

1- Upload your images with sequential numbers for you directory images.
2- Import the product XML file (product-mnl_random_avatar) into the Product Manager in AdminCP.
3- Set the options in Manoel Random Avatar.
4- Make sure this add-on is marked as 'Installed' on vBulletin.org!

Download Now

File Type: xml product-mnl_random_avatar.xml (3.0 KB, 234 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
Sayid, thang28101993, X-or

Comments
  #12  
Old 12-22-2011, 02:02 AM
fmsx fmsx is offline
 
Join Date: Dec 2011
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Manoel J?nior View Post
Describe what you put in the product options.
I uploaded the XML

what do you mean product options... I set it to a directory that contained images
/images/avatars but it's not assigning images to other members

do you know why?
Reply With Quote
  #13  
Old 04-08-2012, 07:58 AM
postcd postcd is offline
 
Join Date: Feb 2012
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

i have just installed your Mod and set path to my images in mod config (images/avatars/avatarpack/ set 235 images and tried to sgnup new user account.

But user shows standard, selected no avatar. Please what can i do another way?

I would like to ask you to modiffy this Mod to randomly select from any images in folder, not numbered images?
Reply With Quote
  #14  
Old 06-19-2012, 06:04 PM
pokusek pokusek is offline
 
Join Date: Oct 2010
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, awesome plugin.

I would appreciate whowing random images in my sidebar and in the forumdisplay template.
Reply With Quote
  #15  
Old 06-20-2012, 12:00 AM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pokusek View Post
Thanks, awesome plugin.

I would appreciate whowing random images in my sidebar and in the forumdisplay template.
I will update product!
Reply With Quote
  #16  
Old 06-20-2012, 12:27 PM
DocZaius DocZaius is offline
 
Join Date: Mar 2011
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't work.

I have the avatar images sequentially numbered 001.gif, 002.gif, etc. Is that the correct way to name them?
Reply With Quote
  #17  
Old 06-20-2012, 12:50 PM
DocZaius DocZaius is offline
 
Join Date: Mar 2011
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BaanFarsang View Post
Code:
Parse error: syntax error, unexpected ':' in /home/baanfars/domains/baanfarsang.com/public_html/includes/class_postbit.php(340) : eval()'d code on line 346
I got this error, too.
Reply With Quote
  #18  
Old 07-22-2012, 05:15 PM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please, screenshoot.
Reply With Quote
  #19  
Old 08-06-2012, 11:51 AM
dog-tag's Avatar
dog-tag dog-tag is offline
 
Join Date: Jan 2012
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this work with 4.2 ? It says vbulletin 4 above, but the OP doesn't mention 4.2.
I think this plugin is a great idea, and should be default with VB.

Tried this and it doesn't work for me. I don't receive any errors but none of the defaults change.
Reply With Quote
  #20  
Old 12-29-2012, 12:53 PM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Work perfect in vBulletin 4.2.x
Reply With Quote
  #21  
Old 01-25-2013, 08:59 PM
aryung aryung is offline
 
Join Date: Jan 2011
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it did nothing on my 4.2
BTW you may use Random ID instead of numbered images as each avatar have its ID
it will include all extension types and names of images
Reply With Quote
Reply


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 04:38 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05870 seconds
  • Memory Usage 2,333KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_code
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete