I have been working on a rather ambitious project for SMF and have hit a snag. With my limited PHP & Javascript knowledge I cannot figure out how to make an image...
here is what I am working on:
Avatar Maker (http://avatar.dragontalk.net)
Right now it is a standalone version, but when I am finished I will make it fully integrated into SMF and TP with an admin panel, permissions and blocks.
What I want to do (and can't figure out) is to take the image that is created to the left and make it and unlayered image to save as a variety of filetypes. I have (as you can see) seemingly figured out everything else so far (I have focused on the interface, all the other functions for SMF will be started once I get this image issue sorted out).
So this post has two purposes:
1. To show the TP community my project and hope that it generates interest (I have a small list of beta testers so far)
2. To ask everyone if anyone knows enough AND is willing to help me overcome this hurdle so I can move forward.
And help or suggestions about possible features would be immensely appreciated!
Looks good! Wish I could help if I could. :o
EXCELLENT!! Wonderful stuff man.
First darkmans theme CSS generator
And now this!! The day just gets better :D
Really looking forward to this.
Thank you...I a looking for someone that knows PHP and GD well enough to help me get through the image generation part...that is where I a stuck because that is just a bit too much beyond my skill (though I am still trying to figure it out!)
Glad you guys are excited about it! the best part about it is that you could use ANY images you wanted, not just the ones like I am using!
Anyone who knows about Gaia online knows about their avatars...well, a lot of searching on the net produced nearly worthless results towards adding a similar feature to a forum or a website for that matter. After a lot of searching I came acrros but one version on the net but it was done with javascript with all of the files that actually made it work housed on another site...again...worthless in the long run.
So...I decided to create my very own version that I WILL distribute freely on the net...
Currently you can see the fruits of my labor here:
http://avatar.dragontalk.net
This is the standalone version for anyone who wants to add this to their website...
Currently I am now in the process of making this a MOD for SMF...while I have the basic page and link set up with the permissions to allow or not people to see and use it, i have several other functions/permissions that I plan on implementing when I am done...
currently this is at version 1.0...
Future version hope to have the following abilities:
- Save the avatar to profile when finished instead of as an image and then upload to your profile manually.
- A Full admin panel to add/remove/edit items
- The Ability for members to go back and change their avatars they have already made OR create a new one (see next option)
- Ability to restrict the number of avatars that any one member can make similar to limiting the number of PMs a member can receive.
- Integrate with the shop (if installed) so that members can use points they earn on the purchase of their avatar and various items
- Any other ideas brought to my attention...
This was/has/is a major project and I want anyone's input on layout or features if you have them....
Those of you who have made the prerequisite number of posts and are registered at this forum (http://dragontalk.net) can see the progress of the integrated version by clicking here (http://dragontalk.net/index.php?action=avatar).
That is the coolest thing I have ever seen!! Very good work!! I can't wait to see the finished product!!
Very very nice. Great idea. I'll really be looking forward to this. (sorry, but I don't know enough to be able to help. Good luck though)
Well I have started on the admin interface, and as far as the standalone version it is safe to say it is complete...now the hard work of integration begins
on a vB forum I saw something similar but the only difference was that their whole system was integrated with the vB equivalent of 'shop mod (for smf)'
so people would post, earn credits, play games earn credits
and then they could buy new features from the shop including a new custom avatar and then one by one assecories for thei avarar as well
i think it was on christianforums.com
well, that may be...I hadn't seen it there, but suffice to say I wanted what I did see and have it available to everyone instead of only a select few.
I created an avatar. If anyone wants to see it is there:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fbrianjwilson.com%2Fcoolmeavatar.gif&hash=97c74c1402bd29e905b70c0155bf6f6ac6a0530c)
I told my users about your work on this project and they absolutely love it and can not wait for it to become a package on smf.
Incorporating it into the smf shop would be awesome!
Excellent work!
excellent stuff
this package will be the best thing since smf itself
WOW,
I am glad you guys are using it and looking forward to it!
I would have responded sooner but I have been hard at work on it!
so here's an update on where I am...
Created own Admin Category
Ability to add items to database
Ability to edit items
Ability to delete items
Permissions to use the Maker
Permission to admin the Maker
Now, if I may say so, it has turned out to be a very slick inteface I have coded. Here are some screen shots attached.
Now that the hardest part (for me at least) of the admin interface is complete, I am going to now add some additional permissons and add some integration to the SMFShop (if it is installed).
Here is a list of what I plan to do:
- Integrate the maker with the shop (if installed) to the extent to have users use their credits to purchase the items to make their avatar.
- Ability to save the avatar image directly to the members profile
- Ability to edit already created avatar once saved to profile
- Additional Permissions to allow users to create more than one avatar and have those avatars available to choose from if they want to edit it in the maker
- Ability to set the max number of avatars a member can make based on their membergroup
- There is another person helping me by creating a "switching mod" to allow users to select from their created avatars to show either globally or by post or topic.
If anyone has any suggestions let me know as I am very interested in your opinions! Also, there are some minor coding issues I am having difficulty figuring out so any help there would be beneficial as well.
OH, for the tp part I will be coming up with code for blocks to allow you to show the most recently created avatar, total avatars created, most popular items used...etc...
Lastly, I will be taking the standalone version down to prepare it for release to the general public.
Is this gonna be something i can install to my site. i would want it to be located at like index.php?action=avatar or something :) GREAT JOB! ;D
yes, the integrated version will have a completly working interface with SMF.
You can see a what it looks like so far at my site, but you have to be a member and have posted at least five times...
Will you post this on smf?
Already did, a few times already and noone over there seems to care one bit about this
wow this is looking really awesome!!
Honestly I jumped with joy at the sight of the screenshots! Literally :D
Yes, cant understand that they dont react on this over at SMF, but also, they tend to do the same agains members that uses TP to, so....
I think this will be an awsome thing for a lot of sites and developers, so please keep this going and inform us with the project and also if yoiu need testing i think there will be some people that will be your Alphas in no time :)
ROFL
Thanks guys...
Honestly this is why I prefer tiny portal (not just the program, the site too) because you guys actually pay attention.
Seeing as there are a few people willing to help me test, I may have an alpha version here in a week or so...so keep watching!
This is a very cool deal.. The admin interface looks awesome!! I would like to help you test this if you need help. I am watching this topic like a hawk.. ;D
Very cool...i will add you to the list....right now I have rewritten the code so that now everything has been consolidated into fewer files and takes advantage of smf variables...now that that is done, I am going to start on allowing for direct "upload" to the members profile!
Very nice :coolsmiley:
Thank you...another update:
I have completed part of the auto upload to member's profile...the avatar is saved with a unique name to the server in a specific folder, so all I have to do is run a query to update the members profile and it should be finished
:D i saw it 1st :D
if current pace keeps up I should be in a position to start having alpha testers...so anyone interested, please let me know again!
I send in Aku as an Alphatester, ans then i can request avatars from him :D :P :-*
Quote from: TechnoDragon on January 06, 2007, 03:41:45 PM
if current pace keeps up I should be in a position to start having alpha testers...so anyone interested, please let me know again!
I would luv to test this for you!!!!
:D ;D :laugh:
Great project Techie..
Here's crip ;D
Some facial hair would be nice, like a beard?
Hey look..No chair.. :P
Quote from: crip on January 06, 2007, 04:29:05 PM
Great project Techie..
Here's crip ;D
Some facial hair would be nice, like a beard?
Actually there is facial hair...it is under face_extras.
So, so far I have Aku, Crip and PVCBlue...ok great!
Also, anyone that knows AJAX pretty well I would love to speak to you...
look's good so far!
you outta see the forum version!
Please give's me the forum version link please?
installed on test site and working A-ok so far
except the ajax bit :D
the members love it
infact ive gotten 59 members just today who signed up to use this
Well, the forum is http://dragontalk.net...but the maker can only be seen by members with five or more posts...
@aku...how did you install? from the version on my downloads?
If that is the case, that version is so far removed from what I have now it's not funny!
As an update:
I have added a better way to put out the category names and allow (in the admin panel) to make those titles anything you want!
Awe man I feel left out... I wanted to test this too.... :'(
Great work though!!
Gargoyle...are you interested in alpha testing this for me?
Ok, here's what I want...anyone who is interested in alphatesting...sign up for an account on my forum...
then post that you would like to be an alpha tester in this thread:
http://dragontalk.net/index.php?topic=2934.0
I will be setting up a special group and board for this if I get enough people interested...once we get past teh alpha stage (which it is in right now) I will let you guys have a copy to beta test on your forum...
Signed up :)
Also i wonder if you have updated your theme for SMF 1.1.1 and TP V.097 ? I miss it in the donloadsection ;)
lol, thanks!
Actually I am still debating on whether to upgrade to the latest versions right now...with the numerous mods I have installed it is quite the chore...as for the themes...same issue...they get updated when I update...lol.
but I am looking at when I get to a public release of the maker, to upgrade everything then to whatever the current verrsions of everything are.
EDIT: Ok, those of you that have signed up so far are now in the Betea Tester Group and should have access to the maker as well as the admin panel. Please read the posts in the new board set up for beta testers Avatar Maker (http://dragontalk.net/index.php?board=136.0) before doing anything...if anyone is still interested just make sure to let me know in this thread at my forum after you sign up: http://dragontalk.net/index.php?topic=2934.0
Seems like i dont have permissions to use the avatarmaker as a beta tester to it :2funny:
QuoteYou arent allowed to make an avatar yet, sorry!
lol
Try it now!
Now it works :) Thank you !
ROFL
Sorry My post count requirement tends to get in the way, though I would have though giving you the permission for the new group would have fixed that...
Tested to make one :)
Images to add ;)
Sable, sword, pitate hats, beard/s, pitate boots, shirts (white & gray) one eye and one eye with a cover (pirate offcourse :laugh:
there is an eye patch in the little extra category
lol
I have registered.... I also have a question for you about the golden dragon... That is one of the items I would also like to add to one of my sites... ;D
Ok, done...just make sure to read the post in the avatar maker board (link in previous post) and make sure to post any comments, bugs, or suggestions there.
EDIT...I will have to look to see if I can find the package I have for the gold dragon...it is integrated with the shop and has many more features than the version that is on SMF (formerly the llama mod)
Ah yes the shop and the llama... These are things that will require some research on my part. I have to make sure these items would get used by the people on my board. ;D
That dragon thing is just cool though... I love it!!
wow..this is very impressive. I have seen that mod elsewhere and was thinking then it would be cool to have something like for SMF. Never got around to it though, a tiny mod called TP craved all my attention ;D..but great that someone picked it up.
I saw you asked about GD functions..but it seems to work fine now? Any other big hurdles you need help on..?
Wow...thanks Bloc! You are one of those people that I greatly respect your opinion when it comes to coding...so to have you respond is nice!
Actually it is not so much a hurdle, but I would like to have it refresh using ajax instead of the standard html page reload but I know nothing at all about AJAX.
I'll have to tell ya though, TP has been a much better site than SMF, you guys (all of you) ROCK! of all the boards related to SMF i HAve posted this on, this is the ONLY site that I have gotten any real response from.
@Gargoyle
well, see that is an additional beauty of my mod...I intend to give it functionality for the shop as well!
I have joined your site, and want to be a beta tester ( i posted in that thread )
I need permission like you gave G6. Thanks,
Brianjw
done!
OH, and Bloc...or anyone reading this for that matter...if you have any experience using the unlink function in php I could use a hand with something...
lol tech dont worry i dont have it installed
that was a trap to cause some rucukus on everyone to rush to be alpha testers :2funny:
but no one fell for it lol
ROFL
It did work...we have four (or was it five) people who signed up to be beta testers just today!
Ajax I am a bit unfamilar with myself :) , but the unlink function..what do you have trouble with there?
good stuff
the admin panel is cool and very good farsight of integrating with shop!
Excellent - this has to be one of the best though out mods yet to hit the smf crowd.
Made an avatar works out pretty well
but just one thing, the items could use a small text description under it maybe like "eye patch" etc etc cos many of them just cant be understood what they are until after u try em out
but either ways great one!
Quote from: Bloc on January 08, 2007, 10:00:37 AM
Ajax I am a bit unfamilar with myself :) , but the unlink function..what do you have trouble with there?
Actually, I finally figured it out...and it was a silly thing too...for my path I had been using $boardurl where i should have been using $boarddir. That simple change made it work properly! thanks for replying thouhg. And I have been finding out a lot of people know php, and javascript, but AJAX knowledge is hard to find! LOL
Quote from: Aku on January 08, 2007, 01:07:03 PM
Well, the items descriptions I added just to get them in the database. There are over 3000 images that I had to put into the database all at once (male and female combined) and I just didn't have time to name and describe all of them. SO I just defaulted to the category title with no description (for the most part) the items I had been adding using the admin interface though are the ones that you'll find have a load of information.
good stuff
the admin panel is cool and very good farsight of integrating with shop!
Excellent - this has to be one of the best though out mods yet to hit the smf crowd.
Made an avatar works out pretty well
but just one thing, the items could use a small text description under it maybe like "eye patch" etc etc cos many of them just cant be understood what they are until after u try em out
but either ways great one!
A lot fo the ideas came from a few friends of mine that helped in the planning stages when I announced I wanted to make a version for general use. All of what I found on theinternet did not allow any real control over what you could or could not do, and none of them would allow you to truly integrate into a forum. So I created the standalone version first to get the foundation ready, then I just went from there. BAsically I am setting it up for the features I can think MAY be useful without oversizing the maker or filling it with options or features that may not be used.
So thanks again for your guys/gals interest and help!
Unfortunately when I first started coding this I had a large number of images already that needed to be input into the database. As a result most of the items were just generically labeled because I used a csv to enter them. so as a result most of the items were given a generic name and description.
When will this mod come available and where can it be displayed?
Quote from: me
Repeating this on TP so others can know :)
well, availablility is hopefully within a week or so for a beta release (though I would still have to package it as an uploadable mod) as far as seeing it, right now the only way to see it in action is to either be a beta tester, OR a regular member with more than five posts at my site...
There is something you may be able to help me with Bloc...I would seriously like to make this a module for TP. Is there any helpful information that would make that process easier?
Well, right now the module plugin code is unfinished, but TP 1.0 will have that ready.
Very Cool, more than likely a final version of my app will be ready when 1.0 comes out!
Well, I am just posting here an update!
This is the done/todo list right now:
available:
- Membergroup access permission
- Admin access permission
- Delete Items from database (bug corrected)
- Add items to database
- Edit Item information
- Admin Ability to delete created avatars not being used by members
- Setting to restrict the amount of avatars that can be made
- Setting to turn on/off the ability for member to save to profile
- Upload avatars direct to profile
- Now when the member goes to the maker each time and selects a gender it clears any previously set items to eliminate the problem with having the opposite genders items.
- I have begun the process of shop integration...right now all there is are fields on the maker that will show how much you have on hand and how much the total cost of the avatar will be. Also all fields and functions specific to the shop will disappear when the "Shop Enabled" feature is turned on in the admin settings.
- Integrate with the forum shop (if available on a particular forum)
- When a member creates an avatar and deletes it, if they spent any forum points to create it they are given back the full cost of their avatar (I may make an admin setting to decide on a percentage of the cost...but haven't decided that yet) Decided and implemented!
- Allow members to modify an already created avatar rather than make a whole new one
- In the member's profile there is now a link so they can list all of the avatars they have created as well as other members to see avatars that have been created too!
- Allow varying levels of permissions for posting your created avatars in posts!
- Drop-down menu to choose which avatar to use in each topic/board
What I plan to do:
- Tiny Portal Blocks to show information like number of avatars created, most recent avatar, most popular item, gender ratio
- An external mod is being worked to go with this that will allow users to do several things with their avatars
Below are some screen shots I have taken. The top one is the new BBC code in action, the rest are screen shots of the admin interface and the member profile screen.
Lol..that is really cool. :up:
Totally awesome !!
I can't wait to see this in action on my site when it comes out :D
Also,
My avatar is in screenshot-admin6.gif (it says Brianjw)
cool!
Thanks,
brianjw :D
LOL
Ya, that is the screen shot of the admin interface to remove extra avatars if the admin wants
Ok, I do have a question for anyone who is reading this...I am at the point where I will be releasing a copy of this to my beta testers, but the issue I have come across (which will also be the issue for the final public release) is the package...by using SMF protocols to upload this it will require nearly 10000 lines of code...does anyone know of ANY easier way to do this so that I can automate the install for SMF WITHOUT having to create that many lines of code for an SMF package?
i assume mainly for the images to be stored on to the server?
you could do this in the package and it includes all the images in the directory
<require-dir name="DIRNAME" destination="$imagesdir" />
where DIRNAME = name of the directory
But I dont know if this will include the subfolders or not, but you could ask down at SMF in the package SDK thread :up:
Ahhhh, that would make it so much easier! thanks Aku...the most I had ever done with a package myself was for a mod that was all code...that makes it so much easier.
Yes, it does include subfolders..TP contain the WYSIWYG editor folder and its several levels deep.
Thanks for the info bloc!
Well if all goes well I will have a package for the beta testers here soon!
I can't wait (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fbrianjwilson.com%2Fforum%2FSmileys%2Fdefault%2Fsm.hyper.gif&hash=c35b266de6dc0363ac73a9e7f692eb2d45cb450e)
And im a beta tester :D
Quote from: brianjw on January 14, 2007, 09:40:06 PM
I can't wait (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fbrianjwilson.com%2Fforum%2FSmileys%2Fdefault%2Fsm.hyper.gif&hash=c35b266de6dc0363ac73a9e7f692eb2d45cb450e)
And im a beta tester :D
You should have received the email with the download link...let me know if you didn't get it.
Let me check... :o
EDIT: I have it! Thanks TechnoDragon :)
I will let you know if I have any problems ;)
BIG PROBLEM: Your zip file for this is way to large. It took a while for it to upload to my computer, that is complete. But when I clicked upload file after putting the zip in there it just took so long that it came to an ie error page. Weird... I didnt even get to the errors of installing it yet. lol :2funny:
this is all covered in the beta board at my forum...just go and read the posts there!
if all goes well i will be able to release this publicly in a couple of weeks
Good luck techno i think its a real cool mod
thank you stormlrd!
And actually because of the beta testers I may have it available to install on rc3 AND 1.1 final!
once that part is ready I will work on blocks!
sweet bro sounds good.
cool! I am going to checkout your website in abit when i am done with my replies ;)
and brian u will probably try so just to let u know
dont do beta testing on ur live board lol
oh ok. haha :D
no seriously because currently the package is going to be bug tested, and already there have been a few bugs discovered which require hours of manual coding to fix by technodragon - so just imagine how long it would take us lol
So for any beta testers - set up a seperate board to test it out :up:
kk :up: will do
Ok, i am going to ask here seeing as you guys are quicker to respond than over at SMF...
I am trying to create the install package for my avatar maker, but even though it says test succesful for everything it is not making the edits to the files...what might be causing this?
Some of the files get edited by the packe others don't, but the install screen is saying successful for everything!
I have always had problems making this package stuff work, and this one is a huge package!
LOL
I can take a look..but I need to see the package in whole. Have had my share of trouble with this too. ;)
I will pm you with the download link. thanks for the help!
Ok, and update:
Currently we are officially at 1.1b3 and seem to have the install package issue resolved...made several bugfixes as well. HOPEFULLY this is a sign that we will start making some real progress! just wanted to take a moment to update everyone and to say thank you to all of the beta testers and bloc for all of the help!
I clicked on the links in the Package Update and in the PM and they bring up your 404 page ???
the original naming scheme was hard for me to keep track of...so there is a new download link that was posted in the beta tester board...
http://dragontalk.net/index.php?topic=3036.msg21235#msg21235
Alright...if anyone is willing i would like to get my language file translated please....
as well as several text strings that need to be added to other language files (unless someone know of a way to include them all into my language file)
$txt['avtr_controls'] = 'Avatar Maker';
$txt['avtr_settings'] = 'Settings';
$txt['avtr_settings_title'] = 'Avatar Maker Settings';
$txt['avtr_change'] = 'Avatar Maker Functions';
$txt['cannot_avtr_admin'] = 'You are not allowed to manage Avatars.';
$txt['permissiongroup_avtrmaker'] = 'Avatar Maker';
$txt['cannot_avtr_create'] = "You arent allowed to make an avatar yet, sorry!";
$txt['permissionhelp_avtr_create'] = "Allow this if you want this group to be able to make custom avatars";
$txt['permissionname_avtr_create'] = "Can make a custom avatar";
$txt['cannot_avtr_admin'] = "You aren't allowed to admin the avatar maker!";
$txt['permissionhelp_avtr_admin'] = "Allow this if you want this group to be able to administrate the items";
$txt['permissionname_avtr_admin'] = "Can administrate the Avatar Maker";
$txt['avtr_created'] = 'Created Avatars';
$txt['avtr_avatars'] = 'Created Avatars';
$txt['avtr_view_avatar'] = 'View member\'s created avatars.';
$txt['whoall_avtr'] = 'Creating their personality in the <a href="' . $scripturl . '?action=avtr">Avatar Maker</a>';
$txt['whoallow_avtr_change'] = 'Adding some new content to the <a href="' . $scripturl . '?action=avtr">Avatar Maker</a>';
any help with this is greatly appreciated!
It sees if everything goes as it has been recently we may have a public release soon!
Hopefully the public release will be a way where it includes the images and everything so it is no hassle right? ;)
To be honest, I am trying to work with anyone to create a unique, but small set of graphics to include since the ones being used cannot be distributed....
Well that is obviously not me!!! lol :2funny:
I have no tallent with images.
LOL
Actually one of the other beta testers is excellent with images and I am working with him to create an image set just for the public release.
ahh! and it will be able to be all in one zip uploaded through package manager right? ???
yes, once I have a set of images stricly for the public release, then there will be images and everything...ONLY beta testers are getting the full complement of images which is why the install is done the way it is right now.
Even though I am a beta tester, I think I will wait for the Public Release... :D Just to make it easier!
ROFL
Well, that is what beta testing is all about!
haha :D :2funny:
Well, the good news is we have advanced to beta 8 and hopefully the final beta. As far as everything appears all forums save one seem to be functioning error free(the one appears to be a server related issue regarding GD) and if everything goes well I hope to have a public release by this sunday!
So thanks to everyone that has been helping and encouraging me through this project and soon you will all enjoy the fruits of my labor!
[edit]
Great news everyone! I have completed everything early and this is now open for public release!
to download simply go to my site here:
Avatar Maker 1.1 Final (http://dragontalk.net/index.php?action=tpmod;dl=item77)
I have included a few items to get you started and to see what it is capable of...i will also be opening a support board at my site for any issues that may crop up. Also anyone that does come up with items for their Avatar Maker please post at my board as I am interested to see how everyone uses this!
Thanks go out to all of the beta testers!
[/edit]
Looking forward to seing it. :) I know I haven't been much of help in all honesty, but glad its beginning to take shape.
ROFL
You posted at exactly the same time I edited my post...but thanks for the encouragement Bloc!
Here are some screen shots of the final product:
TechnoDragon, I am not sure if you have a topic on your site for help or problems or not..
However, I have been pointed to some problems with this mod by my users.
If you have permission to Admin the avatar maker, it looks and works perfectly.
However, if you are a normal user and only have permissions to make an avatar, it seems to look and function terribly, and I am not sure how to fix that.
I have attached a pic with an admin account and a normal user account.
The normal user account it is showing wierd stuff.. and the pics of the faces are linking to different things such as eyes and shades. :S I'm stuck on what to do.
I am also getting this error in the error log, and I haven't a clue what it means
mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource
File: /mounted-storage/home/sub005/sc10689/www/Themes/default/Avtr.template.php (eval?)
Line: 180
Ok, that was brought to my attention too...something I did not see in beta testing because of the admin privaleges...I will be working on a fix today.
I will post the fix at my site when I get it ready and let everyone know it is done here...sorry for this. The board for support at my forum is the Avatar Maker Board
Great Mod. I can see that a lot of time and effort has gone into this. Kudos to the development team. How will we know when new image sets are available? I will probably wait until then before I make this available to my members.
Cheers
Well, I was kind of waiting to see what kind of interest there was before working on item sets, seeing that there is apparently interest I will work on an item pack sometime today!
Wonderful, thank you TechnoDragon
Quote from: TechnoDragon on February 04, 2007, 04:04:11 PM
Well, I was kind of waiting to see what kind of interest there was before working on item sets, seeing that there is apparently interest I will work on an item pack sometime today!
Thats Great
Thanks
Ok, fix is in...you can get it in this topic at my forum:
http://dragontalk.net/index.php?topic=3155.0
Quote from: TechnoDragon on February 04, 2007, 04:25:03 PM
Ok, fix is in...you can get it in this topic at my forum:
http://dragontalk.net/index.php?topic=3155.0
Thanks, looks great for regular members now, and that error in the error log is gone as well.
You have done an outstanding job with this avatar maker.
Wow this is cool!! :up:
than you all so very much!
Ok, a new item pack has been uploaded to my downloads section. Currently we are developing an RPG mod to go with the avatar maker as well AND I am trying to develope some tiny portal blocks as well!
ok, while i know block code snippets go in there own board, since this is specific for the avatar maker I am going to post the first one here and the rest will be posted at my board as I make them....
global $boardurl, $modSettings, $txt;
loadLanguage('Avtr');
$result = db_query("SELECT ID_AVATAR, memberID, TotalCost, Avtr_Name FROM avtr_avatar ORDER BY ID_AVATAR DESC LIMIT 0,1", __FILE__, __LINE__);
$RecentAvatar = mysql_fetch_assoc($result);
echo'
<table width="100%" height="100%">
<tr>
<td align="center" valign="bottom">
<strong>',$txt['avtr_add_name3'],':</strong> ',$RecentAvatar['Avtr_Name'],'
</td>
</tr>';
if ($modSettings['avtr_set_shop'] == '1'){
echo'
<tr>
<td align="center" valign="bottom">
<strong>',$txt['avtr_cost'],'</strong> ',$modSettings['shopCurrencyPrefix'],'',$RecentAvatar['TotalCost'],'',$modSettings['shopCurrencySuffix'],'
</td>
</tr>';
}
echo'
<tr>
<td align="center" valign="bottom">
<img src="' . $boardurl . '/avatars/forumAvatars/' . $RecentAvatar['ID_AVATAR'] . '_' . $RecentAvatar['memberID'] . '.gif" />
</td>
</tr>
</table>';
This will show the most recently created avatar from the avatar maker!
heh - you must be a mind reader, I was going to ask you how to create a block for most recent avatar - Awesome, Thanks ;D
ROFL
Ya, had someone ask at my site earlier today...so i figured i'd make one up!
BTW, was looking for you online in messenger earlier!
Here is the most recently created avatar for people who do not have or want to use the smf shop with the avatar mod/ or are using it and just don't want the price to be displayed... Use this code. :D
global $boardurl, $modSettings, $txt;
loadLanguage('Avtr');
$result = db_query("SELECT ID_AVATAR, memberID, Avtr_Name FROM avtr_avatar ORDER BY ID_AVATAR DESC LIMIT 0,1", __FILE__, __LINE__);
$RecentAvatar = mysql_fetch_assoc($result);
echo'
<table width="100%" height="100%">
<tr>
<td align="center" valign="bottom">
<strong>',$txt['avtr_add_name3'],':</strong> ',$RecentAvatar['Avtr_Name'],'
</td>
</tr>';
if ($modSettings['avtr_set_shop'] == '1'){
echo'
<tr>
<td align="center" valign="bottom">
</td>
</tr>';
}
echo'
<tr>
<td align="center" valign="bottom">
<img src="' . $boardurl . '/avatars/forumAvatars/' . $RecentAvatar['ID_AVATAR'] . '_' . $RecentAvatar['memberID'] . '.gif" />
</td>
</tr>
</table>';
TESTED AND WORKS SUCESSFULLY :D
ROFL...that is the same code i posted already! you just removed the text for the shop...there was no need to do that because if you have the shop turned off in the maker settings it won't show...
Quote from: TechnoDragon on February 25, 2007, 08:15:23 PM
ROFL...that is the same code i posted already! you just removed the text for the shop...there was no need to do that because if you have the shop turned off in the maker settings it won't show...
It showed on my site :o
I just checked, and it is because you have the Is SMF shop installed checked (turned on)
A little update to the maker...
http://dragontalk.net/index.php?action=tpmod;dl=item91
This adds a new feature to the maker and fixes a couple of bugs, all you have to do is overwrite the corresponding files on your server.
I posted a new topic on your website. It screwed it up :(
It wasn't the update that screwed it up...it was the fact that you changed themes and did not put the stylesheet info into the new themes sytlsheet.
oh, did u do that for me lol? ???
I posted on your dragontalk.net
where i can see the code fot the avatar maker???
thanks
Probably by going to the site and asking the author?
dragontalk.net has been closed so the code is no longer available. It wasn't a very stable released mod anyway but it was a nice addition to forums. Too bad I don't have a copy of it anymore.
you could try looking "here" (http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=avatar+maker+script&btnG=Google+Search) Brian.. there's a few I might look at too.. ;)
When I save my avatars to my profile, I just get a empty image :S
Issues with avatars have support on simplemachines.org
This outdated mod doesent have anything with the avatars handeling through smf
I ment the avatars created whit this mod
It doesent matter what avatar you use from anywhere.
If you cant upload and save it to your avatar folder, it's an SMF support issue.
I also added to my last post that this mod is not supported any more at all, it's outdated and the creator are not working on it anylonger and havent done anything to is for a very long time.
I can upload and save in the avatars folder, but I can download and save the avatars created by this mod!
Did you mean to say can't in there somewhere? lol
Yes i think he meant that IchBin.
Idont think we can help you as non of us have this mod installed, as i said 2 times before, this is an outdated mod not supported anu longer.
If you can get hold of Technodragon some how he might be able to help you.
I don't know where to get it or support for it anymore....
Was cool as all get out though...