News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Like Posts

Started by vbgamer45, June 29, 2013, 09:29:03 AM

Previous topic - Next topic

someDev

Quote from: ryan_dwight on April 16, 2014, 05:48:35 AM
I am using english
so description should work,


Quote from: ryan_dwight on April 16, 2014, 05:48:35 AM

array()

);

while ($row = $smcFunc['db_fetch_assoc']($q))
[...]

);

what part here should i put the code?

this loop collect data about people which received likes

if you want to check if script collected data, try to uncoment line 105 on abstats4likeposts.php

echo '<pre>',print_r($likes),'</pre>';

then check stat page
and send me results :)

ryan_dwight

#281
its not working either

edit: and another thing is a member who hasn't permission to view a certain board can view the titlw of this post on this stat.

someDev

Quote from: ryan_dwight on April 17, 2014, 03:20:58 AM
its not working either
:(

Quote from: ryan_dwight on April 17, 2014, 03:20:58 AM
edit: and another thing is a member who hasn't permission to view a certain board can view the titlw of this post on this stat.
any who can view stats
my script doesnt check permission, just get data direct

ryan_dwight

but the other stat depends to the permission right.

that will be a different issue.

any option why the blocks are empty?

thanks

someDev

Quote from: ryan_dwight on April 17, 2014, 03:43:42 AM
but the other stat depends to the permission right.

that will be a different issue.
ill think about it

Quote from: ryan_dwight on April 17, 2014, 03:43:42 AM
any option why the blocks are empty?

thanks
you meand this two last?

ryan_dwight

I dont have this as the title of each block
- most liked post
- last liked post
- top likes receiver (user)
- top likes gaver

I only have the most liked post stat but no title. The other 3 blocks are empty.

someDev

Quote from: ryan_dwight on April 17, 2014, 04:12:06 AM
I only have the most liked post stat but no title. The other 3 blocks are empty.

i have updated mod and i left only:
- most liked posts
- users list which post are liked

and also with your suggestion i added permission check

http://www.borowicz.info/pub/smf/abStats4LikePosts.zip [nofollow]

also i submitted this mod to official http://custom.simplemachines.org/mods/index.php?mod=3859
but this will take a while

ryan_dwight

I tried your new update but I think the first one is better than this one.

The statpage is incomplete, the last block at the bottom is
Top Topic Starters    Most Time Online

the new registered in monthly and yearly basis is gone.

ryan_dwight

here's the file

thank you

Dblog

Is LIKES visibility to guest possible ?

jlt1

Is there anyway I can modify the color of the button? Can you point me to it step by step if possible? I need it to be blue to match my forum, if possible.

Ground Zero

Quote from: jlt1 on May 25, 2014, 06:32:08 AM
Is there anyway I can modify the color of the button? Can you point me to it step by step if possible? I need it to be blue to match my forum, if possible.

You can do this by opening the CSS file of the mod (\Themes\default\css\LikePosts.css) then look for this code below:

.like_unlike_link {
background: #C44E19;
padding: 1px 5px;
color: #fff !important;
position: relative;
}


Replace the background color #C44E19 to match your forum... I've changed mine to blue as well... ;)

jlt1

Quote from: Ground Zero on May 26, 2014, 11:35:07 PM
Quote from: jlt1 on May 25, 2014, 06:32:08 AM
Is there anyway I can modify the color of the button? Can you point me to it step by step if possible? I need it to be blue to match my forum, if possible.

You can do this by opening the CSS file of the mod (\Themes\default\css\LikePosts.css) then look for this code below:

.like_unlike_link {
background: #C44E19;
padding: 1px 5px;
color: #fff !important;
position: relative;
}


Replace the background color #C44E19 to match your forum... I've changed mine to blue as well... ;)

Thank you very much! Made my day :)

Joker™

Quote from: Cblog on May 23, 2014, 02:09:51 PM
Is LIKES visibility to guest possible ?
Working on the same, link
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Joker™

Version 1.4 - mod link

Permission added for guests to view likes.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

ryan_dwight

Quote from: Joker™ on June 01, 2014, 10:50:55 AM
Version 1.4 - mod link

Permission added for guests to view likes.
thanks for the update

any news on the stat?

Joker™

Quote from: ryan_dwight on June 01, 2014, 05:05:54 PM
Quote from: Joker™ on June 01, 2014, 10:50:55 AM
Version 1.4 - mod link

Permission added for guests to view likes.
thanks for the update

any news on the stat?
Will be working on it, if I get some spare time in the weekend.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Rob Lightbody

I just installed this into my SMF 2.0.7. forum and it worked a treat, first time, with no fiddling required.

Joker™

Quote from: The QE2 Story Forum on June 05, 2014, 01:51:58 PM
I just installed this into my SMF 2.0.7. forum and it worked a treat, first time, with no fiddling required.
Glad it worked out seamlessly for you :)
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Joker™

While working with stats for like posts here are few fields coming to mind

- Most liked message
- Most liked topic
- Most liked board
- Most likes received by user
- Most likes given by user

Anything you guys/gurlz want to add?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Advertisement: