News:

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

Main Menu

Related Topics

Started by niko, September 14, 2005, 11:50:29 AM

Previous topic - Next topic

niko

Quote from: pariofdreamz on February 21, 2009, 05:57:10 PM
Does this Mod Increases Server Load too ????

Yes.

Quote from: PerryM on February 09, 2009, 05:36:13 PM
When the new module is loaded into RC1 I get the following error when making any post:

Table 'm4inform_smf.smf02_related_subjects' doesn't exist
File: /home/m4inform/public_html/smf/Sources/Subs-RelatedFulltext.php
Line: 86

Went into config and reindexed and things look ok now.

Not sure where I'm supposed to see related topics?


On topic pages
Websites: Madjoki || (2 links retracted by team, links out of date and taken over.)
Mods: SMF Arcade, Related topics, SMF Project Tools, Post History

WIP Mods: Bittorrent Tracker || SMF Wiki

GermanStar

Quote from: Niko on February 22, 2009, 02:53:50 AM
Quote from: pariofdreamz on February 21, 2009, 05:57:10 PM
Does this Mod Increases Server Load too ????

Yes.

Quote from: PerryM on February 09, 2009, 05:36:13 PM
When the new module is loaded into RC1 I get the following error when making any post:

Table 'm4inform_smf.smf02_related_subjects' doesn't exist
File: /home/m4inform/public_html/smf/Sources/Subs-RelatedFulltext.php
Line: 86

Went into config and reindexed and things look ok now.

Not sure where I'm supposed to see related topics?


On topic pages
RC1 here, installed fine, created the search index, and enabled it. There is no change anywhere on the board that I can see -- an I've looked, and no related topic links -- anywhere. What, where, when, how??

PerryM

Installed new smf 2.0 RC1 and uploaded the mod v 1.4 Alpha 1 and re-indexed and I still never see any related topics at the bottom of the pages.

Is there another switch somewhere that must be turned on?

Thanks
Perry

GermanStar

You and me both -- no one's talking...

PerryM

I know this mod works - I've seen some smf web sites that use it just fine.

But I sure can't get it working for some reason....
Perry

oistarbwoy

bizare but im making a new website last week related topics worked fine.

this week i change my site start from scratch with a fresh install and a fresh package download... and now i get the error message you both are getting!

i have no idea why but its very anoying.

GermanStar

I never got an error message, the feature is just MIA...

Apllicmz

when update dont forget portuguese and brazilian

<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
// Added by Related Topics translate by smfpt.net
$txt['admin_related_topic'] = 'T&oacute;picos relacionado';
$txt['related_topics'] = 'T&oacute;picos relacionado';
$txt['relatedTopicsEnabled'] = 'Activar T&oacute;picos relacionado';
$txt['relatedTopicsCount'] = 'Quantos t&oacute;picos relacionados a mostrar';
$txt['relatedIndex'] = 'Indexing method<div class="smalltext"><b><a href="' . $scripturl . '?action=related;sa=index;begin">Build index</a></b></div>';
$txt['relatedFulltext'] = 'Fulltext';
$txt['relatedCustom'] = 'Custom';]]></add>
        </operation>
    </file>
   
    <file name="$languagedir/Modifications.brazilian_portuguese.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
// Added by Related Topics translate by smfpt.net
$txt['admin_related_topic'] = 'Tópicos relacionado';
$txt['related_topics'] = 'Tópicos relacionado';
$txt['relatedTopicsEnabled'] = 'Activar Tópicos relacionado';
$txt['relatedTopicsCount'] = 'Quantos tópicos relacionados a mostrar';
$txt['relatedIndex'] = 'Indexing method<div class="smalltext"><b><a href="' . $scripturl . '?action=related;sa=index;begin">Build index</a></b></div>';
$txt['relatedFulltext'] = 'Fulltext';
$txt['relatedCustom'] = 'Custom';]]></add>
        </operation>
    </file>


<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
// Added by Related Topics translate by smfpt.net
$txt['admin_related_topic'] = 'T&oacute;picos relacionado';
$txt['related_topics'] = 'T&oacute;picos relacionado';
$txt['relatedTopicsEnabled'] = 'Activar T&oacute;picos relacionado';
$txt['relatedTopicsCount'] = 'Quantos t&oacute;picos relacionados a mostrar';
$txt['relatedIndex'] = 'Indexing method<div class="smalltext"><b><a href="' . $scripturl . '?action=related;sa=index;begin">Build index</a></b></div>';
$txt['relatedFulltext'] = 'Fulltext';
$txt['relatedCustom'] = 'Custom';]]></add>
        </operation>
    </file>
   
    <file name="$languagedir/Modifications.brazilian_portuguese-utf8.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
