Hack Name: Externall Defined Avatars v0.1
Author: qasic
Description: Allows a user to specific a picture to be associated with himself/herself when he/she posts and in his/her profile. This picture must come from an externally defined URL. Works on UBB 6.1.x AND UBB 6.2.x although it's officially supported only on UBB 6.2.x
Download: http://www.qasic.net/main.cgi?action=details;file=avtr_ext62
can't download.... got a main.cgi file.
Wonderfull Qasic! I know, it's a pro/contra thing but can it be modified so that swf can be displayed?
Maybe a small line of extra code under the jpg?
quote:
Originally posted by gohaku:
can't download.... got a main.cgi file.
I know.. i hate it when people make it dl threw the .cgi. Because on mac os 9 exporer, it thinks the file to download is the .cgi file and :- just a hasle to go to windows dl the file transfer it to the other computer.
Anyway, nice hack
That's weird .. it should recognize the Content-type header that is sent. No worries though, just rename the file to .zip and StuffIt Expander should expand it with no problems!
qasic
Qasic, i have modified this hack so that it can point to flash swf avatars.
It is not a replacement (if/else), the avatar can only be displayed when the avatar-image is turned off. But i'm sure this could be done to.
Further...it uses one of the extra custom profilefields. Only with your permission, i make it public with all the info in a zip or textfile.
[ 01-18-2002 01:22 AM: Message edited by: Variables ]
does this work together with the normal avatar hack?
Yes it does but it needs another profilefield and the $this_img renamed.
[ 01-18-2002 03:53 AM: Message edited by: Variables ]
Thanks Variables, I will give it a shot
Is there a way to make the avatar be 64 x 64?
Sounds good, I might give it a try later.
quote:
Originally posted by Danbeas:
Is there a way to make the avatar be 64 x 64?
Yeah, Dan and I were wondering the same thing. Is there a way?
~Jon
Qasic you going to port over your regular avatar hack as well?
Sure, send me the SWF version and I'll post it on my site.
I'll try to port over the Avatar hack to 6.2 on Saturday but no gurantees. I know of one individual on use the regular Avatar hack on 6.2 ... very easy fix
It all depends on the schedule of free them I have (which is very limited right now).
qasic
I've send it by mail Qasic, PM was not possible.
hi
very nice hack , thanks qasic
==============
Danbeas , JonNJapan :
try these
find
code:
chomp($user_profile[20]);
$user_profile[20] = "" if (($user_profile[20] eq 'http://')
hi
very nice hack , thanks qasic
==============
Danbeas , JonNJapan :
try these
find
code:
chomp($user_profile[20]);
$user_profile[20] = "" if (($user_profile[20] eq 'http://')
Variables,
I never received it. E-mail it to qasic(at)qasic.com
qasic
I added the regular avatar hack to 2 6.2 boards -- don't forget to hack public_register_form.pl
Like I said ... easy
qasic
quote:
Originally posted by JonNJapan:
quote:
Originally posted by Danbeas:
Is there a way to make the avatar be 64 x 64?
Yeah, Dan and I were wondering the same thing. Is there a way?
~Jon
I made the avatars display to 80x80 code:
chomp($user_profile[20]);
$user_profile[20] = "" if (($user_profile[20] eq 'http://')
sorry something gone wrong with the post
code:
chomp($user_profile[20]);
$user_profile[20] = "" if (($user_profile[20] eq 'http://')
quote:
Originally posted by qasic:
Variables,
I never received it. E-mail it to qasic(at)qasic.com
qasic
???! Ow, let's try again. Mail send, PM send (just in case).
to use the images as big as you want
http://balder.prohosting.com/~galip/exav.txt
here is the solution
sorry for the mess on recent posts i couldnt be able to use the code tags. Pls moderators delete those corrupt messages
[/code]This / should be in the end, and it's not XHTML compatible...
[code]
[edit: misspelling]
BTW, what's wrong with your [code] tags? They work fine here...
Thanx for correction LK... but it also works on the first one also
Well, Galipali's works fine, so I'm using it right now. But I'll change the LK's code later....
~Jon
I would recommend you use LK's version. It's XHTML compliant and that's what we're striving for.
qasic
quote:
Originally posted by qasic:
I would recommend you use LK's version. It's XHTML compliant and that's what we're striving for.
qasic
Ok. I'll go ahead and change it now. =)
~Jon
Man i hate it when you guys post all this code and dont label it correctly
How in theheck do i get this to work with the regualr avatar hack so you can choose one from the list or input your avatar from a URL
like ya could in the old 6.05 version?
HI ssilenthill,
You are right it is anoying throwing different codes in.
I used another profile number instead of 20 I used 17 then go to your registration settings and chance Custom Registration Field # 2: make it a optional field and put in Avatar url:
In the public_topic_page.pl do not forget to chance the $this_img to $this_extimg.
One irritating thing is that if a user select a avatar AND an external avatar you will see two avatars.
Hope that helps
quote:
like ya could in the old 6.05 version
This was impossible on the Qasic.NET edition of avatar hack.
qasic
Whats so special about Qais.NET beside that you rock lol
i dont understand why that ahs anything to do with why that was impossible.
i could understand if this version of the UBB was so drasticly different that it wasnt possible lmao
and if so why not just say so
I meant that unless you added the code yourself, you didn't have an option to enter a URL or select a picture from the list. You must have had to added code into my hack to allow you to do the above.
The Qasic.NET hack never had this functionality and that's why it remains the same in the 6.2 version as well.
qasic
Hi, i have the Standard Avatar Hack installed and also have installed the External Avatar Hack.
But when i try to view a post after adding External Hack i get this Error.
quote:
public_topic_page: syntax error at /home/total-am/public_html/ubb/Templates/public_topic_page.pl line 129, near "6) "
Please inform the board administration of this error so that they may fix the problem. Thank you!
Anyone know what this is..??
Thanx for any help.
but this is one UPGRADE for Avatar Hack 1.0 ?
if no please make one upgrade for it..
thx
What does this mean..? I have installed Avatar normal hack and External hack and it don't seem to work together. Do i need to do this.. ? Cause all i get is 2 avatars ahowing at same time but NO avatar from URL..?
quote:
Originally posted by maurice:
HI ssilenthill,
You are right it is anoying throwing different codes in.
I used another profile number instead of 20 I used 17 then go to your registration settings and chance Custom Registration Field # 2: make it a optional field and put in Avatar url:
In the public_topic_page.pl do not forget to chance the $this_img to $this_extimg.
One irritating thing is that if a user select a avatar AND an external avatar you will see two avatars.
Hope that helps
Well i changed the above and when you choose external avatar you get No avatar..?
I wouldn't mind this is only a small hack.
So does it work with normal Avatar hack.??