I've installed this as well - seems to be working great for the most part (except)... I get this error when you click on the link that is supposed to show you ALL the avatars on a seperate page:
-------error CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Can't locate vars_config.cgi in @INC (@INC contains: D:inetpubplanethexwwwcgi-bin D:inetpubplanethexwwwcgi-binModules ./Modules . D:/Perl/lib D:/Perl/site/lib) at D:inetpubplanethexwwwcgi-binavatarlist.cgi line 23. -------end error
This hack is awesome except when i post the avatar doesn't appear at all. I know it has to do with the public forum topic. Because it appears eveywhere else just fine. But the img line you add doesn't seem to work in my post. It's just blank
quote:Originally posted by Cuzz: I've installed this as well - seems to be working great for the most part (except)... I get this error when you click on the link that is supposed to show you ALL the avatars on a seperate page:
-------error CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Can't locate vars_config.cgi in @INC (@INC contains: D:inetpubplanethexwwwcgi-bin D:inetpubplanethexwwwcgi-binModules ./Modules . D:/Perl/lib D:/Perl/site/lib) at D:inetpubplanethexwwwcgi-binavatarlist.cgi line 23. -------end error
Hmmm ... are your vars_*.cgi configured in the same directory as ultimatebb.cgi?
quote:Hmmm ... are your vars_*.cgi configured in the same directory as ultimatebb.cgi?
qasic
I solved the problem. The hack is working great on 6.2.1 Beta Release 1.0
Only thing i see that is weird is that if a member hasn't selected an avatar, but has a picture in his/her profile, it shows up in the spot where the avatar should be.
quote:Only thing i see that is weird is that if a member hasn't selected an avatar, but has a picture in his/her profile, it shows up in the spot where the avatar should be.
The top of the Avatar Readme states that the Avatar field takes place of the picture field
I have no idea why I was getting this error, it must have been an error on my part. (I beyond compared 6.1.0.4 to 6.2.0) But I then upgraded to 6.2.1 Beta Release, and it is working fine. Thanks for the help.
It's either one or the other unfortunately. I'm unwilling to compromise the security built into this hack with the low-security present in the externally-defined avatar hack.
I'm hosted on a Unix server. What I did to get the auto install to work for me is to chmod the files that are to be hacked by auto install to 777. Then the upgraded went fine. After I changed them back to 755.
Thanks for your response. Yes, I am able to browse through my computer, and when I do, the file name shows in the taxtblock. But then when I hit upload, I get the blank message.
I am editing this to add that I am able to rename the file names perfectly fine, it's just the upload that gives me an error.
quote:Originally posted by Ellen: Thanks for your response. Yes, I am able to browse through my computer, and when I do, the file name shows in the taxtblock. But then when I hit upload, I get the blank message.
I am editing this to add that I am able to rename the file names perfectly fine, it's just the upload that gives me an error.
Ellen, are you on a UNIX server or a Windows server? If you're on a Windows server, have you modified UBBCGI.pm correctly to reflect a good TEMP path?
Thanks for your post. Yes, those instructions have not been updated for UBB 6.2. Unfortunately, I'm not a layout specialist so I don't know what to change. Perhaps you can ask in the HTML forum? Thanks.
First of all, thanks for the great hack . Everything seems to work perfect except one (important) thing: I can't upload . When I pick the file and press the "update avatars" button I get the next error:
No file selected to upload.
» Use your browser's back button to return.
What's wrong? I now sure the path + url are correct and that I picked a file which excists...
You can also upload via the ftp itself. Then it works perfect. I don't really care that I can't upload trough the cp, but it's a bug, so maybe you can fix it.
Hello Qasic, Thanks again for the hack -- works great on 6.2.1.
However, a bug exists in install text and should read as follows:
Q) Whenever my users post, the text on the right hand column of the table is centered (i.e., vertical alignment is center). How can I fix that? A) This is the default UBB behaviour but if you'll like to fix it, open up public_topic_page.pl in your Templates directory (fix courtesy of Scats). -------------------------------------------------------------------------------- Find the following line (around line 136):
Replace it with:
Find the following line:
Replace it with:
Find the following lines (around lines 156-158): $post_body
After the tag, close the cell and open a new one: $post_body
-------------------------------------------------------------------------------- Save and re-upload to Templates directory.
Got this in on my 6.2.1 board and seems to work fine. One problem I'm having is that in cp when I'm in Avatar Settings and then select Update Avatar Settings I get an error message:
quote: You did not complete all required fields. You did not complete: close_window
That error usually occurs when one of your members has a funky URL (usually something like .cgi?blahblah&fjdksj or .php?stupid=qasic). If you give me the administrator rights to your board (UBB and FTP), I'll find the cause for you and fix up the problem.
quote:You did not complete all required fields. You did not complete: close_window
That problem occurs when your vars_wordlets_avatar.cgi is not up to date. Upload the one that's inside the ZIP file, modify your Avatar wordlets, save them and then all should be OK.
quote:Originally posted by Ellen: Has anyone figured out how to fix it so that we can upload through the control panel? I would appreciate any help possible here. Thanks.
Hi Ellen,
I've contacted you via e-mail so I can look into the problem. Please e-mail me back!
quasic your hack is working perfectly on 6.2.1 only problem ( not that big as FTP is better ) is unable to upload using CP. IF you fix that the hack could easily go to final !
I think I'll either have to clear the ubb cache, or you will have to clear your browser cache to be able to see the error again (The page referenced is one of the only pages with that error). I'll clear it now and if you could try it again that would be great.
Morph, I just tried right now and I don't have any problems.
Secondly, that upload file problem is a confirmed problem for the UBB 6.2.x series on both UNIX and WINX computers. I'll be investigating solutions to this problem as soon as I have time.
I updated my scripts with your updates, although getting weird errors:
quote:An error has occured:
d:/web/w126190/docs/ubbcgi/ubb_avatar.cgi: Global symbol "$full" requires explicit package name at d:/web/w126190/docs/ubbcgi/ubb_avatar.cgi line 42. Global symbol "$customavatarurl" requires explicit package name at d:/web/w126190/docs/ubbcgi/ubb_avatar.cgi line 43. Missing right curly or square bracket at d:/web/w126190/docs/ubbcgi/ubb_avatar.cgi line 43, at end of line syntax error at d:/web/w126190/docs/ubbcgi/ubb_avatar.cgi line 43, at EOF
quote:d:/web/w126190/docs/ubbcgi/ubb_avatar.cgi: Global symbol "$ext" requires explicit package name at d:/web/w126190/docs/ubbcgi/ubb_avatar.cgi line 147. Global symbol "$customavatarurl" requires explicit package name at d:/web/w126190/docs/ubbcgi/ubb_avatar.cgi line 147. Global symbol "$customavatarurl" requires explicit package name at d:/web/w126190/docs/ubbcgi/ubb_avatar.cgi line 147. syntax error at d:/web/w126190/docs/ubbcgi/ubb_avatar.cgi line 149, near "$Custom = qq(Missing right curly or square bracket at d:/web/w126190/docs/ubbcgi/ubb_avatar.cgi line 149, at end of line
quote:d:/web/w126190/docs/ubbcgi/ubb_avatar.cgi: Missing right curly or square bracket at d:/web/w126190/docs/ubbcgi/ubb_avatar.cgi line 191, at end of line syntax error at d:/web/w126190/docs/ubbcgi/ubb_avatar.cgi line 191, at EOF
Thanks for all your time on this... I think the problems could my version of Perl or Web server screwing things up (not sure though)... I'm noticing all kinds of these random errors with a bunch of the .cgi scripts (not just the avatar mod). Until I get the word from my web host about which version of Perl I have I think I'll have to roll with the punches for now, unless you have some suggestions.
There's an update for Avatar Hack that fixes a user being able to select any graphic on your website by using relative URLs. To fix this security problem, just replace your ubb_avatar.cgi with the one from this ZIP file.
I am not very good with Perl. Can someone tell me if this hack limits the size of the avatar - both in pixels and in physical (kb) size? I saw something about 35x80, but am totally unsure.
I am attempting to install this hack on my test board, and I have what appears to be an avatar_wordlets file in French (or German -- not sure the language! )*.
This is the name of the file I downloaded from --> Download Avatar Hack (UBB 6.2) 1.1 ...
Would I be able to use the avatar_wordlets from an earlier UBB (6.1.0.3) to replace the one I uploaded?
*OOOOOOOH! Is this new? I just added a graemlin, and instead of pasting it to the end of my message (like before), it went to where the cursor was. (Little things like this excite me!)
quote:Originally posted by little_joe: I am not very good with Perl. Can someone tell me if this hack limits the size of the avatar - both in pixels and in physical (kb) size? I saw something about 35x80, but am totally unsure.
Thank you.
Upload of a graphic via cp.cgi is limited to 100,000kb. The pixel limit may be set in the Avatar Settings in the Control Panel.
I am attempting to install this hack on my test board, and I have what appears to be an avatar_wordlets file in French (or German -- not sure the language! )*.
C'est francais. You may safetly use wordlets from the previous version with no problems.
quote:Originally posted by Ed: Hey there! I really need some help here! I'm using "external_avatar_0.1" hack and it works great but please look at this:
I just wanted to let you know that I switched versions of PERL (from ISAPI to .exe) and everything is working smoothly now. In fact I haven't seen an error since!
Thanks again for everything! I really appreciate it.
hello when i installed this i got no error [but] in cp manage and for the upload part both screens are compleatly empty nothing no errors just a blank screen, and in member profiles a big chunk is gone. any ideas as where i can look to solve this riddle.
I just wanted to let you know that I switched versions of PERL (from ISAPI to .exe) and everything is working smoothly now. In fact I haven't seen an error since!
Thanks again for everything! I really appreciate it.
quote:Originally posted by deathdealer: hello when i installed this i got no error [but] in cp manage and for the upload part both screens are compleatly empty nothing no errors just a blank screen, and in member profiles a big chunk is gone. any ideas as where i can look to solve this riddle.
For the first one, you did not upload cp*.pl into the Templates directory.
For the second one, you're probably missing ubb_avatar.cgi in the cgi directory.
sry i might have explained that bit a little wrong, everything was uploaded fine, but in the cp the avatar manage and the one for uploading the avatars are there just the screens for them are empty. and in the my profiles section when i added it everything from: Your Picture: Enter a link to a picture of yourself. This must be a complete URL. down was gone. i used backups and just took everything back out but i would really like this one. just not sure what might be causeing the empty pages and that chunk of missing stuff in the my profiles. hope this helps explain it a little better.
I thought I had installed this w/out problems, but when I decided to register a new name on my test board to determine if a new hack had worked or not, I came across a pop-up error for a script.
This was in the profile area where I was to choose my avatar.
When I try to upload avatars via the CP i get this error:
Software error: CGI open of tmpfile: No such file or directory For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.
I installed avatar_hack_v1_1_62 and I love it dearly. There's just one niggling little problem. On the avatarlist page it gives an error message when anybody clicks on one of the avatars. They can still remember the name of the one they chose and get it from the menu in their profile but the error message bothers me...
Nevermind! I see what happened. I linked to the avatars display page directly rather than through the Profile. That caused the error. If you arrive through the Profile, it works perfectly. Now I love this hack without reservation. Thank you!
The hack works great on my board exept for one thing. After I installed it. The wordlets on th emain forum page for the chat room don't show up anymore. Can you possibly tell me what file I need to rehack. I'm sure it is operator error.
quote:Originally posted by Eliza: The hack works great on my board exept for one thing. After I installed it. The wordlets on th emain forum page for the chat room don't show up anymore. Can you possibly tell me what file I need to rehack. I'm sure it is operator error.
You probably forget to load vars_avatar_wordlets.cgi in ultimatebb.cgi so rehack ultimatebb.cgi using a backup.
I'd like to try the Avatar hack , but I can't download it from qasic.net because my HTTP_REFERRER is blank and it won't download. Is there anywhere else I can get this file to apply it to my UBB ?
quote:Originally posted by Warren: I'd like to try the Avatar hack , but I can't download it from qasic.net because my HTTP_REFERRER is blank and it won't download. Is there anywhere else I can get this file to apply it to my UBB ?
How did you download UBB then? Infopop performs the same referrer checking.
quote:Originally posted by Warren: I'd like to try the Avatar hack , but I can't download it from qasic.net because my HTTP_REFERRER is blank and it won't download. Is there anywhere else I can get this file to apply it to my UBB ?
How did you download UBB then? Infopop performs the same referrer checking.
qasic
I downloaded it with the old computer on my little network. I was able to download fine when I went back to the old computer. I've since downloaded the hack from the old computer too. Not sure why it doesn't work on my new one.
Does this avatar hack have the same vulnerability that the version for 6.1.x has? Here is what I'm talking about.
When you view your profile you can change your avatar to one of the defaults, so all you have to do is save the page to your computer and change to code to..:
and submit it!
This will give anybody one of the reserved custom avatars. Obviously it could be anything.
It might be possible to insert JS in there as well.
This is not a good thing, so how would you update the hack to make sure that the referrer is the UBB itself and not a remote machine?
Edit: If you can view the code as I posted it it uses & to replace certain characters.
Avatar Clean for UBB 6.2.x - error . unable to open d:/web/w126190/docs/ubbcgi/Members/.cgi at d:webw126190docsubbcgiavatar_clean.cgi line 348.
(Caller: avatar_clean.cgi:483 -> sub main::Tracer) (Caller: Carp.pm:139 -> sub main::error_output) (Caller: Carp.pm:82 -> sub UBBCGI::Carp::fatalsToBrowser) (Caller: avatar_clean.cgi:348 -> sub UBBCGI::Carp::die) (Caller: avatar_clean.cgi:245 -> sub main::OpenFileAsArrayRef) (Caller: avatar_clean.cgi:236 -> sub main::switch) (Caller: avatar_clean.cgi:169 -> sub main::process) (Caller: avatar_clean.cgi:39 -> sub main::step1)
quote:Originally posted by XPerT: I get this error;
exists operator argument is not a HASH element at /home/sites/site12/web/cgi-bin/avatar_clean.cgi line 398.
Is there a backtrace available for this error like there was Metamorpheus' error? LMK.
qasic
No, it's just a software error, no backtrace.
Edit: Qasic, I down-graded my board to 6.1.0.4 so I assume that's the problem...is there a fix for me too. I forgot all about the downgrade (I had a server meltdown and corrupted backups).
In theory, this should also work on UBB 6.1 but that shouldn't be a cause for avatar_clean.cgi (just disable the check for UBB 6.2 but putting # in front of the relevant statements that check for UBB 6.2 near the top).
Secondly, try switching the following code in avatar_clean.cgi:
I changed the next line to "defined" as well and it ran but gave me this error;
Please log into cp.cgi before you load this program. (Caller: avatar_clean.cgi:483 -> sub main::Tracer) (Caller: avatar_clean.cgi:307 -> sub main::error_output) (Caller: avatar_clean.cgi:37 -> sub main::VerifyCookie)
Okay, I did that, and added the fix that you pointed someone else to prior and after stting the batch amount to more than my member total I was able to get it to run successfully.
Thanks for taking the time to fix this for us, I for one really appreciate it.
Thanks for notifying me that the above fixes work. I've incorporated both fixes (the one I suggested to Morph as well as the one I suggested for you) so people who are now running avatar_clean.cgi won't exprience the same troubles you two did
I recently upgraded ubb I admin to the newest version and so had to rehack and such .. I installed this hack .. seems to be working great but theres just one problem.
With the old version (we were on 6.02 a long time o.O; ) we had the avatar hack installed along with a addon I once found on here that allowed for a link to a picture on their own web space to be there too.
I still have the instructions for it, but since the avatar hack and ubb has changed so much I don't think it'll work.
Yeah I know there is the custom thing now with this version .. but .. with over gosh 5000 user names last I checked ... that would be a lotta images and a lotta work for the admin and mods.
hi qasic. i tried before to install this mod and had problems.
quote:sry i might have explained that bit a little wrong, everything was uploaded fine, but in the cp the avatar manage and the one for uploading the avatars are there just the screens for them are empty. and in the my profiles section when i added it everything from: Your Picture: Enter a link to a picture of yourself. This must be a complete URL. down was gone. i used backups and just took everything back out but i would really like this one. just not sure what might be causeing the empty pages and that chunk of missing stuff in the my profiles. hope this helps explain it a little better.
well after taking everything out and not doing anything for a bit i figured it was installer error so i tried to rehack this again fresh from the start. i even found 1 or 2 things i missed the first time i hacked the files but to no avail. i had the exact same problem again. i get no errors anywhere but in the cp as before both places avatar manage and uploads avatar screens are blank no errors just a blank screen. and when u go into my profile there is a whole chunk of code missing. but again still no errors it's just missing? well i took everything out again wish i could have this but i take it that mabye my board won't have avatars this time around.
Charles Capps implemented that change for UBB 6.2.x to increase security I've had to reverse back the change to allow the upgrades to go through. Hope that helps.
quote:Originally posted by Nalina: I recently upgraded ubb I admin to the newest version and so had to rehack and such .. I installed this hack .. seems to be working great but theres just one problem.
With the old version (we were on 6.02 a long time o.O; ) we had the avatar hack installed along with a addon I once found on here that allowed for a link to a picture on their own web space to be there too.
I still have the instructions for it, but since the avatar hack and ubb has changed so much I don't think it'll work.
Yeah I know there is the custom thing now with this version .. but .. with over gosh 5000 user names last I checked ... that would be a lotta images and a lotta work for the admin and mods.
Anyone out there who can help?
Hi Nalina,
Unfortunately, with that functionality (having external urls), people can steal your UBB login cookies simply by entering a URL that is a PHP/CGI script with an appended javascript command. This is partly the reason why I've decided not to allow external URLs in my version of the avatar hack.
However, you will be glad to know that UBB 6.3.x will not have such limitation
The case of missing parts in the Control Panel and the ultimatebb.cgi are often the as a result of ubb_avatar.cgi, cp_avatar.cgi, and cp_vars_avatar.pl not being uploaded. Were these uploaded in their correct places?
I doubt anyone on the forum would realize that ^.^ I'm counting on it ... LOL ... But merf... what a pain. URL avatars is heavily relied on. The populas is itching to get them back.
When is 6.3 to be realeased?
(Figures I'll have to go through the whole upgrade process again ...)
If security is not an issue, than I recommend you remove my avatar hack and install "External Avatar Hack" instead available from my site. Hope this helps.
On clicking the avatar list page, I am getting th efollowing error message:
quote: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
iv'e tried everything took out all the avatar files them re added them chmoded them and still nothing. so ill just go with your external avatar listing mabye that will work.
quote:Originally posted by yors: On clicking the avatar list page, I am getting th efollowing error message:
quote: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Oh yeah i forgot to mention That this hack has was working for weeks and i started to get this err about 3days ago ......... and ive hacked the file about 20times these past 3days .......is there a option in the CP that it might Mess up the hack??? if so i might have Turned it on/off???
qasic.. I can't get an avatar list to show when clicking on the ' Click here to see all available avatars' in My Profile..Drop down box just shows a straight line below 'None' All paths are correct when I configured it in the cpanel..All files were upped and CHMOD'ed correctly..No errors showing, just no avatar listings..And yes, I upped some avatars to may avatar folder..I have many mods added to my board..Might this be the problem?? I'm using 6.2.1.2 on a UNIX server...Any assistance here would be great..
I tried to install Avatars, but when I update the control panel-avatars settings , it just show the following and no update action done, what's the problem ? I tried to upload the vars_avatars.cgi & vars_wordlet_avatars.cgi as you said, but still no work.. please suggest the solution of it , thank you very much !!! ======================================== You did not complete all required fields. You did not complete: avatar_field You did not complete: avatar_explain You did not complete: custom_avatar You did not complete: avatar_list_tab You did not complete: avatar_num You did not complete: list_explain You did not complete: pages You did not complete: list_text You did not complete: select_none You did not complete: select_custom You did not complete: close_window You did not complete: img_types =========================================
I use avatar_hack_v1_2_62.zip on Ultimate Bulletin BoardTM 6.2.1.2. It works well but my Mod's are not able to access the avatar maintance panel to upload new avatars. I set this function to on in the avatar control panel but access to the maintance of avatars is restrictet.
I read the thread but found nothing about this. Can you give me a clue ? Thanks.
now, I can access the controlpanel and go to the upload requester as mod. But if I try to send something the controlpanel return to main windows and tell me:
You do not have permission to access this area. » Use your browser's back button to return.
chmod seems to be right and I cant find any mistake in my hacks. but I will continue to check it. Any idea where I can search ? Upload as Admin works well.
Edit:
this section of hacking can't be done: [code][/code]If I try this I will get an error from my server so I leave this line as is.
You do not have permission to access this area. that is what i am told when i go into my controll panel/primary settings/avatar using ubb6.2.1 whats wrong?
any Idea for my problem ? (points 4 posts up). Mod's can access the control panel of avatars but are not able to upload new avatars. Permissions double checked, seems to be ok
I seem to be having a huge problem with this on a 6.2.1.0 The hack uploads fine, everything is set properly, permissions are set great. But whenever someone goes to select an avatar, it lets them chose it and preview it, but when they click submit it says that a hack attempt has been logged.
I've rehacked EVERY file at least 6-7 times over now, and also used the autoinstall and it doesnt work either...