Like Posts

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

Previous topic - Next topic

Arantor

There should be more detail in the error log as to what's wrong.
No good deed goes unpunished / All helpful urges should be circumvented

I have something to say: it's better to burn out than to fade away. There can be only one.

SaidJan

Quote from: Arantor on June 29, 2017, 06:44:38 PM
There should be more detail in the error log as to what's wrong.

Here are the errors


and also this

Arantor

These aren't related to your profile issue.

I guess the problem starts with the fact the mod needs more than just a few tweaks to work on current PHP and SMF versions.
No good deed goes unpunished / All helpful urges should be circumvented

I have something to say: it's better to burn out than to fade away. There can be only one.

SaidJan

Quote from: Arantor on June 30, 2017, 02:13:33 AM
These aren't related to your profile issue.

I guess the problem starts with the fact the mod needs more than just a few tweaks to work on current PHP and SMF versions.

So what can I do ?  :(

Arantor

Find a different likes mod or hope the author fixes the issues despite the fact this mod hasn't been touched in literal years.
No good deed goes unpunished / All helpful urges should be circumvented

I have something to say: it's better to burn out than to fade away. There can be only one.

SaidJan

Quote from: Arantor on June 30, 2017, 04:07:19 AM
Find a different likes mod or hope the author fixes the issues despite the fact this mod hasn't been touched in literal years.

This is the only like mod for smf. except those facebook likes.

Arantor

Hmm, there used to be more.
No good deed goes unpunished / All helpful urges should be circumvented

I have something to say: it's better to burn out than to fade away. There can be only one.

SaidJan

Quote from: Arantor on June 30, 2017, 04:53:17 AM
Hmm, there used to be more.

I searched like in mod section. except those facebook ones, this was the only one. Could you please give me the link?
Thank you

Arantor

They've been removed for whatever reason.
No good deed goes unpunished / All helpful urges should be circumvented

I have something to say: it's better to burn out than to fade away. There can be only one.

SaidJan

Quote from: Arantor on June 30, 2017, 05:16:54 AM
They've been removed for whatever reason.

I downgraded from 2.1 to 2.0 only because of like mod and added 254 boards again. Now what can I do?

Arantor

I don't know why you downgraded since from a board management perspective, 2.1 does literally everything 2.0 does with more features.

I still maintain that you don't need all those boards, though, since you don't seem to have even enough posts for one per board...
No good deed goes unpunished / All helpful urges should be circumvented

I have something to say: it's better to burn out than to fade away. There can be only one.

shawnb61

I suspect other issues at play here.

This mod works perfectly on current versions of SMF.  My forum runs it just fine.

What version of php are you running?   That "function name must be a string" is one of the symptoms of a non-supported version of php, IIRC.

The other issue - no likes buttons - is a frequent new user issue with this mod.   You must go thru the mod admin panel and configure it.  A few forms must be checked/updated.

Double-check the permissions settings and board settings.    There is a handy "check all" button at the bottom of board settings...
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Arantor

I assumed the entire forum would have broken if it weren't a supported PHP version...
No good deed goes unpunished / All helpful urges should be circumvented

I have something to say: it's better to burn out than to fade away. There can be only one.

shawnb61

I don't yet run php 7... Maybe an issue there? 

I'm more suspicious about the codebase given the mod required multiple installs...  That never sounds good.  Also curious how the downgrade from 2.1 to 2.0 was executed.   

Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

shawnb61

Also, 2.1 has a "likes" feature.   Not as flexible as this mod, but it works just fine.  You just need to enable it. 

Also, for the record, 2.1 is still in beta & should not be used on production forums.  A proper 2.0 => 2.1 upgrade should be executed upon 2.1 production release. 
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

shawnb61

FYI, I just confirmed the error above running 2.0.14 & php 7.0.  ("Function Name must be a string")

Looks like this mod doesn't support php 7.x. 

Note it runs fine on php 5.6 & 2.0.14, so that may be the end of the line. 

Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

GL700Wing

#896
Quote from: shawnb61 on June 30, 2017, 06:47:16 PM
FYI, I just confirmed the error above running 2.0.14 & php 7.0.  ("Function Name must be a string")

Looks like this mod doesn't support php 7.x.
I have this mod running perfectly and error free on a forum using SMF 2.0.14/PHP 7.1.6 - all I had to do to get it working with PHP 7.x was apply the change referred to here (direct link to GitHub)
Life doesn't have to be perfect to be wonderful ...

shawnb61

I missed that post - very helpful...  Thanks!
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

SaidJan

Thanks for the fix. I could fix the like stat pages. but still in the posts, there is no like button. And I'm not getting any error in log.

Edit: Nevermind, I turned it on in the setting.

Edit2: Do you think I could transfer its database to "SMF 2.1 built-in like feature" later when its final version releases?

shawnb61

Quote from: SaidJan on July 01, 2017, 12:37:57 AM
Edit2: Do you think I could transfer its database to "SMF 2.1 built-in like feature" later when its final version releases?

Yes.  The functionality doesn't match perfectly, but the likes can carry over.    I do this in my 2.1 test environment with a simple sql command.   I'll pretty it up and share over the weekend. 
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Advertisement: