| 1. | Eh, could be a text, can't think of any overwhelming differences, other than that it's harder to get a blob in a table, you have to prance around doing CAST() to get at it. |
Solution #3 would make more sense.
Suggestion? Instead of storing the user name, just store the ID... Then, at display time, instead of [nobbc][tt]<a href="?action=profile;u=$context[user_id]">name</a>[/tt], link to [tt]<we:$uid:$context[user_id]>[/tt]| 1. | And if we have aspirations about displaying that on post view, we should similarly cache that in the members table. |
| 1. | Though because I'm doing it through the action=like handler rather than anything else, it got... upset... I had to expressly detect for and start the gzhandler buffer otherwise the browsers all cacked themselves at the content being incorrect. |
| 2. | The table structure is four columns: id-content, content-type, id-member, like-time. This way, likes can be extended to media or whatever else with little real effort in the DB. The trick here is that content-type is a fixed width field, currently 6 characters, which should be enough to be at least representative of content, currently only 'post' is supported but there's the foundation for hooks to be able to extend it arbitrarily. But because it's fixed width rows, with a primary key of id-content/content-type/id-member, and queried that way, it should be pretty lean. |
It will be a nice feature infact, but should be optimized. Maximum of three user name should be shown in post and other should be under spoiler with text to the number of additional member "likes"
Did you, in fact, TRY IT?Quote It will be a nice feature infact, but should be optimized. Maximum of three user name should be shown in post and other should be under spoiler with text to the number of additional member "likes"
I couldnt see any post where there is multiple likes here...still finding it
Let's just say this is the continuation of a long standing issue I have where people talk and talk without knowing what the hell they're talking about.So, instead of telling me how you think it should be optimised, why not ask first before telling me how to do my job? (Telling me how it should work, with the implication that it doesn't work like that would be fine... if you'd actually checked and verified that it is not what it should be.) It already does optimise it based on the number of people, though as yet there's no popup because it's still a WIP feature I only added quickly a couple of days ago.Quote I couldnt see any post where there is multiple likes here...still finding it
(Going back to the other conversation elsewhere, it is precisely this kind of stuff that makes me think negatively of you, because you're telling me how you think it should work without finding out if in fact it did work like that already.)
BTW, how about intimating the user via some kind of notification who received a like from a user ? Like, the user should get an instant notification that "this user has liked your 'this' post"
okay sorry, forgive me.
A post with enough Likes to be able to see how it works:
http://[url]http://wedge.org/pub/feats/7211/brave-new-world/[/url]
No kidding :P
Yay, let's copy Facebook >_> We'll see, I don't know yet.
All you had to do was *ask* how it worked, not assume it worked like things you've already seen. I'm not just copying mods already written for SMF and shoving them in, unless I'm the one who wrote the mod originally.
Again, I didnt try the Likes Pro mod for SMF nor here (dont know 100% of how it is working)
I didnt purchased Likes Pro mod for SMF (all I have seen it first is in AAF forum)
Even I have seen such thing in Xenforo forum software....similar to Facebook notifications
>_> Houston we have a problem, look at the post above where it has the extra url tag in it.
Again, I didnt try the Likes Pro mod for SMF nor here (dont know 100% of how it is working)
I didnt purchased Likes Pro mod for SMF (all I have seen it first is in AAF forum)
I find it funny that that was what you first thought of in terms of behaviour (since that works exactly how you didn't want it to). But also, did you check out a user's profile on the AAF forum? There's a whole section just on liked posts.
Yay let's copy both XenForo AND Facebook as opposed to seeing if we can't figure out a better way.
Hey, thatz not a problem...its been done by me.... I copy pasted the tagged quote and hence its showing such.Quote >_> Houston we have a problem, look at the post above where it has the extra url tag in it.
Hey, thatz not a problem...its been done by me.... I copy pasted the tagged quote and hence its showing such.
No, if I understand properly the problem is that it should have been fixed automatically (and magically) by Wedge! ;)
LOL... copying for something better is always good. Windows copied MAC, but Windows is more popular/widely used than MAC !!!
LOL... copying for something better is always good. Windows copied MAC, but Windows is more popular/widely used than MAC !!
Is this a problem in SMF as well? What does SMF record in the DB?
| 1. | FWIW I don't seem to be able to disable XenForo's inbuilt one... |
LOL... copying for something better is always good. Windows copied MAC, but Windows is more popular/widely used than MAC !!