Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 4 1 2 3 4
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
quote:
Originally posted by Ed:
Sorry qasic frown

But where is the thread? Please help frown

Ed

This one .

qasic

Sponsored Links
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
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.

qasic

Joined: Jan 2002
Posts: 63
Member
Member
Offline
Joined: Jan 2002
Posts: 63
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.

Joined: Aug 2001
Posts: 50
Member
Member
Offline
Joined: Aug 2001
Posts: 50
Immediately after upgrading from 6.0.5 to 6.2.1 18,000 members began asking "when will the avatars be back".

By far the most popular hack on my site. Good Job

Simple, effortless. I like it

Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Nuts!

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 made my choice, this is what popped-up:

quote:
Script Error
Line 262
Char 2
Error 'document.forms.0.picture[...].value' is null or not an object
Code 0
url http://adwoff.com/ubb-test/cgi/ultimatebb.cgi

If you can just point me to the file with the error, I'll try to debug it.

Thanks! laugh


Sue
adwoff.com
Sponsored Links
Joined: Aug 2001
Posts: 50
Member
Member
Offline
Joined: Aug 2001
Posts: 50
rekack your public_register* pages

Joined: Mar 2001
Posts: 136
Journeyman
Journeyman
Offline
Joined: Mar 2001
Posts: 136
* never mind * smile

Joined: Nov 2001
Posts: 745
Admin Emeritus
Admin Emeritus
Offline
Joined: Nov 2001
Posts: 745
Thanks for the patch, Qasic. It worked real great!

Joined: Mar 2002
Posts: 3
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 3
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.

Any ideas what could cause this?

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Bhavin,

rehack UBBCGI.pm paying attention to the instruction that tells you to check the 'tmp' path.

qasic

Sponsored Links
Joined: Mar 2002
Posts: 3
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 3
Ok, I'm not sure what path to put in for the line:

$TempFile::TMPDIRECTORY = '/usr/tmp';

Joined: Mar 2002
Posts: 1
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 1
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!

Joined: Jan 2001
Posts: 38
Member
Member
Offline
Joined: Jan 2001
Posts: 38
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.

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
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.

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
quote:
Originally posted by Bhavin:
Ok, I'm not sure what path to put in for the line:

$TempFile::TMPDIRECTORY = '/usr/tmp';

Are you on a Windows or Linux server?

qasic

Joined: Jan 2001
Posts: 38
Member
Member
Offline
Joined: Jan 2001
Posts: 38
quote:
Originally posted by qasic:
You probably forget to load vars_avatar_wordlets.cgi in ultimatebb.cgi so rehack ultimatebb.cgi using a backup.

And how do I do that exactly. I tried adding

use vars qw(%vars_avatar_wordlets);

To my ultimatebb.cgi under where the use vars qw(%vars_chat %vars_wordlets_mods); is. it didn't do anything different.

Joined: Mar 2002
Posts: 4
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 4
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 ?

Joined: Mar 2002
Posts: 3
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 3
quote:
Originally posted by qasic:
quote:
Originally posted by Bhavin:
Ok, I'm not sure what path to put in for the line:

$TempFile::TMPDIRECTORY = '/usr/tmp';

Are you on a Windows or Linux server?

qasic

I'm on a Windows server..

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
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

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
quote:
Originally posted by Bhavin:
quote:
Originally posted by qasic:
quote:
Originally posted by Bhavin:
[b]Ok, I'm not sure what path to put in for the line:

$TempFile::TMPDIRECTORY = '/usr/tmp';

Are you on a Windows or Linux server?

qasic

I'm on a Windows server..[/b]
Ok .. put your path like c:/winnt/temp or c:/temp were everyone can write to that temporary directory.

qasic

Joined: Mar 2002
Posts: 4
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 4
quote:
Originally posted by qasic:
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.

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
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.

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Hi Xpert,

Thank you for alterting me to this vulnerability. Indeed, I should fix this bugger.

qasic

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Avatar Hack 1.2 Released

Download: http://www.qasic.net/main.cgi?action=details;file=avatar62

New Updates:
  • security update to prevent users from selecting another's custom avatar (thx to XPert for reporting this problem)

Update Instructions: Read the ReadMe.txt from the ZIP file.
qasic

Joined: Apr 2001
Posts: 18
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 18
Hello Qasic,

I get this error when I run avatar_clean.cgi:

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)

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I get this error;

exists operator argument is not a HASH element at /home/sites/site12/web/cgi-bin/avatar_clean.cgi line 398.

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Metamorpheus,

I'm going to try someing. Open up avatar_clean.cgi.

Find:

&switch("$vars_config{MembersPath}/$id.cgi");

And replace with:

&switch("$vars_config{MembersPath}/$id.cgi") if ($id ne '');

Re-run the program and LMK if there are any problems.

qasic

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
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

Joined: Aug 2001
Posts: 71
Member
Member
Offline
Joined: Aug 2001
Posts: 71
*has no idea what batch size means, but left it as 100 anyway..*

Did i do good..? tipsy

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Batch size indicates the number of files that would be 'fixed' at once. Did the clean perform successsfully?

qasic

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
quote:
Originally posted by qasic:
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).

Joined: Aug 2001
Posts: 71
Member
Member
Offline
Joined: Aug 2001
Posts: 71
quote:
Originally posted by qasic:
Did the clean perform successsfully?

Sure did, no errors for me whatsoever smile
*feels lucky*

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
XPert:

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:

find:

$_[3] =~ s/;/&/g if (exists $_[2]);

and replace with:

$_[3] =~ s/;/&/g if (defined $_[2]);

LMK how this fix goes.

qasic

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
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)

I was logged into the cp at the time.

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Try logging out of cp.cgi and then re-loading cp.cgi from the same browser window.

qasic

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
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.

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Hi XPert,

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 smile

qasic

Joined: Apr 2001
Posts: 18
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 18
quote:
Originally posted by qasic:
Metamorpheus,

I'm going to try someing. Open up avatar_clean.cgi.

Find:

&switch("$vars_config{MembersPath}/$id.cgi");

And replace with:

&switch("$vars_config{MembersPath}/$id.cgi") if ($id ne '');

Re-run the program and LMK if there are any problems.

qasic

This worked perfectly!... Thank You! cool

~ Meta

Joined: Apr 2001
Posts: 7
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 7
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?

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I seem to have broken something, when I try to use the avatar upload function I get this error;

Sorry, UBBCGI.pm has uploads disabled.

Any idea what I could have done to cause this?

Page 3 of 4 1 2 3 4

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)