// Added by Related Topics translate by smfpt.net
$txt['admin_related_topic'] = 'T&oacute;picos relacionado';
$txt['related_topics'] = 'T&oacute;picos relacionado';
$txt['relatedTopicsEnabled'] = 'Activar T&oacute;picos relacionado';
$txt['relatedTopicsCount'] = 'Quantos t&oacute;picos relacionados a mostrar';
$txt['relatedIndex'] = 'Indexing method<div class="smalltext"><b><a href="' . $scripturl . '?action=related;sa=index;begin">Build index</a></b></div>';
$txt['relatedFulltext'] = 'Fulltext';
$txt['relatedCustom'] = 'Custom';]]></add>
        </operation>
    </file>



KameL

#388
Here's the spanish and spanish-latin translation:
//RELATED TOPICS
$txt['admin_related_topic'] = 'Tópicos relacionados';
$txt['related_topics'] = 'Tópicos relacionados';
$txt['relatedTopicsEnabled'] = 'Activar tópicos relacionados';
$txt['relatedTopicsCount'] = '¿Cuántos tópicos relacionados se mostrarán?';
$txt['relatedIndex'] = 'Método de indexado<div class="smalltext"><b><a href="' . $scripturl . '?action=related;sa=index;begin">Crear Index</a></b></div>';
$txt['relatedFulltext'] = 'Solo texto';
$txt['relatedCustom'] = 'Personalizado';
//FIN RELATED TOPICS


And the spanish-utf8 translation:
//RELATED TOPICS
$txt['admin_related_topic'] = 'T&oacute;picos relacionados';
$txt['related_topics'] = 'T&oacute;picos relacionados';
$txt['relatedTopicsEnabled'] = 'Activar t&oacute;picos relacionados';
$txt['relatedTopicsCount'] = '¿Cu&aacute;ntos t&oacute;picos relacionados se mostrar&aacute;n?';
$txt['relatedIndex'] = 'M&eacute;todo de indexado<div class="smalltext"><b><a href="' . $scripturl . '?action=related;sa=index;begin">Crear Index</a></b></div>';
$txt['relatedFulltext'] = 'Solo texto';
$txt['relatedCustom'] = 'Personalizado';
//FIN RELATED TOPICS




Sakae

Quote from: softcore on September 23, 2008, 06:15:34 PM
I want to ask for a update, may I?? :)

It would be nice to choose which boards related topics content should appear.

I mean, I want related topics from only board X, and not for board Y, because board Y is for off-topic.

Do you know what I mean? What about?

I still think this could be nice if added.

Any chances?
http://www.tigrelog.com.br
l: simple p: machines

nafseislam

Helloo all ..

Hope all is well with all of you and everthing is fine.

Well my forum ws working fine upto mroning. Just now i was trying to delete some topics and it is giving error that your database is not upto date. while im using 1.1.8 version it is givn thefolwig message.

.....................................................................
Table 'nafseisl_smf1.smf_related_subjects' doesn't exist
File: /home/nafseisl/public_html/roundup/Sources/Subs-RelatedFulltext.php
Line: 72

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.8, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.
.......................................................................


even i checked the detailed version info it says that your current and the smf version is 1.1.8??

please help ..

Im getting this error after installing the Related Topic Mod .. i have uninstalled and it started deleting again.

Sakae

Any chances to exclude some boards from "related topics"?
http://www.tigrelog.com.br
l: simple p: machines

niko

Quote from: softcore on April 15, 2009, 04:17:04 PM
Any chances to exclude some boards from "related topics"?

It's not possible in current version, but is planned for next version.

Quote from: nafseislam on April 12, 2009, 10:00:48 AM
Helloo all ..

Hope all is well with all of you and everthing is fine.

Well my forum ws working fine upto mroning. Just now i was trying to delete some topics and it is giving error that your database is not upto date. while im using 1.1.8 version it is givn thefolwig message.

.....................................................................
Table 'nafseisl_smf1.smf_related_subjects' doesn't exist
File: /home/nafseisl/public_html/roundup/Sources/Subs-RelatedFulltext.php
Line: 72

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.8, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.
.......................................................................


even i checked the detailed version info it says that your current and the smf version is 1.1.8??

please help ..

Im getting this error after installing the Related Topic Mod .. i have uninstalled and it started deleting again.


It's because you didn't build index. (or it failed but you would have had error)
Websites: Madjoki || (2 links retracted by team, links out of date and taken over.)
Mods: SMF Arcade, Related topics, SMF Project Tools, Post History

WIP Mods: Bittorrent Tracker || SMF Wiki

kagorec

#393
Great mod!

Forum SMF 2 RC1, automatic installation mod Related_Topics_1.4_Alpha  in adminpanel failed. Then set manually, but when you include the modification of index.php?action=admin;area=relatedtopics;sa=settings and then you can not view the topic due to errors:  >:(
Table 'frmdb.smf_related_topics' doesn't exist
Файл: /home/webs/public_html/forum/Sources/Subs-Related.php
Строка: 35


Subs-Related.php 35 line is  );
where full function
// Otherwise use customized fulltext index
$request = $smcFunc['db_query']('', '
SELECT IF(rt.id_topic_first = {int:topic}, rt.id_topic_second, rt.id_topic_first) AS id_topic
FROM {db_prefix}related_topics AS rt
JOIN {db_prefix}topics AS t ON (t.id_topic = IF(rt.id_topic_first = {int:topic}, rt.id_topic_second, rt.id_topic_first))
JOIN {db_prefix}boards AS b ON (b.id_board = t.id_board)
WHERE (id_topic_first = {int:topic} OR id_topic_second = {int:topic})
AND {query_see_board}
ORDER BY rt.score DESC
LIMIT {int:limit}',
array(
'topic' => $topic,
'limit' => $modSettings['relatedTopicsCount'],
)
); // THIS is 35 line when error for ..forum/Sources/Subs-Related.php


Please, Give a full sql query in phpmyadmin, which must be met when installing the mod - in order to work correctly!  ??? O:)

p.s. sory for my english, tnx google  ;) hxxp:translate.google.com/translate_t [nonactive]#




niko

Related Topics 1.4 Alpha 2 is now available for downloads.

It contains improved code and ability to choose which boards to ignore. (Recycle board is now always ignored)

Quote from: kagorec on April 19, 2009, 06:44:29 AM
Great mod!

Forum SMF 2 RC1, automatic installation mod Related_Topics_1.4_Alpha  in adminpanel failed. Then set manually, but when you include the modification of index.php?action=admin;area=relatedtopics;sa=settings and then you can not view the topic due to errors:  >:(
Table 'frmdb.smf_related_topics' doesn't exist
Файл: /home/webs/public_html/forum/Sources/Subs-Related.php
Строка: 35


Subs-Related.php 35 line is  );
where full function
// Otherwise use customized fulltext index
$request = $smcFunc['db_query']('', '
SELECT IF(rt.id_topic_first = {int:topic}, rt.id_topic_second, rt.id_topic_first) AS id_topic
FROM {db_prefix}related_topics AS rt
JOIN {db_prefix}topics AS t ON (t.id_topic = IF(rt.id_topic_first = {int:topic}, rt.id_topic_second, rt.id_topic_first))
JOIN {db_prefix}boards AS b ON (b.id_board = t.id_board)
WHERE (id_topic_first = {int:topic} OR id_topic_second = {int:topic})
AND {query_see_board}
ORDER BY rt.score DESC
LIMIT {int:limit}',
array(
'topic' => $topic,
'limit' => $modSettings['relatedTopicsCount'],
)
); // THIS is 35 line when error for ..forum/Sources/Subs-Related.php


Please, Give a full sql query in phpmyadmin, which must be met when installing the mod - in order to work correctly!  ??? O:)

p.s. sory for my english, tnx google  ;) http://translate.google.com/translate_t#

Upload related_topics.php and run it to create tables.
Websites: Madjoki || (2 links retracted by team, links out of date and taken over.)
Mods: SMF Arcade, Related topics, SMF Project Tools, Post History

WIP Mods: Bittorrent Tracker || SMF Wiki

Sakae

Just for SMF 2.0 the "ignore board" function is available? Or the 1.3.2 version got it's code improved too?
http://www.tigrelog.com.br
l: simple p: machines

niko

Quote from: softcore on April 24, 2009, 08:22:55 PM
Just for SMF 2.0 the "ignore board" function is available? Or the 1.3.2 version got it's code improved too?

Just for SMF 2.0 for now.
Websites: Madjoki || (2 links retracted by team, links out of date and taken over.)
Mods: SMF Arcade, Related topics, SMF Project Tools, Post History

WIP Mods: Bittorrent Tracker || SMF Wiki

Sudhakar Arjunan

Good Update.

Thank you.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Chit-Chat ChatterBox Boss

#398
Noticed these errors in my error log.

http://www.chitchatchatterbox.com/index.php?action=admin;area=relatedtopics;sa=buildIndex
Apply Filter: Only show the errors with the same message
8: Undefined index: step
Apply Filter: Only show the errors from this file
File: /home/XXXXXXX/public_html/Sources/RelatedTopics.php
Line: 190

This is line 190:
Quote$last = $_REQUEST['step'] + $perStep;

http://www.chitchatchatterbox.com/index.php?action=admin;area=relatedtopics;sa=buildIndex
Apply Filter: Only show the errors with the same message
You haven't selected which methods to use to determine related topics
Chit-Chat ChatterBox

Our site is open to everyone. It is a resource for anyone and everyone to talk about anything and everything you could possibly think of. It's a great place to come and talk, ask questions, or just simply hang out. We offer many great features. All we ask is that you follow by the site rules. Hope to see you around!
www.chitchatchatterbox.com
Remember in the "Referral" box to put "Caleb" while registering.

ellion

is there an update for 1.1.9 ?

Advertisement: