News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Like Posts

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

Previous topic - Next topic

jsx

I understand, thanks for the answer. I think nobody wants to lose likes from this modification when they start using SMF 2.1

landyvlad

Quote from: jsx on August 23, 2021, 03:19:10 PMHave you thought about creating a tool that allows to import likes to SMF 2.1 from the Like Posts mod?

I was thinking it'd be nice for likes to carry over but I can also imagine it'd be more trouble than its worth.
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

vbgamer45

Probably can do via SQL I think someone might have done that already
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

landyvlad

Q: Is this mod PHP 7.4 compatible.

I upgraded the mod to latest version AND updated to PHP 7.4 and now the liek button doesn't work at all.

Running mod version 2.0.5
I know latest version is 2.2 but I can't uninstall the mod - it fails at
QuoteExecute Modification   ./Themes/default/Display.template.php   Test failed
   1.   Replace   ./Themes/default/Display.template.php   Test failed
so I can't update.

Well not unless I parse and do it all manually I assume.
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

shawnb61

#1144
I run this mod under php 7.4/smf 2.0.18 with no issues.

I posted sql for migrating like data from this mod into 2.1 likes earlier in this thread:
https://www.simplemachines.org/community/index.php?msg=4010825
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

vbgamer45

@landyvlad  @shawnb61

Forgot about the sql script! Made it into a php script you can run as well.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

landyvlad

Quote from: shawnb61 on September 08, 2021, 05:33:24 AMI run this mod under php 7.4/smf 2.0.18 with no issues.

I'm still running SMF 2.0.17 at this point.
Will be upgrading to 2.0.18 once I fix these mod issues.

Should work for me though shouldn't it?

What else could it be?
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

shawnb61

Quote from: landyvlad on September 09, 2021, 12:29:26 AMWhat else could it be?

Note that 2.0.17 didn't support 7.4.  That might be part of the issue.

If you're really stuck, sometimes it is much easier to reload a fresh set of files & reinstall the mods.

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

lurkalot

Quote from: shawnb61 on September 09, 2021, 02:10:05 AMNote that 2.0.17 didn't support 7.4.  That might be part of the issue.

Strangely enough, it does state, "PHP 7.4 is supported by SMF 2.0.17 or higher." on the requirements page, https://wiki.simplemachines.org/smf/SMF2.0:Requirements_and_recommendations
 

shawnb61

Corrected.  Thanks for the heads up.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

landyvlad

So should be fine to roll back to PHP 7.3 and then once I have updated to 2.0.18 can change it back to 7.4?
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

shawnb61

Quote from: landyvlad on September 09, 2021, 11:06:45 PMSo should be fine to roll back to PHP 7.3 and then once I have updated to 2.0.18 can change it back to 7.4?

I don't know...  Depends on the issues you were having...

I always go to the latest versions of everything.  If I have to abandon a mod that isn't keeping up, I do so.

I did find that although 2.0.18 installed clean, it left it such that some old mod versions would not de-install clean when I tried to upgrade them.  I found it easier to work from new files & reinstall the very latest versions of all my mods.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

landyvlad

I just mean roll back to 7.3 so there arae no issues with 2.0.17 itself.
Anyway I did that and it seems fine now.

The mod still doesn't work but yeah I'll be doing this on the weekend -
Quote from: shawnb61 on September 10, 2021, 12:03:38 AMI found it easier to work from new files & reinstall the very latest versions of all my mods.


"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

landyvlad

Meanwhile FYI, with all the above in mind, this is the error I'm seeing

Quote8192: The each() function is deprecated. This message will be suppressed on further calls
.... File: /home/gsxowner/public_html/forum/Sources/LikePosts/LikePosts.php
Line: 299
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

vbgamer45

Make sure you are using the newest version that was fixed the each error
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

landyvlad

"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

jsx

@vbgamer45,

This importlikes.php file you attached is a ready script to import likes into the likes system in 2.1?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Dr Web

Hi,

I installed this Mod on SMF 2.0.18 and even after adding on Boards Settings to show up the like button everywhere, it doesn't show up. I am using Core Theme.

Is this Mod only for the Default Theme?

Also, on the Admin Panel, the buttons show as links, and I need to click the arrows on the right side to see Boards Settings. I attach a file to show this.
Never approach a bull from the front, a horse from the rear, or an idiot from any direction ;D

vbgamer45

When you installed did you choose the option to install on other themes?
If not. Uninstall then install again and make sure you select the core theme.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: