Link to the mod (https://custom.simplemachines.org/index.php?mod=3473)
This mod displays a list of similar topics at the bottom of the current topic page and when creating a new topic.
This mod needs MySQL 5.6 or greater. Tested on MariaDB 10.6+ and PostgreSQL 9.6+.
To change settings, go to Admin -> Modification Settings -> Similar Topics.
(https://img.shields.io/github/license/dragomano/similar-topics) (https://img.shields.io/badge/Donate-$-blue.svg?style=flat&logo=paypal) (https://ko-fi.com/dragomano/) (https://badges.crowdin.net/similar-topics/localized.svg) (https://crowdin.com/project/similar-topics)
This is a great idea... i check the mod in this days..
Thanks Bugo!
Thanks :)
Looks great, using hooks, will try it :)
Yep - looks good, and definitely worth a look :)
Working out of the box, very interesting!
One question: apart from setting the permissions in the mod's options, do we need to check anything else, permission-wise?
Yeah, there are 2 permissions for every group:
1) Viewing of similar topics list
2) Viewing of similar topics list when creating new topic
Quote from: Bugo on November 05, 2012, 07:49:05 AM
Yeah, there are 2 permissions for every group:
1) Viewing of similar topics list
2) Viewing of similar topics list when creating new topic
Yes, I saw that :) What I meant was, that's the only two things I need to check, right? Because other mods have permissions options in the mod preferences but you also need to go to the permissions section in Admin...
Quote from: Bugo on November 05, 2012, 07:49:05 AM
Yeah, there are 2 permissions for every group:
1) Viewing of similar topics list
2) Viewing of similar topics list when creating new topic
Thanks - I wasn't aware of that. Maybe you could highlight the fact that these new permissions exist and that they
aren't set by default?
Mod looks (and behaves) superbly, cheers.
These permissions also available on mod's settings page (if it's not convenient for someone to go the permission section) :)
I can not find the seting area at modification center of admin's page. I installed by manuel. Now I can not see nothing any similar topic? Permission area has not similar topic setting. Is there a problem with related topics?
Quote from: Bugo on November 05, 2012, 08:02:59 AM
These permissions also available on mod's settings page ...
So they are. Sorry.
The "Ignored Boards" is actually showing stuff from my Recycle Bin, despite me ticking the box to hide that board. It won't be showing for regular members I guess, as it's in my Admin section.
Quote from: akbora on November 05, 2012, 08:06:39 AM
I can not find the seting area at modification center of admin's page. I installed by manuel. Now I can not see nothing any similar topic? Permission area has not similar topic setting. Is there a problem with related topics?
Quote
install.php
This file should be able to execute standalone.
hooks.php
This file should be able to execute standalone.
Quote from: Shambles™ on November 05, 2012, 08:09:01 AM
The "Ignored Boards" is actually showing stuff from my Recycle Bin, despite me ticking the box to hide that board. It won't be showing for regular members I guess, as it's in my Admin section.
Any topics from the Recycle Bin will be visible only to those who have access to this board.
Quote from: Bugo on November 05, 2012, 08:15:28 AM
Any topics from the Recycle Bin will be visible only to those who have access to this board.
Cool, but I ticked the box telling the mod to ignore that board.
Damned ticks; they never work
Version 0.3: some fixes (install, check of ignoring boards etc.)
Translate spanish_latin: http://www.simplemachines.org/community/index.php?topic=252307.msg3433754#msg3433754
great mod... interesting
Now with 0.3 version perfect installing perfect working perfect setting
Words don't come easy this mod is perfect thanks....
Hi Bugo,
I installed the mod and yet the feature where to show similar topics when creating new topic is not working correct. it just shows "Loading..."
is it suppose to show similar topics while writing new topic subject?
Did you try to type any subject and then put cursor into message field?
yes I did type a subject with common words that I know for sure it should work with. then I put some content just for testing, then tried to preview the topic, still nothing loading!
Thank for sharing ;D
Quote from: BaghdadGhost on November 06, 2012, 03:18:06 AM
yes I did type a subject with common words that I know for sure it should work with. then I put some content just for testing, then tried to preview the topic, still nothing loading!
Probably it's a jQuery conflict, with other scripts. Can you give me a test account on your forum?
Such was looking for something, I used similar themes but this is even better. thanks to the great
Nice...
Would be interesting to know how you calculate similarity.
Trade secret :)
Thanks Bugo......Very useful modification
Dutch Translation:
<?php
$txt['similar_topics'] = 'Vergelijkbare Topics';
$txt['simtopics_desc'] = 'Hier kunt u de instellingen wijzigen in de Vergelijkbare Topics mod.';
$txt['simtopics_settings'] = 'Vergelijkbare Topics Mod Instellingen';
$txt['simtopics_num_topics'] = 'Maximaal te tonen Topics.';
$txt['simtopics_nt_desc'] = 'Stel in op 0 om mod uit te schakelen.';
$txt['simtopics_only_cur_board'] = 'Zoeken naar Vergelijkbare Topics alleen in het huidige board';
$txt['simtopics_ocb_desc'] = 'Uitschakelen om alle Boards te door zoeken.';
$txt['simtopics_ignored_boards'] = 'Negeer deze Boards';
$txt['simtopics_when_new_topic'] = 'Lijst weergeven van vergelijkbare Topics als er nieuw topic aangemaakt wordt';
$txt['simtopics_cache_int'] = 'Cache update interval';
$txt['simtopics_ci_post'] = 'sec.';
$txt['groups_view_simtopics'] = 'Permissie om lijst vergelijkbare Topics te bekijken';
$txt['groups_auto_simtopics'] = 'Toegang tot lijst vergelijkbare Topics wanneer er een nieuw onderwerp geplaatst wordt';
$txt['simtopics_no_result'] = 'Er is geen vergelijkbaar Topic.';
$txt['simtopics_no_subject'] = 'Geef een onderwerp in a.u.b..';
$txt['permissiongroup_simtopics'] = $txt['permissiongroup_simple_simtopics'] = $txt['similar_topics'];
$txt['permissionname_view_simtopics'] = 'Weergave vergelijkbare Topics lijst';
$txt['permissionhelp_view_simtopics'] = 'Permissie gebruikers om vergelijkbare Topics te bekijken.';
$txt['permissionname_auto_simtopics'] = 'Bekijk de lijst van vergelijkbare Topics wanneer een nieuw onderwerp wordt gepost';
$txt['permissionhelp_auto_simtopics'] = 'Wanneer gebruikers een nieuw onderwerp plaatsen zien ze een lijst van vergelijkbare Topics.';
Great mod! How can I move it ABOVE the Quick Reply rather than below?
Not working in the Babylon Theme. Any help?
Quote from: Wanchope on November 11, 2012, 03:37:01 PM
Not working in the Babylon Theme. Any help?
Did you enable it and set permissions for the topics to show to the members?
Quote from: Wanchope on November 11, 2012, 03:37:01 PM
Not working in the Babylon Theme. Any help?
Update your SMF 2.0 RC4 to 2.0 Gold.
Yes @ Shambles™
Ok I will @ Bugo
Great mod. I have been searching for such mod since my childhood ;). just two questions:
1- How to force the similar topics to open in new tabs of the browsers?
2- Is there a way to force the similar topics appear without clicking outside of the subject box?
1. If your mouse has a middle button, just use it for open any links in new tabs :)
2. Open /Themes/default/scripts/simtopics.js, find:
$("input[name=\"subject\"]").live("change", function(){
and replace with:
$("input[name=\"subject\"]").live("keyup", function(){
Then clean a browser's cache.
Quote from: Bugo on November 13, 2012, 07:55:47 PM
1. If your mouse has a middle button, just use it for open any links in new tabs :)
2. Open /Themes/default/scripts/simtopics.js, find:
$("input[name=\"subject\"]").live("change", function(){
and replace with:
$("input[name=\"subject\"]").live("keyup", function(){
Then clean a browser's cache.
Thank you so much for the solution. I wish this forum had a Thank you button.
I have been testing the mod for the last two days and I've come across the following problem:
The similar topics shown at the bottom of the topics page is precise and correct, but the similar topics shown at the time of creating a new topic isn't precise. Sometimes even the results is completely irrelevant (Unfortunately, my forum is in Persian, so I can't provide you with some screen shots).
So, is there a way to apply the showing method of the similar topics of the first case to the second case, too?
I'm working on it.
Quote from: Bugo on November 15, 2012, 07:33:48 AM
I'm working on it.
Just to thank you and let you know I'm intensively awaiting your response.
Great mod. And very neat too. Will this work inside a block too?
Indeed very nice mod :)
Altho i have a litle problem same as was mentioned before, when creating a new topic with some words that are common it remains stucked on "Loading"
Quote from: Vahid Damanafshan on November 15, 2012, 03:28:25 AM
I have been testing the mod for the last two days and I've come across the following problem:
The similar topics shown at the bottom of the topics page is precise and correct, but the similar topics shown at the time of creating a new topic isn't precise. Sometimes even the results is completely irrelevant (Unfortunately, my forum is in Persian, so I can't provide you with some screen shots).
So, is there a way to apply the showing method of the similar topics of the first case to the second case, too?
I'm still awaiting any response to this issue :D
Thanks.
I am liking this mod... even though I only use half of it (the new topic part doesn't appear on my modified Curve theme)... but I would really love to move the Similar Topics block up above the Quick Reply. Currently the only options are above the post or below the quick reply. Is there any chance I could get some help moving this block to between the post and the quick reply? Thank you.
Hey!
I really like this plugin, but since I'm using this editor (http://www.simplemachines.org/community/index.php?topic=485483.0) does not work since then. (I guess because of the conflict jquery)
Is there any way to eliminate this error?
Prints to loading, but nothing happens...
Thank you!
Ask author of SCEditor mod about this problem.
I have both mods installed (SCEditor and Similar Topics) and there is no problem with it (editor was installed first, Similar Topics was added later).
I finally found the problem
the faulty plugin is not working because of the "nice tooltips (http://custom.simplemachines.org/mods/index.php?mod=2115)"
Unfortunately, despite removed, I think only a complete re-install solves the problem
Quote from: Lazarevics on December 03, 2012, 03:52:33 PM
I finally found the problem
the faulty plugin is not working because of the "nice tooltips (http://custom.simplemachines.org/mods/index.php?mod=2115)"
Unfortunately, despite removed, I think only a complete re-install solves the problem
Now that is odd as I have both Nice Tooltips and this mod installed with no issue.
Great idea and congratulations for your work. My 2 cents would be to display relevant titles when user is typing in subject area (like live search) and not display them after user has clicked away from subject area. And of course, open the similar topics in new window, so that user will not have to start again a topic.
Another idea is to make both options graphically more compact so that they blend in with the site and have an option to display similar topics when typing on subject only (now as an option is the opposite, display only below post as similar topics and do not display on subject).
smf 2.0.3 default thme curve simple portal 2.3.5 similar topics 0.4
Thanks for this nice and neat mod.
Installed without erros bur have little problem with the language file.
Copied simtopics.english.php to simtopics.mylanguage-utf8.php only changed $txt['similar_topics'] to my language
still title i the topic is in english.
cleared cache.
negative
copied simtopics.english.php to simtopics.mylanguage.php
negative ...
What is next ?
Quote from: Lazarevics on December 03, 2012, 03:52:33 PM
I finally found the problem
the faulty plugin is not working because of the "nice tooltips (http://custom.simplemachines.org/mods/index.php?mod=2115)"
Unfortunately, despite removed, I think only a complete re-install solves the problem
Mine is working with this.
Very nice, thanks!
How could I remove the number that is displayed for the number of topics shown?
Thanks again.
Thinks i found the answer to my own question. ;)
In SimTopics.template.php
Find and remove...
(', count($context['similar_topics']), ')
or is there more to it?
thanks,
You are perfectly right.
Awesome thanks!
I tried a similar mod sometime back and I don't recall just why but it did not work like I had hoped.
I have been playing around with your mod on our site for a few hours today and it seems to work perfect.
Thank you,
Hi Bugo, i have a couple errors in log section.
simtopics.php in line: 67
Database error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's%' OR m.subject LIKE '%Creed%' OR m.subject LIKE '%3%' OR m.subject LIKE '%Libe' at line 11
what should i do ?
Quote from: igirisjin on November 09, 2012, 10:15:50 AM
Nice...
Would be interesting to know how you calculate similarity.
Quote from: Bugo on November 09, 2012, 10:48:59 AM
Trade secret :)
It seems to work very well how ever you do it.
Um, the mod's code will explain it... anyone who cares to examine the mod would be able to figure it out.
Search the code for trade secret, lol...
I can not uninstall it. Please help me...
Can't DROP 'subject'; check that column/key exists
Dosya: /home/xxxxxxi/public_html/Packages/temp/uninstall.php
Satır: 11
DROP INDEX subject ON smf_messages
I look at the smf_messages database this info doesn't exist. What can I do? Thanks
My quesiton is still valid.
http://www.simplemachines.org/community/index.php?topic=489947.msg3469057#msg3469057
has anyone tried with a different language set in ut8 and succeeded ?
Quote from: teos55 on January 16, 2013, 06:40:46 AM
My quesiton is still valid.
http://www.simplemachines.org/community/index.php?topic=489947.msg3469057#msg3469057
has anyone tried with a different language set in ut8 and succeeded ?
i did the translate over mods file, didn't create new files, you can try.
You're right. Thnanks for sharing.
Modifiying simtopic.english.php with the local language text works, but is that a regular behaviour ? For me, it is just a circumvention.
Can you attach your translation?
Only modified the $txt['similar_topics'] for members.
attached
I need a full translation.
Quote from: Skaty on January 12, 2013, 11:55:17 PM
Hi Bugo, i have a couple errors in log section.
simtopics.php in line: 67
Database error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's%' OR m.subject LIKE '%Creed%' OR m.subject LIKE '%3%' OR m.subject LIKE '%Libe' at line 11
what should i do ?
i can translate turkish :) but how about this issue ?
__
here it is
<?php
$txt['similar_topics'] = 'Benzer Başlıklar';
$txt['simtopics_desc'] = 'Benzer Başlıklar eklenti ayarlarını buradan değiştirebilirsiniz.';
$txt['simtopics_settings'] = 'Benzer Başlıklar Eklenti Ayarları';
$txt['simtopics_num_topics'] = 'Gösterilecek maksimum başlık sayısı';
$txt['simtopics_nt_desc'] = 'Modu devre dışı bırakmak için 0 girin';
$txt['simtopics_only_cur_board'] = 'Benzer başlıkları aynı kategori içinde ara';
$txt['simtopics_ocb_desc'] = 'Tüm kategorilerde aranması için tıkı kaldırın';
$txt['simtopics_ignored_boards'] = 'Devre dışı bırakılacak kategoriler';
$txt['simtopics_when_new_topic'] = 'Yeni başlık oluştururken benzer başlıklar görüntülensin mi ?';
$txt['simtopics_on_display'] = 'Başlık içinde benzer başlıklar görüntülensin mi?';
$txt['simtopics_cache_int'] = 'Arabellek yenileme aralığı';
$txt['simtopics_ci_post'] = 'sn.';
$txt['groups_view_simtopics'] = 'Benzer başlık listesi için izinler';
$txt['groups_auto_simtopics'] = 'Yeni başlıklarda benzer başlıklara erişim';
$txt['simtopics_no_result'] = 'Benzer başlık bulunamadı.';
$txt['simtopics_no_subject'] = 'Açıklayıcı bir başlık girin.';
$txt['permissiongroup_simtopics'] = $txt['permissiongroup_simple_simtopics'] = $txt['similar_topics'];
$txt['permissionname_view_simtopics'] = 'Benzer başlık listesini görebilir';
$txt['permissionhelp_view_simtopics'] = 'Bu izin üyelerin benzer başlık listesini görebilmelerini sağlar.';
$txt['permissionname_auto_simtopics'] = 'Yeni başlık oluştururken benzer başlıklar görüntülenir';
$txt['permissionhelp_auto_simtopics'] = 'Üyeler bir başlık oluştururken girdikleri içeriğe göre benzer başlıklar görüntülenir.';
?>
You should to explain in what cases you have this error, on what pages (with link-examples) etc.
Please, attach a file with translation, in proper charset.
i delete the error logs, when it happens again i will notice you. thanks.
teos55, you missed a f symbol in filename. It should be SimTopics.turkish-utf8.php.
Shame on me ... I'm so sorry kept you busy for this silly thing.
Thanks
the mods accept permissions options in the mod preferences but you as well charge to go to the permissions area in Admin
it stopped working when creating new topics. no reaction whatever i write. i didn't do any changes but stop working any idea ?
reinstall and install again but still the same.
Quote from: Skaty
Hi Bugo, i have a couple errors in log section.
simtopics.php in line: 67
Database error:
You have an error in your SQL syntax; check the manual that corresponds to
your MySQL server version for the right syntax to use near 's%'
OR m.subject LIKE '%Creed%' OR m.subject LIKE '%3%' OR m.subject LIKE '%Libe' at line 11
what should i do ?
I've noticed this when an apostrophe is used in the topic title - it upsets the DB query string. I can live with the errors - they don't occur that often...
Good. Open simtopics.php (in the root of your forum), find
$where .= ($k == 1 ? "" : " OR ") . "m.subject LIKE '%" . $query[$i] . "%'";
and replace with:
$where .= ($k == 1 ? "" : " OR ") . "m.subject LIKE '%" . mysql_real_escape_string($query[$i]) . "%'";
^-- yes that resolves that issue. Thanks Bugo :)
Thank you Bugo. i have no idea why stop working when create topic, this feature was so helpful /:
Meet the new version: some bug fixes, turkish translation, new option (see settings).
Quote from: Bugo on November 06, 2012, 06:33:59 AM
Quote from: BaghdadGhost on November 06, 2012, 03:18:06 AM
yes I did type a subject with common words that I know for sure it should work with. then I put some content just for testing, then tried to preview the topic, still nothing loading!
Probably it's a jQuery conflict, with other scripts. Can you give me a test account on your forum?
Hi Bugo,
I sent you a testing account on PM. I don't know if you had a chance to check my problem?
by the way, I installed the new version already and the same issue still exist!
thanks
I think it's a jQuery conflict. There's a code in your code:
<script type="text/javascript" src="http://ahalna.com/Themes/default/scripts/jquery-1.3.2.min.js"></script>
Try remove it.
Quote from: Bugo on January 22, 2013, 06:41:28 PM
Meet the new version: some bug fixes, turkish translation, new option (see settings).
Thanks.
Since I installed the new version I notice my Recycle Board is being pulled into the search/display, despite the code saying this
if (!empty($modSettings['recycle_board']))
$ignore_boards[] = $modSettings['recycle_board'];
Interestingly, my Recycle Board doesn't appear in the list of boards to ignore now :(
KUTGW tho ;)
Wonderful. Use this updated file.
Quote from: Bugo on January 23, 2013, 07:26:38 AM
Wonderful. Use this updated file.
Used, with thanks :)
Recycle board no longer features in topic display.
Quote from: Bugo on January 23, 2013, 07:26:38 AM
Wonderful. Use this updated file.
Is this file now included in the lasted update of the mod?
Do I need to uninstall the old version of the mod before installing the new version?
Thanks,
Hey AJ
Looking at the last modified time of the official mod download I'd say the replacement file in reply #80 is not included.
And yes, you'll need to uninstall your existing version.
Awesome, i just chopped the template to suit my needs. ;)
Quote from: Bugo on January 23, 2013, 04:21:51 AM
I think it's a jQuery conflict. There's a code in your code:
<script type="text/javascript" src="http://ahalna.com/Themes/default/scripts/jquery-1.3.2.min.js"></script>
Try remove it.
this script was related to PM Informer mod. I uninstalled it. before it just used to say loading when creating new topic, now it changed to (Type subject please.) but it still does not give any similar topics when I type subject. I tried different term in both Arabic and English language and it still does not work.
any Idea?
thank you
About the latest version of jQuery, 1.9.0: some functions are removed and don't work anymore. Try to open simtopics.js, find ".live" and replace with ".on".
Quote from: Bugo on January 24, 2013, 12:37:16 AM
About the latest version of jQuery, 1.9.0: some functions are removed and don't work anymore. Try to open simtopics.js, find ".live" and replace with ".on".
Now its working.
Thanks a lot man.
Quote from: BaghdadGhost on January 23, 2013, 11:13:31 PM
Quote from: Bugo on January 23, 2013, 04:21:51 AM
I think it's a jQuery conflict. There's a code in your code:
<script type="text/javascript" src="http://ahalna.com/Themes/default/scripts/jquery-1.3.2.min.js"></script>
Try remove it.
this script was related to PM Informer mod. I uninstalled it. before it just used to say loading when creating new topic, now it changed to (Type subject please.) but it still does not give any similar topics when I type subject. I tried different term in both Arabic and English language and it still does not work.
any Idea?
thank you
Same problem. live -> on solution didn't word for me. should i uninstall the pm informer ?
Try one trick. Open index.template.php, find
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin20"></script>
and replace with
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin20"></script>
<script type="text/javascript">window.jQuery || document.write(unescape(\'%3Cscript src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"%3E%3C/script%3E\'))</script>
<script type="text/javascript" src="http://code.jquery.com/jquery-migrate-1.0.0.js"></script>
Still don't work.
Well, look for other mods that use jQuery (old versions) and fix them.
Quote from: Vahid Damanafshan on November 15, 2012, 03:28:25 AM
I have been testing the mod for the last two days and I've come across the following problem:
The similar topics shown at the bottom of the topics page is precise and correct, but the similar topics shown at the time of creating a new topic isn't precise. Sometimes even the results is completely irrelevant (Unfortunately, my forum is in Persian, so I can't provide you with some screen shots).
So, is there a way to apply the showing method of the similar topics of the first case to the second case, too?
My problem above is still open. Bugo, could you please provide me with a solution to this problem?
My install failed on:
Database Error
ERROR: syntax error at or near "FROM"
LINE 1: SHOW INDEX FROM smf_messages WHERE key_name LIKE "subject"
^
File: /web/htdocs2/gamestickersnet/home/www/Packages/temp/install.php
Line: 11
Could anyone urgently help please? SMF 2.0.3 pgsql
the fulltext index seems to be a problem on pgsql... :(
resolved..... this mod is not working on pgsql :(
Nope, PGSQL does not support the features. To use this mod you'll need to switch to MySQL.
The mod's author ideally should add a tagline that this requires MySQL.
is there any easy and free way how to convert the postgresql dump to mysql?
I have been trying to find something but no luck :(
your mod is perfect idea. Thanks.
One of my mods prevent to work this mod in creating post (jQuery). How can i find wich is this ? Should i uninstalled and test or there is a method for this (i have a lot of custom mods so uninstalling is last option for me).
It suddenly stopped working for me on my Mac. Members that use Windows noticed that it stopped working too. It works on my iPhone though. I don't know why it would randomly stop.
Hi,
I'm very interested in this mod and I'm currently trying it. But I'm facing some issues that I'm wondering if they could be overcome. First, I'm reaching 500,000 posts in my forum, so I'm using a Sphinx index for the searches instead of the default MySQL indexes. So my fist question, or request, is to be able to use Sphinx in order to minimize the impact of this mod in my database.
Also, I've found that most of the time old posts are shown instead of other much more recent. They are "related", yes, but I'm also wondering if you could somehow change the weight of different search criteria such as if the search words are included in the title, number of posts in a thread, date and so on.
It's an amazing mod; but I'm missing some important features in order to be able to actually use it.
Thanks so much for reading.
Bests,
Yes, I am on a similar boat with a forum of over 500,000 posts and I am guessing that this mod would slowly it down big time and this is the last thing I want.
By the way, how did you install Sphinx? I am trying to find someone who could do it for me.
Quote from: spiros on February 05, 2013, 04:26:38 PM
By the way, how did you install Sphinx? I am trying to find someone who could do it for me.
Actually I'm trying to fix it... I was running Sphinx 0.9.9. A couple of days ago I installed this Similar Topic mod and tried to upgrade to Sphinx 2.0.4 and... everything broke... I've just disable Similar Topics and I'm trying to reinstall Sphinx. I'll let you know if manage to get it running back.
Bests,
1) My forum language is spanish, so we use áéíóú etc, in topic display there is no problem, but when I start a new topic I get "null" on those topics using special chars.
Attached you can find an image.
2) Is it possible to order similar topics from date and descending?
Thank you!
@videoed, I never worked with Sphinx.
@Jorge_CS_, 1) Please post a link to your forum. 2) In the future versions, just wait.
videoed, perhaps you could use Sphinx for search and MySQL index for Similar Topics. I am not the one to ask though about how this could be done.
Hi Bugo,
today this mod not working anymore.. stuck in loading...
what's the problem do you think? Probably it's a jQuery conflict, but i can't figure it out, somehow, i remove all jQuery form other MOD, but it didn't works!
no one for support!?
i even installed new version, but still not working
New version uploaded, but no changelog?
What do you want from me? I don't read the tea-leaves. Probably it's a jQuery conflict... or probably no. Who knows? I have no access to your forum, I have no test account for testing.
Quote from: Bugo on February 22, 2013, 11:22:15 AM
What do you want from me? I don't read the tea-leaves. Probably it's a jQuery conflict... or probably no. Who knows? I have no access to your forum, I have no test account for testing.
I Have no idea why you speak like this? for what?!
you created a mod, this topic created for support this mod, and you should support your mod, isn't it? if you can't, mention it!
it's very hard to help others?!
if you can't support and speak with respect do not make a MOD!
i dunno what you need for fix this, test account, link to our froum or etc..
everyday people ask repetitious questions, no one should be angry or inattention to their questions! this forum created for support everything related to SMF, right?
ok , we didn't search?
we didn't attention to past replies? ok, make a quote! and don't speak like this with people!
i tell you:
QuoteProbably it's a jQuery conflict, but i can't figure it out, somehow, i remove all jQuery form other MOD, but it didn't works!
This is kinda disrespect!
there's no need to your coercive help anymore!
Quote from: Mr. Pedram on February 22, 2013, 05:57:04 PM
Quote from: Bugo on February 22, 2013, 11:22:15 AM
What do you want from me? I don't read the tea-leaves. Probably it's a jQuery conflict... or probably no. Who knows? I have no access to your forum, I have no test account for testing.
I Have no idea why you speak like this? for what?!
you created a mod, this topic created for support this mod, and you should support your mod, isn't it? if you can't, mention it!
it's very hard to help others?!
if you can't support and speak with respect do not make a MOD!
i dunno what you need for fix this, test account, link to our froum or etc..
everyday people ask repetitious questions, no one should be angry or inattention to their questions! this forum created for support everything related to SMF, right?
ok , we didn't search?
we didn't attention to past replies? ok, make a quote! and don't speak like this with people!
i tell you:
QuoteProbably it's a jQuery conflict, but i can't figure it out, somehow, i remove all jQuery form other MOD, but it didn't works!
This is kinda disrespect!
there's no need to your coercive help anymore!
(1) Bugo isn't making any money off this mod.
(2) Bugo made this mod and contributed it voluntarily.
(3) Bugo has no obligation to help anyone. You. Me. Anyone. He has no obligation to even release mods. He does so voluntarily out of kindness and the love for the community.
(4) It's bad attitudes like yours that drive people away from making free mods. If you paid for it, I would be on your side. You didn't. You got it free. If it doesn't work and you find the support lacking. DO NOT USE THE MOD. Simple as that.
(5) if Bugo can't or dosen't want to help, shouldn't speak tough!! and don't make reply!
you right but he could say "i can't help" not speak like this!
Quote from: Bugo on February 22, 2013, 11:22:15 AM
What do you want from me? I don't read the tea-leaves.
;)
did i force him to help?
no..
Quote from: Mr. Pedram on February 22, 2013, 06:51:04 PM
(5) if Bugo can't or dosen't want to help, shouldn't speak tough!! and don't make reply!
you right but he could say "i can't help" not speak like this!
Quote from: Bugo on February 22, 2013, 11:22:15 AM
What do you want from me? I don't read the tea-leaves.
;)
did i force him to help?
no..
I think there are some language issues going on here. Bugo is Russian (IIRC)... I am not sure what your native tongue is.
Bottom line is that it's not cool to attack someone who's contributing to the community freely and without out strings. If you paid for a service, I could understand your anger. You didn't. You got something for free. If it doesn't work for you... and when you ask for help you get little or none... your options are limited to fixing the issue yourself, hiring someone else to fix the issues, or remove the mod.
There is no shame in offering up some money for help with an issue you can't get resolved through the free channels.
Quote from: FrizzleFried on February 22, 2013, 08:10:23 PM
I think there are some language issues going on here. Bugo is Russian (IIRC)... I am not sure what your native tongue is.
+1
I challenge no money for this mod. And I can't get a word out of someone who has any problems. To make inquiries about a problem, one should write at least the following:
1) All details about problem (what, where, when etc., Error Log etc.)
2) Test account on your forum.
@FrizzleFried
For last time i say again:
I didn't make him or anybody to help me for solve this issue, never.
i just requested help like all people, without discontent (please see my prev posts!)
after many days, i asked question: no one to support?
i means all members, not only bugo.
and when he replied, i saw a tough reply! no language and money ant etc is our matter! it's was clear what he said, it dosen't matter, but don't forget, he never, and shouldn't speak to people like this, if couldn't help and dosen't want to help, okay, no problem, don't reply!
if someone didn't know whats he need to fix the problem, he shouldn't act like this, should speak with politeness, and let us know whats will need.
i've help people here sometimes, if i can. like others, shouldn't have money expectation!
he helped others befor, but the funny matter is when i request help he refused!
nevermind!
i believe, when someone create something, should handle this! THIS IN NOT FORCING HIM TO HELP!
end of the story
I think i am just going to chalk this up to a language barrier... I think Mr. Pedram is taking something Bugo said a little too literal/serious but again, I think it's a language thing... on one or both.
Anyway, if you want the support you're looking for Bugo, it seems, would still be happy to help out if you provided the two bits of info he asks for in his last response above.
Good luck.
Quote from: Mr. Pedram on February 16, 2013, 06:48:35 AM
Hi Bugo,
today this mod not working anymore.. stuck in loading...
what's the problem do you think? Probably it's a jQuery conflict, but i can't figure it out, somehow, i remove all jQuery form other MOD, but it didn't works!
Same problem here. it's just stop before months. so my solution for me is ''don't use this function'' :)
Well i maked a copy of my forum today and try to install mods step by step and find which one is broking this feature of similar topic.
tested about 90 mods and these are definetly broke this feature:
- Minimun Characters or Words Mod 1.1.2
- Automatic Index 2.4
i keep continue to trying and after 2 mods (not in the list) it stopped again and i uninstall this last 2 mods but can't make it work. then i gave up, still can't use it :D
Great mod Bugo.
I can confirm that this mod and the 'Glossary' mod have a conflict with one another. I have disabled the glossary at the moment as no one seems to use it anyway.
This is for info in case someone gets the permanent '....loading' situation and they also have the glossary installed.
Too bad; had no idea about the Glossary mod, but it looks really useful!
i tried this mod yesterday and it's working just fine.
but some people are complaining about the mod , not working again, glossary and stuff like that
please i will like to use this especially while writing a post. it will help me to link with other previous post of mine :D
my question is, will it stop working oneday cos some Great person are already complaining ??
thanks
As far as I know, Glossary mod (http://custom.simplemachines.org/mods/index.php?mod=1525) compatible only with SMF 2.0 RC1. Or are you using other, more new version of that mod?
Quote from: Bugo on March 08, 2013, 03:08:45 AM
As far as I know, Glossary mod (http://custom.simplemachines.org/mods/index.php?mod=1525) compatible only with SMF 2.0 RC1. Or are you using other, more new version of that mod?
Nope I'm using the original Bugo, but as it has been installed for a long time I thought it worth telling others that the two are not compatible...your mod works perfectly so there is nothing wrong with that and the glossary works OK too but the two will not work together.
Maybe that could be a project for someone to update the glossary :)
i am using 2.0.4 and it's working fine.
do i still need the glossary stuff??
Quote from: johnpaul2k2 on March 08, 2013, 04:48:14 AM
i am using 2.0.4 and it's working fine.
do i still need the glossary stuff??
The 'Glossary' is an aditional mod that can be downloaded and installed via the 'Modifications' section here
http://custom.simplemachines.org/mods/index.php?mod=1525
It is not a part of any standard SMF installation and you would not want it unless you felt you had a need for it.
If you haven't installed it then you will not have any problem with the 'Similar Topics' mod.
I was only bringing it to peoples attention to avoid the possible conflict.
To help rule out some of the questions of compatability below are the mods I have on my site and the 'Similar Topics' works correctly:
1. PM to New Members 1.2
2. Disable 'last edit by...' for Administrators 1.8
3. Downloads System Pro 2.1.9
4. Hide Tag Special 3.0
5. Thank-o-matic 3.0
6. Project Snow 1.2 1.2
7. Aeva Media 1.4w
8. Mobile Device Detect 0.2.2
9. Childboards as Dropdown 2.0.3
10. Users mass actions 0.1.1
11. PostLimit 1.0
12. New Topic Button 1.0
13. Similar Topics 0.6
14. Images On Board 3.0
15. Membergroup Prefixes 1.1
16. SimplePortal 2.3.5
17. Ad Managment 3.0.1
18. Highlight Unread Topics 2.0
19. geoIP Location 1.1.1
20. Highslide 4 SMF 0.7a
21. SMFPacks Shoutbox 1.0.3
22. Hide the content of {code} tags from guests 1.1
23. Happy Birthday 0.2.2
24. SMF 2.0.3 Update 1.0
25. InformationBar 1.0
26. InLine Attachments 1.2
27. Holiday/Sunday Color Red 1.0.1
28. Welcome Topic Mod 2.1
29. Separate the sticky topics 1.0.0
30. EU cookie law 0.1.2
31. Add Social Media Icons To Profiles 1.0.3
32. Quick Spoiler 0.9.2
33. Hide Membergroup Titles 1.0
34. SMF 2.0.4 Update 1.0
35. Users Online Today 2.0
36. Custom Greeting Mod 1.1.1
37. Advanced Topic Prefix Mod 3.0.1
38. SimpleColorizer 1.1
39. Drafts 1.1.2
There are times when I think it would be easier to keep my mouth shut
Hahaha I'm getting older, had to copy/paste that text to read it :D
In any case, a good job you did there, dajevo!
Glossary mod uses jQuery 1.3.2. Similar Topics uses the latest version (1.9.1). Just think :)
you are the boss!!
Quote from: Bugo on March 08, 2013, 04:29:23 PM
Glossary mod uses jQuery 1.3.2. Similar Topics uses the latest version (1.9.1). Just think :)
i once requested for mod that will help me build auto link which i havn't till today but i think this mod will save my butt because it does similar.
the sweetest thing is while typing your subject, you will be seeing similar post with exact keywords. since i have been linking my posts with other similar thousands of my previous post
thanks alot
Great mod! Any way I can move the 'similar topic' results above the 'Page 1' link in the Display.template.php? I would like to have it right below the actual message.
Working perfectly, thanks!
I had to turn off the feature for using it during new topic creation, as it was flashing and flickering as it updated while i typed the subject, I think it looked really unprofessional.
Hello
Similar Topics worked until yesterday
When we create a topic
This massage display :
in progress ... and does not search
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs4.picofile.com%2Ffile%2F7743398488%2Fsimilar_topics.jpg&hash=841ecd00298cbcb1d608372315b700e508f1efe2)
Quote from: mehrtadbir on April 28, 2013, 03:39:01 PM
Hello
Similar Topics worked until yesterday
When we create a topic
This massage display :
in progress ... and does not search
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs4.picofile.com%2Ffile%2F7743398488%2Fsimilar_topics.jpg&hash=841ecd00298cbcb1d608372315b700e508f1efe2)
Hello,
a jquery conflict probably! read prev posts, might help you out!
"Agar post haye ghabl ro bekhoonid motevajeh mishid ke sazandeye in mod khodesh hanoz nemidone in moshkel ro chetori hal kone, in moshkel baraye man ham pish omad ke dar natije majbor shodam mod ro uninstall konam."
ok very thanks Mr. pedram
But I hope that this problem will soon be solved
Please help me. This mod doesn't work for me.
I use SMF 2.0.4 and no mod. Install this mod on package manager.
This is my settings.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fupic.me%2Fi%2Fs3%2F1ian1.png&hash=dc45848177335090e94ce5437f9d083f01e9db84)
This is my topics.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fupic.me%2Fi%2Fpj%2F6qcy2.png&hash=771316732f482007368c1e24b6e09772b768bd81)
and it's can display list of similar topics when creating new topic.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fupic.me%2Fi%2Fxw%2Fp1qq3.png&hash=5026ce051721c2b50e685d333e8e5ebea55f89d9)
but can't display list of similar topics inside these topics.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fupic.me%2Fi%2Fva%2Fmepn4.png&hash=1a04fa10559a2df448754e3a913b8e0eb2da547e)
Please help me what I wrong. Thank you very much.
Werldklass please use smaller images or use the attachments feature in future posts.
QuoteThis mod doesn't work for me
How doesn't it work?
Any errors in your error log?
Quote from: Werldklass on May 15, 2013, 01:31:25 PM
Please help me. This mod doesn't work for me.
Change your settings to match mine and see if it works for you as this works for me.
Quote from: Old Fossil on May 15, 2013, 01:40:26 PM
Werldklass please use smaller images or use the attachments feature in future posts.
QuoteThis mod doesn't work for me
How doesn't it work?
Any errors in your error log?
Please read it again.
Alright, I will answer you.
Q: How doesn't it work?
A: it's can display list of similar topics when creating new topic but can't display list of similar topics inside these topics.
Q: Error Logs?
A: Noooo.
Thanks so much.
Quote from: davejo on May 15, 2013, 02:47:15 PM
Quote from: Werldklass on May 15, 2013, 01:31:25 PM
Please help me. This mod doesn't work for me.
Change your settings to match mine and see if it works for you as this works for me.
Thanks davejo but it's doesn't work.
I am using the latest version of SMF and I am getting this error
Can't find FULLTEXT index matching the column list
File: /var/www/vhosts/domain.com/httpdocs/Sources/Subs-SimTopics.php
Line: 136
Yes I did build the index
Fulltext index
Index: already created [remove fulltext index]
Size: 37 KB
What am I missing here. Thanks.
Wrong index.
This mod should set up its own fulltext index, not the same one as used for the main search facility.
So what is the answer. We're not as all smart as you.
how can i get similar post working on my wap2?
I really like this MOD but I cannot get it to work on my custom theme (Bad Company 3). It loads just fine on Curve. I'm running 2.0.4 with the following mods;
Mod Name Version
1. Similar Topics 0.6
2. Ad Managment 3.1a
3. Signature Option Post 1.1.1
4. Send Pm On X Posts 1.0
5. Send Pm When Rank Change 1.0
6. Referrals System 3.1
7. Reason For Delete 1.0
8. Rank Image Drop Down 1.0
9. Month User By Smfsimple.com V1
10. Posting_Announcement 2.0
11. SA Chat RC3 Rev63
12. Tapatalk SMF 2.0 RC5/Final Plugin 3.7.2
13. Treasury 2.12
14. Post Unapproval 1.1.4
15. Alert v.1.0
16. Admin Notepad 2.0.2
17. Bad Behavior mod 1.5.17
18. Downloads System 2.0a
19. Default_Membergroup 2.0
When I load it up I see
Similar topics
Loading...
Regardless of what I put in the subject or the body, nothing loads. It works perfectly on Core or Curve.
Open /your_theme_folder/index.template.php, find and remove this line:
<script type="text/javascript" src="', $settings['theme_url'], '/scripts/jquery-1.4.2.min.js"></script>
Thank you! Wonderful!!
Quote from: Bugo on August 20, 2013, 01:18:19 AM
Open /your_theme_folder/index.template.php, find and remove this line:
<script type="text/javascript" src="', $settings['theme_url'], '/scripts/jquery-1.4.2.min.js"></script>
Hi Bugo,
I'm also having the 'loading' issue with the mod.
I am using the Firox multicolor theme, but can't find this line of code in my index.template.php.
Do you have any idea why it might not be working for me please?
I do have quite a lot of custom mods installed, so perhaps there are some jquery conflicts somewhere.
Thanks
:)
Hello Bugo!
Your mods are great!
But I have same problem with Similar Topics as above.
I can see similar ones when creating new topic, but nothing is seen below "quick reply" on a topic page.
My existing forum uses only 4 mods:
Similar Topics
Optimus Brave
WYSIWYGQuickReply
SimpleAds
I also thought about jquery problem, but then I installed fresh smf 2.0.5 on denwer, installer russian utf-8 language and Similar Topics.
Then I started to create topics "Test 1", "Test 2", "Test 3"...
Nothing. I can see them while creating, but nothing below "quick reply" field.
Then I created search indexes (I thought it could make problem, no indexes), but still nothing.
So, again, fresh SMF 2.0.5 with Curve, only Similar Topics installed.
Topics can be seen on creating new topic page, but not below "quick reply" page.
Will appreciate any ideas.
P.s. Tried Firefox, Chrome, IE on Win 7.
Screenshot of mod's settings, please.
Here it is. Two from working forum, one from fresh test installation.
Очистите папку cache и попробуйте Интервал обновления кэша установить в 0. А затем создать еще несколько похожих тем.
А если настроить вывод списка в верхней части — работает?
Quote from: Bugo on September 19, 2013, 04:24:54 AM
Очистите папку cache и попробуйте Интервал обновления кэша установить в 0. А затем создать еще несколько похожих тем.
А если настроить вывод списка в верхней части — работает?
That's a little unfair on those of us following this topic, who don't speak the lingo :-\
It worked! Thanks Bugo!
I did it on local wamp, not on production site yet.
But it worked here, so should work there too.
Don't worry guys, I will translate. I think it can solve problems of many people here.
QuoteClear cache and try to change cache interval to 0 (means in mod's settings). Then create some topics with similar titles again. Does it work if switch to "above topic" display?
I did not switch to "above topic", but this Bugo's instruction helped on local wamp server.
I opened a thread in SMF 2.x support board, http://www.simplemachines.org/community/index.php?topic=513234, for the following error and it looks like that the database version error can be ignored as posted by the SMF devs. And I think similar topic mod was throwing this error and thought of posting it here. Thanks.
QuoteSo I tried to add a new membergroup and got this error.
QuoteDatabase Error
Duplicate entry '11-auto_simtopics' for key 'PRIMARY'
File: Sources/ManageMembergroups.php
Line: 447
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.6, while your database is at version 2.0.4. The above error might possibly go away if you execute the latest version of upgrade.php.
SMF version is 2.0.6!
Is there any indexes in your {prefix}messages table?
Hello there.
Thanks for this amazing mod but I have problems with showing similar topics on above and below topic. It does NOT show.
1. I changed "Cache update interval" to "0"
2. I went to "Empty the file cache"
3. I created 3 topics with similar titles and it did not work
And also I have done this too:
1. I have changed above to below topic and it did not work
I leave a screen shot of my set up. Please any help wpuld be great. Thanks
Any links to these topics?
Quote from: Bugo on November 01, 2013, 04:50:58 PM
Any links to these topics?
Here you are:
http://edited.com
I have changed to default theme, I was hoping that it may work on the default theme but it did not.
My mods:
1. Additional Instant Messengers
2. More Spiders 1.2
3. Member Color Link
4. reCAPTCHA for SMF
5. Auto Merge Double Post
6. New Topic Button
7. Tidy Child Boards
8. Ad Managment
9. Enhanced Dropdown
10. Spoiler Tag
11. nCode Image Resizer
12. Users Online Today
13. Related Topics
14. Spiders Don't Increase Topic Views
15. Pretty URLs
16. cbi 1.0
17. Similar Topics 0.6
and also i will leave my current set up.
Please, any help would be great. I want this mod to show up after "Quick Reply"
Did you try to reinstall the mod?
Also, I would be happy to receive a test account on your forum.
Quote from: Bugo on November 01, 2013, 11:09:09 PM
Did you try to reinstall the mod?
Also, I would be happy to receive a test account on your forum.
Hi, thanks for replying.
I already re-install the mod and it did not work.
Do you want me to send the information for PM (test user)? and also i can give you TeamViewer if you want.
any way to have similar topic by Simple Portal Block like SSI method?
From some time in logs I have this errors:
http://**.info/forum/simtopics.php
Wrong value type sent to the database. Integer expected. (current_board)
File: simtopics.php
Line: 70
but on line 70 I see only this:
);
SMF 2.0.6
Similar Topics 0.6
how to fix this?
What's on lines 60-70?
(The error is flagged up as the last line of a query.)
there's this database query before it:
$result = $smcFunc['db_query']('', "
SELECT DISTINCT t.id_topic, t.id_board, t.is_sticky, t.locked, t.id_member_started as id_author, t.num_replies, t.num_views, b.name as bname,
mf.icon, mf.poster_name as author, mf.subject
FROM {db_prefix}messages AS m
LEFT JOIN {db_prefix}topics AS t ON t.id_topic = m.id_topic
LEFT JOIN {db_prefix}boards AS b ON b.id_board = t.id_board
LEFT JOIN {db_prefix}messages AS mf ON mf.id_msg = t.id_first_msg
WHERE m.approved = {int:is_active}" . (!empty($modSettings['simtopics_only_cur_board']) ? '
AND t.id_board = {int:current_board}' : '') . (!empty($ignore_boards) ? '
AND b.id_board NOT IN ({array_int:ignore_boards})' : '') . "
AND {query_wanna_see_board}
AND {query_see_board}
AND (" . $where . ")
LIMIT {int:limit}",
array(
'is_active' => 1,
'current_board' => $board,
'ignore_boards' => !empty($ignore_boards) ? $ignore_boards : null,
'limit' => !empty($modSettings['simtopics_num_topics']) ? $modSettings['simtopics_num_topics'] : 5
)
);
$topics = array();
while ($topic = $smcFunc['db_fetch_assoc']($result))
$topics[$topic['id_topic']] = $topic;
$smcFunc['db_free_result']($result);
$output['topics'] = count($topics) == 0 ? false : $topics;
}
echo json_encode($output);
?>
1) My forum language is spanish, so we use áéíóú etc, in topic display there is no problem, but when I start a new topic I get "null" on those topics using special chars.
Attached you can find an image.
[/quote]
i love this mod but i have same problem here :'( Can we expect for a new release soon?
Thank you Bugo!
Will this be updated for 2.07?
Quote
Will this be updated for 2.07?
Works fine on that version.
I am seeing a problem. it isn't looking though the thread titles correctly. Example:
2 threads with similar titles = the 1st two words of the title are the same but the rest is different. I go into one of those threads, but it doesn't show the other one under similar topics.
It appears to be looking for the words in a random order and only looking for individual words. Having it look from left to right would be the solution. It would also be helpfu if it looks for the entire title first - possibly.
Another issue I found: When creating a new thread, I tried a word that was the first word in several topics and it didn't show any of those. It shows 5 that are unrelated.
What do I need to do to fix this? Thanks.
I want to use this for 2.1... and as an encouraging side note to the author, I'm guessing that it's only going to take just minor tweaking to be 100% with 2.1, just attempted to install on 2.1 production site and the pre-test had 0 errors! Unusual for this point in the transition process... Watching the logs for a minute reveals only one error thus far, though it is a show stopper should be easy to fix...
error= "The callable simtopics_actions could not be called." I get this on another module too and I'll track down the author on that too later... heads up man you could be ahead of the competition a bit by fixing this asap
[edit]
Duh, just looked again, the reason there's no errors is that there is very little editing happening... open mouth insert foot yet again... never the less, only one minor little glitch is still VERY cool
That MOD works on 2.0.11?? Its reliable and dont use lots of resources of database (if dont slow down my forum)??
Thanks in advance
I have the same problem as ScrumpyJack, it doesn't load in my themed forum, with v2.0.13 version and Anecdota Theme.
I neither can find that line of code, and after clear the cache and follow all Bugo's instructions, still doesn't appears the Similar Topics block anywhere, so after reading others with the same problem and no solution, i'm guessing is realted with the Theme we're using.
I've had the same load problem with a similar Mod, so it can assure me the issue is related with our Theme, and as i can't change theme after the long modding work unfortunately i will have to dessist to use this feature. It's a big shame because Bugo's Mod is awesome, and install perfectly, so maybe in based default themes.
Thanks anyway for your work with this great feature Bugo... Regards
The used table type doesn't support FULLTEXT indexes
Dosya: /home/retr/public_html/Packages/temp/install.php
Satır: 20
table species MyISAM supports
table species InnoDB does not support
smf_messages does not support
smf 2.1 beta 3
beta 3 table type InnoDB mod is actually incompatible mod must be updated
if ($smcFunc['db_num_rows']($request) == 0)
$smcFunc['db_query']('', '
ALTER TABLE {db_prefix}messages
ADD FULLTEXT st_idx_subject (subject)',
array()
);
Just installed this mod on my ver 2.0.15 board, and it works fine as intended. I can see the list of similar topics under the message page. However some strange issues for Bugo's attention. The mod is actually working ok in my board; just need to workaround the issues below.
1) The permission settings within the Mod's Configure Page (ie under Admin > Configuration > Similar Topics) do not work. I can change the settings to "Allow", save the changes.. and the mod is still not switched on for the membergroup.
When I go into the Membergroup's Permission page, under the section "Similar Topics", I noticed both permission items are still set to "Disallow". If I now make the changes - in Membergroup Permission - for these two items to "Allow", ah.. the mod is now switched on for this membergroup and I can see the list of similar topics underneath the message.
so this seems to indicate updating permissions from the Mod Config Page is not working on my board. The workaround is to use the Membergroup Permission page itself to do this.
2) Now a strange issue. After making the changes via Membergroup Permission page (above) and getting the mod to work, if I look at the Mod Config Page, the permissions for the updated membergroups are strangely changed to "Disallow" (X). But the mod is working (ie showing the list of similar topics) for these membergroups. It's just the page showing "X" instead of "A".
See attached file - Config Page Perm
- I've just updated both Similar Topics permission items for these two group (Regular Members, BGC Members) via Membergroup Permission to "Allow", save the changes and in the Mod Config Page, they are marked as "X". The mod is working for these two membergroups so that tells me the permission settings are correct but somehow not displaying correctly in the Mod Config Page?
- note Guests is left as default "X"; didn't make any change to this membergroup since installing this mod
3) The last issue is regarding the list of two new permission items under Membergroup Permission page
- see attached screenshot "MemberGroup Perm"
- you can see under the section "Similar Topics", there are two permission line items but with empty description? I presume they are "Permission to view" and "Access to list on new post" but somehow my board lost the description
- they still work.. I can set them to Allow (or Disallow) and the mod works accordingly
If Bugo is still active here and wants to look closer at the issues, I can arrange test acct and access etc.
It's a very good bug, thank you :)
I have updated the mod.
Thanks Bugo. Ver 0.8.1 have fixed all the issues I mentioned above.
8)
Please What determines the similar topics position. I want to change the position to after the first message
Working nicely thanks :) Is there any use in options for tweaking the matching options? For example match 1, 2 or more words in the topic?
Nice Mod Bro, Please how can I manually change the similar topics position. I don't like where it appears both top and button. I prefer it appears after the first post.
I am testing it on Sphinx on a big board (0,5 m. topics) and it seems to have trouble to get the right topic titles. I.e. i may try a topic title that exists, but it will not be displayed (unless it is getting its data from the old full text search index). Any ideas about that?
Sorry, I did not work with Sphinx and such large boards.
What are the determining factors for this mod to find "similar" topics? Does it search titles, subject matter content? I started using it and it seems it kind of randomly picks anything and not necessarily similar at all.
I suggest you review this topic : https://www.simplemachines.org/community/index.php?topic=567121.msg4015806#msg4015806
Update required mode
Thank you for your report. I have updated the mod.
Hi Bugo,
French translation for 2.1 and 2.0.
:)
I noticed you don't use an index to find the similar topics. Are you planning on adding that functionality in 2.1?
@maximus23, big thanks! I'll add your translations into next update.
@Study Force, do you mean checkTopicsOnPost() function?
What's the indexing method used to find the similar topics? Does the mod build an index?
When I'm installing this mod on SMF 2.1 RC2, I get error message:
Database Error
The used table type doesn't support FULLTEXT indexes
File: /home/bulataka/public_html/test/Packages/temp/install.php
Line: 19
Details:
Forum version: SMF 2.1 RC2 (more detailed)
Current SMF version: SMF 2.1 RC2
GD version: bundled (2.1.0 compatible)
MySQLi engine: MySQL
MySQLi version: 5.5.62-cll
PHP: 7.2.17 (more detailed)
Server version: Apache
Probably because the tables are InnoDB
What's the indexing method used to find the similar topics? Does the mod build an index? we are web owner at poker online
hi could you update this mod please ?
Do you have any problems with the current version?
Quote from: Hatshepsut on May 14, 2019, 07:49:37 AM
When I'm installing this mod on SMF 2.1 RC2, I get error message:
Database Error
The used table type doesn't support FULLTEXT indexes
File: /home/bulataka/public_html/test/Packages/temp/install.php
Line: 19
Details:
Forum version: SMF 2.1 RC2 (more detailed)
Current SMF version: SMF 2.1 RC2
GD version: bundled (2.1.0 compatible)
MySQLi engine: MySQL
MySQLi version: 5.5.62-cll
PHP: 7.2.17 (more detailed)
Server version: Apache
The problem described in my previous post is already solved :)
Yesterday my host was upgraded databases from 'MySQL 5.5' to 'MariaDB 10.3' and now I have installed successfully Similar Topics 0.9 on my SMF 2.1 RC2 forum.
Привет.
Если в названии темы присутствует знак @ - например Active@, то получается ошибка базы данных.
syntax error, unexpected '@', expecting $end
Файл: /home/admin/web/site.ru/public_html/Sources/Class-SimTopics.php
Строка: 190
Форум SMF2.1 RC2
А подробнее? Движок и версия базы данных, например?
Проверил на двух форумах, с MariaDB и PostgreSQL, нет ошибок ни при создании подобных тем, ни при просмотре.
У меня vds, вот что там
Linux 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64
Apache/2.4.25 (Debian) mod_fcgid/2.3.9 OpenSSL/1.0.2l
php/7.0
На тестовом форуме та же ошибка, зайди сюда и посмотри сам - http://www.sub.wylek.ru
Пользователь с правом создания тем получает ошибку
Пожалуйста, повторите ещё раз. Если ошибка продолжает повторяться, обратитесь к администратору.
I am using SMF 2.1 RC2+ (commit 21.12.2019) and I don't get error messages when topic subject contains "@" symbol.
Forum details:
Forum version: SMF 2.1 RC2 (more detailed)
Current SMF version: SMF 2.1 RC2
GD version: bundled (2.1.0 compatible)
MySQLi engine: MariaDB
MySQLi version: 10.3.21-MariaDB-log
PHP: 7.3.13 (more detailed)
Server version: Apache
Отловил такую ошибку, только когда тема содержит лишь символ "@" и ничего более, то есть после удаления подобных символов в запросе остается пустая строка или просто "+" (для MySQL).
Попробуйте обновленный файл Class-SimTopics.php (https://github.com/dragomano/Similar-Topics/blob/master/Sources/Class-SimTopics.php) с GitHub.
Отпишитесь о результатах.
Теперь все нормально - и темы создаются и просмотр без ошибок :)
Using the latest version of the mod and SMF, but when typing on a new topic textbox there is no similar topics displayed even when I'm using the same names of other topics as well. :-[
How can I solve this issue on opening a new topic?
Fixed. Install version 0.9.2
Есть еще один глюк - тема у меня на форуме WinSpy++, из-за этих плюсов ошибка...
Ошибка базы данных: syntax error, unexpected '+'
https://site.ru/index.php?topic=912.0
/home/admin/web/site.ru/public_html/Sources/Class-SimTopics.php (Строка 280)
Quote from: Bugo on January 16, 2020, 05:49:54 AM
Fixed. Install version 0.9.2
when i try to install it was say internal error
What is your database name, version?
on the posting template, how can I move the similar topics block from the top to below the subject line
so between where you are putting the subject in at and where you would write the post in the editor box?
:laugh: it kind of makes my motion sickness kick in bouncing the entire screen around while trying to type in the bouncing subject box :laugh:
/Themes/default/scripts/simtopics.js, find
$("#post_header").after
replace with
$("#bbcBox_message").before
and then clean cache.
unfortunately that didn't work....probably because of the tabbed smilies mod
ok got it now....
changed it to
$("#smileyBox_message_addMoreSmileys").before
thank you
Nice mod Bugo, After install nothing in modification settings and cannot load on create topic page.
I use 2.1 beta 1. Kindly assist.
Install the first one.
And beta 1 is too old, try updating your version.
Not having anything populate for a 2.0* install
SMF should have this by default option ;)
How I can translate this word: Similar Topics
And hide everything except the article title only.
1) "Similar Topics" == "مواضيع ذات صلة"
2) Edit /Themes/default/SimTopics.template.php and /Themes/default/scripts/simtopics.js
Quote from: Bugo on May 16, 2021, 12:32:55 PM
1) "Similar Topics" == "مواضيع ذات صلة"
2) Edit /Themes/default/SimTopics.template.php and /Themes/default/scripts/simtopics.js
I canr find word (
Similar Topics) in SimTopics.template.php OR simtopics.js
this might help, 1) was to answer your first question and 2) was to answer your second question
Quote from: MohammedFK on May 16, 2021, 11:53:51 AM
How I can translate this word: Similar Topics
Quote from: Bugo on May 16, 2021, 12:32:55 PM1) "Similar Topics" == "مواضيع ذات صلة"
/Themes/default/languages/SimTopics
which ever language file you are using, or create a new one called .arabic.php
and copy everything from the .english.php into it and translate the english to arabic
and then if you use utf8 (which you should be) create an .arabic-utf8.php as well
Quote from: MohammedFK on May 16, 2021, 11:53:51 AMAnd hide everything except the article title only.
Quote from: Bugo on May 16, 2021, 12:32:55 PM2) Edit /Themes/default/SimTopics.template.php and /Themes/default/scripts/simtopics.js
you'll need to edit the 2 files to do what it is that you are wanting
Quoteyou'll need to edit the 2 files to do what it is that you are wanting
For the language; Done.
As for what is hidden, "some" are done through the settings.
But I cannot remove the user/member
+ I think related topics are visible to members only; Visitors do not.
Quote from: MohammedFK on May 21, 2021, 01:41:58 PM
But I cannot remove the user/member
I assume you mean about the column, which is located in template file as well:
<td class="lastpost ', $alternate_class, '" width="22%">
<a href="', $topic['last_post']['href'], '">
<img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt['last_post'], '" title="', $txt['last_post'], '" />
</a>
', $topic['last_post']['time'], '<br />
', $txt['by'], ' ', $topic['last_post']['member_link'], '
</td>
Quote from: Dzonny on May 26, 2021, 09:00:00 AM
I assume you mean about the column, which is located in template file as well:
Excuse me sir, but what can I amend?
How does this compare to Related Topics (https://custom.simplemachines.org/mods/index.php?mod=189) ?
Quote from: aegersz on May 27, 2021, 10:37:15 AM
How does this compare to Related Topics (https://custom.simplemachines.org/mods/index.php?mod=189) ?
Unfortunately; It
does not appear to visitors..
I see. Thanks.
Thanks for the great mod! I used this mod with my old forum (2.0.x) and it worked perfectly. Recently I switched to 2.1RC4. The mod works, but It seems there is an error somewhere.
In the generated source I noticed these errors (see the attachment).
Live url: https://aquariumbg.com/forum/hrana/tubifeks-59885/
Where it could comes from?
My mods:
Custom Form Mod 1.7
SMF Gallery Lite 6.0d
Pretty URLs 2.4
Similar Topics 1.1.2
Login Menu Button 1.0
Ad Managment 3.5d
Simple Audio Video Embedder 5.0
Anti-spam by CleanTalk 2.34
Optimus for SMF 2.7.3 [13.05.21]
Simple Audio Video Embedder 6.0.4
try this
Checked is not working, unchecked is working. Thanks!
How can i fix this please???
Column 'subject' cannot be part of FULLTEXT index
File: /home1/user/public_html/Sources/ManageMaintenance.php
Line: 666
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.18, while your database is at version 2.0.13. The above error might possibly go away if you execute the latest version of upgrade.php.
11.jpg
Quote from: Xpresskonami on October 07, 2021, 09:06:49 PMHow can i fix this please???
Column 'subject' cannot be part of FULLTEXT index
File: /home1/user/public_html/Sources/ManageMaintenance.php
Line: 666
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.18, while your database is at version 2.0.13. The above error might possibly go away if you execute the latest version of upgrade.php.
11.jpg
How can I fix this??
Quote from: Xpresskonami on October 08, 2021, 01:41:50 PMQuote from: Xpresskonami on October 07, 2021, 09:06:49 PMHow can i fix this please???
Column 'subject' cannot be part of FULLTEXT index
File: /home1/user/public_html/Sources/ManageMaintenance.php
Line: 666
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.18, while your database is at version 2.0.13. The above error might possibly go away if you execute the latest version of upgrade.php.
11.jpg
How can I fix this??
Author is not online. anyone can assist me on this??
while from your first post to your last post is 24 hours, the other is not....please remember to allow at least 24 hours for a reply before bumping a topic
backup first just in case
and then I would say change the type from fulltext to varchar(255)
as mentioned before
Quote from: shadav on September 27, 2021, 12:43:07 PMQuote from: Xpresskonami on September 26, 2021, 07:53:20 PMQuote from: Shades. on September 26, 2021, 03:13:24 PMAdmin>Maintenance>Forum Maintenance>Database>Convert HTML-entities to UTF-8 characters>Run Task Now
I GOT THIS ERROR
Column 'subject' cannot be part of FULLTEXT index
File: /home1/user/public_html/Sources/ManageMaintenance.php
Line: 666
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.18, while your database is at version 2.0.13. The above error might possibly go away if you execute the latest version of upgrade.php.
depends on where the column subject is
is it the one under the messages table?
if so mine is set to varchar(255)
I would also set the collation to utf8_general_ci
Quote from: shadav on October 08, 2021, 10:56:01 PMwhile from your first post to your last post is 24 hours, the other is not....please remember to allow at least 24 hours for a reply before bumping a topic
backup first just in case
and then I would say change the type from fulltext to varchar(255)
as mentioned before
Quote from: shadav on September 27, 2021, 12:43:07 PMQuote from: Xpresskonami on September 26, 2021, 07:53:20 PMQuote from: Shades. on September 26, 2021, 03:13:24 PMAdmin>Maintenance>Forum Maintenance>Database>Convert HTML-entities to UTF-8 characters>Run Task Now
I GOT THIS ERROR
Column 'subject' cannot be part of FULLTEXT index
File: /home1/user/public_html/Sources/ManageMaintenance.php
Line: 666
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.18, while your database is at version 2.0.13. The above error might possibly go away if you execute the latest version of upgrade.php.
depends on where the column subject is
is it the one under the messages table?
if so mine is set to varchar(255)
I would also set the collation to utf8_general_ci
Thank you. It works after changing it to Varchar (255). After I convert my database to UTF, some of the blocks in my site not working.
Quote from: Xpresskonami on October 13, 2021, 01:41:07 PMQuote from: shadav on October 08, 2021, 10:56:01 PMwhile from your first post to your last post is 24 hours, the other is not....please remember to allow at least 24 hours for a reply before bumping a topic
backup first just in case
and then I would say change the type from fulltext to varchar(255)
as mentioned before
Quote from: shadav on September 27, 2021, 12:43:07 PMQuote from: Xpresskonami on September 26, 2021, 07:53:20 PMQuote from: Shades. on September 26, 2021, 03:13:24 PMAdmin>Maintenance>Forum Maintenance>Database>Convert HTML-entities to UTF-8 characters>Run Task Now
I GOT THIS ERROR
Column 'subject' cannot be part of FULLTEXT index
File: /home1/user/public_html/Sources/ManageMaintenance.php
Line: 666
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.18, while your database is at version 2.0.13. The above error might possibly go away if you execute the latest version of upgrade.php.
depends on where the column subject is
is it the one under the messages table?
if so mine is set to varchar(255)
I would also set the collation to utf8_general_ci
Thank you. It works after changing it to Varchar (255). After I convert my database to UTF, some of the blocks in my site not working.
How can I set my database from UTF8 back to ISO-8859 ??
Çağrılabilir SimTopics::hooks çağrılamadı.
Kanca çağrısı:/home/tshkk/public_html/Sources/Class-SimTopics.php dosyasındaki "SimTopics::hooks" işlevi çağrılamadı.
how can i fix these ?
Are you using the latest version?
How to place Similar Topics box below when creating a new topic?
Maybe this (https://www.simplemachines.org/community/index.php?msg=4062987) will help you.
Any plans for a 2.2.1 update? It's one of the best mods.
Quote from: hungarianguy on February 13, 2022, 05:24:08 PMAny plans for a 2.2.1 update? It's one of the best mods.
It depends on stars and time when 2.2.1 appears ;)
I think he meant 2.1.1...
8)
Added italian translation in attach ;)
Dutch translation in attach..dutch.php
Hi,
Nice mod. Turkish translation (edited, deficiencies completed)
The mod link in the OP says it's compatible with 2.0.18, but there is no suitable package for that version.
Could I get it somewhere?
Quote from: Max22 on March 14, 2022, 06:33:36 PMThe mod link in the OP says it's compatible with 2.0.18, but there is no suitable package for that version.
Could I get it somewhere?
On GH in the smf20 branch https://github.com/dragomano/Similar-Topics/tree/smf20
I've had this mod install on 2.1.1 but just tried to install the latest download (1.2) and it says "This mod needs MySQL 7.2 or greater. You will not be able to install/use this mod, contact your host and ask for a database engine upgrade." but I have MySQL7.4. Currently getting a 500 error page and am chatting with my host to reset permission for the 2nd time.
Not sure what's causing it because I had it installed, was just trying to upgrade the mod.
Can you check it please?
Edit: I'm retarded! The new version of this mod requires MySQL 7.2 I have 5.6 and PHP 7.4 I got them confused. So I can't use the latest version I can only use the 1.1.3 version! :'( :o
Fixed.
Quote from: Bugo on March 15, 2022, 03:25:45 PMFixed.
Thanks! I was in a mess earlier! :o Glad I religously make backups! ;D O:)
Edit: The updated download works great thanks! 8)
Installed and working fantastically. However I do get this error when i visit the admin page for the mod... (not a huge deal frankly but figured I might want to see if I can fix it)...
https://www.NOFOLLOW.com/index.php?action=admin;area=modsettings;save;sa=simtopics
/home/ahaforum/public_html/Sources/Class-SimTopics.php (Line 440) Backtrace information
Type of error: Undefined
Error messageSelect
8: Undefined index: displayed_column
Backtrace:
#0: smf_error_handler()
Called from /home/ahaforum/public_html/Sources/Class-SimTopics.php on line 440
#1: settings()
Called from /home/ahaforum/public_html/Sources/Subs.php on line 5923
#2: call_helper()
Called from /home/ahaforum/public_html/Sources/ManageSettings.php on line 142
#3: ModifyModSettings()
Called from /home/ahaforum/public_html/Sources/Admin.php on line 499
#4: AdminMain()
Called from /home/ahaforum/public_html/index.php on line 187
Had this working fine on SMF 2.1 RC4.
Upgraded to SMF 2.1.1 today. Reinstalled my mods... when I got to this one, it passes the test but then when I go to install I get the error:
Database Error
Duplicate entry '' for key '*UNKNOWN*'
File: /home/xxxxxxx/public_html/xxxxxxxx/Packages/temp/install.php
Line: 51
Wasn't sure if it was conflicting with one of the other mods I had reinstalled up until that point, so I removed them all so there were no mods installed and this was the first one. Still getting the same error.
I looked at the install.php and here are the lines in that spot:
48: $smcFunc['db_query']('', '
49: ALTER TABLE {db_prefix}messages
50: ADD FULLTEXT st_idx_subject (subject)',
51: array()
52: );
53: }
Let me know if there's additional info I can provide. Thanks!
DB type, version?
Use DB Checker (https://www.simplemachines.org/community/index.php?topic=579906.0) to find columns added/changed by other mods.
Quote from: Bugo on April 22, 2022, 10:18:53 PMDB type, version?
Hey, thanks for the quick response! 10.3.34-MariaDB-log-cll-lve
QuoteUse DB Checker (https://www.simplemachines.org/community/index.php?topic=579906.0) to find columns added/changed by other mods.
Here you go: https://www.turtlekickers.com/smf_db_compare.php
(not sure what I'm looking for there, there's a lot)
Hmm, I've discovered that now if I go into specific forum posts I get:
QuoteDatabase Error
Can't find FULLTEXT index matching the column list
File: /home/xxxxxxxxxx/public_html/xxxxxxxxxxxxx/Sources/Class-SimTopics.php
Line: 281
I bet this is related somehow...
Try to remove and install the mod again.
Or go to phpMyAdmin/Adminer and run this SQL query:
ALTER TABLE smf_messages
ADD FULLTEXT st_idx_subject (subject)
Quote from: Bugo on April 23, 2022, 01:31:49 AMTry to remove and install the mod again.
Or go to phpMyAdmin/Adminer and run this SQL query:
ALTER TABLE smf_messages
ADD FULLTEXT st_idx_subject (subject)
Well, I tried removing it again but the problem persists.
Here's the output of that MySQL query:
QuoteSQL query:
ALTER TABLE smf_messages
ADD FULLTEXT st_idx_subject (subject)
MySQL said: Documentation
#1062 - Duplicate entry '' for key '*UNKNOWN*'
Hello, is there a mod like this for SMF 2.0 which will alos display a blog of similar topics on the post page? Thank you
Once again, 2.0.x is approaching end of life. Almost all mods are being developed on 2.1.x now and you should be looming at upgrading, not filling another outdated forum which you're going to have to update again soon.
Additionally, it's impolite to ask about other mods in the support topic for a specific mod.
Quote from: Nihonto on April 23, 2022, 09:36:05 AMHello, is there a mod like this for SMF 2.0 which will alos display a blog of similar topics on the post page? Thank you
You can use an old version (https://github.com/dragomano/Similar-Topics/tree/smf20), at your own risk.
Quote from: TurtleKicker on April 23, 2022, 02:21:16 AMQuote from: Bugo on April 23, 2022, 01:31:49 AMTry to remove and install the mod again.
Or go to phpMyAdmin/Adminer and run this SQL query:
ALTER TABLE smf_messages
ADD FULLTEXT st_idx_subject (subject)
Well, I tried removing it again but the problem persists.
Here's the output of that MySQL query:
QuoteSQL query:
ALTER TABLE smf_messages
ADD FULLTEXT st_idx_subject (subject)
MySQL said: Documentation
#1062 - Duplicate entry '' for key '*UNKNOWN*'
Since I'm getting a different (but similar) error elsewhere even without the mod installed, I'm not 100% if this problem is related to this mod or is a broader issue of mine. I feel the two errors are probably related.
If you're sure this is not a problem with this mod, let me know and I'll ask my question in the general support forum. Thanks for your help!
Quote from: Bugo on April 23, 2022, 10:21:36 AMQuote from: Nihonto on April 23, 2022, 09:36:05 AMHello, is there a mod like this for SMF 2.0 which will alos display a blog of similar topics on the post page? Thank you
You can use an old version (https://github.com/dragomano/Similar-Topics/tree/smf20), at your own risk.
Thank you very much
Quote from: Kindred on April 23, 2022, 09:57:26 AMAdditionally, it's impolite to ask about other mods in the support topic for a specific mod.
Kindred, is it maybe due to people like you why SMF too that road? It is difficult to cope withy our constant trolling.
If you can not accept SMF 2.0 or even SMF 1.1 help request then do not read them. That is very basic behaviour.
As long as there are SMF 1.1 and SMF 2.0 support boards on this siote I would want to think they are meant for people posting there. Otherwise shut them down immediately and remove all old but the current SMF 21. versions from this website.
If this was a car related forum and somebody there was doing a posting in the oldtimer area, you would probably all the time jump in and and jump your gun on buying a new Tesla instead.
I consider your behavior trolling so why not do me and yourself a favor and refrain from replying to me? It is a waste of your and my time.
@Nihonto I merged your posts, but would like to request that we stop the offtopic here.
Quote from: Nihonto on April 23, 2022, 02:24:50 PMIf you can not accept SMF 2.0 or even SMF 1.1 help request then do not read them. That is very basic behaviour.
The support boards for 1.1 remain to help those upgrading to later versions. 2.0 is still supported at this time - but it won't be forever. Similarly this mod _had_ a 2.0 version but it is discontinued meaning that you probably won't get much support with it if it doesn't work for you.
That's why we encourage people moving to the current version because old versions get discontinued and at some point will no longer be receiving any support. Same for mods.
Ignore post #357. :D I'm an idiot... if I was paying closer attention, of course the other error is related to this mod. "Class-SimTopics.php". "Similar Topics." Doh. :P
So we're back to trying to figure out why it's so unhappy on my site. Can't install it because of one error, can't uninstall it to "clean up after itself" or whatever is necessary to fix the other error. Needs some tactical guru MySQL surgery, methinks.
(don't mind the chipper me... I'm on cold meds)
I had big issues with this mod, it doesn't seem to be compatible with SMF 2.1.2.
More infos can be found here :
https://www.simplemachines.org/community/index.php?topic=582247.0
I just installed it and it works as it should, what version of PHP are you using?
Apart from this
@Bugo leave the translation update, I also realized my first translations left a lot to be desired :-[.
Regards!
Yes it may be related to the PHP version, I'm using php 7.4.
Quote from: chadon on May 11, 2022, 07:57:36 PMI had big issues with this mod, it doesn't seem to be compatible with SMF 2.1.2.
More infos can be found here :
https://www.simplemachines.org/community/index.php?topic=582247.0
I think this mod is compatible with SMF 2.1.2
I'm using latest version running on PHP 8.1.5
But it's needed to put list with similar topics above (not below as usual), because when list is below, layout for guests is destroyed ::)
Quote from: Speed King on May 11, 2022, 11:49:01 PMBut it's needed to put list with similar topics above (not below as usual), because when list is below, layout for guests is destroyed
Can you make a screenshot with this issue and your settings?
The layout for guests, if list with similar topics is above (OK):
Click => (https://i.postimg.cc/fkQfftQp/2022-05-12.png) (https://postimg.cc/fkQfftQp)
The layout for guests, if list with similar topics is below (destroyed):
Click => (https://i.postimg.cc/9wcT59Wf/2022-05-12-1.png) (https://postimg.cc/9wcT59Wf)
This issue happens only when topics are viewed by guests, with other membergroups the layout is OK (I tested as admin only)
Just add "clear" class for the first div in template: https://github.com/dragomano/Similar-Topics/commit/06fb917a606eeaba8758b984b25eded25fef71a8
Quote from: Bugo on May 12, 2022, 04:25:53 AMJust add "clear" class for the first div in template: https://github.com/dragomano/Similar-Topics/commit/06fb917a606eeaba8758b984b25eded25fef71a8
With this fix problem is solved :)
Click => (https://i.postimg.cc/vgCY5FKw/2022-05-12-2.png) (https://postimg.cc/vgCY5FKw)
Hello
After I installed the mod.
I have this error in the log book.
See attatchment.
SMS 2.1.2
MOD 1.2.2
Can you help me ?
Thanks.
Open Sources/Class-SimTopics.php, find line #70
"cur_board": "' . $context['current_board'] . '",
and replace with
"cur_board": "' . ($context['current_board'] ?? 0) . '",
Thank you.
That was it.
No more errors.
Hello Bugo!
Would it be possible for you to provide an update for the SMF v2.1.3 mod?
As a side note, I have recently installed mod v1.2.3 (which was last updated on June 25, 2022, at 01:50:24 PM), however, it appears to not be functioning properly.
What exactly is not working properly?
Quote from: Butiks on March 13, 2023, 01:02:48 AMHello Bugo!
Would it be possible for you to provide an update for the SMF v2.1.3 mod?
As a side note, I have recently installed mod v1.2.3 (which was last updated on June 25, 2022, at 01:50:24 PM), however, it appears to not be functioning properly.
I use this mod with SMF 2.1.3 end work correctly
Quote from: Butiks on March 13, 2023, 01:02:48 AMHello Bugo!
Would it be possible for you to provide an update for the SMF v2.1.3 mod?
As a side note, I have recently installed mod v1.2.3 (which was last updated on June 25, 2022, at 01:50:24 PM), however, it appears to not be functioning properly.
Previously, I configured the module incorrectly (ignored forum categories), fixed!
Similar topics work on SMF v2.1.3
tnx Bugo)
Hello
I suddenly get the following error. The logbook says:Undefined array key "simtopics_displayed_columns".
In the settings for this mod I find the following error. See attachment.
Hello
Found the error. If I change the cache level from level 1 to level 2 then the error occurs. Have changed it back to level 1. Now everything works again.
Hello Bugo,
Could you please add more features that I could put the similar topics into sidebar, including above and below.
Thank you,
I'd love to add an option - but what if you find it useful and ruin the mod's zero rating I've worked so hard to maintain since 2012? I don't want to take that risk :)
Dear Bugo when will you update to 2.1.4 ?
The modification was originally designed to be installed on the entire SMF 2.1.x line, where x is any number.
An interesting modification. (https://vukovisadunava.com/Smileys/mojismajliji/thumbup.gif)