Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 01-19-2004, 06:43 PM
PakRat PakRat is offline
 
Join Date: Jan 2004
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Disabling Avatar Uploads?

Has anyone seen this type of hack for version 3?

https://vborg.vbsupport.ru/show...t=upload+avatar

This hack is for version 2. "This hack prevents remote avatars from being loaded into the database, it saved both bandwidth and space. Instead it'll load the avatar directly from the link the user gives"

I don't want users to upload avatars to my board, but I don't mind them having their own avatars (being downloaded from their own sites/storage).

From my visits to the official vb forums, they've said you can't disable the user upload in version 3, and a hack is mandatory if you want to do this.

Thanks!

Bill
Reply With Quote
  #2  
Old 01-19-2004, 11:46 PM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PakRat
Has anyone seen this type of hack for version 3?

https://vborg.vbsupport.ru/show...t=upload+avatar

This hack is for version 2. "This hack prevents remote avatars from being loaded into the database, it saved both bandwidth and space. Instead it'll load the avatar directly from the link the user gives"

I don't want users to upload avatars to my board, but I don't mind them having their own avatars (being downloaded from their own sites/storage).

From my visits to the official vb forums, they've said you can't disable the user upload in version 3, and a hack is mandatory if you want to do this.

Thanks!

Bill
Why is a hack needed for this?

Add a custom userfield in the admin control panel called "avatar" or anything you like.

Remember the field number (field4, field5, etc)

Add it to your postbit template <img src="$post[field4]" />

Then disable avatar's and you are done. Members would put the URL for their avatar in the Edit Profile section.
Reply With Quote
  #3  
Old 01-20-2004, 02:22 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it would require a hack to dbl check the size. and if its really an image
Reply With Quote
  #4  
Old 01-25-2004, 04:00 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone do this? I think many people will install this!
Reply With Quote
  #5  
Old 02-22-2004, 12:32 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
it would require a hack to dbl check the size. and if its really an image
If you can make it a hack integrated with the edit avatar page, I can pay you 10$ / 10?
Reply With Quote
  #6  
Old 02-23-2004, 03:07 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump................
Reply With Quote
  #7  
Old 02-23-2004, 08:44 PM
Dataforce Dataforce is offline
 
Join Date: May 2003
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm interested in this aswell - altho i'm prolly gonna look into converting the old one i got for VB2 to VB3
Reply With Quote
  #8  
Old 02-26-2004, 03:54 PM
Dataforce Dataforce is offline
 
Join Date: May 2003
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I suspect this is what you want?

https://vborg.vbsupport.ru/showthrea...219#post480219

it replaces remote avatar uplaod, with remote avatar linking
Reply With Quote
Reply

Thread Tools
Display Modes

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 01:05 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.04050 seconds
  • Memory Usage 2,222KB
  • 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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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