UBB.Dev
Posted By: The Modder [6.0x] Avatar Hack Release - 03/04/2001 9:04 PM
Due to high demand. I have decided to release the pulldown avatar hack.

NOTE! Since I didn't know how to make the avatars be pulled from a directory and automatically added to the drop down list, that feature wasn't added and avatar editing is done manually. If you know how to add the feature, do tell smile

Instructions that were written very quickly can be found at http://www.funxbox.com/avatar-directions.txt

UPDATE If you use the COPPA act for child's privacy. You might want to edit public_register_page_kid.pl the same way you edited the other public_register_page.pl file.

report errors and bugs in the instructions to me if you find any.
Posted By: MiniSizeIt Re: [6.0x] Avatar Hack Release - 03/04/2001 9:21 PM
Thanks! I'll try it later.
Posted By: josh Re: [6.0x] Avatar Hack Release - 03/04/2001 9:36 PM
Yippie, I'm glad you released this hack and I hope someone can get it so it auto. adds it like he said he wanted smile.
Posted By: Greg Hard Re: [6.0x] Avatar Hack Release - 03/04/2001 10:57 PM
just add a foreach loop and then do if $avatar.gif is in the directory, add it to the list.
Posted By: sirox Re: [6.0x] Avatar Hack Release - 03/04/2001 11:17 PM
It works great for me Modder laugh
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/05/2001 12:39 AM
how can i get it so they are added automaticly?
i dont want to go in and update them all the time
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/05/2001 12:48 AM
it didnt work
the avarats dont show up
Posted By: Balbanes Re: [6.0x] Avatar Hack Release - 03/05/2001 12:58 AM
Thanks modder!!

But Mastermind, or anyone, could you fix the foreach thing?? (I dont know the proper coding)

Chaos, what happened to FFser? (inside question)

[ March 04, 2001: Message edited by: Balbanes ]
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/05/2001 2:12 AM
Quote
quote:
you mean the forums??
if you do, the forums got hacked, so i am installing Version 6, so yeah, i dont know why hacked the forums, but it was totally messed up..
and how did you know about ffseries??
Posted By: Greg Hard Re: [6.0x] Avatar Hack Release - 03/05/2001 2:16 AM
I dont have time. Look at my old Avatar 3 update coding and work with that idea.
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/05/2001 2:33 AM
Quote
quote:
where do i put the foreach loop

i know where to put the $avatar.gif, its where the url to the image is.. but im totally lost with the foreach loop part
Posted By: The Modder Re: [6.0x] Avatar Hack Release - 03/05/2001 4:04 PM
If it helps. I found the following code in the old avatar v3. I don't know what to do with it, but maybe some of j00 will know how to implement this into ubb6.

Code
code:

[ March 05, 2001: Message edited by: Modder ]
Posted By: [GiB]Dessimat0r Re: [6.0x] Avatar Hack Release - 03/06/2001 12:16 AM
this is just a test, k?

At the bottom of ubb_profile.cgi, i put this..

Code
code:

and in ubb_edit_profile.pl i changed the picture field to this - however, when you go to edit your profile, the listbox is blank, but should be filled with avatars. Can someone plz help me perfect this?

Code
code:

confused confused confused
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/06/2001 1:46 AM
If you don't know understand Perl code don't try to just "dump" that code in; it won't work. It's intended to be a guideline for code hackers to work with.

That being said, I know this is being worked on wink

q
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/06/2001 2:22 AM
well, can some one hurry up and make this hack already???

^__^
Posted By: [GiB]Dessimat0r Re: [6.0x] Avatar Hack Release - 03/06/2001 3:47 AM
at least the code in the cgi isnt causing the cgi not to fuction, so i can't be far off smile

maybe someone could convert my code to strict cgi? smile
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/06/2001 4:38 AM
i really want this hack released... so it can be used efectivly:

1: Custom size (Trough the CP)
2: Auto Listing
3: Drop Down in the Edit Profile And New Registers
4: Uploads Through the CP
5: Renaming Through the CP
Posted By: Jedimark Re: [6.0x] Avatar Hack Release - 03/06/2001 2:30 PM
Can you change the code so that when you actualy go into Edit my Profile the avator scroll down box is positioned at the avatar you are curently using and not the top. Becasue if someone who wants to change.... say their password edits their profile and then saves their new profile the avatar gets reset to 'none'!
Posted By: dyang Re: [6.0x] Avatar Hack Release - 03/06/2001 3:04 PM
Quote
quote:
Yes i would like that fixed as well.

[ March 07, 2001: Message edited by: David Yang ]
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/07/2001 1:56 AM
ok, i've tried to do lots to this hack to make it properly work.. but nothing has been working.
so can someone please fix it??
Posted By: Jigga-Master Re: [6.0x] Avatar Hack Release - 03/07/2001 6:15 AM
has this been made to automatically read the files in the dir?
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/07/2001 7:05 AM
JM,

I'll be working on this through the weekend (starting Thursday I hope) but no guarantees.

q
Posted By: Jedimark Re: [6.0x] Avatar Hack Release - 03/07/2001 11:16 AM
Great.... that would be realy helpfull if you could do that! wink smile tipsy
Posted By: Jigga-Master Re: [6.0x] Avatar Hack Release - 03/07/2001 2:12 PM
thanx! wink
contact me let me know how its goin
Posted By: killean Re: [6.0x] Avatar Hack Release - 03/07/2001 4:50 PM
Now I know no one here knows me, nor do I have any knowledge in Perl or CGI. But I messed around with the Avatar Add On by MasterMind and Philip, released by Modder. And I did something and tested it well enough that it works.

Quote
quote:
Just do this step and it will work. Although you will need to upload the avatar somewhere else and then just enter the full path to it in the YOUR PICTURE field in your profile.

Just try it, and if you dun trust me, make a backup file. Though I doubt you will ever touch it again.

I hope this will help everyone who has been working on avatars out on trying to create a better way to store avatars on your server.

[ March 07, 2001: Message edited by: Killean Diamond ]
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/07/2001 8:50 PM
Actually that kind of hack was already developed by MasterMind. I think people are actually looking for a "list-type" mod so that it'll prevent "undecent" pictures from showing up and such.

q
Posted By: Jedimark Re: [6.0x] Avatar Hack Release - 03/08/2001 2:49 PM
Just another error that I am experiencing. When you want to change your avatar to something different the old avatar link remains. For example if my current avatar was /ubb/avatar/01.jpg and I wanted to change it to 02.jpg then the actual link that would be produced would be:
/ubb/avatars/01.jpg/ubb/avatars/02.jpg
which obviously turns up as a dead link! frown Anyone know how I can resolve this? I am using 6 beta 8.4
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/09/2001 2:27 AM
A little teaser wink

[Linked Image]
Posted By: [GiB]Dessimat0r Re: [6.0x] Avatar Hack Release - 03/09/2001 2:55 AM
release it asap :)))

it looks great
Posted By: vietnight Re: [6.0x] Avatar Hack Release - 03/09/2001 3:21 AM
hey qasic that look great, when are you goin to release it?
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/09/2001 7:44 AM
Status Update:

* CP variable based editing (use CP to specific avatar directory, URL, etc.)
* CP based wordlets
* avatar list generation developed in an external CGI file; allows easy updates of code this way
* correctly selects past avatars
* includes the custom avatar feature

Still to be worked on:

* cp based avatar maintanence (upload, delete, rename)
* any other ideas???

Notes: All control panel features are subject to me being able to obtain permission from Infopop to distribute my cpanel tempalte for Avatar.

q
Posted By: Balbanes Re: [6.0x] Avatar Hack Release - 03/09/2001 2:42 PM
Permission???

Damn...

Why Why Why does Infopop do stuff like that.

Oh well, it looks GREAT!!!! I cant wait to use it! thanks

EDIT--

Have you created a "previous" feature?? It would be simple, but its like the one on 5x version.

[ March 09, 2001: Message edited by: Balbanes ]
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/09/2001 4:06 PM
A "previous"? Can you describe further? My code remembers which icon hack you selected before in your profile if that's what you mean.
Posted By: [GiB]Dessimat0r Re: [6.0x] Avatar Hack Release - 03/09/2001 7:05 PM
If included in the next beta of UBB 6, then we wouldn't have to install it manually, and it would be great smile
Posted By: Balbanes Re: [6.0x] Avatar Hack Release - 03/09/2001 11:14 PM
Yes thats exactly what I meant wink

Maybe a View all avatars thing.

Next to the avatar wordlet, have some link "view all avatars". if clicked, it opens a new partial window, and using foreach statements, it could let someone view all the avatars on a single (or many) pages. Maybe it could be CP definable (so the admin could set how many avs could be viewed on one page). (helpful if you have many [500+] avs)

I remember this on a older version i think.

Keep up the great work, this looks like a super hack!! expect high user ratings!! laugh
Posted By: ViRuS2k Re: [6.0x] Avatar Hack Release - 03/10/2001 5:45 AM
avatars

Could someone plz tell me where to get them from!!!

i have installed the hack but i dont know where the images are for it ?????

or was this a stupid question ? eek
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/10/2001 7:52 AM
Hey folks,

I'll like to publicly announce that the public beta for v0.0001 of my Avatar Hack is now available. Features in this edition:

* security upgrades (verify that the URL exists), including Hack Attempt logging
* Custom avatars fully supported
* wordlet based
* customizable variables
* external coded avatar routines in the spirit of UBB 6
* remembering previous avatar selection
* added code to the kid registration page

Features missing in this edition but already developed:

* cpanel updating of wordlets/variables (waiting for Infopop's word on this one)

Suggestions being considered:

* cpanel update/rename/delete/upload avatars
* list all avatars in public avatar directory
* any others?

I'm looking for people to try it out UNIX and WinNT platforms and report back problems to me!

Also, any people runing under mod_perl/perlex who could report back bugs will be appreciated!!

URL: http://www.qasic.com/ubbhacks.html

Thanks a lot everyone!!

qasic
Posted By: Modda Re: [6.0x] Avatar Hack Release - 03/10/2001 8:13 AM
Great Work!
I am going to set this one up right away. It sure beats my old mod laugh
Posted By: Jedimark Re: [6.0x] Avatar Hack Release - 03/10/2001 2:07 PM
I have just installed your hack on my UNIX UBB and it works fine.. just 2 questions though:
1) Should there be nothing in the Avatars section in the Control Panel?
2) Could you add something that when you select your edit profile when the page loads up the avatar drop down box automaticaly sets the focus on your current avatar instead of None?

Othere than that its great.... good job! smile

Edit : One more question I could not find the code :
Code
code:
in the ubb_registration.cgi file!

[ March 10, 2001: Message edited by: Jedimark ]
Posted By: seifer luke Re: [6.0x] Avatar Hack Release - 03/10/2001 2:38 PM
I also had teh same problem when installing my hack.
Its works pretty well on mine now.

Code
code:

After this you should insert teh avatar thing.

The guy who made this assumed that you had used his signature limiter hack already.
Posted By: Jigga-Master Re: [6.0x] Avatar Hack Release - 03/10/2001 2:53 PM
yea i did alot of editing to be able to use the picture field as well as my avatar field and 4 custom fields!
smile
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/10/2001 6:02 PM
Oops, my bad about the Sig thing. I'll have to update the docs for that. Thanks!

q
Posted By: Balbanes Re: [6.0x] Avatar Hack Release - 03/10/2001 7:03 PM
Well I installed it on a UNIX server.

It seems to work, but whenever I goto ANY profile area (editing profile or registering) I get errors.

The images wont load when I select them. I made sure I chmoded them, and even re-did the hack.

whats up??
http://ffelite.rpghosts.com/cgi/ultimatebb.cgi
NAME-- test dude
PASS-- test

Theres a test name, thanks for your help.
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/10/2001 7:41 PM
Hmm .. your security permissions are causing the trouble!

Hit this URL: http://ffelite.rpghosts.com/ubb/avatars/Dragonball_Z_Chibi_Goku.gif

It says that it's forbidden (error 403). Check your Apache config and see if you can enable people to get files from that directory.

Thanks.

qasic

[ March 10, 2001: Message edited by: qasic ]
Posted By: Balbanes Re: [6.0x] Avatar Hack Release - 03/10/2001 8:37 PM
ohhh thanks man!

but would you have any idea how to fix that sorta thing?? (I dont own this server cause im just the ubb guy) Can I fix this through FTP??

Thanks for the personal responce and sorry for askin questions ^__^ thanks again!

EDIT--nevermind, I figured it out! Thanks!'

BTW, maybe you could make it so the avatar profile field is fixed. So it doesnt move when you load a avatar.

[ March 10, 2001: Message edited by: Balbanes ]
Posted By: Jedimark Re: [6.0x] Avatar Hack Release - 03/10/2001 11:06 PM
The profile field doesn't move for me!
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/10/2001 11:11 PM
Moving profile ... iirc, I think that's to accomadate Avatars of different sizes.

What did you do to fix it? Since you're using Apache on UNIX, I would really know if my guessed CHMOD settings for the avatar diretory were correct.

TIA!
Posted By: Balbanes Re: [6.0x] Avatar Hack Release - 03/11/2001 12:08 AM
Ok i figured it out. You were wrong (no offence)

CHMOD the avatar and custom directories to 755. Not 766.

It worked for me at least.
Posted By: KornDogg Re: [6.0x] Avatar Hack Release - 03/11/2001 12:08 AM
okay small problem...

I installed the hack, works good except for the control panel, which gives me an ISE 500 now. Removed the code in cp.cgi and works fine. Any suggestions?
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/11/2001 1:45 AM
EXCELLENT!

The reason it gives a 500 ISE is because cpanel functions don't work yet ... they require the cpanel module which will be distributed soon because Infopop has approved!

q
Posted By: Greg Hard Re: [6.0x] Avatar Hack Release - 03/11/2001 1:59 AM
Infopop has approved distribution of templates.
Posted By: dyang Re: [6.0x] Avatar Hack Release - 03/11/2001 5:18 AM
Great hack qasic smile Works very well. Hope u could release the cp_vars_avatar.pl soon.
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/11/2001 7:40 AM
Great news folks!

With Navaho's announcement on the Chit Chat forum, I can now distribute my Control Panel templates!

Now I present v0.0002 of the Avatar Hack. What's new?

* Control Panel Management of Avatars - Upload/Rename/Delete features incorporated
* Updated documentation
* Fixed the bug in documentation mentioned by Seifer (thx a lot man)

NOTE: Users who are upgrading from v0.0001 should read the install text to see which new files to upload and what new hacks to put in (extremely few)

Now what are you doing? You should be installing it and giving me bug reports!!!!!

Download: http://www.qasic.com/ubbhacks.html

qasic
Posted By: dyang Re: [6.0x] Avatar Hack Release - 03/11/2001 8:32 AM
Quote
quote:
LOL!. Works great no bugs yet. I played with a few settings and it all works well. Great hack [Linked Image]
Posted By: Spitz Re: [6.0x] Avatar Hack Release - 03/11/2001 8:52 AM
i cant seem to get it working.. everytime i go to the avatar settings and i put in the path to my avatar and custom avatar folder and then i put in my avatar url and my custom avatar url and i press update avatar settins it gives me this

Error:
Your avatar directory does not exist. [There may be other errors, as well.]

» Use your browser's back button to return.


this is my avatar path
/dwclass/server2048.virtualave.net/avatar

this is my custom avatarpath
/dwclass/server2048.virtualave.net/avatar/custom

this is my avatar url http://server2048.virtualave.net/dwclass/avatar

this is my custom avatar url http://server2048.virtualave.net/dwclass/avatar/custom

can someone please help ME@!!!!!
Posted By: dyang Re: [6.0x] Avatar Hack Release - 03/11/2001 9:06 AM
^ Did u edit vars_avatar.cgi and put in the correct paths?
Posted By: Spitz Re: [6.0x] Avatar Hack Release - 03/11/2001 9:10 AM
yepp i did...
Posted By: dyang Re: [6.0x] Avatar Hack Release - 03/11/2001 9:23 AM
I am getting 403 errors with u're avatar directories. With mine it can be seen. See if everything is CHMOD properly.
Posted By: Spitz Re: [6.0x] Avatar Hack Release - 03/11/2001 9:27 AM
umm fixed

[ March 11, 2001: Message edited by: Spitz ]
Posted By: Jedimark Re: [6.0x] Avatar Hack Release - 03/11/2001 10:24 AM
Got it working fine... no errors what so ever! smile
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/11/2001 10:35 AM
very very very dope qasic, good work!!
Posted By: Jedimark Re: [6.0x] Avatar Hack Release - 03/11/2001 10:40 AM
One question though! What is the Hack attempt detected and logged thing all about? When does it appear and why... I can't seem to work that one out!
Posted By: Spitz Re: [6.0x] Avatar Hack Release - 03/11/2001 10:40 AM
CAN SOMEONE PLEASE HELP ME INSTALL!!!!! SPECS FOR THE STUFF ARE IN THE POST ABOVE PLEASE HELP ME SET IT UP!!!!!!! eek
Posted By: dyang Re: [6.0x] Avatar Hack Release - 03/11/2001 10:41 AM
Sorry Spitz i get confused with virtual ave's absolute paths i hope someone else can help.
Posted By: Spitz Re: [6.0x] Avatar Hack Release - 03/11/2001 10:45 AM
Ummm thanks dude David .... umm can anyone else please help me.. its for my class & school
Posted By: richardk Re: [6.0x] Avatar Hack Release - 03/11/2001 11:00 AM
Spitz,

try it now... smile

and don't forget to delete all of your info in your post above, and change your current passwords also. smile
Posted By: Spitz Re: [6.0x] Avatar Hack Release - 03/11/2001 11:19 AM
thaqnks ALOOOOOOOOOOOOOOOOOOOTTTTTTTTTT
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/11/2001 11:26 AM
i get an error.. from public_edit_profile.pl
Code
code:

[ March 11, 2001: Message edited by: Chaos ]
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/11/2001 11:39 AM
also. i couldent find:

document.writeln("");
in cp_common.pl

so in cp_common.pl i found:

tempMenu.addItem(new NavBarMenuItem("General Display Settings", "$vars_config{CGIURL}/cp.cgi?ubb=vars_display&r=$ran"));

and after that i added:

tempMenu.addItem(new NavBarMenuItem("Avatar Settings", "$vars_config{CGIURL}/cp.cgi?ubb=vars_avatar&r=$ran"));

and found:

tempMenu.addItem(new NavBarMenuItem("Prune Posts", "$vars_config{CGIURL}/cp.cgi?ubb=prune&r=$ran"));

then i added this after:

tempMenu.addItem(new NavBarMenuItem("Manage Avatars", "$vars_config{CGIURL}/cp.cgi?ubb=manage_avatar&r=$ran"));
Posted By: Spitz Re: [6.0x] Avatar Hack Release - 03/11/2001 11:45 AM
hey it worked but on the topic page it just shows a broken link .. and i selected an image..so when i check my profile it set it back to none confused umm let me try again...


few moments later:

hey well i checked again and it is set to the avatar i want.. but when i go to view a topic it still shows a broken link!
Posted By: Spitz Re: [6.0x] Avatar Hack Release - 03/11/2001 11:50 AM
Hey nevermind i found the problem.. oh yea chaos you want my cp_common.pl file? i don't mind
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/11/2001 12:05 PM
yeah sure!, i'd love that!
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/11/2001 12:20 PM
could you just e-mail it to me at Chaos@ssjrpg.net

thanks man!
Posted By: Spitz Re: [6.0x] Avatar Hack Release - 03/11/2001 12:56 PM
there ya go already edited.. laugh hope u like it!
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/11/2001 7:15 PM
Man .... 6 hours I'm gone and I already have 3 beta testers!

For users who don't find the code in cp_common.pl, the reason why is because you HAVE NOT upgraded to the latest beta; please upgrade to beta 8.4.

Users who have an error of "Hack Detected." Please provide the FULL error message. Give me the full error message and I can probably pinpoint the problem for you.

qasic
Posted By: Charles Re: [6.0x] Avatar Hack Release - 03/11/2001 8:11 PM
Nice hack qasic !

ca veux dire que je vais encore avoir quelque chose à traduire !!
Bonne chance, pour le moment ça marche impec wink
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/11/2001 10:08 PM
Merci Chuck.

Cependant, vous n'avez pas besoin de le traduire. Je vais le traduire après je fini totalement le hack.

qasic
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/11/2001 10:20 PM
qasic...i get an error when i try to go and edit my profile:
Code
code:

why does this happen

[ March 11, 2001: Message edited by: Chaos ]
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/11/2001 10:53 PM
You probably deleted something you weren't suppose to.

Look for the line following line:

----------------------
if (($vars_misc{edit_public_names} eq 'YES') || ($user_profile[15] eq '')) {
----------------------

ABOVE it there should be:

-----------------------

ProfileGuts

-----------------------

If you still have any problems, ICQ or AIM me (kalokf), and I'll look into it for you.

q
Posted By: Balbanes Re: [6.0x] Avatar Hack Release - 03/11/2001 11:39 PM
It works great for me!!!

Thanks for all the great work qasic!

But you didnt redoc with my thought. You should chmod the avatar and custom folders to 755, not 766. (it worked for me at least)

I would still like to see a view all avs hack. The quality of this hack is unparalelled. Good job!
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/12/2001 12:07 AM
ell, everything works now.. but when i press the view/update profile button.. it slowly goes to a connection timed out.. what the hell?
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/12/2001 12:58 AM
Balbanes: Wouldn't setting 755 give the following permissions?

Owner - RWX
Group - RX
Other - RX

But I don't want to execute any files inside the Avatar and/or the Custom Avatar directory right? Perhaps a UNIX guru can clarify for me here!

qasic

P.S. The Preview All Avatars is in the thinking stage ... I got some school issues to deal with first.
Posted By: Balbanes Re: [6.0x] Avatar Hack Release - 03/12/2001 1:13 AM
Quote
quote:
Yeah I really have no idea about that kinda stuff. All I know is my av directory was fixed when I chaqnged to 755.

Am I the only unix user dude here?
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/12/2001 1:43 AM
Thx for the reply Balbanes.

Chaos and I did some testing on his server and it seems that:

Custom Avatar and Avatar directory must be CHMOD 755 at the very least. If you want to use the managment options available in the Control Panel, these directories have to be CHMOD 777. If you want to be able to operate on the graphics too, each graphic must be CHMOD 777.

Thanks for all your help everyone!

q
Posted By: Yorukuu Re: [6.0x] Avatar Hack Release - 03/12/2001 2:14 AM
I've tried your avatar hack, and I installed it correctly. But, me and everyone registered on my forum can not see where to edit their avatar. We can't even see it on the registration forum. Can you tell me if I did something wrong, and how I could fix it. (I reinstalled it twice and it still didn't work)
Posted By: Jigga-Master Re: [6.0x] Avatar Hack Release - 03/12/2001 2:42 AM
if installed correctly there should be NO problems!
Posted By: Yorukuu Re: [6.0x] Avatar Hack Release - 03/12/2001 2:52 AM
But there is no way I could of installed it wrong. I even checked it over, both times.
Posted By: Webdaddie Re: [6.0x] Avatar Hack Release - 03/12/2001 3:27 AM
Will this work with 8.4

Quote
quote:
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/12/2001 3:33 AM
Read the docs. York, AIM/ICQ me for personal support. kalokf/10488369.

qasic out
Posted By: TedBrown Re: [6.0x] Avatar Hack Release - 03/12/2001 4:26 AM
qasic, great hack, it works great, but i cant see the fields in the avatar sections of the hack. Everything works, custom avatars, etc.. but i want to edit it in the control panel. Im using the latest version of you hack.
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/12/2001 5:47 AM
Can you post a picture of where your avatars are not showing up? Or perhaps a link to a test account to your UBB?
Posted By: Spitz Re: [6.0x] Avatar Hack Release - 03/12/2001 10:22 AM
aaaaaaaaahhhhhhhhhh everytime i try to enter my manage avatars page it gives me this prob


Content-type: text/html
Software error:
Undefined subroutine &main::AvatarManage called at cp.cgi line 347.
For help, please send mail to the webmaster ([email protected]), giving this error message and the time and date of the error.


someone help please...

o everythin else is working
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/12/2001 7:45 PM
That error usually occurs when you didn't hack the cp.cgi correctly. Are these lines present in your cp.cgi?

if (($ubb eq "manage_avatar") && ($status eq "Administrator")) {
require "$vars_config{CGIPath}/avatar_control.pl";
&AvatarManage; exit;
} #end manage_avatar

LMK.

q
Posted By: TedBrown Re: [6.0x] Avatar Hack Release - 03/13/2001 2:13 AM
Ok qasic as you can see below this is what is happening:

[Linked Image]

As you can see there are no formfields there. ....WHY?
Posted By: Jigga-Master Re: [6.0x] Avatar Hack Release - 03/13/2001 2:21 AM
you gotta update!
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/13/2001 2:24 AM
Is the template cp_vars_avatar.pl inside your templates directory and CHMOD 755?

q
Posted By: TedBrown Re: [6.0x] Avatar Hack Release - 03/13/2001 5:02 AM
whoops thanks works now
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/13/2001 5:40 AM
That's the problem with people ... not reading the docs (j/k) laugh

Anyways, how did you fix it? Was my guess correct?
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/13/2001 8:03 AM
Current Version: v0.0003
What's New:

  • Now confirms delete via Javascript (cp_manage_avatars.pl)
  • Now supports unlimited image size (width & height (vars_avatar.cgi, cp_vars_avatar.pl, avatar_control.pl)
  • Made the determination of Avatar image within avatar_list.pl instead of public_topic_page.pl
  • Updated documentation to properly reflect UNIX CHMOD permissions (docs)
  • Took a suggestion from Jigga-Masta and included an upgrade docuemnt


Still Thinking: Preview All Public Avatars
Download: http://www.qasic.com/ubbhacks.html

As always, bug support on THIS FORUM, NOT BY E-MAIL.

qasic

[ March 13, 2001: Message edited by: qasic ]
Posted By: CG Re: [6.0x] Avatar Hack Release - 03/13/2001 8:47 AM
Don't do these little upgrades and patches. Release the full version and stick to it.
Posted By: CG Re: [6.0x] Avatar Hack Release - 03/13/2001 8:57 AM
Don't do these little upgrades and patches. Release the full version and stick to it.
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/13/2001 9:35 AM
i think v.0003 will be the final hack, it workes perfectly, i somewhat helped qasic.. and everything works perfectly fine

so use this one, and it works on 8.4 so upgrade people
Posted By: CG Re: [6.0x] Avatar Hack Release - 03/13/2001 10:32 AM
Oh don't get me wrong the hack is friggin great man, easy to install and a nice cp layout to boot.

I just want a final "offical" working version. Then any not needed add ons should be named as such.

For example the all avatars feature, I think part of the fun of having your own avatar is finding a good one. When you have 300+ of them the harder you look the betters ones your likely to find. If you add the all avatar feature only the most popular 20 or so will ever get used.

I duno is anyone with me on this one?
Posted By: Balbanes Re: [6.0x] Avatar Hack Release - 03/13/2001 2:42 PM
I dun understand what you mean CG...

I rather like these little addon thingies. With the upgrade instructions, its easy.

Another idea would be some sort of upload your own hack. CP definable, it would let people upload there own avatar. You could set it so the avatar is resized auto to the avatar size setting you set in the cp. If this feature is activated, then the avatar pulldown would be replaced with the avatar upload field. And all goto a separate dir like uploadavatar.

Hehe heh if you do this than all the other avatar competition would be eliminated. laugh
Posted By: dyang Re: [6.0x] Avatar Hack Release - 03/13/2001 2:56 PM
Quote
quote:
Yup the upgrade instructions are great [Linked Image] it makes upgrading so easy smile
Posted By: CG Re: [6.0x] Avatar Hack Release - 03/13/2001 5:27 PM
I never said it was hard to upgrade it's just a pain the the ass upgrading every 2 or 3 days just because the hacker wanted to add in some little unimportant feature.

Right now the avatar hack is perfect I think, letting users add anything to your server is just a security risk, even if you are able to make it secure users might upload images you don't want on your forums like porn images or a big fat hairy **** do you really want to have to be moderating that stuff out?

Not to mention the fact that the images might be huge like 30k+ if the person wants it to be. I already have 300+ avatars thats more than enough I think....

Does anyone want to swap avatars btw? I have around 100 custom ones I made myself from dvd screenshots...movies like T2, The Matrix, Transfomers, Star Trek(s) ect...
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/13/2001 6:49 PM
CG, thank you for your opinions but I will disagree with them. It's your choice as to whether you want to use my hack or not. If you don't, fine but don't whine here. This thread is for bug support and feature suggestions, that's it

Balbanes, I don't think I'll be implementing that upload thing - just because 1) it's a security risk and 2) I want to make this a pull down hack. If someone would like to revise my code to do what you suggested, I'll be more than happy to consider it adding it into the main code though!

As of v0.0003, ONLY ADMINISTRATORS CAN UPLOAD AVATARS. Your normal user cannot (every avatar mangement function is authenticated if you exame my code.) Also, the avatar program right now automatically blocks any files greater than a certain size.

qasic
Posted By: TedBrown Re: [6.0x] Avatar Hack Release - 03/14/2001 5:21 AM
qasic

yea that was the problem. I didnt see in the doc that i had to put it in the template folder.

Sorry frown
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/14/2001 5:27 AM
No problem. I added a note for that problem in the FAQ part of the document.

q
Posted By: Charles Re: [6.0x] Avatar Hack Release - 03/14/2001 1:19 PM
Quote
quote:
What about modérators ? Usually they are the ones that do the job on my board smile
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/14/2001 4:05 PM
You can hack that in if you like.

q
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/14/2001 9:46 PM
i personally think this hack it one of the best, it is possably the best i've seen for the beta's

good work qasic smile
Posted By: Jedimark Re: [6.0x] Avatar Hack Release - 03/14/2001 11:40 PM
I agree with you there. In fact I think this hack should be sent to Infopop for immediate release in the next version of UBB!
Posted By: knoxville75 Re: [6.0x] Avatar Hack Release - 03/15/2001 3:29 AM
what beta is this for?
Posted By: DzeDom Re: [6.0x] Avatar Hack Release - 03/15/2001 4:44 AM
It works for beta 8.5 :-)
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/15/2001 10:46 AM
8.4 and up
Posted By: Balbanes Re: [6.0x] Avatar Hack Release - 03/15/2001 2:12 PM
I have a 8.0 (im not upgrading again till it goes outa beta)

It works fine on mine but I needed to tweak the stupid dhtml menu so I could set the avatar CP.
Posted By: Charles Re: [6.0x] Avatar Hack Release - 03/15/2001 3:02 PM
as soon as ubb6 final is released you should rename this hack to version 1 smile
Posted By: knoxville75 Re: [6.0x] Avatar Hack Release - 03/16/2001 2:56 AM
is there an avatar hack for beta 7.9?
Posted By: CopyCat Re: [6.0x] Avatar Hack Release - 03/16/2001 5:11 PM
there you go
http://banco.jogosonline.com.br/ubbmods/listavatarsubb6.txt

rename it to listavatars.cgi, upload to ubbcgi directory, chmod 755 and add link to any template you like it to appear. it has not been tested, and all the options are inside the variables of the script. you can modify, release again, say u did it, whatever.
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/16/2001 8:25 PM
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!

TIA!
Posted By: CopyCat Re: [6.0x] Avatar Hack Release - 03/16/2001 8:57 PM
sure, go ahead smile
Posted By: q_ware Re: [6.0x] Avatar Hack Release - 03/17/2001 9:08 AM
can u add in this feature?

"Allow users to upload their own avatars and only they can use their own avatars"

There was such hacking for UBB 5 in http://www.vietson.com

Please.
Posted By: Charles Re: [6.0x] Avatar Hack Release - 03/17/2001 11:32 AM
OK qasic I've found a documentation problem !!

if the Picture Field option in the control panel is set to : Do not even display this field as an option.

the avatars will NOT SHOW in registration or profil page even if they are activated in the avatar control panel !

maybe you should delete this option completly from CP since you deleted it from the templates

This is probably the problem Yoruku was faced with

also in cp_common.pl there is 2 lines
document.writeln("");

You should explain which one to use since one is for admins and the other one is for mods

next smile
for the upload section of the CP you should add a browse button

See Ya laugh
Posted By: Charles Re: [6.0x] Avatar Hack Release - 03/17/2001 3:10 PM
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 laugh

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. wink
Posted By: Charles Re: [6.0x] Avatar Hack Release - 03/17/2001 7:36 PM
*BUG*

under netscape, when you go to your profile, the layout is messed up !!

you can't modifie the 3 next options after avatar and the avatar table is way too high !! (table height is 3 - 4 times what i'ts supposed to be)

there might be a missing tag somewhere in the code
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/17/2001 9:43 PM
Noted. Trying to fix it but it's proving to be extremely difficult frown
Posted By: mrspanky Re: [6.0x] Avatar Hack Release - 03/17/2001 10:05 PM
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 smile
Posted By: CopyCat Re: [6.0x] Avatar Hack Release - 03/17/2001 11:02 PM
qasic,

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

http://banco.jogosonline.com.br/avatars/uploadavatar.zip

the thread with info on the hack is here

https://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=7&t=000360

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 [Linked Image] .

[ March 17, 2001: Message edited by: CopyCat ]
Posted By: sirox Re: [6.0x] Avatar Hack Release - 03/17/2001 11:51 PM
qasic, have you released the hack that works with UBB6 Gold and has Copy Cats mods in it?
Posted By: bafai Re: [6.0x] Avatar Hack Release - 03/18/2001 1:47 AM
Hi CopyCat,
How do I install Image::Size to server?
What do I have to modify pl files?
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/18/2001 3:44 AM
CopyCat,

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 frown If anyone who is good at HTML could help out, that'll be greatly appreciated!

qasic
Posted By: sirox Re: [6.0x] Avatar Hack Release - 03/18/2001 4:10 AM
What do you need qasic? I have been working with HTML for the longest of times, and know how finicky Nutscrape can be. What is the problem?
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/18/2001 5:31 AM
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 frown
Posted By: mako Re: [6.0x] Avatar Hack Release - 03/18/2001 6:34 PM
here's a suggestion for the view all avatars,

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.

My 2 cents
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/18/2001 7:34 PM
This option has already been incoporated into v0.0004 wink

qasic
Posted By: mrspanky Re: [6.0x] Avatar Hack Release - 03/18/2001 7:55 PM
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 ?
Posted By: sirox Re: [6.0x] Avatar Hack Release - 03/18/2001 9:29 PM
qasic, you might want to use the
code to offset the layer lower than what it should be, as was the bug reported by some other earlier poster.
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/18/2001 11:18 PM
Are you able to try v0.0003 (or the upcoming v0.0004) and figure a solution using Netscape? TIA!
Posted By: DisMan Re: [6.0x] Avatar Hack Release - 03/18/2001 11:31 PM
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?

[ March 18, 2001: Message edited by: DisMan ]
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/18/2001 11:37 PM
Disman,

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 frown MasterMind, do you have any ideas? You coded the UBB 5 version; perhaps you can help.

qasic
Posted By: SinatraEatsBeatles Re: [6.0x] Avatar Hack Release - 03/19/2001 5:56 AM
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!

Thanks, this forum rocks!
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/19/2001 6:06 AM
LOL Sinatra!

You can do that as well! Once it's initially set up, you don't have to touch it if you don't want to!

And now, Qasic Productions, Inc. Proudly Announces:

Name: Avatar Hack
Version: 0.0004 (upgrade instructions included)
New Features/Bug Fixes:

  • Moderators may now manage Avatars (upload/rename/delete)
  • Avatar List (lots of coding courtesy of CopyCat)
  • Now uses Member Numbers for Custom Avatars (conversion script included)
  • Previous Saved Avatar now automatically loads
  • Bug fix on wording (template)
  • Netscape workaround incorporated


Link: http://www.qasic.com/ubbhacks.html

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.

qasic

[ March 18, 2001: Message edited by: qasic ]
Posted By: SinatraEatsBeatles Re: [6.0x] Avatar Hack Release - 03/19/2001 6:17 AM
qasic: you are the man!

yahooooooooooooo! laugh
Posted By: mako Re: [6.0x] Avatar Hack Release - 03/19/2001 8:06 AM
you got my vote qasic,
cool
Posted By: SinatraEatsBeatles Re: [6.0x] Avatar Hack Release - 03/19/2001 9:09 AM
OK, let me say that this is the best damn thing for my UBB, I love you to death you great SOB!!!!!

thanks a lot... tipsy
Posted By: DzeDom Re: [6.0x] Avatar Hack Release - 03/19/2001 10:01 AM
wohooo it works perfect I love it laugh
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/19/2001 10:07 AM
good work qasic, but.. you said you were going to add me into the :
CONTRIBUTORS:
catagories, but you never did
but good work
Posted By: SinatraEatsBeatles Re: [6.0x] Avatar Hack Release - 03/19/2001 10:07 AM
I can't get the custom avatar to work.

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.

confused
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/19/2001 10:09 AM
uhmm, you have to name the avatar to the users_name.gif
then it should work
Posted By: SinatraEatsBeatles Re: [6.0x] Avatar Hack Release - 03/19/2001 10:24 AM
The instructions say the member's number, but anyway, I tried it as the member's name and it still doesn't work.

My test account is "MikeDee," so I named a .gif as MikeDee.gif and uploaded to custom dir. It didn't work.
Posted By: Charles Re: [6.0x] Avatar Hack Release - 03/19/2001 11:25 AM
you HAVE to use member number
if your number is 00000018 then your image has to be named 18.gif or 18.jpg
Posted By: Charles Re: [6.0x] Avatar Hack Release - 03/19/2001 11:27 AM
qasic, here are a few things to add ...

a wordlet for 'close window' in avatar list
a wordlet for 'custom'

also the custom tag should be underneath the 'none' tag otherwise it is not viewable and people may not think of going up !
Posted By: SinatraEatsBeatles Re: [6.0x] Avatar Hack Release - 03/19/2001 12:00 PM
THANKS - IT WORKS... I was adding the 0's

yeah, the CUSTOM needs to be under the NONE in the select input cause a lot of people won't see it... great job!
Posted By: q_ware Re: [6.0x] Avatar Hack Release - 03/19/2001 12:20 PM
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)
Posted By: Charles Re: [6.0x] Avatar Hack Release - 03/19/2001 1:45 PM
q ware I don't understand your problem !!
All I can say rigt now is your custom fir chmoded correctly ?

otherwise please re-explain
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/19/2001 3:33 PM
q_ware, give us a URL and we'll check it out.

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.

qasic
Posted By: Charles Re: [6.0x] Avatar Hack Release - 03/19/2001 3:35 PM
Quote
quote:
I don't understand your question
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/19/2001 3:44 PM
Chuck, I'm referring to the following quote:

Quote
quote:
Yes, the Custom above the None would be prefereable now - I'll defintely code this in for v0.0005.

Yes XXXXXXXX.gif or XXXXXXXX.jpg custom avatars should work (1.jpg or 00000001.jpg) should both work. If this is a bug, I'll need to fix it ASAP.

qasic
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/19/2001 3:49 PM
Oh found the bug for the script. Script wasn't detecting 00000002.jpg as custom avatars but was for 00000002.gif. To fix it:

Open up avatar_list.pl

Goto Line 157 and change it to:

Quote
quote:
That should fix the problems. This fix will be incorporated in v0.0005.

qasic
Posted By: Charles Re: [6.0x] Avatar Hack Release - 03/19/2001 3:49 PM
I didn't write that sorry !! laugh

It was Chaos (page 6)

[ March 19, 2001: Message edited by: Chuck ]
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/19/2001 3:57 PM
Oooops ... it's too early in the morning for me. Sorry Chuck, je m'excuse.

Chaos, your name is in the install doc! Obviously you haven't read it because you were too lazy tipsy j/k wink

qasic
Posted By: Charles Re: [6.0x] Avatar Hack Release - 03/19/2001 4:00 PM
In the french section you can see the wordlets I use for your hack
Posted By: SinatraEatsBeatles Re: [6.0x] Avatar Hack Release - 03/19/2001 4:30 PM
qasic - it works! EXCELLENT!

[ March 19, 2001: Message edited by: SinatraEatsBeatles ]
Posted By: Tolitz Re: [6.0x] Avatar Hack Release - 03/19/2001 7:48 PM
Okay, I'm gonna try this hack out and see if it works, but I have a rather silly question:

"Create an avatar directory and a custom avatar directory"

Where do I create these folders? I am assuming inside the NONCGI folder but I just wanna make sure confused

Thanks in advance...
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/19/2001 7:48 PM
Has anyone used this hack in conjunction with ModPerl and/or PerlEx?

TIA!
Posted By: DD Re: [6.0x] Avatar Hack Release - 03/19/2001 8:13 PM
OK, here's a problem I am having.
after entering the correct path in the avatar path and custom avatar path fields and click update, It changes the path to the following the next time I go in....

The paths I am entering are:
C:Inetpubwwwrootubbavatars
and
C:Inetpubwwwrootubbavatarscust_avatars

[Linked Image]
Also in the manage avatars cp, It shows this all the time.
[Linked Image]
Is there a problem with the coding or do I have permissions set wrong?
Also, like Canis Lupus says above, What would be the best folder to place the avatar and custom avatar folders in? CGI or non CGI?
Thank you...

[ March 19, 2001: Message edited by: DD ]
Posted By: q_ware Re: [6.0x] Avatar Hack Release - 03/19/2001 8:22 PM
Quote
quote:

which line did it replace?
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/19/2001 8:26 PM
For your paths, you have to enter them UNIX style.

So enter them in as:

c:/Inetpub/wwwroot/ubb/avatars
and c:/Inetput/wwwroot/ubb/cust_avatars

That should solve your problem!

q_ware, it replaces this line:

