CopyCat, that's SWEET! Can I modify that for the official release package? Full credits to you of course - I'll have to modify it so it's Control Panel compatible, etc. but I'll like to use your code as a base!
also for the custom avatars, what happens if the user changes his public name, won't he also loose his avatar ? Shouldn't we use user numbers for custom avatars ?
just my 2 cents
also an other doc error, you ask people to make a dir named 'avatar' then in the paths of the config files the dir is 'avatars' not much but it might get people confused and they might not understand why it doesn't work.
Do you believe in love at first sight, or should I walk by again?
I've still got the Netscape bug, but I just installed this bad boy on ubb6 gold and it's probably the most professional hack i've seen.
kudos to qasic
Fear is the mind-killer. Fear is the little death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past me I will turn to see fear's path. Where the fear has gone there will be nothing. Only I will remain.
my other utility for the v5 avatar hack, the upload custom avatar, should be working fine with v6 too. its just a matter of changing the require ubb config file and a couple of ubb config variables used through the code. the hack can be found here
i would suggest you to use usernumbers for the custom avatar files, because weird user names can mess image file names, making some impossible to download. you can drop me an e-mail if you have any question about the code, as i think its very simple to understand (and its all commented through the routines). maybe the image file size module, that can be found at cpan.org, can be uploaded to the ubbs module folder for use with the code, but i didnt research to see if that can really be done. good luck .
Thank you for your custom avatar upload module. However, I will not be using it because at this time, I'll only be allowing admins to upload custom avatars.
Custom avatars at this time use login names but this will probably need to changed for the reason CopyCat mentioned.
Finally, I've created a work-around solution for the Netscape problem but unfortunately, I'm unable to provide a "good" solution to the problem If anyone who is good at HTML could help out, that'll be greatly appreciated!
Basically the layers are causing Netscape to stop input of all form elements coming after the layers. I've tried everything from changing the layer's sizes to width to putting them in tables without any real effect
give the admins the option of splitting the avatar page into many pages. If the admin checks no, the the option does not appear in the edit profile/registration pages.
For this reason, if someone has 100+ avatars, it'll take forever to load
My site once had almost 800 avatars and it took my staff member with DSL 11 min to load.
I don't really know the problem mako is having. i have 500+ avatars and the page takes no more then 30seconds to load, and i'm using a 56k ?
Fear is the mind-killer. Fear is the little death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past me I will turn to see fear's path. Where the fear has gone there will be nothing. Only I will remain.
I experienced this problem with NS myself. What I have seen is that you can't use layers along with forms. The layering gets all whacked. I have to find a workaround for what you are describing myself.
The only workaround I can see is removing the layers and going straight to using tables only. That's the only way I have seen nutscrape ever work.
Also, if you use embedded styles (ie you will find yet another NS bug. NS cannot render embedded tags at all. You may have to approach it by changing the code to include Javascript that checks the browser and implements a different style altogether.
An example:
Code
code:
I suck at JS myself but I am sure you can all get the purpose of the code.
Did that help or was it just worthless rambling to all of you?
I defintely understand what you're saying and that's the exact problem I'm experiencing. However, I'm afraid I can't separate it into tables because that'll ruin the structure of the current implentation. Currently, by hack TURNS OFF the image prevew if you're using the Netscape browser but I'll like to find a better solution than this.
I know the style of hack worked for UBB 5; I just can't get it working of UBB 6 MasterMind, do you have any ideas? You coded the UBB 5 version; perhaps you can help.
Is this hack still beta or is it finished? Will you move it to the finished section once it is? I'm new to this forum so don't know how it works.
The only reason I'm not installing this one is because i don't want to manually edit the file... I want it like my old hack where I just added new avatars to a directory and that was that!
This is probably the final version for this hack. Further upgrades will probably be for bug fixes and such (espicially the Netscape bug).
This hack has been a great accomplishment for me. It was the first hack to totally have an independent control panel module and be wordletized based as well!
Well, what are you waiting for? Download it and hack it into your UBB!
Users who are usin mod_perl &/or PerlEx please report any errors here immediately.
I name the custom image after my MEMBER NUMBER (00000001.jpg) and upload to my avatar/custom (chmod 777 - checked) dir but when I do a test post nithing is displayed in under my name as if there were no avatar. So I go in my profile and select any avatar and post another message. Well, then I get the avatar I just selected. Help meh ol' buddy... any suggestions?
BTW - I see the custom image in Avatar Management and everything is working fine with regards to rename/upload/delete.
still have a problem whenever I upload a new pic to the custom directory (e.g. 18.jpg)
member no. 18 cannot choose cUSTOM in the box. and if I modify the picture link in the cp myself, they can use the pic, however, whenever they update the profile, the pic will turn to 2.jpg (which is the earliest pic)
Chuck, I don't understand. What did you contribute? I've lost track of time ...
I'll add those wordlets into v0.0005 when I get the chance.
Furthermore, files named xxxxxxxx.gif or xxxxxxxx.jpg SHOULD work. My bet is that the custom Avatar is ABOVE the none but I'll double check this on my test system.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.