|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
yeah I understood but instead of modifying the reply template modify the avatar template 
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Oct 2000
Posts: 505
Member
|
Member
Joined: Oct 2000
Posts: 505 |
And if anyone ever did this before, don't boggle to post the code Right now I'm damn short in time...
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
well I wanted to take a look but the link is down. (also i am not sure how perl can check the size in pixel of a picture)
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Oct 2000
Posts: 505
Member
|
Member
Joined: Oct 2000
Posts: 505 |
have a look at the upload thread, link is not broken but you have to do it with right click and save target as...
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
ok the way I see it is too add: right after in ubb_avatar.cgi, I haven't tried it for any side effect tho ..
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Oct 2000
Posts: 505
Member
|
Member
Joined: Oct 2000
Posts: 505 |
But how will this picture be connected with the user who uploaded it ? Even if you can force the filename of the image to be like membernumber.gif/jpg, how will it automatic be inserted ?
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
well you have to make it upload to the custom directory ans then add a message asking to refresh profile page, the custom avatar text will then appear
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Oct 2000
Posts: 505
Member
|
Member
Joined: Oct 2000
Posts: 505 |
would you mind going online in icq for a second ?
|
|
|
|
Joined: Oct 2001
Posts: 29
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 29 |
Muc, you want to install the Avatar hack, but have them link their own images right.
Well install the AVAtar hack, but do not install the hack part in the CP. This will leave Custom Field 3 open and you enter the link.
Real easy.
[ 10-27-2001: Message edited by: John A. MacDonald ]
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
then you don't need the avatar hack and just add a line in the template to call the image field.
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Oct 2001
Posts: 29
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 29 |
I never thought of that, you are right. I can toast most of the stuff.
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Are you guys trying to use the upload hack to upload custom avatars to a custom directory for this avatar hack? Like uploading as the user number.gif?
if so, i have the code for it if that's what you want. It works and been tested.
|
|
|
|
Joined: Feb 2001
Posts: 28
Member
|
Member
Joined: Feb 2001
Posts: 28 |
I am getting that same error! Has anyone figured out a fix yet?
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
yes, but also checking that there isn't allready a user_number image in the directory in order to delete it if needed
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Manik,
find inside avatarlist.cgi:
($0 =~ m!(.*)(\|/)[^/\]+!) && unshift(@INC, $1, "$1$2Modules");
and add above:
# Get the script location: UNIX / or Windows / ($0 =~ m,(.*)/[^/]+,) && unshift (@INC, "$1"); # Get the script location: Windows ($0 =~ m,(.*)\[^\]+,) && unshift (@INC, "$1");
qasic
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
I'm having some javascript problems like these. and any ideas? btw, i'm NOT using the xhtml hack.
|
|
|
|
Joined: Feb 2001
Posts: 28
Member
|
Member
Joined: Feb 2001
Posts: 28 |
Thanks qasic!
one question: what path should go into that UBBCGI.pm file?
do i get rid of the # at the beginning and then something like: C:pathtemp for the pathname? this is a win2k server.
[ 11-04-2001: Message edited by: Manik ]
|
|
|
|
Joined: Feb 2001
Posts: 28
Member
|
Member
Joined: Feb 2001
Posts: 28 |
Hey Qasic, Its still not working for me. I get the same error  Do I need to alter permissions for UBBCGI.pm? Or map .pm to perl.exe? Tia!
|
|
|
|
Joined: Aug 2000
Posts: 7
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 7 |
Is this compatible with the UBB Accelerator in 6.1?
Steve
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Steve, yes it's compatible w/ accelerator.
qasic
|
|
|
|
Joined: Nov 2001
Posts: 54
Junior Member
|
Junior Member
Joined: Nov 2001
Posts: 54 |
Great Hack as I've seen it on many boards.
Now that i have set up my own board I have tried to install it but keep getting ths same problem. Installed 3x with same prob.
When i access my cp it tells me that my avatar dir does not exist........... I have set thr perms to 777 and it is in the noncgi dir as stated in the instuctions
User reg screen coems up with this error: An error has occured:
Undefined subroutine &main::AvatarGutsProfile called at /home/sites/site99/web/Ubb/Templates/public_edit_profile.pl line 203.
I am using this on ubb6.1 final with the stars hack.
Some help on this would be great
thanx
[ 11-16-2001: Message edited by: dRiver ]
|
|
|
|
Joined: Nov 2000
Posts: 1,271
Kahuna
|
Kahuna
Joined: Nov 2000
Posts: 1,271 |
re: the vertical alignment issue
i remember in the v6.0 avatar hack, there was an editted version that fixed the vertical alignment of posts
if a user's post is only 1 line, and their avatar is taller than the post, the post, post icons, and member information (all the stuff on the right side) become vertically centered, instead of properly space (with the top stuff towards the top, the post just beneath it, and the bottom info on the bottom).
any chance on gettin the "recipe" for that fix again?
|
|
|
|
Joined: Nov 2000
Posts: 1,271
Kahuna
|
Kahuna
Joined: Nov 2000
Posts: 1,271 |
|
|
|
|
Joined: Nov 2001
Posts: 63
Member
|
Member
Joined: Nov 2001
Posts: 63 |
hi friends, I installed addon correctly, happens that in the hour to place addon it goes normally obtains to visualize it all normal one. But in my postagens avatar that I leave does not appear what it can be happening? Please they help me.
|
|
|
|
Joined: Dec 2001
Posts: 51
Member
|
Member
Joined: Dec 2001
Posts: 51 |
Does this auto-resize everyones image to a standard size? I installed the Jimbo hack for custom titles and ranks, which can do HTML (therefore I can insert avatars) but the pics retain their size -- whether small or large.
thanks.
|
|
|
|
Joined: Jun 2001
Posts: 729
Coder
|
Coder
Joined: Jun 2001
Posts: 729 |
Found an error in the code!!! In: public_register_page_kid.pl code:
FIND: # other registration fields follow:
ADD AFTER: require "$vars_config{CGIPath}/avatar_list.pl"; &AvatarGutsProfile;
Should be:
code:
ADD AFTER: require "$vars_config{CGIPath}/ubb_avatar.cgi"; &AvatarGutsProfile;
First time I was able to fix code myself 
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
I gotta say that when the wordlets initially turned up in French (  ), it nearly threw me for a loop, but I read the mighty find directions and figured it out! Thanks for getting this hack set-up for the latest UBB, Qasic. My board loves its avatars! 
Sue adwoff.com
|
|
|
|
Joined: Sep 2001
Posts: 46
Member
|
Member
Joined: Sep 2001
Posts: 46 |
Hi, Great hack but I'm having some serious problems. I want users to be able to link to their own Avatar so they can simply put in the URL but also choose one of the ones we provide if they don't have one. Currently, if they want their own, I have to do it for everyone via the cp. Now once I have done this it works fine unless they edit their profile in anyway. Once they edit their profile they loose the avatar....why? To summarise: 1. I want to fix the bug with them loosing their avatar when they edit their profile. 2. I want them to be able to link to their own avatar as well as choose one in the list without me having to do it for them in the cp.
Please help this is driving me mad.
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
quote: Originally posted by Nokia666: 2. I want them to be able to link to their own avatar as well as choose one in the list without me having to do it for them in the cp.
Nokia,
I don't have the answers to your one bug issue, but I think I can speak for those who create these hacks that this idea won't work--and there is a very simple reason why--bandwidth theft.
Too many people would see an avatar that they like somewhere else and direct link to it. It would be a nightmare on your part to monitor this.
My members love the avatars; if they want a custom one, I simply have them send it to me, and then I take care of it for them. A hassle, yes? But much, much better than having to monitor for bandwidth theft. 
Sue adwoff.com
|
|
|
|
Joined: Sep 2001
Posts: 46
Member
|
Member
Joined: Sep 2001
Posts: 46 |
Hi Mate, Thanks for replying Thanks again.
|
|
|
|
Joined: May 2001
Posts: 47
Member
|
Member
Joined: May 2001
Posts: 47 |
quote: Originally posted by DGMayor: As usual, Qasic to the rescue. New problem now. When I try to view my avatar list from the profile, it gives me the following:
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 UBBCGI.pm in @INC (@INC contains: ./Modules . c:/Perl/lib c:/Perl/site/lib) at c:lmallaubbcgi2avatarlist.cgi line 17. BEGIN failed--compilation aborted at c:lmallaubbcgi2avatarlist.cgi line 17.
I haven't touched the beta/preview versions of 6.1, so the UBBCGI.pm deal is totally new to me..
BTW, you rock my world Qasic 
[ 10-24-2001: Message edited by: DGMayor ]
Hey Qasic, almost 2 months later, still having the issue 
|
|
|
|
Joined: Dec 2001
Posts: 51
Member
|
Member
Joined: Dec 2001
Posts: 51 |
Thanks, I'll try out that Avatar hack 
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I'm having a problem, in the CP "Avatar Settings" the Avatar wordlets don't show up. My permissions are correct so what went wrong?
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
|
|
|
|
Joined: Dec 2001
Posts: 11
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 11 |
with the hack everything went thrue fine but theres a broken image for the pic of the Avatar idi i do something worng really early like at the
[code][/code]
[ 12-30-2001 12:35 PM: Message edited by: Dark Assassin ]
|
|
|
|
Joined: Dec 2001
Posts: 11
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 11 |
nm i feel stupid i figured it out
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Lord Dexter, have you checked Primary Settings -> Avatar Settings and the wordlets are not there? Checked to make sure vars_wordlets_avatar.cgi begins with %vars_wordlets_avatar = (
qasic
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Sorry qasic I got this fixed a while ago. The wordlets were in the wrong order.
|
|
|
|
Joined: Nov 2001
Posts: 99
Member
|
Member
Joined: Nov 2001
Posts: 99 |
ok I tried to install this hack but now when I click on profile search faq nothing shows up do you know what's wrong?
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Incorrect hacking in ubb_profile.cgi probably the most likely culprit.
qasic
|
|
|
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.
|
|
Posts: 808
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|