News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Edit settings and likes count

Started by Leinnan, February 22, 2015, 06:57:32 PM

Previous topic - Next topic

Leinnan

Two questions:

  • How to edit my theme settings(add more things)?
  • How can I show in user info number of all received likes?

Kindred

More things like what?

I don't think the USER receives the likes... I believe that likes are associated with a post, not a user.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Arantor

Indeed, it isn't cached on the user side either since the intention was for it to be extensible by mods so "liked  posts" would be incorrect.

Leinnan

Quote from: Kindred on February 22, 2015, 11:30:29 PM
More things like what?

I don't think the USER receives the likes... I believe that likes are associated with a post, not a user.

Example. I make something like that: http://x3.cdn03.imgwykop.pl/c3201142/comment_Fo4Q3B6Pso8LqmjRxeWfVDKUOQDikk8y.jpg
If user have more than 1(for example) like then appear laurels. I want be able to change that variable in theme settings.

QuoteIndeed, it isn't cached on the user side either since the intention was for it to be extensible by mods so "liked  posts" would be incorrect.

Ok.

Arantor

As in: this is why it is not an option and adding it would be a major slowdown on the forum.

Advertisement: