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

Reply
 
Thread Tools
eRDM's Remote Avatar System v1.0 Details »»
eRDM's Remote Avatar System v1.0
Version: 1.0.3, by NolF NolF is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.0 Rating:
Released: 05-21-2008 Last Update: 05-28-2008 Installs: 14
Uses Plugins Auto-Templates
Re-useable Code Code Changes  
No support by the author.

eRDM's Remote Avatar System
Version 1.0



About this hack:
One of the most annoying features or lack of feature in vBulletin is the impossibility of having remote avatars as an option. For those who don't know it can be a security risk, so be responsible

With the introduction of 3.7 avatars have become a very important feature. They are being displayed at every corner, and using profile fields alone just couldn't cut it. Ugly questions marks everywhere was not nice.

Well worry no more, with this product you can have avatars almost everywhere without file or template edits. Unfortunately in this first release and due mainly to the lack of skills it will require a bit of work to set up initially, but is well worth the effort.

There is only one place unfortunately that will require a file edit. Unless someone discovers a work around or Jelsoft adds the apropiate hooks it will require the manual edit. Since it is in a rather hidden place (profile.php?do=buddylist) it should really be classified as optional.

Features:
Enables Remote Avatars in without file edits in the following places
  • Postbit(_legacy)
  • Memberinfo
    • Visitor Messages
    • Friendlist
    • Stats
    • Subtitute Profile Picture with Avatar
  • Memberlist
  • Picture Comments
  • Social Groups
Opcional: Enable Remote Avatars in Contacts & Friends

Installation information on hack
  • Files edited: 1 (optional)
  • Templates edited: 0
  • Files to upload: 0
  • Queries added: 0
  • Plugins used: 14
  • Time to install: 15 minute max



MAKE SURE YOU CLICK INSTALL!

You will get an email when a new version is released.

Show Your Support

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

Comments
  #2  
Old 05-22-2008, 05:38 PM
NolF's Avatar
NolF NolF is offline
 
Join Date: Nov 2006
Location: You don't wanna know
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FAQ
  • Q. Will it work in 3.6
    A. NO. It will not work in 3.6.x The hack uses many plugins not available in 3.6. However, maybe disabling the 3.7 plugins (for 3.7 features) postbit, memberinfo, and memberlist might just work.
  • Q. Will there be new releases?
    A. Yes. There will eventually a new version which uses vBulletin settings (variables) to determine the profile fields. This will make the hack userfriendly. Sadly I spent the last two days figuring the hooks out, so will leave this feature for next time.
    Suggestions, and omited avatar places, and bugs are more than welcome ^^
  • Q. Will it break my board?
    No. It shouldn't. however consider this modification in beta stage and work accordingly. ALWAYS backup before installing hacks.
  • Q. Is this hack supported?
    A. Yes. I'll try to give my best support.
    If it is an error or something not working, please make sure you hace followed the instructions carefully, and renamed the fields correctly. Otherwise post a picture and all the information you can regarding the problem.
  • Q. How do I disable the Avatar overwrite for the Profile Picture?
    A.
    Go to
    AdminCP > Plugins & Products > Plugin Manager >
    look for "Product : eRDM's Remote Avatar System"
    uncheck "Profile Picture (user avatar img)"
    Go down to the end of the page and press "Save Active Status"


Version History
Version 1.0.... 23/5/08

Version 1.0.1.... 23/5/08
  • Updated Install file. Steps are now named more clearly for reference purposes
  • Updated Avatar profile field expression to ^http://([A-Za-z0-9/.~_-]+)\.(jpg|gif|png)$|^$
Version 1.0.2.... 25/5/08
  • Cleaned up some redundancies in the code.
  • Added version checking capability
  • Fixed some minor spelling mistakes on the plugin names
Version 1.0.3.... 29/5/08
  • Updated instructions for profile.php edit to reflect 3.7.1
  • Simplified instructions for profile.php
  • Added another plugin to display Remote Avatars when posting AJAX visitor messages
Reply With Quote
  #3  
Old 05-22-2008, 07:14 PM
koolfire koolfire is offline
 
Join Date: Apr 2008
Location: vBulletin
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for sharing dude.. Will install when i upgrade to 3.7.0 GOLD.......
Reply With Quote
  #4  
Old 05-22-2008, 08:39 PM
lisss001 lisss001 is offline
 
Join Date: Mar 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My feature request is to allow avatars from a select domain only such as photobucket.com, this would reduce the security risk as files are also scanned by the free image host as they are uploaded, possibility for allowed image hosts only?
Reply With Quote
  #5  
Old 05-22-2008, 11:35 PM
NolF's Avatar
NolF NolF is offline
 
Join Date: Nov 2006
Location: You don't wanna know
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In order to only allow certain hosting sites, you would need to update the expression in the Avatar profile field box from ^http://([A-Za-z0-9/.~_-]+)\.(jpg|gif|png)$|^$ to whatever suits the hosting site you desire. Unfortunately I'm no good with this sort of rewrites. vBulletin gives a link to http://au2.php.net/manual/en/function.preg-match.php and explains the rewrite system.

What I would try to do, is identify the pattern with the host you want to allow, and match it in the expression. For example to allow photobucket only (not tested)

^http://[A-Za-Z][0-9][0-9]|.photobucket.com|([A-Za-z0-9/.~_-]+)\.(jpg|gif|png)$|^$
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:23 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.03926 seconds
  • Memory Usage 2,244KB
  • Queries Executed 18 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete