UseBB Community

The official board for UseBB help and discussion

UseBB Community » Resources & Customization » What I am working on

What I am working on

Moderators: Gaia.

Page: 1

Author Post
Member
Registered: May 2005
Posts: 298
Location: 98671
An uploadable means of adding avatars, not sure when, making it as light and easy as possible, hey I gotta learn.

User posted image

Edit: if unable to view image its due to some hosting issues.
« Last edit by William on Tue Aug 08, 2006 5:46 am. »
Member
Registered: Apr 2006
Posts: 57
Location: Athens, Greece
I don't understand.. are you working on a MOD for remote avatar uploading? And what you mean by "hey I gotta learn"? Don't you know PHP yet? :?
Member
Registered: May 2005
Posts: 298
Location: 98671
Next Step wrote
I don't understand.. are you working on a MOD for remote avatar uploading? And what you mean by "hey I gotta learn"? Don't you know PHP yet? :?

Yes to MOD, when you click browse you get a file off your computer and upload to a directory of choice, decided since they will be avatars they will be stored in a avatars directory, I am learning PHP on my own, when I actually sit down and think I learn.

No time limit when available yet.
Member
Registered: May 2005
Posts: 298
Location: 98671
Due to server issues the past couple of days its been going slow testing that.

In the meantime, I've been studying the code, what I plan on doing is when you get a file, then press OK it will automatically place URL in the Avatar URL location, while at the same time storing image in a directory.

If I can get this to work, all is well.
Member
Registered: May 2005
Posts: 298
Location: 98671
I am no PHP wizard, so far; everything came back in error, I will get it though.

Still, I am studying the code alittle more, won't be much code added, after that, eventually will plan on adding some configurations in ACP.
Member
Registered: May 2005
Posts: 298
Location: 98671
Since I am no PHP guru/wizard having just a hard time getting this, the part when clicking OK after you get a file from your computer, everything else is done, haven't even tried ACP yet, this will come later.

So far, the files that need modified are:
1. sources\panel_profile.php
2. templates\default\panel.tpl.php
3. languages\lang_English.php (others languages can be done in same manner)
Member
Registered: May 2005
Posts: 298
Location: 98671
Tackled this without knowing anything, spent all this time on it and nothing, if anyone knows a lot more about PHP then I do, please feel free to grab the text file below, whats been done so far.

http://www.wmcintosh.net/uploads/avatarupload.txt

Page: 1

UseBB Community » Resources & Customization » What I am working on

UseBB Community is powered by UseBB 1 Forum Software