Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Remotely Hosted Avatars Details »»
Remotely Hosted Avatars
Version: 1.00, by nabeel nabeel is offline
Developer Last Online: Feb 2008 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-06-2002 Last Update: Never Installs: 18
 
No support by the author.

It works on my 2.2.6 board, I'm not sure about 2.2.7, most likely will work

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

The other remote avatar hacks I've tried didn't work, so I decided to do it myself

Have Fun, if there's any problems, ask.
Make a backup of the files before you mod them, I'm not responsible for any damages

Show Your Support

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

Comments
  #12  
Old 09-08-2002, 11:12 PM
Unknown553's Avatar
Unknown553 Unknown553 is offline
 
Join Date: Oct 2001
Location: Las Vegas, NV, USA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I finally got around to installing this, and it actually works. I've been trying for weeks to get avatars working (stupid server) but to no avail, but this hack did the trick, thanks!
Reply With Quote
  #13  
Old 09-09-2002, 03:47 AM
Storm's Avatar
Storm Storm is offline
 
Join Date: Mar 2002
Location: RPG Palace Control Panel
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this hack work with the welcome panel?
Reply With Quote
  #14  
Old 09-09-2002, 09:43 AM
nabeel nabeel is offline
 
Join Date: Jun 2002
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it should, i havent looked at the welcome panel. ill download it and take a look
Reply With Quote
  #15  
Old 09-20-2002, 08:08 AM
Odil Odil is offline
 
Join Date: Apr 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this remove the ability to be able to upload avatars to the database at all? I would like that option avaiable still.

Thanks

Odil
Reply With Quote
  #16  
Old 09-20-2002, 01:27 PM
aLuCaRD aLuCaRD is offline
 
Join Date: Jun 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I undo this query..?

Code:
ALTER TABLE `fragblast`.`user` ADD `avatar2` TEXT NOT NULL;
I adjusted it to the database I wanted to modify but upon further looking it seems this has mess with the way my welcome panel shows avatars..?

Anyhelp would be apreciated, thankyou.
Reply With Quote
  #17  
Old 09-20-2002, 05:04 PM
nabeel nabeel is offline
 
Join Date: Jun 2002
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Odil
Will this remove the ability to be able to upload avatars to the database at all? I would like that option avaiable still.

Thanks

Odil
yeah itll remove it

to undo the query, replace ADD with DELETE, i think

i still havent had a chance to look at the welcome panel, but i dont think it will cause any problem
Reply With Quote
  #18  
Old 09-20-2002, 11:38 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by aLuCaRD
How do I undo this query..?
Code:
<?php
error_reporting(7);
require('./global.php');

cpheader('Run a Query');

$doquery="ALTER TABLE `fragblast`.`user` ADD `avatar2` TEXT NOT NULL";

$DB_site->query($doquery);

echo 'Query successful.<br><font face="Courier New" size="1">' . $doquery . '</font>';

cpfooter();
?>
save it to a file, called runquery.php, upload it to your /admin folder and run it.
any hacker should include this type of extra hack to make everyone's life easy.

some of us will never install phpmyadmin (i dont) just to run little queries like that, when they can be done with vBulletin.
Reply With Quote
  #19  
Old 09-29-2002, 02:39 PM
Rushy Rushy is offline
 
Join Date: Apr 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Editing Avatars

I have installed the hack and it works fine ut there is no way to edit/remove an avatar from a user in the admin CP. Any ideas?
Reply With Quote
  #20  
Old 10-03-2002, 08:57 AM
aLuCaRD aLuCaRD is offline
 
Join Date: Jun 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by TECK

Code:
<?php
error_reporting(7);
require('./global.php');

cpheader('Run a Query');

$doquery="ALTER TABLE `fragblast`.`user` ADD `avatar2` TEXT NOT NULL";

$DB_site->query($doquery);

echo 'Query successful.<br><font face="Courier New" size="1">' . $doquery . '</font>';

cpfooter();
?>
save it to a file, called runquery.php, upload it to your /admin folder and run it.
any hacker should include this type of extra hack to make everyone's life easy.

some of us will never install phpmyadmin (i dont) just to run little queries like that, when they can be done with vBulletin.
This will add it wont it..? I want to delete "avatar2" as now my avatars arent working. (2.2.7)
Reply With Quote
  #21  
Old 10-31-2002, 03:43 AM
ButtKnocker ButtKnocker is offline
 
Join Date: Oct 2002
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone tried this hack for VB 2.2.8? I'm not new to board hacking but I'm new to VB. My version 2.2.8 does not have a members.php. It has member.php and member2.php.

Also, the reason I am looking for this hack is because 2.2.8 has the option for custom avatars from a different url but it always gives a invalid jpeg and gif error. I'm not interested in hosting my own avatars (ie - having the actual files on my server). I'm interested in letting the users do the custom url avatar only.

I read a ton of threads on vbulletin.com about this subject but there seems to be no clear cut answer to why it will not work. Most of the answers are to fix the regular avatar problem of letting users upload their own or use the ones that the board admin hosts on his own server.

I believe I read something over there that the only way to get custom url avatars to work was to look here at vbulletin.org for the hack.

I guess my biggest question is why would VB put an option in there software that does not work without a hack?
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 01:23 AM.


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.04481 seconds
  • Memory Usage 2,309KB
  • Queries Executed 25 (?)
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_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • 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