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

udeze

Wow, This important mod is not available for 1.1 RC3, NIko can you make it for us please, that will be very much appreciated
I love Everything SMF does

night_warrior


RvG

this is a great addon indeed...  i hope someone can make this worked...

ArkServer

I managed to make it work and added a few enhancements in it like board specific related topics only etc

Think link

L.G.S

Quote from: udeze on October 25, 2006, 08:50:54 AM
Wow, This important mod is not available for 1.1 RC3, NIko can you make it for us please, that will be very much appreciated

Yes it is, would be excellent for RC3.
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


RvG

Quote from: ArkServer on November 24, 2006, 09:49:50 AM
I managed to make it work and added a few enhancements in it like board specific related topics only etc

Think link

nice one! Any chance to share it with us? :)

niko

New version finally:

* Totally rewritten
* Uses a lot of code stolen from SMF ;)
* 1 query only
* You wont see messages from boards you don't have permission to access

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

L.G.S

Whatever you mod does, it has destroyed by board.

I clicked proceed because everything tested fully, then it gave me a database error.

I went into a topic to see if everything is ok, but now I get this:
Can't find FULLTEXT index matching the column list
File: /home/tscar/public_html/board/Sources/Display.php
Line: 105

I Checked the modded files, and the change didnt even happen.

What do I do now to get my forum posts back? I need it done quick..
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


niko

ALTER TABLE {$db_prefix}messages ADD FULLTEXT related (subject, body)

Did you get any errors? Check error log. So I can fix this.
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

L.G.S

8: Undefined index: related
File: /home/xxxx/public_html/board/Themes/default/Display.template.php (eval?)
Line: 673


I fixed it by replacing the Display.php file.
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


denislici


i tried to install it on easyphp/localhost but get this 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 'WHERE Key_name = 'related'' at line 1
File:
Line:
Love the Creature for Creator's sake. (English)
Duje Krijesen per hire te Krijuesit. (Albanian)
Yaradılan'ı sev Yaradan'dan ötürü. (Turkish)
Ami la Creatura per ce la creato il Creatore. (Italian)

Mazeman

Quote from: denislici on December 04, 2006, 05:01:16 AM

i tried to install it on easyphp/localhost but get this 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 'WHERE Key_name = 'related'' at line 1
File:
Line:


yup, same problem here.
Except I have the File and Line numbers

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 'WHERE Key_name = 'related'' at line 1
File: /home/blogaaja/public_html/helpdeskfin/Packages/temp/related_topics.php
Line: 2
Marko Kaartinen

augrunt

Why... THE HELL!
Did it screw up my forums?

When it didnt even install?

It just brought up an error about your RETARDED SQL call...

Honestly mate?

If you make a script, test it b4 releasing it.
It's immensely awful.

Can you please tell me exactly what it modified, If anything so i can revert the changes

L.G.S

Yeah people should NOT download this... it's unstable
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


niko

Quote from: augrunt on December 04, 2006, 07:47:27 AM
Why... THE HELL!
Did it screw up my forums?

When it didnt even install?

It just brought up an error about your RETARDED SQL call...

Honestly mate?

If you make a script, test it b4 releasing it.
It's immensely awful.

Can you please tell me exactly what it modified, If anything so i can revert the changes

I tested it with three different forums all worked ok.

You have your backups, don't you? you have original files? you have mod file you can use as reference for editing?

Uploaded new version with fix
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

KGIII

Anyone test the new version? The last one hosed mine pretty heavily even though I didn't click proceed it still wrote stuff. Fortunately I had backups. *wipes brow*

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

Laibeus Lord

You saved my day.

This mod was originally a concept of a modder from IPB, and vB and a phpBB modder adopted it ;)


I will test this when I get the time.  I have to update two of my SMF forums to 1.1 still, then will work on migrating another IPB2.0.0 forum to SMF 1.1 after that.

:)


L.G.S

I installed it and it didn't kill my forum, but where is it supposed to appear?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Mazeman

What the f....
You have an error in your SQL syntax near 'ON (b.ID_BOARD = ms2.ID_BOARD)
JOIN smf_topics AS t ON (t.ID_TOPIC = ms2.ID_T' at line 14
Tiedosto: /home/vhosts/markohosting.net/httpdocs/forum/Sources/Display.php
Rivi: 105


And it comes when I installed this mod and try to watch a message...
Marko Kaartinen

niko

Quote from: Mazeman on December 05, 2006, 02:15:06 PM
What the f....
You have an error in your SQL syntax near 'ON (b.ID_BOARD = ms2.ID_BOARD)
JOIN smf_topics AS t ON (t.ID_TOPIC = ms2.ID_T' at line 14
Tiedosto: /home/vhosts/markohosting.net/httpdocs/forum/Sources/Display.php
Rivi: 105


And it comes when I installed this mod and try to watch a message...

Which MySQL version your host has?

I have tested with 4.1.21 (standard and log) and 5.0.27-standard

Since code is pretty much copied from smf message index it should work...
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

Advertisement: