Related Topics

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

Previous topic - Next topic

aw06

Still no way to prevent this mod from showing items in the trash ??  very annoying :-[
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

giveaway365.com

I use this mod. Please update it for RC3

amiralib


Am'

any update to rc3 please ?
اذا أحس أحد انه لم يخطأ ابدا في حياته, فهذا يعني أنه لم يجرب أي جديد في حياته
My Mods For SMF 2 RC3 : XQuote XCode - Vbulletin Style New Meta Tags

niko

haven't had time to update. just use version emulation until then, 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

venex

#485
Quote from: scimmiotto on December 05, 2009, 09:13:22 AM
Hi

i've just installed the related topic mod on my smf 2.0 rc2 forum, but where are related topics visible? in wich part of the forum? mine is

http://ingegneria.bebnet.org

but i don't see them
Quote from: scimmiotto on December 05, 2009, 09:50:54 AM
problem solved...i mistake the ignored boards and i selected all of them :)
LOL!!! Same thing happened here hahaha...  well I guess.. I'm rebuilding my index right now... so I'll see if that was the mistake... I'll edit when I have news lol.

Edit: Yeah! LMAO! It was that... and that's so stupid because I even translated the MOD to spanish and I TRANSLATED the part that said "IGNORE boards" and then I click on every board LOL..

Anyway, I bet a lot of people that couldn't see the related topic did the same thing... so uncheck all the boxes and rebuild your index and u'll see the Related Topics (running RC2)

giveaway365.com

is this mod stable for RC3?
I plan to use it if you guys say yes.

jelence

Quote from: jelence on March 14, 2010, 06:09:22 AM
I'm using SMF 2.0 RC2 with 1.4 beta3 mod. When I try to run 'related_topics.php' through browser it shows message:

'Fatal error: Function name must be a string in /home/a8242326/public_html/related_topics.php on line 69'

What does it mean?
Thanks.

Please?

giveaway365.com

can it be run on RC3?

tycms

In 1.4 Beta 3, install.xml, <file name="$themedir/Display.template.php"> part:


</tr>
</thead>
<tbody>';

foreach ($context['related_topics'] as $topic)


tbody element is left open. Fixing it eliminates xhtml errors.

aw06

Quote from: aw06 on March 16, 2010, 04:53:08 PM
Still no way to prevent this mod from showing items in the trash ??  very annoying :-[

BUUUUMMMPPPP
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

jelence

Quote from: budun on April 13, 2010, 12:39:26 PM
In 1.4 Beta 3, install.xml, <file name="$themedir/Display.template.php"> part:


</tr>
</thead>
<tbody>';

foreach ($context['related_topics'] as $topic)



tbody element is left open. Fixing it eliminates xhtml errors.

Thank you for reply!
I have found this piece of code, and it looks exactly like yours.
I don't know php, so, I don't know how to close tbody element, and where ?
Can you help me  :-[?



Bugo

Quote from: giveaway365.com on April 10, 2010, 03:18:36 AM
can it be run on RC3?
Use emulation with SMF 2.0 RC2 on install.

giveaway365.com

Quote from: Bugo on April 14, 2010, 05:39:52 AM
Quote from: giveaway365.com on April 10, 2010, 03:18:36 AM
can it be run on RC3?
Use emulation with SMF 2.0 RC2 on install.

how to use emulation ? I have no option like that on RC3 :(

tycms

Quote from: giveaway365.com on April 14, 2010, 07:05:35 AM
how to use emulation ? I have no option like that on RC3 :(



Admin CP > Package Manager > Browse Packages

Click on "Advanced".
Change "Emulate Version: SMF 2.0 RC3" to "Emulate Version: SMF 2.0 RC2".
Click "Apply".

Now, you should be able to install Related Topics 1.4 Beta 3.

Alternatively, instead of using emulation, you can edit the package.

Extract the zip package.
Open package-info.xml file with notepad or another text editor.

Find:
<install for="2.0 RC2">

Replace with:
<install for="2.0 RC2, 2.0 RC3">

Find:
<uninstall for="2.0 RC2">

Replace with:
<uninstall for="2.0 RC2, 2.0 RC3">

After making the edits, save the file.
Zip the package again.

If you choose to edit the package, you can also fix the part where the tbody element is left open.

tycms

Quote from: jelence on April 14, 2010, 05:33:57 AM
Quote from: budun on April 13, 2010, 12:39:26 PM
In 1.4 Beta 3, install.xml, <file name="$themedir/Display.template.php"> part:


</tr>
</thead>
<tbody>';

foreach ($context['related_topics'] as $topic)



tbody element is left open. Fixing it eliminates xhtml errors.

Thank you for reply!
I have found this piece of code, and it looks exactly like yours.
I don't know php, so, I don't know how to close tbody element, and where ?
Can you help me  :-[?

I dont know much about php or html either.  :) But this edit will eliminate markup validation warnings related to the tbody element which is left open. Please note that this has nothing to do with your post here.

In order to close the tbody element:

Extract Related Topics 1.4 Beta 3 zip package.
Open install.xml file.
At the end of <file name="$themedir/Display.template.php"> part:

Find:

echo '
</table>
</div><br />';
}


Replace with:

echo '
</tbody>
</table>
</div><br />';
}


After making the edit, zip the package again.

If you have Related Topics 1.4 Beta 3 package already installed, you can do the same edit on Display.template.php file of your themedir using the cPanel of your server. But this would complicate things a bit. You will end up with errors if you try to uninstall the mod from Package Manager option in the Admin CP of SMF, because the modifications are altered. To prevent this, in the File Manager of the cPanel of your server, you should also replace the Related_Topics_1.4_Beta_3.zip package with the edited one. (Packages subdirectory of the directory containing your SMF install)

If this is complicated, just uninstall and delete Related Topics 1.4 Beta 3 package first. Then upload and reinstall the newly edited package.

jelence

Thanks budun  :)!
I will try to remove it all, change cod, and then install again...

giveaway365.com

gr8!!

Thanks for the tutorial!

:)

navjotjsingh

Installed perfectly on 2.0RC3.

codevarun

Quote from: jelence on March 14, 2010, 06:09:22 AM
I'm using SMF 2.0 RC2 with 1.4 beta3 mod. When I try to run 'related_topics.php' through browser it shows message:

'Fatal error: Function name must be a string in /home/a8242326/public_html/related_topics.php on line 69'

What does it mean?
Thanks.
I am having the same problem :(

Fatal error: Function name must be a string in /home/websit51/public_html/helponrelation.com/forum/related_topics.php on line 69
Join: http://www.helponrelation.com/forum/

LETS HELP OTHERS

Advertisement: