Related Topics

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

Previous topic - Next topic

smartmouse

I want to install this mod in my current theme (not Default one).
I'm manually installing it and i have to edit Display.template.php file of my theme.

I have to do the following modify:

Quote<file name="$themedir/Display.template.php">
      <operation>
         <search position="replace"><![CDATA[      echo '
            <input type="hidden" name="sc" value="' . $context['session_id'] . '" />
            <input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
         </form>
      </td>
   </tr>
</table>';

   }]]></search>
         <add><![CDATA[      echo '
            <input type="hidden" name="sc" value="' . $context['session_id'] . '" />
            <input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
         </form>
      </td>
   </tr>
</table><br /><br />';
   }

   // Added by Related Topics
ecc... ecc...

BUT in the Display.template.php file of my theme the code does not match the code of Default theme:

Quoteecho '
            <input type="button" value="', $txt['spell_check'], '" onclick="spellCheck(\'postmodify\', \'message\');" />';
      echo '
            <input type="hidden" name="sc" value="' . $context['session_id'] . '" />
            <input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
         </form>
      </td>
   </tr>
</table>';


      if ($context['show_spellchecking'])
         echo '
<form name="spell_form" id="spell_form" method="post" target="spellWindow" action="', $scripturl, '?action=spellcheck"><input type="hidden" name="spellstring" value="" /></form>';
   }
}

?>

How to correctly add Related Topics code? I do not know how to do it :(
I hope you can help me! Thank you in advance!

Sakae

#261
I did installed this mod in my SMF 1.1.3 and got it working very well...

...BUT...

It still has some HUGE problems with bandwidth. I can't give you all exactly numbers, but in 5 days my forum consumed ~ 800mb of band, a enormous number to my forum with only 400 members, that only 20 are really active...


Read my last message!
http://www.tigrelog.com.br
l: simple p: machines

smartmouse

I know it works very well on SMF v1.1.3 but i do not know how to manually install it in my theme.
The code does not match!

Anyway thank you for your advices about the use of bandwidth.

3nd3r

I've encontered same problem, but you have to look in the code, and you'll find the exact match few lines after those ones. ;-)

[MaxX]

Quote from: softcore on September 13, 2007, 12:00:09 AM
I did installed this mod in my SMF 1.1.3 and got it working very well...

...BUT...

It still has some HUGE problems with bandwidth. I can't give you all exactly numbers, but in 5 days my forum consumed ~ 800mb of band, a enormous number to my forum with only 400 members, that only 20 are really active...

The mod might use more CPU% but not bandwidth!

falguni1

I want this to be default in smf 2.0

Sakae

Quote from: [MaxX] on September 23, 2007, 10:42:26 AM
Quote from: softcore on September 13, 2007, 12:00:09 AM
I did installed this mod in my SMF 1.1.3 and got it working very well...

...BUT...

It still has some HUGE problems with bandwidth. I can't give you all exactly numbers, but in 5 days my forum consumed ~ 800mb of band, a enormous number to my forum with only 400 members, that only 20 are really active...

The mod might use more CPU% but not bandwidth!

Indeed. I'm sorry for my terrible mistake, this mod doesn't has any more problems with bandwidth. I am monitoring my server's band the last week, and I didn't see any relevant impact of (re)installing this mod!

Great job, I corrected my message above.
http://www.tigrelog.com.br
l: simple p: machines

Aileen

this is what I have been looking Im sure thisis agreat mod after installing it

I am having this

1.     Extract File     ./Sources/Subs-Related.php     
2.    Execute Modification    ./Sources/ModSettings.php    Test successful
3.    Execute Modification    ./Sources/RemoveTopic.php    Test successful
4.    Execute Modification    ./Sources/Subs-Post.php    Test successful
5.    Execute Modification    ./Sources/Display.php    Test successful
6.    Execute Modification    ./Themes/default/Display.template.php    Test failed
7.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
8.    Execute Modification    ./index.php    Test successful
9.    Execute Code    related_topics.php


On a dilber theme



1.1.4

hope you can help me

TrueSatan

Similar to all the other queries you keep posting...replied to with specific advice elsewhere.

Dragooon

Quote from: falguni1 on October 26, 2007, 04:46:29 AM
I want this to be default in smf 2.0
Don't think so it'll be there. I think its better as a Mod ;)

Aileen

Quote from: TrueSatan on November 28, 2007, 05:45:38 AM
Similar to all the other queries you keep posting...replied to with specific advice elsewhere.
Yeah correct, because I am not a web designer. I am just someone who learned from forums. I just have 3 months experience in installing this and that

Chriss Cohn

Is this mod still consuming huge amounts of resources?
Regards, Christian


ne.miguelito

i have this error:

Erro na base de dados: Can't find FULLTEXT index matching the column list
Ficheiro: /home/nemigue/public_html/Sources/Subs-Related.php
Linha: 157

perro88

Anyone here was able to install the mod in a pc virtual server? I tried but gve me a database error(something like don't allow FULLTEXT indexes). When i install on the web server it works fine, but of course would be nice to install on the pc  server because I use to first make the changes on the pc and then upload the file so have the forum online a bit different than the one on the pc might be a bad idea(using WAMP5 Version 1.7.2 as virtual server)

PLAYBOY

i tried EVERYTHING but this mod just doesnt work for my forum at all. i think it needs to be checked and fixed in many ways.

this is my "Most Wanted Mod" but it doesnt work at all.


Dragooon

Quote from: PLAYBOY on February 19, 2008, 08:34:21 AM
i tried EVERYTHING but this mod just doesnt work for my forum at all. i think it needs to be checked and fixed in many ways.

this is my "Most Wanted Mod" but it doesnt work at all.
Are you sure you are using  custom theme and if you do, you edited it properly?

goldenboy48

I don't notice anything after installing this. [Default Theme]

trifox

Hello, searching is somehow not working in this topic, so i have to ask directly here,

i just installed the beta3 version of the related mod, but where the heck do i configure
it ?

i am using smf1.14 and dilbermc theme, after installing the mod i have no new menu entry, and no new bottom line, even if i switch to default theme ...

is there any form of documentation available ?!?!?

any hints would be very appreciated

greets
ck

Assistance

QuoteNew features in 1.2.0

- Options are added to Features and Options
~playing poker~

Advertisement: