Advertisement:

Author Topic: Related Topics  (Read 343269 times)

Offline acsieben

  • Semi-Newbie
  • *
  • Posts: 88
Re: Related Topics
« Reply #700 on: May 18, 2016, 02:25:05 PM »
I don't know if anyone else experiences this or not but it's kind of an hassle. Google is using dates from the related topics table to grab the oldest and apply that as the indexed date related to the entire page.

I have a particular situation in a thread created two weeks ago that Google returns as being from Apr 2012. Apr 2012 is the oldest of the related topics that this topic has.

Does anyone have any pointers on this? I found this:
https://support.google.com/customsearch/answer/2364585?hl=en

And I'm trying to get it setup, but I don't know if it will help or not.


Cheers

Edit: I'm thinking that most likely the best way to prevent this is to make the related topics available to logged in users only.

Edit2: I opted to just hard code it:
Code: [Select]
$topic['last_post']['time']to:
Code: [Select]
$context['user']['is_logged'] ? $topic['last_post']['time'] : ''
« Last Edit: May 18, 2016, 03:05:45 PM by acsieben »

Offline danzycool

  • Newbie
  • *
  • Posts: 5
Re: Related Topics
« Reply #701 on: May 29, 2016, 04:27:29 PM »
hi I install this mod on SMF 2.0.11 and it caused error to my database, please how can I fix it?

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: Related Topics
« Reply #702 on: August 22, 2016, 01:56:24 AM »
This doesn't go to the right Topic where browsing a board normally, i had to turn it off.

any idea why ?
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline badon

  • Jr. Member
  • **
  • Posts: 185
Re: Related Topics
« Reply #703 on: September 09, 2016, 02:30:18 AM »
Niko was last active exactly a year ago today. I think it's safe to assume this mod is abandoned. Can anyone suggest an alternative?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,856
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Related Topics
« Reply #704 on: September 09, 2016, 10:08:10 PM »
The mod still works. I use it on my forums.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

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

Offline MULITRI

  • Semi-Newbie
  • *
  • Posts: 74
Re: Related Topics
« Reply #705 on: March 01, 2017, 01:24:22 PM »
I have installed this Mod without any error, but after configure the settings as it said, related topics box doesn't appears anywhere. I'm using v2.0.13 with Anecdota Theme, it's a bit strange, i don't think it could be related with the Theme, but if anyone knows let me know to ask to Theme's Author.

Thank you.

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,631
  • Gender: Male
  • the "mods and tweaks" junkie
    • aegersz on GitHub
    • dopetalk (drugs and users)
Re: Related Topics
« Reply #706 on: October 04, 2017, 11:08:26 AM »
This doesn't go to the right Topic where browsing a board normally, i had to turn it off.

any idea why ?

sorted - i forgot to rebuild the indexes ... now finally installed and functioning well !
The configuration of my Linux VPS (SMF 2.0 with 150 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline dsanchez

  • Jr. Member
  • **
  • Posts: 325
  • Gender: Male
Re: Related Topics
« Reply #707 on: January 06, 2019, 02:52:20 PM »
When trying to rebuild the indexes got this error message:

Code: [Select]
Incorrect string value: '\xC4\x8Denja...' for column 'subject' at row 110
File: /var/www/html/Sources/Subs-RelatedFulltext.php
Line: 71

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

any help will be appreciated!
Curefans.com - The meeting point for Curefans worldwide
http://www.curefans.com

Offline 1.1Nerd

  • Semi-Newbie
  • *
  • Posts: 48
Re: Related Topics
« Reply #708 on: August 20, 2020, 06:58:18 PM »
I had this mod working well on my old forum but on a new SMF 2.0.17 it breaks the code when wanting to access a topic and give this error message:

Wrong value type sent to the database. Integer expected. (id_msg)

When wanting to rebuild the index I get this error:


The used table type doesn't support FULLTEXT indexes
File: /var/www/web7/htdocs/Sources/Subs-RelatedFulltext.php
Line: 29


Any thoghts?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 72,951
Re: Related Topics
« Reply #709 on: August 20, 2020, 07:02:40 PM »
You're running it on a modern MySQL instance that uses InnoDB tables by default, and this mod expects MyISAM tables.

Don't use this mod; use the other one that's actually maintained.

Offline 1.1Nerd

  • Semi-Newbie
  • *
  • Posts: 48
Re: Related Topics
« Reply #710 on: August 20, 2020, 10:34:23 PM »
Thank you