Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 6 1 2 3 4 5 6
Joined: May 2000
Posts: 26
Member
Member
Offline
Joined: May 2000
Posts: 26
ell, everything works now.. but when i press the view/update profile button.. it slowly goes to a connection timed out.. what the hell?

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

Joined: Jan 2001
Posts: 72
Member
Member
Offline
Joined: Jan 2001
Posts: 72
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?

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

Joined: Mar 2001
Posts: 22
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 22
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)

Sponsored Links
Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
if installed correctly there should be NO problems!

Joined: Mar 2001
Posts: 22
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 22
But there is no way I could of installed it wrong. I even checked it over, both times.

Joined: Nov 2000
Posts: 148
Member
Member
Offline
Joined: Nov 2000
Posts: 148
Will this work with 8.4

Quote
quote:

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Read the docs. York, AIM/ICQ me for personal support. kalokf/10488369.

qasic out

Joined: Jul 2000
Posts: 53
Member
Member
Offline
Joined: Jul 2000
Posts: 53
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.

Sponsored Links
#131283 03/11/2001 10:47 PM
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Can you post a picture of where your avatars are not showing up? Or perhaps a link to a test account to your UBB?

Joined: Mar 2001
Posts: 149
Member
Member
Offline
Joined: Mar 2001
Posts: 149
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

#131285 03/12/2001 12:45 PM
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
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

Joined: Jul 2000
Posts: 53
Member
Member
Offline
Joined: Jul 2000
Posts: 53
Ok qasic as you can see below this is what is happening:

[Linked Image]

As you can see there are no formfields there. ....WHY?

Joined: Oct 2000
Posts: 807
Member
Member
Offline
Joined: Oct 2000
Posts: 807
you gotta update!

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Is the template cp_vars_avatar.pl inside your templates directory and CHMOD 755?

q

#131289 03/12/2001 10:02 PM
Joined: Jul 2000
Posts: 53
Member
Member
Offline
Joined: Jul 2000
Posts: 53
whoops thanks works now

#131290 03/12/2001 10:40 PM
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
That's the problem with people ... not reading the docs (j/k) laugh

Anyways, how did you fix it? Was my guess correct?

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

Joined: Mar 2001
Posts: 11
CG Offline
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 11
Don't do these little upgrades and patches. Release the full version and stick to it.

Joined: Mar 2001
Posts: 11
CG Offline
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 11
Don't do these little upgrades and patches. Release the full version and stick to it.

Joined: May 2000
Posts: 26
Member
Member
Offline
Joined: May 2000
Posts: 26
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

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

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

Joined: Nov 2000
Posts: 82
Member
Member
Offline
Joined: Nov 2000
Posts: 82
Quote
quote:
Yup the upgrade instructions are great [Linked Image] it makes upgrading so easy smile

#131298 03/13/2001 10:27 AM
Joined: Mar 2001
Posts: 11
CG Offline
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 11
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...

#131299 03/13/2001 11:49 AM
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
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

#131300 03/13/2001 10:21 PM
Joined: Jul 2000
Posts: 53
Member
Member
Offline
Joined: Jul 2000
Posts: 53
qasic

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

Sorry frown

#131301 03/13/2001 10:27 PM
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
No problem. I added a note for that problem in the FAQ part of the document.

q

Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
Quote
quote:
What about modérators ? Usually they are the ones that do the job on my board smile


Do you believe in love at first sight,
or should I walk by again?
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
You can hack that in if you like.

q

Joined: May 2000
Posts: 26
Member
Member
Offline
Joined: May 2000
Posts: 26
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

Joined: Feb 2001
Posts: 41
Member
Member
Offline
Joined: Feb 2001
Posts: 41
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!

Joined: Mar 2001
Posts: 5
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 5
what beta is this for?

Joined: Sep 2000
Posts: 77
Member
Member
Offline
Joined: Sep 2000
Posts: 77
It works for beta 8.5 :-)

Joined: May 2000
Posts: 26
Member
Member
Offline
Joined: May 2000
Posts: 26
8.4 and up

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

Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
as soon as ubb6 final is released you should rename this hack to version 1 smile


Do you believe in love at first sight,
or should I walk by again?
Joined: Mar 2001
Posts: 5
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 5
is there an avatar hack for beta 7.9?

#131312 03/16/2001 10:11 AM
Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
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.

Page 3 of 6 1 2 3 4 5 6

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
Morgan 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)