The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
Hi all
Well, I finally got the bugs zapped, and am releasing v0.9 What's done:
This means that private avatars will be available, but the admin will have to upload it and rename it to $userid.gif for it to show up in a user's options. What's coming up for v1.0?
Instructions for applying this hack from scratch are available at http://www.moonwolf.net/cgi-bin/vb_m...structions.cgi Those of you who have already applied v0.8, you only need to change: member.php user.php and the three templates: registeradult, registercoppa, updateprofile. You also need to run the following mini script to update the database fields: Code:
<?php require("./global.php"); $DB_site->query("ALTER TABLE user ADD avcustom SMALLINT (6) DEFAULT '0' not null "); echo "Table 'user' updated<br>"; ?> You should be able to go through the instructions and spot where you need to change, but if people have problems upgrading, I'll post specific instructions up on my site on request. Here's hoping I remembered all the changes this time Kath Show Your Support
|
Comments |
#12
|
|||
|
|||
Hello,
I'm not trying to be pushy I was just curious what your expected release date was for version 1.0? Preferably the release of custom user images and byte size limitations. Thanks. |
#13
|
|||
|
|||
I don't know whether it will have any problem
when the uploaded user private avatar images have over 3000 or more in a single directory? Will it slow the server speed when too many files stored in a single directory? I had ever set 2 fields to store image-file-name and image-file-path (ex. image-file-path="1000-3000") when I had huge user image-files data uploaded! [Edited by PaulLin on 06-14-2000 at 11:40 AM] |
#14
|
|||
|
|||
One of the things I'm looking into with 1.0 is storing the custom images direct in the database itself, rather than as files.
Kath |
#15
|
|||
|
|||
Image files are often huge!
Will it not slow down the mysql searching speed when you put many image files in mysql database? You may get 1000 user images files uploaded and get 80mg file space used! |
#16
|
|||
|
|||
Hello,
Not if you use image magick and mogrify. http://www.imagemagick.org/ I use this for a gallery hack that Code Warrior made for the UBB. It will resize an image for you, thus lowering the KB of the image. Check out an example on my boards at: http://www.paintballcity.com/cgi-loc...owse&number=35 You'll see that all the images uploaded were copied to a thumbnail image around 90 x 90 so that users can get a preview of the users uploads and then click on them for the original image. It works great. I had to modify the code a bit to encode the file name if a space was in it but that was easy. Image Magick is great, but not many hosting companies will allow you to use it. I'm pretty sure Communitech.com does and some others though. I'm running on a dedicated so it makes it easier. |
#17
|
|||
|
|||
I'd still advise against storing the binary in the database.
Although databases are fast, it is much simpler for the web servers file system to serve up an image. You can still use mogrify to thumbnail it if you need to. IMO, just store the path (or filename) in the database, and use the call to find it, then the file system to retreive it. |
#18
|
|||
|
|||
For some reason, none of the avatars will appear in the select box for new registers. Any ideas?
They'll appear when you go to edit a profile, but not otherwise |
#19
|
|||
|
|||
Hi,
I am using vB 1.1.4. Apply the hack, I can choose the icon but it will not show up on post. It is blank? Got any ideas??? |
#20
|
|||
|
|||
<a href="http://www.vbulletin.com/forum/showthread.php?threadid=2127" target="_blank">http://www.vbulletin.com/forum/showt...?threadid=2127</a>
|
#21
|
|||
|
|||
Sorry about my absence, and what happened to this whole hack.
Basically, I had a life explosion (One loud enough to warrant three articles in the Washington Post about it, even), and am clawing my way out of it slowly but surely. So if there's still a need for this hack, I'll complete it. If not, I'll drop it Sorry again. Katherine |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|