Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: The Craw on December 13, 2011, 08:50:18 PM

Title: [WIP] Ajax Profile Comments
Post by: The Craw on December 13, 2011, 08:50:18 PM
After looking over some of the existing profile comment mods on the mod site, I wasn't very impressed, so I decided to build one myself. This will be my first mod submitted to SMF.  :D

Features
Title: Re: [WIP] Ajax Profile Comments
Post by: Matthew K. on December 14, 2011, 12:20:45 AM
You weren't very unimpressed? Sounds like an oxymoron to me. Second time, you must do it frequently, eh?

Here are my honest thoughts.
Title: Re: [WIP] Ajax Profile Comments
Post by: Biology Forums on December 14, 2011, 12:22:20 AM
Could you make it so that it is compatible with the ultimate profile and 1.x ???
Title: Re: [WIP] Ajax Profile Comments
Post by: Matthew K. on December 14, 2011, 12:23:17 AM
I doubt he'll write it compatible with 1.x (eww) although it'd be cool to make it compatible with Ultimate Profile. /me like this idea
Title: Re: [WIP] Ajax Profile Comments
Post by: The Craw on December 14, 2011, 12:41:05 AM
Quote from: Labradoodle-360 on December 14, 2011, 12:20:45 AM

Here are my honest thoughts.

  • Like the general plan
  • Like the button styling
  • Dislike the styling for posting a comment [I think it should have labels, and be a little bit more intuitive.]
  • Comment backgrounds should utilize an is_odd/is_even for windowbg/2 so they are staggered, makes it easier on the eye.

Thanks for the feedback. I take those things into consideration.

Quote from: shuban on December 14, 2011, 12:22:20 AM
Could you make it so that it is compatible with the ultimate profile and 1.x ???

1.1 support is very unlikely, but I might put out a paid version for UP compatibility. Obviously not too expensive, because all things considered, it's not a big mod code-wise.
Title: Re: [WIP] Ajax Profile Comments
Post by: Robert. on December 14, 2011, 06:24:17 AM
Looks cool. :) Nice work :D
Title: Re: [WIP] Ajax Profile Comments
Post by: Biology Forums on December 14, 2011, 06:15:39 PM
Quote from: Labradoodle-360 on December 14, 2011, 12:23:17 AM
I doubt he'll write it compatible with 1.x (eww) although it'd be cool to make it compatible with Ultimate Profile. /me like this idea

Some of us have no choice. :-\ I'd love 2.x right now, but 1.x does everything I ask it to do. O:)
Title: Re: [WIP] Ajax Profile Comments
Post by: The Craw on December 23, 2011, 02:54:02 AM
Almost done, guys. Took a little extra time to add some snazzy features.
Title: Re: [WIP] Ajax Profile Comments
Post by: Biology Forums on December 23, 2011, 06:30:40 PM
Quote from: The Craw on December 23, 2011, 02:54:02 AM
Almost done, guys. Took a little extra time to add some snazzy features.

Remember 1.x users ;)
Title: Re: [WIP] Ajax Profile Comments
Post by: Matthew K. on December 23, 2011, 06:34:23 PM
I've seen what he has so far, and it's pretty nice. Hopefully he'll stop procrastinating and finish it already.
Title: Re: [WIP] Ajax Profile Comments
Post by: The Craw on December 23, 2011, 08:12:37 PM
Quote from: Labradoodle-360 on December 23, 2011, 06:34:23 PM
I've seen what he has so far, and it's pretty nice. Hopefully he'll stop procrastinating and finish it already.

I don't procrastinate, I just take my time. As I always say "Hurried work is worried work." And "A job not well done is not a well done job."
Title: Re: [WIP] Ajax Profile Comments
Post by: The Craw on December 23, 2011, 08:14:46 PM
Quote from: shuban on December 23, 2011, 06:30:40 PM
Quote from: The Craw on December 23, 2011, 02:54:02 AM
Almost done, guys. Took a little extra time to add some snazzy features.

Remember 1.x users ;)

I'm sorry, but I won't be making this mod for 1.1. Since 2.0 is out I don't add support for older versions.
Title: Re: [WIP] Ajax Profile Comments
Post by: Matthew K. on December 23, 2011, 08:34:17 PM
I'm just giving you a hard time...you were up all night working on it. You're doing great.
Title: Re: [WIP] Ajax Profile Comments
Post by: The Craw on December 31, 2011, 12:33:57 AM
Finished up the last bit of code today, so I'll look everything over one more time tomorrow morning and submit it.
Title: Re: [WIP] Ajax Profile Comments
Post by: funkythemunky on January 29, 2012, 06:26:28 PM
Looks as if it be a nice switch from profile comments...
Semms like nice work! :)

Any chance a "show conversation" feature of profile comments might be implemented? I have absolutely no idea how sth like that might be done...
Title: Re: [WIP] Ajax Profile Comments
Post by: The Craw on January 31, 2012, 02:58:26 PM
Quote from: funkythemunky on January 29, 2012, 06:26:28 PM
Looks as if it be a nice switch from profile comments...
Semms like nice work! :)

Any chance a "show conversation" feature of profile comments might be implemented? I have absolutely no idea how sth like that might be done...

I'm not sure what you mean, can you give me an example?
Title: Re: [WIP] Ajax Profile Comments
Post by: Matthew K. on January 31, 2012, 02:59:43 PM
He means...like if I were to post on your wall, and then you replied to that, they'd be nested as a conversation.
Title: Re: [WIP] Ajax Profile Comments
Post by: funkythemunky on January 31, 2012, 06:08:40 PM
Yip, as the option in the private messages or as you know it from SMSs or sth like that.
Title: Re: [WIP] Ajax Profile Comments
Post by: The Craw on February 01, 2012, 08:00:20 PM
Yeah, it's possible, but I don't really see it happening any time soon. Tryin' to keep it simple, ya know? :P
Title: Re: [WIP] Ajax Profile Comments
Post by: kent[ka] on February 22, 2012, 03:36:24 PM
What happen with this MOD.. Did you finish it yet?
Title: Re: [WIP] Ajax Profile Comments
Post by: Matthew K. on February 22, 2012, 03:39:15 PM
It's "finished", but he has some things to fix. He said that he does plan on fixing it.
Title: Re: [WIP] Ajax Profile Comments
Post by: NanoSector on February 22, 2012, 03:40:19 PM
Quote from: kent[ka] on February 22, 2012, 03:36:24 PM
What happen with this MOD.. Did you finish it yet?
That's what I was wondering, too ::)

/me goes to patrol the Mod Site

EDIT: Hijacked. Gosh, I hate being hijacked, yet it happens so frequently :(
I should speed up my typing or something, lol.
Title: Re: [WIP] Ajax Profile Comments
Post by: Matthew K. on February 22, 2012, 03:41:13 PM
/me wonders why Yoshi doesn't just read his post :P
Title: Re: [WIP] Ajax Profile Comments
Post by: NanoSector on February 22, 2012, 03:44:34 PM
Quote from: Labradoodle-360 on February 22, 2012, 03:41:13 PM
/me wonders why Yoshi doesn't just read his post :P
That's what I did before I realized that I was hijacked again ;D
Title: Re: [WIP] Ajax Profile Comments
Post by: Matthew K. on February 22, 2012, 03:47:36 PM
You mean ninja'd? :P
Title: Re: [WIP] Ajax Profile Comments
Post by: NanoSector on February 22, 2012, 03:48:25 PM
Quote from: Labradoodle-360 on February 22, 2012, 03:47:36 PM
You mean ninja'd? :P
Ain't that the same? :P

/me tells himself that he needs to use "ninja'd" in the future
Title: Re: [WIP] Ajax Profile Comments
Post by: kent[ka] on February 22, 2012, 09:02:31 PM
Cool story guys :P But seriously his mod is so far the best of it type for SMF i have seen in months.. and i really want this function for my site..
Title: Re: [WIP] Ajax Profile Comments
Post by: Matthew K. on February 22, 2012, 09:24:48 PM
Of course it is...the only modification for profiles is "Profile Comments" which isn't coded very well.
Title: Re: [WIP] Ajax Profile Comments
Post by: kent[ka] on February 22, 2012, 09:31:34 PM
I agree there, kills up the size but it's also ugly and shows useless information for a simple comment at profiles.. That's why i don't like it.
Title: Re: [WIP] Ajax Profile Comments
Post by: Matthew K. on February 22, 2012, 09:32:43 PM
That's not what I was talking about, the code itself isn't done well.
Title: Re: [WIP] Ajax Profile Comments
Post by: The Craw on February 24, 2012, 03:54:31 PM
If I have time today, I'll fix the couple bugs and resubmit it.
Title: Re: [WIP] Ajax Profile Comments
Post by: The Craw on February 25, 2012, 01:21:47 AM
I updated the code today. Hopefully it shouldn't take too much longer to be released.
Title: Re: [WIP] Ajax Profile Comments
Post by: Matthew K. on February 25, 2012, 01:24:25 AM
Quote from: The Craw on February 25, 2012, 01:21:47 AM
I updated the code today. Hopefully it shouldn't take too much longer to be released.
In a perfect world, that'd be awesomee.
Title: Re: [WIP] Ajax Profile Comments
Post by: Biology Forums on February 25, 2012, 01:49:59 AM
Don't mean to be contentious, but why pick this mod over ultimate profile mod?
Title: Re: [WIP] Ajax Profile Comments
Post by: Matthew K. on February 25, 2012, 01:52:34 AM
This is AJAX...it's OOP, and it's coded well. Also, it's not replacing the whole profile, just adding something to the existing.
Title: Re: [WIP] Ajax Profile Comments
Post by: The Craw on February 25, 2012, 02:00:33 AM
Quote from: Liam_michael on February 25, 2012, 01:49:59 AM
Don't mean to be contentious, but why pick this mod over ultimate profile mod?

I tell ya what. When it gets released, try it out on a test forum and you can decide for yourself. Obviously, this mod doesn't do anywhere near as many things that ultimate profile does, but it fills its purpose well I'd say. At the risk of sounding.... arrogant, I dare say this mod is better than the other profile comment mods out there at this time. The difference is in the code and user interface.  :)
Title: Re: [WIP] Ajax Profile Comments
Post by: kent[ka] on February 25, 2012, 03:38:33 AM
Quote from: Liam_michael on February 25, 2012, 01:49:59 AM
Don't mean to be contentious, but why pick this mod over ultimate profile mod?

Simply because both are way too different, and personally i find "Ultimate profile" useless, like a way to add un-neccesary information to profiles and make forums heavy.

I just don't get why would you compare both MODS and in my personaly opinion "Ultimate profile" is not necessary.