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.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.