if (($filename eq "$templine[1].gif") || ($filename eq "templine[1].jpg")

I missed the $ and it messed the .jpg detection!

qasic
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/19/2001 8:29 PM
Oh yeah, it seems to be standard to put avatars under the NonCGI directory and the custom avatar directory under your avatar directory but the script will work if you put them somewhere else as long as you set the settings correctly.

qasic
Posted By: Chaos Re: [6.0x] Avatar Hack Release - 03/19/2001 8:29 PM
whoops, sorry 'bout that qasic, didnt even see my name there, but thats what i get for being really sick laugh
Posted By: Tolitz Re: [6.0x] Avatar Hack Release - 03/19/2001 8:58 PM
Okay, finished installing it, and it seems to be working great! Dunno bout the Netscape bug tho, since I am yet to install Netscape on this computer, but in IE it looks flawless wink

Good job...
Posted By: DD Re: [6.0x] Avatar Hack Release - 03/19/2001 9:07 PM
Thanks qasic, It works wonderful...
Now I just need to find some avatar images laugh
Posted By: Tolitz Re: [6.0x] Avatar Hack Release - 03/20/2001 12:57 AM
Okay, the hacks works pretty good, but I see some sort of bug.

When those people I specified a custom avatar for tries to choose "CUSTOM" they get my admin avatar displayed instead, not theirs.

It usually fixes itself after I cleared the cache, but it still showed the wrong avatar when they first posted a message after changing it. I had to reply to the thread for it to change back.

Anyone else encounter this bug, or is it just me? TIA smile
Posted By: q_ware Re: [6.0x] Avatar Hack Release - 03/20/2001 1:09 AM
I have the same problem and I know know how to fix it.

Ask your users to update their profile twice (the 2nd time should choose CUSTOM)

This is because the script called the member's data file line 23, which means [Profile last editted by whom]

Therefore, if u editted their profiles, they will use your pic instead of theirs. By asking them to update their own profiles twice, it will be solved.
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/20/2001 2:19 AM
Yeah, q_ware notified me of that bug. I'll be fixing that tonight ASAP. I got some ideas as to how to fix it wink

q_ware .. you won't mind if I used your server as a guinea pig right?

qasic
Posted By: q_ware Re: [6.0x] Avatar Hack Release - 03/20/2001 2:46 AM
go ahead, but please make sure you don't mess up other hacks that I made into the scripts.
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/20/2001 6:17 AM
Ok folks, here's the bugfix release:

Name: Avatar Hack
Version: v0.0005 (v0.0003 - v0.0004 upgrade instructions included); highly recommended upgraded
Bugfixes:

  • Custom Avatars *BUGFIX* (uses correct number via memberlist)
  • 3 new Wordlets - select_none, select_custom, close_window (courtesy of Chuck)
  • /Font Size fixed (in cp_manage_avatars.pl)
  • Single Page *BUGFIX* in avatarlist.cgi


Download: http://www.qasic.com/ubbhacks.html

Note: If you've feel that you've contributed to this hack and have not been credited, please LMK.

Furthermore: I'm still waiting on feedback from mod_perl and/or PerlEx users. Any problmes?

qasic

[ March 19, 2001: Message edited by: qasic ]
Posted By: DisMan Re: [6.0x] Avatar Hack Release - 03/20/2001 7:15 AM
Damn! You are just busting them out! I just got 4 in there! Darn....

Anyway, I want to say this thing freaking ROCKS! Allowing admin's a web-based interface for avatars is just KICK @$$!

okay, now for a possible NS4 fix..



See if that may help. I know it helped me awhile back.
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/20/2001 7:51 AM
Disman,

Thx for the suggestion. Unfortunately it didn't work frown

qasic
Posted By: DD Re: [6.0x] Avatar Hack Release - 03/20/2001 8:41 AM
Could somebody please translate this for me?
1.
Voici tous les peintures disponsible dans notre UBB. Vous pouvez choisir seulement UNE peinture pour vous-même.
2.
Cliquez pour vour tous les avatars disponsible.
-----------------
thank you...
Posted By: DD Re: [6.0x] Avatar Hack Release - 03/20/2001 9:05 AM
When I click on the Avatar List link in the profile, it gives me this error:
Code
code:

All my permissions are correct and that file does exist in that path...
Posted By: Abyss34 Re: [6.0x] Avatar Hack Release - 03/20/2001 9:10 AM
Quote
quote:
sure here goes laugh

1.
Voici tous les peintures disponsible dans notre UBB. Vous pouvez choisir seulement UNE peinture pour vous-même.

Here is all the avatars available on our UBB.You can choose only one avatar for yourself

2.
Cliquez pour *vour*(typo here should read VOIR not VOUR) tous les avatars disponsible.

Click here to see all the avatars available

here you go cool

[ March 20, 2001: Message edited by: Abyss ]
Posted By: DD Re: [6.0x] Avatar Hack Release - 03/20/2001 9:52 AM
Thank you Abyss
Posted By: SinatraEatsBeatles Re: [6.0x] Avatar Hack Release - 03/20/2001 9:59 AM
Why is it in French anyway? confused
Posted By: Charles Re: [6.0x] Avatar Hack Release - 03/20/2001 10:22 AM
My bad , everything works fine smile

[ March 20, 2001: Message edited by: Chuck ]
Posted By: Abyss34 Re: [6.0x] Avatar Hack Release - 03/20/2001 11:10 AM
woops....
i read someone post,thought he said "is it in french"

[ March 20, 2001: Message edited by: Abyss ]
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/20/2001 3:57 PM
Frech because - forces you to change your wordlets and read the documentation. smile

Chuck - okey dokey

DD - is it in your UBB CGI directory?

q
Posted By: ViRuS2k Re: [6.0x] Avatar Hack Release - 03/20/2001 10:38 PM
Hello the hack is a awsome kewl addition smile

i need help though @@

the hack works via the cp pannel as it should but when i try to wiew the custom one
i cant see it frown

i have cleared the catche all the hack installed perfectly!! i dont get eny errors
only custom pics dont work frown

plz help !
Posted By: Alien Re: [6.0x] Avatar Hack Release - 03/20/2001 10:53 PM
This installed and worked FLAWLESSLY for me, qasic!

VERY nice work. laugh
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/20/2001 11:47 PM
V2k

Ummm .. unless I have a URL to your board I can only guess what the problem is (send it via PM if you need to):

1) Custom Directory not CHMOD correctly?
2) Custom graphics should be membernumber.gif or membernumber.jpg?

qasic
Posted By: manah Re: [6.0x] Avatar Hack Release - 03/21/2001 3:26 AM
all working correct laugh laugh laugh
tanx 4all laugh

[ March 24, 2001: Message edited by: mad ]
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/21/2001 4:32 AM
Uhh .. mad,
http://prostoya.hypermart.net/ubb/avatar/custom/

There's no custom icons there! That's why there's no custom avatars available!

q

[ March 20, 2001: Message edited by: qasic ]
Posted By: twinspin Re: [6.0x] Avatar Hack Release - 03/21/2001 7:02 AM
This is the hack my visitors have been anxiously waiting for.

The hack is doing something strange though. I renamed a custom hack to the user number and when I go into that user's profile it recognizes there is a custom avatar available. But when I select custom in the control panel, it returns a broken image.

All other avatars are showing up fine; it's just the custom avatars that are showing up as broken images.

Here's a link to one of the custom avatars. This link shows the graphic is there
http://www.twinstuff.com/ubb/avatars/custom/Aussie_Dee.gif

But again, when I rename that file to that user number and then save it in the same custom directory with that number, it recognizes that a custom avatar exists, but when I click on it, it returns a broken graphic.

Here's the broken graphic, just after I re-copied that graphic into the same directory, saving it as 1313.gif
http://www.twinstuff.com/ubb/avatars/custom/1313.gif

I see the file in my FTP directory and it's there, but it's a broken graphic in the control panel and as a URL link.

[ March 20, 2001: Message edited by: twinspin ]
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/21/2001 7:15 AM
http://www.twinstuff.com/ubb/avatars/custom/ ... does not show that the custom avatar is there (the numbered one at least).

Try this ... upload an image of 1111.gif into your avatar (not custom) directory. Is this displayed on the normal avatar list (and does the picture show up (i.e., preview?)?

qasic

[ March 20, 2001: Message edited by: qasic ]

[ March 20, 2001: Message edited by: qasic ]
Posted By: Caldazar Re: [6.0x] Avatar Hack Release - 03/21/2001 8:07 AM
Umm my contol panel upload does not work. When I try to upload I get a white page with the following on it.
Quote
quote:
The rest of the hack works fine so I have no idea whats causing it. I'm on a windows server.
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/21/2001 8:23 AM
Avatar/Custom Avatar Directory must have RWXD permissions in NT. Check to make sure that's correct. Check your permissions too.

qasic
Posted By: Caldazar Re: [6.0x] Avatar Hack Release - 03/21/2001 9:14 AM
umm how do I check that? I use ws_ftp le as my ftp program.
Posted By: dyang Re: [6.0x] Avatar Hack Release - 03/21/2001 9:17 AM
Quote
quote:
CHMOD to 755 or 777. Try 755 if that doesn't work try 777
Posted By: Caldazar Re: [6.0x] Avatar Hack Release - 03/21/2001 9:25 AM
Umm how do I do that? laugh
Posted By: Urban-Warfare Re: [6.0x] Avatar Hack Release - 03/21/2001 9:41 AM
hack works great, but..where the hell do i get avatars lol
Posted By: twinspin Re: [6.0x] Avatar Hack Release - 03/21/2001 2:17 PM
quasic,

Thanks for the help.

I actually figured out the problem this morning. It was a UNIX board set-up issue. I needed to upload the custom avatars in a separate sub-directory inside the html directory.

Anyway, it's now showing up. Thanks!
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/21/2001 3:56 PM
twinspin, I'm glad it's working for you know! (and nothing wrong w/ the script)

Caldazar, if you're hosted on Windows NT, and don't have admin access to the server, you have to phone Tech support to get those directory changes. CHMOD is only for UNIX.

Finally everyone else, hi everyone,

Recently I've been getting more and more support requests for this hack with sufficient information. Just to clarify, I'll require the following information to fully diagose your problem and (hopefully) provide a solution.

1. Version of your UBB
2. URL to your UBB
3. A _thorough_ description of the problem
4. What steps have you taken to resolve the problem?
5. If there was an error message what is it?
6. What platform are you running UBB on? Something like Windows is not sufficient. You'll need something like Apache 1.3.19 on Windows 2K Advanced Server SP1.
7. Have you double checked and tripled checked your permissions?
8. Were the scripts uploaded correctly and into the right directories?
9. If the problem is reproduceable, give me a thorough STEP-BY-STEP of how the problem may be reproduced. A problem such as "My Custom Avatars don't work." doesn't really help me diagose the problem without accompanying information. For example, do the custom avatars only work for a certain group of people? or people with a certain registration number?

I can't stress the importance of reading through the documentation. This is what it is for. DO NOT BYPASS THIS STEP.

qasic
Posted By: Blueprint Re: [6.0x] Avatar Hack Release - 03/21/2001 8:23 PM
The only problem I have, at the moment, is upon registration.

Prior to choosing an avatar and in some cases after, the cell spacing height warped. Each word of the avatar area is on a separate line. This didn't happen with v3, but is happening with v5. I've reapplied the coding twice with the same results.

UBB version 6.0 gold.

Any assistance would be appreciated.
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/21/2001 10:35 PM
Hmm,

Can you give me a screenshot with this info: Browser, Version, System OS, and Screen Resolution

FYI, the Image now appears in between the Avatar Information Text and the Avatar Selection list.

qasic

[ March 21, 2001: Message edited by: qasic ]
Posted By: Blueprint Re: [6.0x] Avatar Hack Release - 03/22/2001 12:03 AM
Can't do the screen shot right now.

IE 5.0, Server is linux, 1024x768.

If the avatar is 64 x 64, upon choosing it, it appears to straighten up. Not so with the smaller avatars.

Here is what it looks like:

Your
Avatar:
Choose
an avatar
for yourself.
It will be
displayed
whenever
you
post or
reply.

None of the other choices are affected.

Thanks for the help.
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/22/2001 2:24 AM
I'm betting it has to do w/ layer size. Let me do some beta testing at home at your screen resolution. If you can also e-mail me a copy of the source code behind that thing that would be great too. ([email protected])

q
Posted By: bum-fluff Re: [6.0x] Avatar Hack Release - 03/22/2001 2:54 AM
Hello qasic. I installed this hack and it is truely an excellent feature..good work.

There is one problem i am having, it is my fault obviously but i cannot fin the problem.

Everything else works fine, apart from when i go to my control panel and select "avatar settings" from teh primary setting, or "manage avatars" from maintenance, i get nothing. The actual control panel shows with everyting on it, and the copyright info contained in the hack, but nothing inbetween the navigation and the copyright info...

any idea why this would be?
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/22/2001 4:00 AM
Yep,

You never read the FAQ part of the documentation. It mentions a solution for this EXACT problem - you did now upload your templates correctly. Re-upload your avatar templates and all should be well.

qasic
Posted By: X IT Re: [6.0x] Avatar Hack Release - 03/22/2001 11:49 AM
I have tried to install this hack over 5 times and this version has been the easiest but still i don't have enough skill to pull it off completely.

1. v6
2. http://www.venom-matrix.com/cgi-bin/ultimatebb.cgi
3. I have a few problems. One, the control panel won't work anymore it just shows 500 errors. Two, in the profile area I can't choose an avatar it just has none and a line.
4. On the first one i tried CHMODing the hell out of cp.cgi and it was no use. On the seccond, i have no clue
5. 500
6. UNIX

sorry that is all i really know. I really want this hack and i have tried so many times can somebody help me please. eek
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/22/2001 8:45 PM
It looks as if these problems are related. Looking at your UBB, I noticed the following problem:
http://www.venom-matrix.com/ubb/Templates/cp_vars_avatar.pl - NOT found http://www.venom-matrix.com/ubb/Templates/cp_manage_avatars.pl

My diagnosis? You did not upload your Templates correctly. Re-read the install doc and look over the part about uploading the templates!

qasic
Posted By: Alien Re: [6.0x] Avatar Hack Release - 03/22/2001 8:51 PM
Heya,

Since there's been some recent changes in the coding of UBB 6.01 as far as with '' instead of "", should I replace the various codes in this hack in the cp.cgi from, for example:

if (($ubb eq "vars_avatar") && ($status eq "Administrator")) {

to:

if (($ubb eq 'vars_avatar') && ($status eq 'Administrator')) {

etc. etc.? Just curious. smile

It appears to work fine in 6.01 without the changes, I was just wondering if it was something that SHOULD be changed...

[ March 22, 2001: Message edited by: Alien ]
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/22/2001 9:06 PM
I heard there were some perl differences in regards to that. If you want to, go ahead. I probably will too.

qasic
Posted By: Alien Re: [6.0x] Avatar Hack Release - 03/22/2001 9:24 PM
Thanks!
Posted By: CopyCat Re: [6.0x] Avatar Hack Release - 03/22/2001 9:31 PM
the double quotes " " are used to replace variables for their values inside a string. the simple quotes ' ' on the other hand, sees everything as a string.

for that fact, i believe using simple quotes when you dont need to use variables in a string makes the code processing faster. (i think)
Posted By: Igor Re: [6.0x] Avatar Hack Release - 03/22/2001 9:45 PM
I installed this hack.
Works great so far!!!! Thanks a lot.

But my users are starting to bug me to upload customs avatars for them eek
Can you make some modifications, so users can do it for themself? I don't like to be buged much laugh laugh laugh
Posted By: Alien Re: [6.0x] Avatar Hack Release - 03/22/2001 9:53 PM
Thanks for the clarification, CC! smile

Quote
quote:
Posted By: freak.scene Re: [6.0x] Avatar Hack Release - 03/22/2001 11:04 PM
qasic, thanks for this perfectly doc'd hack! First try worked perfectly (with the exception that I forgot my custom folder) smile Did catch a typo which makes it 99.9% perfect
Quote
quote:
I'm ashamed that I found that though [Linked Image]

Great Job! laugh

[ March 22, 2001: Message edited by: freakscene ]
Posted By: freak.scene Re: [6.0x] Avatar Hack Release - 03/22/2001 11:12 PM
Also, you may want to either start a new thread (guess it should be moved to finished mods soon anyway) or overtake the first post of this thread.

Looks complete to me!
Posted By: qasic Re: [6.0x] Avatar Hack Release - 03/23/2001 12:34 AM
Freakscene, fixed.

I WILL NOT give an option which allows user to upload custom avatars .. it's WAY too much of a security risk (plus the fact I'll get tons more support requests - see latter why.)

Known Issues in Avatar Hack:

Issue: Preview Avatar in Netscape Doesn't Work
Status: Spent another two yours working on this. Unfortuantely, I don't think there will be a fix for this. The error seems to come from the fact that the
tag must be above the