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

Closed Thread
 
Thread Tools
Details »»

Version: , by Cocomiel Cocomiel is offline
Developer Last Online: Mar 2005 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-17-2001 Last Update: Never Installs: 17
 
No support by the author.

Custom Avatars As Files Hack for VB 2.2.1
BASED ON THE KIER'S HACK

Description: This hack lets you store custom avatars in a separate folder rather than in the VBulletin database, saving space & querys in your MySQL database

Here are some of the features:
  • Allows to switch between file mode & database mode on the fly
  • You can specify the custom avatar folder
  • No SQL queries or PHP code required to display custom avatars
  • If you use the Apache Web Server, the avatars folder can be protected by .htaccess thus preventing bandwidth stealing
  • No cacheing issues with Internet Explorer 5.5
  • All avatar options that are present when using the standard mySQL avatar system are still present, and users will not notice a difference in the interface.

Intructions:
Upload install_fileavatar.php to your ADMIN directory and open it in your browser, then follow the screen instructions.

Show Your Support

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

Comments
  #42  
Old 12-02-2001, 10:13 PM
atrl's Avatar
atrl atrl is offline
 
Join Date: Oct 2001
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Umm how do i fix that error Cocomiel
  #43  
Old 12-02-2001, 10:20 PM
Cocomiel's Avatar
Cocomiel Cocomiel is offline
 
Join Date: Oct 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please read the instructions, on Unix Systems you must chmod 777 the files, if the script says file xxx not modified maybe is because the file is already modified so you dont need to run it again. If you continue having problemas please post your php version/server platform etc
  #44  
Old 12-03-2001, 12:44 AM
ladyfyre's Avatar
ladyfyre ladyfyre is offline
 
Join Date: Nov 2001
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok....so maybe i am just dense here...but:

when i click the link to download install_fileavatar.php, it instead gives me a file called "attachment.php", which is an unreadable file. am i doing something wrong here?
  #45  
Old 12-03-2001, 12:55 AM
Cocomiel's Avatar
Cocomiel Cocomiel is offline
 
Join Date: Oct 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by ladyfyre
Ok....so maybe i am just dense here...but:

when i click the link to download install_fileavatar.php, it instead gives me a file called "attachment.php", which is an unreadable file. am i doing something wrong here?
In Fact, its unreadable. but can be executed anyway.
Its a compiled PHP file.
  #46  
Old 12-03-2001, 07:49 PM
derfelix derfelix is offline
 
Join Date: Nov 2001
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well i dont want to complicate things.. but when i execute the php file i get:
Parse error: parse error in c:\apache\htdocs\install\install_fileavatar.php on line 13

wouldn't it be much easier to post the code...???
anyway if it integrates in vbull, it will open up.. or not???
  #47  
Old 12-15-2001, 04:25 PM
Streicher Streicher is offline
 
Join Date: Oct 2001
Location: Reinbek, Germany
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What happens with the custom avatar of a user, when I delete the user? Is the avatar file also removed?
  #48  
Old 12-25-2001, 08:10 AM
lonely lonely is offline
 
Join Date: Dec 2001
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack worked beautifully!

Thank you so much!!
  #49  
Old 12-25-2001, 06:06 PM
Cocomiel's Avatar
Cocomiel Cocomiel is offline
 
Join Date: Oct 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

  #50  
Old 12-25-2001, 07:28 PM
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
Posts: 387
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cocomiel you haven't answered my question.

How is this hack different to Kier's hack? Why is there a need for a second hack if one already exists?
  #51  
Old 12-25-2001, 08:03 PM
Cocomiel's Avatar
Cocomiel Cocomiel is offline
 
Join Date: Oct 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bira, don't hesitate me, Kier's hack was for 2.0.0 or previous. Mine is for 2.2.1 and has different features ok ?
Although you and vb.org try to fool people putting 2.2.1 on the kier hack post (pumping the thread also) and later posting instructions with code from my hack trying to make it work with the newest versions of the VB

Please stop fooling people.

As consecuence of actitudes like yours, I have no posted all the other hacks i wrote for my VB. And im sure other people is doing the same.
Closed Thread


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 05:36 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.05578 seconds
  • Memory Usage 2,298KB
  • 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
  • (1)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
  • (4)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