Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-27-2006, 10:16 AM
Rawhide Rawhide is offline
 
Join Date: Oct 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Remote/offsite avatars in vB 3.6.2

I know this has been requested many times before with no results, and I know all the arguments against it, but this is a feature that is absolutely integral to our community.

We're looking for a modification for vB 3.6.2 that will allow people to use remotely hosted/offsite avatars. We are using the legacy postbit. We would like it to have at least as many security checks as using the [img] tag in posts. We don't care if people change the avatar after they have linked to it. We will be forcing any avatars not already 117x117 pixels to be resized to 117x117.

Would there be someone willing to code such a modification for the plugin/hooks section or can someone point me to all the code that I need to change so I might do this myself?
Reply With Quote
  #2  
Old 10-30-2006, 07:01 PM
Rawhide Rawhide is offline
 
Join Date: Oct 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just to clarify, by resizing I mean using the html code to resize the image, not actually physically resizing it. A 10mb 1024x768 image will still be 10mb and 1024x768, it will just be displayed as 117x117.

Thanks
Reply With Quote
  #3  
Old 11-02-2006, 10:41 AM
Rawhide Rawhide is offline
 
Join Date: Oct 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the most recent version I can find. Has anyone created one for the latest version of vB using the Plugins & Products manager? Would this version from 3.0.0 RC4 be easy to adapt?

https://vborg.vbsupport.ru/showthread.php?t=61948
Reply With Quote
  #4  
Old 11-06-2006, 10:58 AM
Rawhide Rawhide is offline
 
Join Date: Oct 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've looked into this further, and it may be possible to do this with templates and a custom field.

I've alread done a basic modification on our dev forum, but I'd like it to check that the link entered has no html commands, no symbols (ie. <, > and especially ? - don't want any dynamic scripts) and is a valid image file. Dimension checking is not required as we are willing to force the size to be 117x117.
Reply With Quote
  #5  
Old 11-16-2006, 12:38 PM
Rawhide Rawhide is offline
 
Join Date: Oct 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have written a template modification for this myself:
https://vborg.vbsupport.ru/showthread.php?t=131706
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 06:08 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.03700 seconds
  • Memory Usage 2,191KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)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
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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