When I was collecting the Steam avatars to release to you guys, I had a thought, what if I can make a mod that would allow you to select an Avatar frame to go around your avatar like Steam does. Then I started thinking, what if I could make it tiers, (possibly). I would need to get with Lonestar on this and figure out some stuff, but let's take my avatar on this site. I will talk about the tier idea at the bottom pf this post.
Currently, it's
Now, lets look at a little animated video of what it could be with the frames, (just note), this animation is just using a little array JavaScript toggle system so when I click on the image, the border changes, just for this demo.
It's just a thought of a possible mod, but, my questions is, does anyone want it?
If not, or I get very little support for it, it's not worth proceeding any further.
Just note, the avatar frames I used here are from steam, but, for all you artist out there, all you need to do is make an animated frame and export it as an animated .png.
You can do the research to make your own.
What did I mean by tiers previously, well, I was thinking that you could unlock the ability to use frames after X post, and the more you post, you can unlock higher tiers that have better frames. Of course, to combat spamming, would have to build an admin section that would allow you to lock out a spammer so no matter how much they post, they would not qualify for the avatar.
This was just a random thought I had.
Update: Here is a link to the example page.
[UPDATE 2/20/2022]
I just posted about the current progress here:
Currently, it's
Now, lets look at a little animated video of what it could be with the frames, (just note), this animation is just using a little array JavaScript toggle system so when I click on the image, the border changes, just for this demo.
It's just a thought of a possible mod, but, my questions is, does anyone want it?
If not, or I get very little support for it, it's not worth proceeding any further.
Just note, the avatar frames I used here are from steam, but, for all you artist out there, all you need to do is make an animated frame and export it as an animated .png.
You can do the research to make your own.
What did I mean by tiers previously, well, I was thinking that you could unlock the ability to use frames after X post, and the more you post, you can unlock higher tiers that have better frames. Of course, to combat spamming, would have to build an admin section that would allow you to lock out a spammer so no matter how much they post, they would not qualify for the avatar.
This was just a random thought I had.
Update: Here is a link to the example page.
Please login to see this link Get registered or Log in |
[UPDATE 2/20/2022]
I just posted about the current progress here:
Please login to see this link Get registered or Log in |
Last edited by coRpSE on Mon Feb 21, 2022 7:12 pm; edited 3 times in total
I second that,
I updated the first post and put the example page available for you to view. I also added a few more still image frames to show that you are not just limited to animated png.
Another cool mod, very nice work.
Thanks.
First off, I updated the demo page from my OP that now shows 5 different sizes. I also have it start off with no frame to see what frameless looks like.
Well, there are some things that I am going to have to figure out first before I go forth with development, and I am open to suggestions. This issues that I can think of at the moment is as follows.
Note: These issues are with the current setup that I am using, which is a parent div, with a child div, (allows positioning of the avatars within the parent, centering), then, within the child div, I have the images with a position of absolute. Image 1, also known as the avatar, is 26px smaller than image 2, (the frame), since the frames have about a 13px transparency around them, (the animated ones I have).
Overall, I don't see it being easy by any means, I think writing the tag mod was easier, especially since I used the tricks I did on the lottery module. I don't see it really necessary to have an admin back end since I thought more about that tier system, and I am having my doubts. I just don't see that being something that I think will be worth wild, (being more of a headache than anything else). Maybe for a later release or if someone gets adventures, but, for this first release, I think getting a basic system thats like the avatar system is fine.
First off, I updated the demo page from my OP that now shows 5 different sizes. I also have it start off with no frame to see what frameless looks like.
Well, there are some things that I am going to have to figure out first before I go forth with development, and I am open to suggestions. This issues that I can think of at the moment is as follows.
Note: These issues are with the current setup that I am using, which is a parent div, with a child div, (allows positioning of the avatars within the parent, centering), then, within the child div, I have the images with a position of absolute. Image 1, also known as the avatar, is 26px smaller than image 2, (the frame), since the frames have about a 13px transparency around them, (the animated ones I have).
- Avatars will need to be set to a fixed size. Because of how the frames are overlapping the images, and the way I have it set up, would probably have to do a few tiers, like a 100x100, 120x120, and a 150x150 tier, or, (sm, md, lg, and xl), and where you place the avatars, you would have to define it. Those that are running a responsive theme, may be able to do something different with that. Could probably do it as a function.
I'm not looking to replace the avatar system, this system will not touch or replace any of the backend, just replace where the avatar is called for viewing. - Would need to set it so the avatar images, no matter what, show the size we want it, (easy to do). But, that means, those that uploaded or use avatars below what this mod requires, on the larger sizes, it may stretch the image a bit and **can**, not will, can distort the image. Of course, that would only be on locations where the larger avatars are used.
- Selection of the frame, this, Lonestar, I will need your help on. I was thinking to use something like my demo where it would show your current avatar, and you just click it till you find the frame you want, then what ever it is on when you click save, is the one you will get.
- To add more frames, maybe just have it where you can just drop them into the folder, and they will automatically be added to the rotation, just like the current avatar system. Doing that would eliminate the need to have an admin back end for uploading the images, saving time and headaches
- Now, coming up with a way to replace the current way the avatar is displayed, maybe with a function where you input the global avatar info, ($userinfo['user_avatar']), and then you can put in a size you want would work.
Example:Code: [ Select all ]
avatar_frame($userinfo['user_avatar'], lg);
I am just spitballing here. I'm open completely to suggestions. Â
Overall, I don't see it being easy by any means, I think writing the tag mod was easier, especially since I used the tricks I did on the lottery module. I don't see it really necessary to have an admin back end since I thought more about that tier system, and I am having my doubts. I just don't see that being something that I think will be worth wild, (being more of a headache than anything else). Maybe for a later release or if someone gets adventures, but, for this first release, I think getting a basic system thats like the avatar system is fine.
Looking great, loving it so far.
I really like this Idea and feel it would encourage users to post more on forums. I know it would be good for my site.
Keep up the great work buddy
Keep up the great work buddy
Thanks. I will be digging into this over this upcoming holiday. (using it as an excuse to hide from family).
ROFLOL! No hiding for me. Have fun hacking away with coding it.