News:

SMF 2.1.1 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

s10dulkar

Quote from: vbgamer45 on December 09, 2020, 08:55:01 AM
For the function not as string can you check your forum's error log and see if it says a line number.

sent dm as its personal info

vbgamer45

I just need filename and line number..
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

s10dulkar

Quote from: vbgamer45 on December 09, 2020, 09:32:15 AM
I just need filename and line number..

i cant see those details in logs . do i need to find somewhere particularly ? please check image i sent in dm

vbgamer45

i didn't see any image there..
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


vbgamer45

Did you reinstall the mod. Looks like mod files might be missing in the sources folder.
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

s10dulkar

Quote from: vbgamer45 on December 09, 2020, 10:13:28 AM
Did you reinstall the mod. Looks like mod files might be missing in the sources folder.
yes i have reinstalled mod. it installed and activated completely just the buttons are not clickable

dan3

Quote from: vbgamer45 on July 29, 2020, 07:39:09 PM
How many likes on your forum.  Freezing do you mean like long run time on the sql statements? Or page just goes white?
How do you check? It's a large forum. Probably hundreds of thousands of likes.

The progress bar freezes and then the whole forums stop working until I reset the AWS instance.

vbgamer45

If there are that many links then yes it would freeze for sure.
I would add table indexs on the like_post table for columns
id_member_gave id_msg if they do not exist already.


The remove duplicate likes is a one line sql function

public function removeDupLikes() {
global $smcFunc;

$smcFunc['db_query']('', '
DELETE lp1
FROM {db_prefix}like_post lp1, {db_prefix}like_post lp2
WHERE lp1.id_msg = lp2.id_msg
AND lp1.id_member_gave = lp2.id_member_gave
AND lp1.id_like < lp2.id_like',
array()
);
}

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

gorbi

How can I add Ukrainian to this mod? I added file LikePosts.ukrainian-utf8.php but didn't help

vbgamer45

Check if any strings added to modifications.english.php
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

gorbi

Russian works, but Ukrainian does not

vbgamer45

Is the file spelled correctly? Do you have Ukrainian instaleld on the forum? also try just Ukrainian.php
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

gorbi

Quote from: vbgamer45 on March 15, 2021, 03:15:03 PM
also try just Ukrainian.php
LikePosts.ukrainian.php ?

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

gorbi

tried it, didn't help. Russian is displayed instead of Ukrainian

gorbi


vbgamer45

Ukrainian language pack installed on the forum? If so check how those files are named and make sure likeposts is the same
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

gorbi

I managed to Ukrainianize all the mods, except this one

shadav

make a copy of LikePosts.ukrainian-utf8.php
and rename it to LikePosts.ukrainian.php

make sure you have both files uploaded to your themes default language folder
LikePosts.ukrainian-utf8.php
LikePosts.ukrainian.php

where did you get the ukraine translation for this mod from, I searched this thread but not finding one....
open the LikePosts.ukrainian-utf8.php and make sure that it is actually ukrainian and not russian

Advertisement: