Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: T@by on November 08, 2008, 05:34:22 AM

Title: Topics list support
Post by: T@by on November 08, 2008, 05:34:22 AM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1459)

This mod adds automatic topic list feature.

Package Information

Latest Version: 1.03 Built for: SMF 1.1.6,  1.1.7,  1.1.8
Latest Version: 1.04 Built for: SMF 2.0 RC1

What is this?

This mod add two bbcodes which allows you to create a post with an automatic, alphabetically ordered and referenced list of the topics presents in each board of your forum.
[TAGS] in titles are ignored.
Sticky topics are ignored.

Sintax:
[TLIST]startletter(s)|endletter(s)[/TLIST]

Example:

[tlistindex]0 - 9|A|B|C|D[/tlistindex]
[TLIST]0|9[/TLIST]
[TLIST]A|[/TLIST]
[TLIST]B|[/TLIST]
[TLIST]C|[/TLIST]
[TLIST]D|[/TLIST]

*****************************************
Instructions:

To install, simply upload the entire zip file to the package manager (Admin -> Package Manager -> Download New Packages).

*****************************************
Custom Themes:

To install this mod on a theme other then Core-Default you will need to follow the xml modification file.
Title: Re: Topics list support
Post by: Marcus Forsberg on November 08, 2008, 05:35:28 AM
Nice :)
Title: Re: Topics list support
Post by: Darknico on November 09, 2008, 07:15:10 AM
Good mod ;)
Title: Re: Topics list support
Post by: Nibogo on November 09, 2008, 08:07:02 PM
Just AMazing , This is really useful to my forum

This is the code for all the letters:

[tlistindex]0 - 9|A|B|C|D|E|F|G|H|I|J|K|L|M|N|Ñ|O|P|Q|R|S|T|U|V|W|X|Y|Z[/tlistindex]
[tlist]0|9[/tlist]
[tlist]A|[/tlist]
[tlist]B|[/tlist]
[tlist]C|[/tlist]
[tlist]D|[/tlist]
[tlist]E|[/tlist]
[tlist]F|[/tlist]
[tlist]G|[/tlist]
[tlist]H|[/tlist]
[tlist]I|[/tlist]
[tlist]J|[/tlist]
[tlist]K|[/tlist]
[tlist]L|[/tlist]
[tlist]M|[/tlist]
[tlist]N|[/tlist]
[tlist]Ñ|[/tlist]
[tlist]O|[/tlist]
[tlist]P|[/tlist]
[tlist]Q|[/tlist]
[tlist]R|[/tlist]
[tlist]S|[/tlist]
[tlist]T|[/tlist]
[tlist]U|[/tlist]
[tlist]V|[/tlist]
[tlist]W|[/tlist]
[tlist]X|[/tlist]
[tlist]Y|[/tlist]
[tlist]Z|[/tlist]


Maybe you can add childboards support

I mean create the topic list in a board and include the topics of the child-boards too

Thanks
Title: Re: Topics list support
Post by: T@by on November 10, 2008, 03:24:28 AM
Quote from: NIBOGO on November 09, 2008, 08:07:02 PMI mean create the topic list in a board and include the topics of the child-boards too
What do you mean exactly?

A single board + child boards merged index (is already in the 'to do list') or separate sub boards indexes at board level (you can just do it) ?
Title: Re: Topics list support
Post by: Nibogo on November 10, 2008, 04:20:11 PM
This one:

Quote from: T@by on November 10, 2008, 03:24:28 AM
A single board + child boards merged index

Thanks
Title: Re: Topics list support
Post by: Apllicmz on November 10, 2008, 06:58:49 PM
Good work Nice Mod
update portuguese

<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">

        <operation>

            <search position="end" />
            <add><![CDATA[
$txt['limitTListQuery'] = 'Máximo de tópicos listados em tlist<div class="smalltext">(0 para nenhum max.)</div>';
]]>        </add>

        </operation>

    </file>
Title: Re: Topics list support
Post by: kizer on November 11, 2008, 12:54:51 AM
A demo if anybody is interested. ;)

I have a section for those that do Writeups aka Howto's on their Jeeps.

http://www.links4jeeps.com/forum/index.php?topic=8888.0
Title: Re: Topics list support
Post by: HistoryHunter on November 16, 2008, 07:15:37 AM
1.1.7
Title: Re: Topics list support
Post by: fangweile on November 21, 2008, 10:17:39 PM
I've manually installed it in my dilber mc theme and I works fine now. Thanks a lot for this great mod. Really helpful for my forum. ^_^
Title: Re: Topics list support
Post by: gotorx7 on November 28, 2008, 09:43:43 PM
Do you plan to support 1.1.7 please?

Looks fantastic!
Title: Re: Topics list support
Post by: 4Kstore on November 28, 2008, 09:51:04 PM
so perfect!!
Thanks!!
Title: Re: Topics list support
Post by: vmgamer on November 29, 2008, 04:10:06 AM
Thanks,
i was searching for mod like dis :X
Title: Re: Topics list support
Post by: Darknico on December 09, 2008, 05:59:34 AM
Italian translate here
http://www.italiansmfmods.net/index.php?topic=378.0
Title: Re: Topics list support
Post by: especiales on December 29, 2008, 01:36:14 PM
Thanks for this mod.
Excuse my english
be possible to put next to the title of the post the name of the user who has posted ?

Thanks
Title: Re: Topics list support
Post by: Marcus Forsberg on December 29, 2008, 01:42:00 PM
Any plans on a 2. beta 4 version?
Title: Re: Topics list support
Post by: T@by on February 06, 2009, 10:20:02 AM
Still working with SMF 1.1.8  :)

Quote from: especiales on December 29, 2008, 01:36:14 PM
be possible to put next to the title of the post the name of the user who has posted ?
Yes, very simple to do. I sent you a PM

Quote from: Nas on December 29, 2008, 01:42:00 PM
Any plans on a 2. beta 4 version?
No, I hate all beta versions
Title: Re: Topics list support
Post by: Darknico on February 06, 2009, 10:53:29 AM
Quote from: T@by on February 06, 2009, 10:20:02 AM
Quote from: Nas on December 29, 2008, 01:42:00 PM
Any plans on a 2. beta 4 version?
No, I hate all beta versions

Now is RC1
Title: Re: Topics list support
Post by: T@by on February 06, 2009, 11:05:53 AM
Still not final version. I hate RC too  ::)
Title: Re: Topics list support - How to display Topic Author near the Topic Title
Post by: T@by on February 06, 2009, 11:20:07 AM
Quote from: especiales on December 29, 2008, 01:36:14 PM

be possible to put next to the title of the post the name of the user who has posted ?

Simpe way:

edit sources/Subs.php

find
t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon
replace with
t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon, m.posterName

find
$data[] = array('cleantitle' => $ctitle,'title' => $th_row['subject'], 'tid' => $th_row['ID_TOPIC'],'icon_id' => $th_row['icon']);
replace with
$data[] = array('cleantitle' => $ctitle,'title' => $th_row['subject'], 'tid' => $th_row['ID_TOPIC'],'icon_id' => $th_row['icon'],'author' => $th_row['posterName']);

find
$tmp = str_replace("{TOPIC_ID}", $row['tid'], $tmp);
add after (in a new line)

$tmp = str_replace("{AUTHOR}", $row['author'], $tmp);

save

edit [theme]/index.template.php

find
$answ .= '<td class="tlistcol2"><a href="'.$scripturl.'?topic={TOPIC_ID}">{TOPIC_TITLE}</a></td></tr>';
replace with
$answ .= '<td class="tlistcol2"><a href="'.$scripturl.'?topic={TOPIC_ID}">{TOPIC_TITLE}</a>&nbsp;<span style="font-size:11px;">by {AUTHOR}</span></td></tr>';

save

That's All.
Title: Re: Topics list support
Post by: Darknico on February 06, 2009, 11:49:10 AM
thanks :)
Title: Re: Topics list support
Post by: adp on February 13, 2009, 10:41:28 AM
T@by can you make for work on rc1?
Title: Re: Topics list support
Post by: Darknico on February 13, 2009, 11:28:51 AM
http://www.simplemachines.org/community/index.php?topic=272959.msg1916044#msg1916044
Title: Re: Topics list support
Post by: Nibogo on February 13, 2009, 07:27:24 PM
@T@by: I know of you hate the RC Version (I don`t know why , because SMF RC1 is too stable) but If you make a version for 2.0 RC1 , I think of update the mod to another SMF 2.0 Version will not be a problem.
Title: Re: Topics list support
Post by: abraamz on February 14, 2009, 05:30:51 PM
Quote from: T@by on February 06, 2009, 10:20:02 AM
Still working with SMF 1.1.8  :)

looking forward for 1.1.8 version. i like this idea very much.
Title: Re: Topics list support
Post by: T@by on February 16, 2009, 05:40:15 AM
Ok, all done for SMF 2.0 RC1. TList Mod is working, just 3 or 4 little adjustements to the original code are needed.

(http://img19.imageshack.us/img19/7349/smf20rc1yi6.th.gif) (http://img19.imageshack.us/my.php?image=smf20rc1yi6.gif)

Will be available soon
Title: Re: Topics list support
Post by: tanja06 on February 16, 2009, 05:46:23 AM
I've installed this mod manually for SMF 1.1.8, cause I use a customized theme...

it works fine :), thank you !
Title: Re: Topics list support
Post by: T@by on February 17, 2009, 11:52:40 AM
Topics list support 1.04 for SMF 2.0 RC1 is available for download
Also updated the script into Topics list support 1.03 for SMF 1.1.6 - 1.1.8
Title: Re: Topics list support
Post by: Özgür on February 17, 2009, 01:22:18 PM
Im using this mod.
I add to topic list in 2 topic. (Different board.)
But first topic and second topic are same. How do fix it ?

Look : http://www.rockayseri.net/rk/turk-rock-and-metal/rockayseride-bulunan-tum-yerli-gruplar/
And :  http://www.rockayseri.net/rk/yabanci-rock-and-metal/rockayseride-bulunan-tum-yabanci-gruplar/
Title: Re: Topics list support
Post by: Sakae on February 17, 2009, 01:32:12 PM
This is the correct Brazilian-utf8:

// Search focus dropdown mod
$txt['search_scope_topic'] = 'Neste t&oacute;pico';
$txt['search_scope_board'] = 'Nesta se&ccedil;&atilde;o';
$txt['search_scope_all'] = 'Tudo no f&oacute;rum';


The old one is only Brazilian (not utf8 :)

// Search focus dropdown mod
$txt['search_scope_topic'] = 'Neste tópico';
$txt['search_scope_board'] = 'Nesta seção';
$txt['search_scope_all'] = 'Tudo no forum';
Title: Re: Topics list support
Post by: bullbreedluverz on February 17, 2009, 01:58:50 PM
installed on RC1 on default theme (although the header is different it is default)
no errors on install but when i add the codes the list looks like this - any ideas on a fix as id really like this mod working on my site

http://www.bullbreedluverz.com/smf/index.php?topic=3227.msg34071#msg34071
Title: Re: Topics list support
Post by: bullbreedluverz on February 17, 2009, 03:11:34 PM
its ok solved the problem, overwrote the edit made by package parser in index.template.php with manual install edit and works fine

brilliant mod - cheers
Title: Re: Topics list support
Post by: T@by on February 17, 2009, 03:14:48 PM
Thank you, bullbreedluverz
I think you can delete the Ñ letter, not used into english alphabet.

Please check the server setting page into admin panel. I am not sure but probably you need to delete the server cache in order to get the mod correctly running
Title: Re: Topics list support
Post by: T@by on February 17, 2009, 03:27:25 PM
Quote from: Özgür´ on February 17, 2009, 01:22:18 PM
Im using this mod.
I add to topic list in 2 topic. (Different board.)
But first topic and second topic are same. How do fix it ?

Look : http://www.rockayseri.net/rk/turk-rock-and-metal/rockayseride-bulunan-tum-yerli-gruplar/
And :  http://www.rockayseri.net/rk/yabanci-rock-and-metal/rockayseride-bulunan-tum-yabanci-gruplar/

Is very simple. You used 'dirty' bbcode.
Edit the incorrect topic. You will see something like '[tlist=2]' where '2' is the ID of the board (automatically added by the mod).
Delete the '=2' part OR substitute all copying the code in this post : http://www.simplemachines.org/community/index.php?topic=272959.msg1790809#msg1790809. All will be fine

Title: Re: Topics list support
Post by: Özgür on February 17, 2009, 03:33:00 PM
Thank you T@by.

This is turkish translation
<file name="$languagedir/Modifications.turkish.php" error="skip">
<operation>
<search position="end" />
<add>
<![CDATA[
$txt['limitTListQuery'] = 'Konu listesi (TList)de en fazla kaç konu olsun?<div class="smalltext">(0 seçerseniz sınırlandırma olmaz.)</div>';
]]>
</add>
</operation>
</file>
Title: Re: Topics list support
Post by: Garry1953 on February 17, 2009, 03:55:47 PM
A very handy Addition to my RC1 Forum
Thanks
Title: Re: Topics list support
Post by: Nibogo on February 17, 2009, 05:22:18 PM
Sweet!

Thanks T@by
Title: Re: Topics list support
Post by: T@by on February 17, 2009, 05:25:56 PM
you are welcome nibogo  :)

Quote from: NIBOGO on November 09, 2008, 08:07:02 PM
Maybe you can add childboards support

I mean create the topic list in a board and include the topics of the child-boards too

Still interested to this? 1 line to add and 1 line to modify. I can write here what needed to do.

ps
I hate all RC or beta versions. Not only smf but all... applications, OS and so on  >:(
Title: Re: Topics list support
Post by: Nibogo on February 17, 2009, 05:59:03 PM
Quote from: T@by on February 17, 2009, 05:25:56 PM
you are welcome nibogo  :)

Quote from: NIBOGO on November 09, 2008, 08:07:02 PM
Maybe you can add childboards support

I mean create the topic list in a board and include the topics of the child-boards too

Still interested to this? 1 line to add and 1 line to modify. I can write here what needed to do.

ps
I hate all RC or beta versions. Not only smf but all... applications, OS and so on  >:(

The child-boards support will be a nice addon for this mod and yep is useful to me :)

Thanks
Title: Re: Topics list support
Post by: T@by on February 17, 2009, 06:30:51 PM
Now are 00:28 am here in Italy and i'm going to sleep.
Tomorrow morning you will find the code
Title: Re: Topics list support - How to include boards and/or child-boards
Post by: T@by on February 18, 2009, 04:06:42 AM
Quote from: NIBOGO on February 17, 2009, 05:59:03 PM
The child-boards support will be a nice addon for this mod and yep is useful to me :)

This is the solution NOT for child-boards but for an extended and more flexible concept: multiboard. It may include boards and/or child-boards.

Edit sources/subs.php

Find
WHERE t.ID_BOARD = $board AND

Replace with
WHERE t.ID_BOARD IN ($board) AND

Save

Edit your TList topics and add to each TLIST tag the ID of each desired board, comma separed
Something like [TLIST=2,4,5]A|[/TLIST]
Title: Re: Topics list support
Post by: T@by on February 18, 2009, 04:57:50 AM
@NIBOGO

I looked up to http://www.mundo-se.com/foro/firmwares/(importante)-indice-de-firmwares2/. Is wrong... modified css is not loaded.
Take a look here.
http://jigsaw.w3.org/css-validator/validator?uri=http://www.mundo-se.com/foro/firmwares/(importante)-indice-de-firmwares2/
TList parms are not in and you have also other errors.

Maybe style.css is in your server cache? Try to clear it or edit and save the cascade style sheet from Admin Panel.

this is correct
http://www.mundo-se.com/Themes/default/style.css
this is NOT correct
http://www.mundo-se.com/Themes/default/style.css.php?fin11

I confirm.. I hate beta and RC
Title: Re: Topics list support
Post by: SlammedDime on February 18, 2009, 05:09:44 AM
Quote from: T@by on February 18, 2009, 04:57:50 AM
this is correct
http://www.mundo-se.com/Themes/default/style.css
this is NOT correct
http://www.mundo-se.com/Themes/default/style.css.php?fin11

Actually, it is correct... visit it... it's a valid file. :)
Title: Re: Topics list support
Post by: T@by on February 18, 2009, 07:34:15 AM
still not valid, SlammedDime
check css-validator
and tlist* css parms are not present

this is the correct look of the mod (other theme)
http://www.bullbreedluverz.com/smf/index.php?topic=3227.msg34071#msg34071

here the html code is correct, tlist* css parms modified
http://www.rockayseri.net/rk/turk-rock-and-metal/rockayseride-bulunan-tum-yerli-gruplar/

here the html code is correct but css file is not updated
http://www.mundo-se.com/foro/firmwares/(importante)-indice-de-firmwares2/

Are all RC1 boards. Really, can be a server cache problem? (or a server setting)
Title: Re: Topics list support
Post by: Nibogo on February 18, 2009, 04:54:15 PM
tlist has not been added to my style.css because I like in that way

Thanks for report me that and thanks for the code ;)
Title: Re: Topics list support
Post by: abraamz on February 18, 2009, 05:01:27 PM
Thank you for this usefull mod
(i installed this in 1.1.8 manually)
Title: Re: Topics list support
Post by: JackWise on February 23, 2009, 10:22:46 AM
Quote from: T@by on February 06, 2009, 10:20:02 AM
Still working with SMF 1.1.8  :)

Quote from: especiales on December 29, 2008, 01:36:14 PM
be possible to put next to the title of the post the name of the user who has posted ?
Yes, very simple to do. I sent you a PM




Hi T@by,
Can you tell me the way too ?
Best regards,
JW
Title: Re: Topics list support
Post by: T@by on February 23, 2009, 02:38:53 PM
Here:

http://www.simplemachines.org/community/index.php?topic=272959.msg1916169#msg1916169
Title: Re: Topics list support
Post by: edi67 on February 24, 2009, 03:24:36 AM
great mod thx
Title: Re: Topics list support
Post by: edi67 on February 24, 2009, 06:50:08 AM
Quote from: T@by on February 06, 2009, 11:20:07 AM
Quote from: especiales on December 29, 2008, 01:36:14 PM

be possible to put next to the title of the post the name of the user who has posted ?

Simpe way:

edit sources/Subs.php

find
t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon
replace with
t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon, m.posterName

find
$data[] = array('cleantitle' => $ctitle,'title' => $th_row['subject'], 'tid' => $th_row['ID_TOPIC'],'icon_id' => $th_row['icon']);
replace with
$data[] = array('cleantitle' => $ctitle,'title' => $th_row['subject'], 'tid' => $th_row['ID_TOPIC'],'icon_id' => $th_row['icon'],'author' => $th_row['posterName']);

find
$tmp = str_replace("{TOPIC_ID}", $row['tid'], $tmp);
add after (in a new line)

$tmp = str_replace("{AUTHOR}", $row['author'], $tmp);

save

edit [theme]/index.template.php

find
$answ .= '<td class="tlistcol2"><a href="'.$scripturl.'?topic={TOPIC_ID}">{TOPIC_TITLE}</a></td></tr>';
replace with
$answ .= '<td class="tlistcol2"><a href="'.$scripturl.'?topic={TOPIC_ID}">{TOPIC_TITLE}</a>&nbsp;<span style="font-size:11px;">by {AUTHOR}</span></td></tr>';

save

That's All.

this solution make me this error:

Unknown column 'm.posterName' in 'field list'
File: /home/crazyzone/data/www/crazyzone.biz/Sources/Subs.php
Line: 4584
Title: Re: Topics list support
Post by: Özgür on February 24, 2009, 11:22:07 PM
@edi67
Are you using 2.0 or 1.1.8 ?
Title: Re: Topics list support
Post by: edi67 on February 25, 2009, 02:48:25 AM
Quote from: Özgür´ on February 24, 2009, 11:22:07 PM
@edi67
Are you using 2.0 or 1.1.8 ?

2.0 RC1
Title: Re: Topics list support - How to display Topic Author near the Topic Title
Post by: T@by on February 25, 2009, 03:17:30 AM
with 2.0 RC1 you need to replace m.posterName with m.poster_name

Edit sources/Subs.php

find
t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon
replace with
t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon, m.poster_name

find
$data[] = array('cleantitle' => $ctitle,'title' => $th_row['subject'], 'tid' => $th_row['ID_TOPIC'],'icon_id' => $th_row['icon']);
replace with
$data[] = array('cleantitle' => $ctitle,'title' => $th_row['subject'], 'tid' => $th_row['ID_TOPIC'],'icon_id' => $th_row['icon'],'author' => $th_row['poster_name']);

find
$tmp = str_replace("{TOPIC_ID}", $row['tid'], $tmp);
add after (in a new line)

$tmp = str_replace("{AUTHOR}", $row['author'], $tmp);

save

edit [theme]/index.template.php

find
$answ .= '<td class="tlistcol2"><a href="'.$scripturl.'?topic={TOPIC_ID}">{TOPIC_TITLE}</a></td></tr>';
replace with
$answ .= '<td class="tlistcol2"><a href="'.$scripturl.'?topic={TOPIC_ID}">{TOPIC_TITLE}</a>&nbsp;<span style="font-size:11px;">by {AUTHOR}</span></td></tr>';

Save
Title: Re: Topics list support
Post by: minos on March 07, 2009, 08:08:45 PM
hello  thanks alot for  make this to  smf 2rc1 ... how can i remove the message icon?

thanks
Title: Re: Topics list support
Post by: haito on March 07, 2009, 09:30:25 PM
great mod... i like it... thanks T@by
Title: Re: Topics list support
Post by: minos on March 08, 2009, 12:37:32 AM
by the way its a way just to gather title name and link witout letters? but in alphabetical order?

cause this mod execute a lot of queries
Title: Re: Topics list support
Post by: Alpay on March 08, 2009, 03:35:52 PM
Very Very Good Mod T@by..
Title: Re: Topics list support
Post by: DeviDarkL on March 08, 2009, 09:23:41 PM
Hi T@by

Great Mod but I have a problem >:(

Most of my topics begin with [Something]. For example: [Cars]; [Bikes]; [Boats]; etc etc

The problem is that the Topic List does not recognize Text in []. It order the Topics by the text after like if the name of the topic is [Cars] BMW M6 the topic will appear in "B" and not in "C" (of Cars).

How can I do to order by Cars, Bikes or Boats instead of the text after?

Sorry for my English and Thanks in Advance ;)
Title: Re: Topics list support
Post by: T@by on March 09, 2009, 04:41:43 AM
This mod ignore tags in bracket ([something]), as proved in this screenshot. This grant a REAL sort by topic title

(http://img9.imageshack.us/img9/4558/tlist.th.gif) (http://img9.imageshack.us/my.php?image=tlist.gif)
Title: Re: Topics list support
Post by: DeviDarkL on March 09, 2009, 12:01:41 PM
But, is it possible not to ignore? :(
Title: Re: Topics list support - How to display Topic Author near the Topic Title
Post by: JackWise on March 10, 2009, 05:57:54 PM
Quote from: T@by on February 06, 2009, 11:20:07 AM
Quote from: especiales on December 29, 2008, 01:36:14 PM

be possible to put next to the title of the post the name of the user who has posted ?

Simpe way:

edit sources/Subs.php

find
t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon
replace with
t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon, m.posterName

find
$data[] = array('cleantitle' => $ctitle,'title' => $th_row['subject'], 'tid' => $th_row['ID_TOPIC'],'icon_id' => $th_row['icon']);
replace with
$data[] = array('cleantitle' => $ctitle,'title' => $th_row['subject'], 'tid' => $th_row['ID_TOPIC'],'icon_id' => $th_row['icon'],'author' => $th_row['posterName']);

find
$tmp = str_replace("{TOPIC_ID}", $row['tid'], $tmp);
add after (in a new line)

$tmp = str_replace("{AUTHOR}", $row['author'], $tmp);

save

edit [theme]/index.template.php

find
$answ .= '<td class="tlistcol2"><a href="'.$scripturl.'?topic={TOPIC_ID}">{TOPIC_TITLE}</a></td></tr>';
replace with
$answ .= '<td class="tlistcol2"><a href="'.$scripturl.'?topic={TOPIC_ID}">{TOPIC_TITLE}</a>&nbsp;<span style="font-size:11px;">by {AUTHOR}</span></td></tr>';

save

That's All.

This is very nice.
I installed it in SMF 1.1.8 with dilber theme.

Many thanks,

JW
Title: Re: Topics list support
Post by: kermitthefrog on March 14, 2009, 07:37:49 AM
Great mod, however it list ALL topics... how can I not show the "admin topics" side of it?
Title: Re: Topics list support
Post by: T@by on March 16, 2009, 10:30:06 AM
what is an "admin topic" ?
Title: Re: Topics list support
Post by: T@by on March 27, 2009, 04:34:59 AM
I received via PM this customization request

Quotehi T@by, i have installed your mod "Topic List support" , it's wonderful. I'm trying to hide [TAGS] from the topic list. Is this possible? i want the tags do not appear in the list, but only the title of the topic appear. Thank you in advance

The solution

Clean titles are already available.

Replace
$answ .= str_replace("{TOPIC_TITLE}", $row['title'], $tmp);
with
$answ .= str_replace("{TOPIC_TITLE}", $row['cleantitle'], $tmp);
Title: Re: Topics list support help
Post by: Milo_link on April 08, 2009, 08:00:40 PM
hi t@by, i loved this mod;I wondered if you can add to the pair of user name, the amount of inputs that leads and also the range that has..

I let you catch a


[/size]
Title: Re: Topics list support
Post by: Milo_link on April 10, 2009, 01:51:03 PM
hi please somebody
Title: Re: Topics list support
Post by: T@by on April 14, 2009, 10:14:34 AM
I don't understand your request
Which inputs? which range?
Title: Re: Topics list support
Post by: Milo_link on April 18, 2009, 12:45:58 AM
sorry haha,i said  if it is possible to add, the  ranks and post the user have
Title: Re: Topics list support
Post by: T@by on April 19, 2009, 05:57:26 PM
Yes is possible but there is no reason to do it, are not relevant datas and will slow down the query
Title: Re: Topics list support
Post by: Milo_link on April 20, 2009, 01:02:34 AM
Quote from: T@by on April 19, 2009, 05:57:26 PM
Yes is possible but there is no reason to do it, are not relevant datas and will slow down the query

o.k but only the ranks please is very importan for my I would greatly appreciate
Title: Re: Topics list support
Post by: Benji on April 26, 2009, 12:39:42 PM
Great Mod!

But i have an "issue": there's a version for previous smf?  :(

I have 1.1.1
Title: Re: Topics list support
Post by: Benji on April 27, 2009, 08:46:42 PM
Please,
there is any possibility to have this mod for smf 1.1.1? :8
Title: Re: Topics list support
Post by: Benji on April 30, 2009, 10:53:42 AM
No answer? :(
Title: Re: Topics list support
Post by: Milo_link on May 01, 2009, 06:38:55 PM
only the ranks please is very importan for my I would greatly appreciate
Title: Re: Topics list support
Post by: ArkServer on May 01, 2009, 08:06:08 PM
The mod only shows up topic from one board: http://www.engineeringserver.com/forum/test-t3363.0.html

it doesn't show topics from all other boards?
Title: Re: Topics list support
Post by: T@by on May 02, 2009, 08:38:17 AM
Quote from: Benji on April 27, 2009, 08:46:42 PM
Please,
there is any possibility to have this mod for smf 1.1.1? :8
Necro version of smf. Sorry, no.

Quote from: ArkServer on May 01, 2009, 08:06:08 PM
it doesn't show topics from all other boards?
http://www.simplemachines.org/community/index.php?topic=272959.msg1938771#msg1938771
Title: Re: Topics list support
Post by: ArkServer on May 02, 2009, 10:49:49 AM
Quote from: T@by on May 02, 2009, 08:38:17 AM
Quote from: Benji on April 27, 2009, 08:46:42 PM
Please,
there is any possibility to have this mod for smf 1.1.1? :8
Necro version of smf. Sorry, no.

Quote from: ArkServer on May 01, 2009, 08:06:08 PM
it doesn't show topics from all other boards?
http://www.simplemachines.org/community/index.php?topic=272959.msg1938771#msg1938771

I cant believe i missed that post, thanks a lot :D :D :D!
Title: Re: Topics list support
Post by: ArkServer on May 02, 2009, 12:06:30 PM
I've written a small application to automate the generating of the topic lists for boards. if its not alright with the author of the mod i'll remove it since i made it for me to easily generate the index but i thought that i might as well share it for others.

http://www.engineeringserver.com/forum/topiclist_board_generator-t3470.0.html

(http://img16.imageshack.us/img16/2615/topicgenerator.png)

Title: Re: Topics list support
Post by: T@by on May 04, 2009, 06:05:42 AM
No problem for me, but take a look to the bbcode generated by your java app.
[tlist=1,2,3,4]0|9[/tlist]
is missed
Title: Re: Topics list support
Post by: ArkServer on May 04, 2009, 08:57:38 AM
Quote from: T@by on May 04, 2009, 06:05:42 AM
No problem for me, but take a look to the bbcode generated by your java app.
[tlist=1,2,3,4]0|9[/tlist]
is missed

[tlistindex]0 - 9|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z[/tlistindex] ?
Title: Re: Topics list support
Post by: T@by on May 04, 2009, 09:03:06 AM
looking at your screenshot
tlistindex bbcode is ok
tlist bbcode is without [tlist=1,2,3,4]0|9[/tlist]
Title: Re: Topics list support
Post by: ArkServer on May 04, 2009, 09:11:57 AM
Quote from: T@by on May 04, 2009, 09:03:06 AM
looking at your screenshot
tlistindex bbcode is ok
tlist bbcode is without [tlist=1,2,3,4]0|9[/tlist]

Ah, now i get it, i forgot to include the numbers. I'll include it now. Thanks!
Title: Re: Topics list support
Post by: ArkServer on May 04, 2009, 09:25:20 AM
Quote from: T@by on May 04, 2009, 09:03:06 AM
looking at your screenshot
tlistindex bbcode is ok
tlist bbcode is without [tlist=1,2,3,4]0|9[/tlist]

Done, but i also have a question. When generating a large list with topics it seems like the script stops after xx topics or is it just me?
http://www.engineeringserver.com/forum/test_board/test-t3514.0.html;msg6363#msg6363
Title: Re: Topics list support
Post by: T@by on May 04, 2009, 10:50:15 AM
Check the HTML. Generated code is all in (Z is the last letter)

<th>Z</th></tr><tr><td class="tlistcol1"><img class="tlistfirsticon" src="http://www.engineeringserver.com/forum/Themes/ds-natural115/images/tlist_spacer.gif" alt="" width="20" /></td><td class="tlistcol2">-</td></tr></table></div>
Title: Re: Topics list support
Post by: FragaCampos on May 08, 2009, 08:05:04 AM
First of all, thank you very much for this awesome mod.
Undoubtedly, a must have  8)

I have the same issue reported by ArkServer in his last post. But this only happens with firefox. Any advise/solution to this?  :-\
Other question: How can i add topics started with "?" or "!"?


I have one suggestion, though. Is It possible to add a little string showing the number of items of the index?
For example "This index has x items".

Cheers.
Title: Re: Topics list support
Post by: T@by on May 08, 2009, 01:11:22 PM
 :-\ seems an overflow problem
you can try to modify your css adding
overflow: visible;
to .post class

if you have (in .post class)
overflow: auto;
replace it with
overflow: visible;
Title: Re: Topics list support
Post by: ArkServer on May 10, 2009, 07:13:50 AM
Quote from: T@by on May 08, 2009, 01:11:22 PM
:-\ seems an overflow problem
you can try to modify your css adding
overflow: visible;
to .post class

if you have (in .post class)
overflow: auto;
replace it with
overflow: visible;

Thanks, solved my issue  :D
Title: Re: Topics list support
Post by: FragaCampos on May 10, 2009, 09:40:38 AM
Yes, everything's fine now.
Thanks a lot!
Title: Re: Topics list support
Post by: FragaCampos on May 11, 2009, 01:54:06 PM
T@by, when you can, don't forget about this ;)

Quote from: FragaCampos on May 08, 2009, 08:05:04 AM
Other question: How can i add topics started with "?" or "!"?


I have one suggestion, though. Is It possible to add a little string showing the number of items of the index?
For example "This index has x items".
Title: Re: Topics list support
Post by: FragaCampos on May 14, 2009, 02:52:21 PM
I noticed that the forum is a bit heavier than before, maybe because the topics with the topics list are updated automatically.

Is there a way of doing the list manually, i.e., whenever we want and not automatically?


Thanks.
Title: Re: Topics list support
Post by: pequepsp on June 16, 2009, 05:19:23 AM
How can i install this in smf 1.1.9??
Title: Re: Topics list support
Post by: T@by on June 16, 2009, 05:48:53 AM
following the manual installation
The code still Ok
Title: Re: Topics list support
Post by: Aex on June 22, 2009, 10:43:07 AM
I'm Spanish, Sorry for my english

In the past, i had a 1.1.8 smf forum and i had this mod. It worked great. Yesterday, i upgrade my forum to 2.0RC1, download the package for 2.0RC1 and install, but now it doesn't work.

Here an example:

http://territoriodd.com/foro/index.php/topic,6882.0.html

http://territoriodd.com/foro/index.php/topic,6892.0.html

The forum reconize the tags, but don't do nothing

Thank you for all.
Title: Re: Topics list support
Post by: T@by on June 23, 2009, 11:07:42 AM
with 2.0RC1 the mod works correcly, I have not checked with 2.0RC1-1
however seems something wrong in Subs.php code modification. Please check if it is correctly applied
Title: Re: Topics list support
Post by: Özgür on June 23, 2009, 11:51:16 AM
Quote from: T@by on June 23, 2009, 11:07:42 AM
with 2.0RC1 the mod works correcly, I have not checked with 2.0RC1-1
however seems something wrong in Subs.php code modification. Please check if it is correctly applied
Notice : In 2.0 RC1-1 still worked fine.
Title: Re: Topics list support
Post by: T@by on June 23, 2009, 12:07:36 PM
checked. is OK
Title: Re: Topics list support
Post by: Aex on June 23, 2009, 01:24:16 PM
I have this in my subs.php

array(
'tag' => 'white',
'before' => '<span style="color: white;" class="bbc_color">',
'after' => '</span>',
),

array(
'tag' => 'tlist',
'type' => 'unparsed_equals_content',
'content' => '$1',
'validate' => create_function('&$tag, &$data, $disabled', '$data[0] = topic_list($data[0], $data[1]);'),
),
array(
'tag' => 'tlistindex',
'type' => 'unparsed_content',
'content' => '$1',
'validate' => create_function('&$tag, &$data, $disabled', '$data = topic_list_index($data);'),
),


I have revised all the modifications and seems to be ok  >:( >:(
Title: Re: Topics list support
Post by: Özgür on June 23, 2009, 01:52:37 PM
Are you using custom theme ?
Your links not opened.. Have you any error on error log?
Title: Re: Topics list support
Post by: T@by on June 24, 2009, 04:36:45 AM
ok found (thank you Daydreamer)
you have not applied modification to your custom theme, file index.template.php

you have to add
function tlist_bits($element)
{
global $txt, $settings, $scripturl;

switch($element)
{
case 'container_open':
$answ = '<table cellspacing="1" border="0" class="tlisttable">';
break;
case 'header':
$answ ='<tr><th><div class="tlisttitleicon"><a name="tl_{JLABEL}">&nbsp;</a></div></th><th>{TITLE}</th></tr>';
break;
case 'topic_row':
{
$answ = '<tr><td class="tlistcol1"><img class="tlistfirsticon" src="{ICON}" alt="" /></td>';
$answ .= '<td class="tlistcol2"><a href="'.$scripturl.'?topic={TOPIC_ID}">{TOPIC_TITLE}</a></td></tr>';
break;
}
case 'container_close':
$answ = '</table>';
break;
case 'no_topics':
{
$answ = '<tr><td class="tlistcol1"><img class="tlistfirsticon" src="'.$settings['images_url'].'/tlist_spacer.gif" alt="" width="20" /></td>';
$answ .= '<td class="tlistcol2">-</td></tr>';
break;
}
case 'index_container_open':
$answ = '<div class="tlistindex">'.$txt['jump_to'];
break;
case 'index_bit':
$answ = ' <a href="#tl_{TITLE}">{TITLE}</a>';
break;
case 'index_container_close':
$answ = '</div>';
break;
}
return $answ;
}

at the end of file, before
?>
Title: Re: Topics list support
Post by: Aex on June 24, 2009, 04:55:20 AM
Thank you so much!!! Now it works  :P :P i love this mod, is perfect for my page.
Title: Re: Topics list support
Post by: akbora on June 27, 2009, 09:24:40 AM
I found out that in my forum, first 10 topics no inside topiclist. Is it true?

And edit: Can this mod add new topics automatic?

I see it is irregular running. Some topics are not in this list why?

Edit2: Topic starter can be there
Title: Re: Topics list support
Post by: T@by on June 29, 2009, 03:48:08 AM
It automatically list non sticky topics beginning with 0-9:A-Z (ignoring [TAG])
If your first 10 topics are sticky, they will not in list

Title: Re: Topics list support
Post by: akbora on June 29, 2009, 06:26:10 AM
Thanks your reply.

Toics starter with topics will be better?
Title: Re: Topics list support
Post by: Özgür on June 29, 2009, 07:44:50 AM
Quote from: akbora on June 29, 2009, 06:26:10 AM
Thanks your reply.

Toics starter with topics will be better?

http://www.simplemachines.org/community/index.php?topic=272959.msg1949691#msg1949691
Title: Re: Topics list support
Post by: akbora on June 29, 2009, 09:34:44 AM
Thanks daydreamer, well is it possible with category ID?
Title: Re: Topics list support
Post by: Turk Navy on July 14, 2009, 08:46:15 PM
Quote from: T@by on February 18, 2009, 04:06:42 AM
Quote from: NIBOGO on February 17, 2009, 05:59:03 PM
The child-boards support will be a nice addon for this mod and yep is useful to me :)

This is the solution NOT for child-boards but for an extended and more flexible concept: multiboard. It may include boards and/or child-boards.

Edit sources/subs.php

Find
WHERE t.ID_BOARD = $board AND

Replace with
WHERE t.ID_BOARD IN ($board) AND

Save

Edit your TList topics and add to each TLIST tag the ID of each desired board, comma separed
Something like [TLIST=2,4,5]A|[/TLIST]

Thank you for that. :)
Title: Re: Topics list support
Post by: mforum on July 19, 2009, 04:55:20 AM
Quote from: FragaCampos on May 14, 2009, 02:52:21 PM
I noticed that the forum is a bit heavier than before, maybe because the topics with the topics list are updated automatically.

Is there a way of doing the list manually, i.e., whenever we want and not automatically?


Thanks.

i have that problem too , only that my forum is a lot heavier than before .....
i use topics list in boards with more than 10 pages .... load is more than 3 sec - before was 0.x sec
so i want too to auto grab new topics manually ....  ;)

its a fantastic add on to my forum but the heavy load it brings makes it kind of useless  :-\

SMF 1.1.10
php 4.4
Default Theme
Title: Re: Topics list support
Post by: T@by on July 20, 2009, 04:52:54 AM
Topics are listed 'on the fly', only when you open the post with list.
I use it on forums with up of 31 pages without problem (it take something like 2 sec for generate a complete list with 800 user online) so probably you have a problem with server or with mysql setting.
Title: Re: Topics list support
Post by: Özgür on July 20, 2009, 11:21:34 AM
t@by how can i make a SSI function like topic_list($board, $start, $end, $limit) ? I know i can use the parse_bbc function but i need that function.
Title: Re: Topics list support
Post by: Milo_link on July 20, 2009, 10:40:26 PM
hi T@by,is it possible to add the ranks of users?

if so what should I do?   
sorry for my english
Title: Re: Topics list support
Post by: mforum on July 21, 2009, 05:57:17 AM
Quote from: T@by on July 20, 2009, 04:52:54 AM
Topics are listed 'on the fly', only when you open the post with list.
I use it on forums with up of 31 pages without problem (it take something like 2 sec for generate a complete list with 800 user online) so probably you have a problem with server or with mysql setting.

even when topics list Topic is on the Recent Posts in forum index, i have 34 queries in 1.8 sec - without it i have 26 queries in 0.23 sec

how do you explain that ?
Title: Re: Topics list support
Post by: T@by on July 21, 2009, 06:44:31 AM
maybe someone is opening the list topic or another topic or using the search or viewing the most recent posts on the forum
Title: Re: Topics list support
Post by: Milo_link on July 21, 2009, 10:34:14 PM
hi T@by,is it possible to add the ranks of users?

if so what should I do?   
Title: Re: Topics list support
Post by: T@by on July 22, 2009, 06:51:39 AM
what do you mean? the rank title or the ranking image?
Title: Re: Topics list support
Post by: Özgür on July 22, 2009, 06:53:08 AM
Bump :P
Quote from: [Daydreamer] on July 20, 2009, 11:21:34 AM
t@by how can i make a SSI function like topic_list($board, $start, $end, $limit) ? I know i can use the parse_bbc function but i need that function.
Title: Re: Topics list support
Post by: T@by on July 22, 2009, 07:07:28 AM
you can find answers here:
http://docs.simplemachines.org/index.php?topic=400

edit
Worked to a little test, just for fun

(http://img149.imageshack.us/img149/7629/ssitlist.th.gif) (http://img149.imageshack.us/i/ssitlist.gif/)

Would you to obtain something like this?
Title: Re: Topics list support
Post by: Milo_link on July 22, 2009, 12:18:18 PM
Quote from: T@by on July 22, 2009, 06:51:39 AM
what do you mean? the rank title or the ranking image?

"the rank title"

thanks
Title: Re: Topics list support
Post by: Özgür on July 22, 2009, 12:50:28 PM
Quote from: T@by on July 22, 2009, 07:07:28 AM
you can find answers here:
http://docs.simplemachines.org/index.php?topic=400

edit
Worked to a little test, just for fun

(http://img149.imageshack.us/img149/7629/ssitlist.th.gif) (http://img149.imageshack.us/i/ssitlist.gif/)

Would you to obtain something like this?

Yep i will use this function on my wordpress homepage. And yes this is enough for me =) Maybe you can include this to your modification because many user will like it =)
Title: Re: Topics list support
Post by: Milo_link on July 22, 2009, 07:31:16 PM
the rank title

thanks  T@by
Title: Re: Topics list support
Post by: T@by on July 23, 2009, 04:58:18 AM
@mforum
I found something wrong, not in tlist mod but in smf code.
It get a kind of 'post preview' at MessageIndex level reading 384 chars from DB both for first and last post of each topic in current board index. I don't understand why.

If the post with tlist is in, tlist mod is called. And normally tlist post is closed so is first and last and it is parsed two times. >:(

In this way tlist can ignore the 'preview' call
In Sources/Subs.php
find
function topic_list($parms, $board)
{
global $db_prefix, $settings, $modSettings;


replace with
function topic_list($parms, $board)
{
global $db_prefix, $settings, $modSettings, $context;

if ( !isset($context['current_topic']) )
return '';

if ($context['current_topic'] == 0)
return '';


On my server, with ~ 600 users online

Before
(http://img8.imageshack.us/img8/4309/before.gif)
After
(http://img193.imageshack.us/img193/5819/after.gif)


Title: Re: Topics list support
Post by: Milo_link on July 23, 2009, 12:32:15 PM
hi T@by,is it possible to add the ranks of users?

please!!!!!!!
Title: Re: Topics list support
Post by: T@by on July 23, 2009, 12:40:26 PM
yes yes
but probably you need to add postername and rank, correct?
Title: Re: Topics list support
Post by: Milo_link on July 23, 2009, 08:00:56 PM
I've already added the postername,I need to add the rank

   
thanks for Hear
Title: Re: Topics list support
Post by: T@by on July 24, 2009, 04:01:51 AM
Quoteis it possible to add the name of the user who has posted and his rank?

edit sources/Subs.php

find
t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon
replace with
t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon, m.posterName, mem.ID_POST_GROUP, mg.groupName

find
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
replace with
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)
LEFT JOIN {$db_prefix}membergroups AS mg ON (mg.ID_GROUP = mem.ID_POST_GROUP)


find
$data[] = array('cleantitle' => $ctitle,'title' => $th_row['subject'], 'tid' => $th_row['ID_TOPIC'],'icon_id' => $th_row['icon']);
replace with
$data[] = array('cleantitle' => $ctitle,'title' => $th_row['subject'], 'tid' => $th_row['ID_TOPIC'],'icon_id' => $th_row['icon'],'author' => $th_row['posterName'], 'authorgroup' => $th_row['groupName']);

find
$tmp = str_replace("{TOPIC_ID}", $row['tid'], $tmp);
add after (in a new line)

$tmp = str_replace("{AUTHOR}", $row['author'], $tmp);
$tmp = str_replace("{AUTHOR_GROUP}", $row['authorgroup'], $tmp);

save

edit [theme]/index.template.php

find
$answ .= '<td class="tlistcol2"><a href="'.$scripturl.'?topic={TOPIC_ID}">{TOPIC_TITLE}</a></td></tr>';
replace with
$answ .= '<td class="tlistcol2"><a href="'.$scripturl.'?topic={TOPIC_ID}">{TOPIC_TITLE}</a>&nbsp;<span style="font-size:11px;"> by {AUTHOR}, {AUTHOR_GROUP}</span></td></tr>';

save
Title: Re: Topics list support
Post by: akbora on July 24, 2009, 07:25:29 AM
Dear Tobby, is it possible sorting as sending or opening date these topics, top of the topiclist already there is A,B,C, .....

Thank you
Title: Re: Topics list support
Post by: T@by on July 24, 2009, 09:54:18 AM
sort is already provided by MessageIndex. you don't need a mod for this
Title: Re: Topics list support
Post by: Milo_link on July 24, 2009, 09:40:32 PM
Quote from: T@by on July 24, 2009, 04:01:51 AM
Quoteis it possible to add the name of the user who has posted and his rank?

edit sources/Subs.php

find
t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon
replace with
t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon, m.posterName, mem.ID_POST_GROUP, mg.groupName

find
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
replace with
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)
LEFT JOIN {$db_prefix}membergroups AS mg ON (mg.ID_GROUP = mem.ID_POST_GROUP)


find
$data[] = array('cleantitle' => $ctitle,'title' => $th_row['subject'], 'tid' => $th_row['ID_TOPIC'],'icon_id' => $th_row['icon']);
replace with
$data[] = array('cleantitle' => $ctitle,'title' => $th_row['subject'], 'tid' => $th_row['ID_TOPIC'],'icon_id' => $th_row['icon'],'author' => $th_row['posterName'], 'authorgroup' => $th_row['groupName']);

find
$tmp = str_replace("{TOPIC_ID}", $row['tid'], $tmp);
add after (in a new line)

$tmp = str_replace("{AUTHOR}", $row['author'], $tmp);
$tmp = str_replace("{AUTHOR_GROUP}", $row['authorgroup'], $tmp);

save

edit [theme]/index.template.php

find
$answ .= '<td class="tlistcol2"><a href="'.$scripturl.'?topic={TOPIC_ID}">{TOPIC_TITLE}</a></td></tr>';
replace with
$answ .= '<td class="tlistcol2"><a href="'.$scripturl.'?topic={TOPIC_ID}">{TOPIC_TITLE}</a>&nbsp;<span style="font-size:11px;"> by {AUTHOR}, {AUTHOR_GROUP}</span></td></tr>';

save

thanks,thansk you very much
Title: Re: Topics list support
Post by: meko me on July 25, 2009, 06:16:16 AM
omg ausum mode babes  :o

i was looking fr something like this  :D :D :D :D

thanx muah   :-*
Title: Re: Topics list support
Post by: abraamz on July 26, 2009, 09:50:46 AM
hallo, great mod
i tried to change my forum in utf8 and this wonderfull mod stoped working properly.

here is what i get:

Quote0 - 9|Α|Β|Γ|Δ|Ε|Ζ|Η|Θ|Ι|Κ|Λ|Μ|Ν|Ξ|Ο|Π|Ρ|Σ|Τ|Υ|Φ|Χ|Ψ|Ω
0|9
Α|
Β|
Γ|
Ε|
Ζ|
Η|
Θ|
Ι|
Κ|
Λ|
Μ|
Ν|
Ξ|
Ο|
Π|
Ρ|
Σ|
Τ|
Υ|
Φ|
Χ|
Ψ|
Ω|

instead of the regular message with links

Do you know what the problem is?
should i reinstall this?

---edit---
The problem is not about utf8. The problem happened after i changed server.
The new one is not apache but lighttpd.
Is this mod apache depended in some part of its code?
Title: Re: Topics list support
Post by: abraamz on August 02, 2009, 05:55:24 PM
bump
Title: Re: Topics list support
Post by: Özgür on August 02, 2009, 06:19:44 PM
@t@by forgive me but whats going on the ssi function ? =)
Title: Re: Topics list support
Post by: T@by on August 03, 2009, 09:03:11 AM
Quote from: abraamz on July 26, 2009, 09:50:46 AM
hallo, great mod
i tried to change my forum in utf8 and this wonderfull mod stoped working properly.
you are using greek and utf8. characters are coded with 2 bytes instead of 1, so the mod, which use regular expressions, doesn't work. Is a mySQL issue.
Title: Re: Topics list support
Post by: abraamz on August 04, 2009, 08:44:22 AM
Quote from: abraamz on July 26, 2009, 09:50:46 AM
---edit---
The problem is not about utf8. The problem happened after i changed server.
The new one is not apache but lighttpd.
Is this mod apache depended in some part of its code?

The utf8 happened on my test forum.
On my regular site the mod stoped working. I dont know when exactly but i have upgraded to 1.1.10 and changed server. (currently on lighttpd)
I have checked all required files and everything seems installed ok. Maybe its a setting related to sql orsomething like that?
How can i troubleshoot this?
Title: Re: Topics list support
Post by: T@by on August 04, 2009, 01:22:00 PM
@abraamz check your index.template.php (of your theme). seems you have not the tlist_bits function.
@[Daydreamer] tomorrow I'll prepare something for you
Title: Re: Topics list support
Post by: abraamz on August 04, 2009, 03:15:05 PM
All the files are ok
I found the solution to my problems

I had this mod and other like cbi not working and realized that i couldnt edit my template or css through admin area of my forum.
The solution was that the address of my theme directory was wrong in the admin area. I corrected that and everything start working again. (repair_settings can repair only the default theme)
Anyway, T@by thanks for one of the most useful mods in smf.
Title: Re: Topics list support
Post by: T@by on August 06, 2009, 04:32:07 AM
@[Daydreamer]
I sent you the SSI code by pm

I'm out for 3 weeks
Title: Re: Topics list support
Post by: MUSTAfaINE on August 10, 2009, 07:48:04 AM
i want this mod in smf 2.0 RC1.2 is it possible ?
Title: Re: Topics list support
Post by: Nibogo on August 10, 2009, 02:56:52 PM
Quote from: MUSTAfaINE on August 10, 2009, 07:48:04 AM
i want this mod in smf 2.0 RC1.2 is it possible ?

Works great on SMF 2.0 RC1.2 if you can't install it use emulate_version with SMF 2.0 RC1
Title: Re: Topics list support
Post by: MUSTAfaINE on August 11, 2009, 03:35:06 AM
NIBOGO thanks it worked know that very important mod for my site..
Title: Re: Topics list support
Post by: holly.celeb.fan on August 28, 2009, 02:10:07 AM
Thanks Super Mod...
Title: Re: Topics list support
Post by: neo2504 on August 28, 2009, 07:53:50 AM
It works very good, but on my forum I have some topics whos name begin with


- or $ or \

how can I add the topics that begin witha a symbol in the list ?

grazie mille in anticipo
Title: Re: Topics list support
Post by: frx on August 30, 2009, 01:35:15 PM
Quote from: T@by on August 06, 2009, 04:32:07 AM
@[Daydreamer]
I sent you the SSI code by pm

I'm out for 3 weeks

Can I also have the SSI function? And some instructions on how to make it work. Please.
Title: Re: Topics list support
Post by: julian90 on September 02, 2009, 01:08:14 PM
Hi all, I'd like to ask something.

I know that this MOD can also read TAGs and convert them into images and show them into the list. So, for example, if I've a topic with [IT] and I will see a little flag of Italy (picture) into the list next to that topic title.

Is it possible to do it by modifying directly the MOD before installing that? So that as I install it I've all done.

Thanks :)
Title: Re: Topics list support
Post by: Dzonny on September 21, 2009, 12:49:03 PM
Hello there,

I have Pretty URLs mod installed and i cant take Topic list to work. When i try it shows me a topics from board with ID=1.
So, is there a way to get this worked with pretty urls mod?
Title: Re: Topics list support
Post by: ArkServer on September 21, 2009, 01:23:07 PM
I had a PM about where to download my little application to generate the code for the index to copy/paste on the forums so i've uploaded it here: http://retardedweblogger.com/blog/2009/09/21/topiclist-board-generator-a-plugin-for-smf/
Title: Re: Topics list support
Post by: Dzonny on September 22, 2009, 06:50:18 AM
Quote from: Dzonny on September 21, 2009, 12:49:03 PM
Hello there,

I have Pretty URLs mod installed and i cant take Topic list to work. When i try it shows me a topics from board with ID=1.
So, is there a way to get this worked with pretty urls mod?
Sorry, i've sorted this, it has no connection with pretty urls, that was my mistake...

Regards.

Edit:
Okay, can this work with [tlist=boardName]A|[/tlist]
Couse i can do it with [tlist=1]A|[/tlist], but if there's way i would like to use first tag also...


Title: Re: Topics list support
Post by: superbiagi on October 26, 2009, 02:55:16 PM
I really like this mod.

is there a way to add also locked topics to the list? ^_^
Title: Re: Topics list support
Post by: T@by on October 27, 2009, 11:27:25 AM
Quote from: superbiagi on October 26, 2009, 02:55:16 PM
is there a way to add also locked topics to the list? ^_^

edit Subs.php
find
WHERE t.ID_BOARD = $board AND t.locked = 0 AND t.isSticky = 0 AND ( subject REGEXP \"$my_regexp\" )"

replace with

if you need to list locked topics
WHERE t.ID_BOARD = $board AND t.isSticky = 0 AND ( subject REGEXP \"$my_regexp\" )"

if you need to list locked and stickyed topics
WHERE t.ID_BOARD = $board AND ( subject REGEXP \"$my_regexp\" )"
Title: Re: Topics list support
Post by: T@by on October 27, 2009, 11:28:34 AM
@Dzonny
Sorry, I never used Pretty URLs mod

@ArkServer
Can I add to first post the link to your code generator?

@ALL
take a look here
http://www.simplemachines.org/community/index.php?topic=272959.msg2172418#msg2172418
Title: Re: Topics list support
Post by: meko me on November 05, 2009, 12:18:28 AM
Quote from: NIBOGO on November 10, 2008, 04:20:11 PM
This one:

Quote from: T@by on November 10, 2008, 03:24:28 AM
A single board + child boards merged index

Thanks

update please please please  :'(
Title: Re: Topics list support
Post by: Tonyaag on November 13, 2009, 06:13:11 AM
Hi T@by

I cant install smf2.0 RC2

Can u update soon?

Thx in advance
Regards.
Title: Re: Topics list support
Post by: T@by on November 13, 2009, 08:42:12 AM
Updated for SMF 2.0 RC2

According with new Admin Panel layout I moved TList limit setting to
Configuration -> Modification Settings -> Miscellaneous
Title: Re: Topics list support
Post by: Tonyaag on November 13, 2009, 10:37:58 AM
Quote from: T@by on November 13, 2009, 08:42:12 AM
Updated for SMF 2.0 RC2

According with new Admin Panel layout I moved TList limit setting to
Configuration -> Modification Settings -> Miscellaneous

2Fast!!
Thank you so much!!!  ;)
Title: Re: Topics list support
Post by: raing3 on November 13, 2009, 06:46:32 PM
Thanks for the great SMF mod. It works great and the output looks so awesome and so much more convenient then updating the post a new topic is made. Great work!
Title: Re: Topics list support
Post by: RML on November 16, 2009, 02:25:27 PM
Quote from: T@by on July 23, 2009, 04:58:18 AM
@mforum
I found something wrong, not in tlist mod but in smf code.
It get a kind of 'post preview' at MessageIndex level reading 384 chars from DB both for first and last post of each topic in current board index. I don't understand why.

If the post with tlist is in, tlist mod is called. And normally tlist post is closed so is first and last and it is parsed two times. >:(

In this way tlist can ignore the 'preview' call
In Sources/Subs.php
find
function topic_list($parms, $board)
{
global $db_prefix, $settings, $modSettings;


replace with
function topic_list($parms, $board)
{
global $db_prefix, $settings, $modSettings, $context;

if ( !isset($context['current_topic']) )
return '';

if ($context['current_topic'] == 0)
return '';



It doesn't work on the 2.0 RC2 version. I got this error message:
Fatal error: Function name must be a string in *****\Sources\Subs.php on line 4229

Title: Re: Topics list support
Post by: T@by on November 17, 2009, 12:23:23 PM
The patch is NOT for SMF 2.0
Title: Re: Topics list support
Post by: sgsharetalk on December 02, 2009, 02:56:52 PM
Hi T@by, I need help. I see this error message The package you are trying to download or install is either corrupt or not compatible with this version of SMF.  after I update my SMF from 1.1.10 to 1.1.11, I deleted the mod and when try to reinstall , above message is displayed.

I am no good in programing . could you provide details step by step explanation on how to install it again as now the package manager don't allow to install.

Thank you in advance.
Title: Re: Topics list support
Post by: sgsharetalk on December 03, 2009, 12:34:09 AM
Anyone can help? thank you.
Title: Re: Topics list support
Post by: RML on December 03, 2009, 01:51:33 AM
Try the following: open the package-info.xml file with a text editor and look for these lines
<install for="1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.1.10">
<uninstall for="1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.1.10">
and modify them
<install for="1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.1.10,1.1.11">
<uninstall for="1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.1.10,1.1.11">
Title: Re: Topics list support
Post by: sgsharetalk on December 04, 2009, 02:45:59 AM
RML, appreciated you selfless help.  OK now .

Quote from: RML on December 03, 2009, 01:51:33 AM
Try the following: open the package-info.xml file with a text editor and look for these lines
<install for="1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.1.10">
<uninstall for="1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.1.10">
and modify them
<install for="1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.1.10,1.1.11">
<uninstall for="1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.1.10,1.1.11">
Title: Re: Topics list support
Post by: sgsharetalk on December 04, 2009, 02:49:58 AM
I also interested to set up Topics list on two different board but just couldn't understand the step.  anyone can elaborate on .... ps I am not programing savvy

Quote from: T@by on February 17, 2009, 03:27:25 PM
Quote from: Özgür´ on February 17, 2009, 01:22:18 PM
Im using this mod.
I add to topic list in 2 topic. (Different board.)
But first topic and second topic are same. How do fix it ?

Look : http://www.rockayseri.net/rk/turk-rock-and-metal/rockayseride-bulunan-tum-yerli-gruplar/
And :  http://www.rockayseri.net/rk/yabanci-rock-and-metal/rockayseride-bulunan-tum-yabanci-gruplar/

Is very simple. You used 'dirty' bbcode.
Edit the incorrect topic. You will see something like '[tlist=2]' where '2' is the ID of the board (automatically added by the mod).
Delete the '=2' part OR substitute all copying the code in this post : http://www.simplemachines.org/community/index.php?topic=272959.msg1790809#msg1790809. All will be fine
Title: Re: Topics list support
Post by: sgsharetalk on December 07, 2009, 11:19:17 AM
Anyone can explain to me on how to set up Topics list on two different board ? also if possible to add the date (good to indicate Today,  yesterday ) and time and the last post name. hope I am not asking too much. Topic list is a great mod and could be further develop to provide multi-board Topic listing and even to list author name. just like organise a sub forum for author's homepage. Hope to see a complete mod soon.   :)
Title: Re: Topics list support
Post by: ŦώεαЖзяŁ on December 11, 2009, 09:39:10 AM
This is indeed an awesome mod, I do seem to have a problem in RC2 though... it seems that if a topic starts with a lowercase letter, it does not get added to the topic list.

Is this a normal behavior that can be changed or something I might have messed up?
Title: Re: Topics list support
Post by: T@by on December 15, 2009, 12:23:37 PM
cut from MySQL manual comes these enlightening facts:

Quote21.15 Case Sensitivity in Searches

By default, MySQL searches are case-insensitive (although there are some character sets that are never case insensitive, such as czech). That means that if you search with col_name LIKE 'a%', you will get all column values that start with A or a. If you want to make this search case-sensitive, use something like INDEX(col_name, "A")=0 to check a prefix. Or use STRCMP(col_name, "A") = 0 if the column value must be exactly "A".

Simple comparison operations (>=, >, = , < , <=, sorting and grouping) are based on each character's ``sort value''. Characters with the same sort value (like E, e and é) are treated as the same character!
Title: Re: Topics list support
Post by: ŦώεαЖзяŁ on December 17, 2009, 02:38:43 PM
I'm using utf_bin character set... could that be the cause?
Title: Re: Topics list support
Post by: ŦώεαЖзяŁ on December 23, 2009, 12:33:21 PM
just an update, using utf8_bin caused the problem, switching to utf8_general_ci solved it
Title: Re: Topics list support
Post by: Bijan641 on January 15, 2010, 08:43:33 PM
Hey, I was wondering if you could tell me how to list topics from just one board. I don't mean using the mod, because I don't need it listed on the forums, I just need a list to be output to a file that I can read from. Also, how would you list it chronologically?

I know this is kind of a specific question not exactly related to the mod. Any help you could give me would be greatly appreciated. Thanks.
Title: Re: Topics list support
Post by: PalmBeachPreps on January 17, 2010, 09:36:12 PM
Great mod!  Installed flawlessly on RC2 forum.  Thanks!!!
Title: Re: Topics list support
Post by: farao25 on February 13, 2010, 12:40:04 PM
Hi!!!
SMF 2.0 RC2 : Is it possible to put next to the title of the post the name of the user who has posted ?
In this topic you've posted the fix for SMF 2.0 RC1. Will it work for SMF 2.0 RC2 too ?
Title: Re: Topics list support
Post by: davidhs on February 28, 2010, 11:33:48 AM
The spanish_es translation for Topics list support 1.05 is


<?php

$txt
['limitTListQuery'] = 'Número máximo de temas listados por Topics List<div class="smalltext">(0 indica sin límite)</div>';

?>

Title: Re: Topics list support
Post by: rocknroller on March 03, 2010, 01:32:04 PM
thank you for this mod, I have a problem.
Links in Topic title list are broken, all title topic link go on my index forum page.

Need help, what i can do?

over here: http://www.logooff.net/smf2/index.php?topic=54.msg112#msg112


Title: Re: Topics list support - How to include boards and/or child-boards
Post by: waruna on March 03, 2010, 02:52:25 PM
Quote from: T@by on February 18, 2009, 04:06:42 AM
Quote from: NIBOGO on February 17, 2009, 05:59:03 PM
The child-boards support will be a nice addon for this mod and yep is useful to me :)

This is the solution NOT for child-boards but for an extended and more flexible concept: multiboard. It may include boards and/or child-boards.

Edit sources/subs.php

Find
WHERE t.ID_BOARD = $board AND

Replace with
WHERE t.ID_BOARD IN ($board) AND

Save

Edit your TList topics and add to each TLIST tag the ID of each desired board, comma separed
Something like [TLIST=2,4,5]A|[/TLIST]

Thanks for this. One quick question. Is it possible to put in which board that topic belongs to in bracket?? For example like this:

A
A Man From the Moon (General Discussion)
Amphibian Photos (Animal Planet)
Anecdote collection (Poetry Room)

B
Basketball Club! (Sports)
Be a man (Poetry)
Best of the best (Film & TV Series)

... and so on..

Thanks in advance
Title: Re: Topics list support
Post by: davidhs on March 04, 2010, 06:09:18 PM
Quote from: rocknroller on March 03, 2010, 01:32:04 PM
thank you for this mod, I have a problem.
Links in Topic title list are broken, all title topic link go on my index forum page.

Need help, what i can do?

over here: http://www.logooff.net/smf2/index.php?topic=54.msg112#msg112

You must write [tlist] tags without number of board (default board is current board, 61 in your example):

[tlist]0|9[/tlist]
[tlist]A|[/tlist]
[tlist]B|[/tlist]
...
[tlist]X|[/tlist]
[tlist]Y|[/tlist]
[tlist]Z|[/tlist]


or with number of board:

[tlist=61]0|9[/tlist]
[tlist=61]A|[/tlist]
[tlist=61]B|[/tlist]
...
[tlist=61]X|[/tlist]
[tlist=61]Y|[/tlist]
[tlist=61]Z|[/tlist]

Title: Re: Topics list support
Post by: rocknroller on March 05, 2010, 06:42:13 AM
EDIT: MY BAD, I was erase $tmp = str_replace("{TOPIC_ID}", $row['tid'], $tmp); from subs.php
Work NOW!


Quote
You must write [tlist] tags without number of board (default board is current board, 61 in your example):

[tlist]0|9[/tlist]
[tlist]A|[/tlist]
[tlist]B|[/tlist]
...
[tlist]X|[/tlist]
[tlist]Y|[/tlist]
[tlist]Z|[/tlist]


or with number of board:

[tlist=61]0|9[/tlist]
[tlist=61]A|[/tlist]
[tlist=61]B|[/tlist]
...
[tlist=61]X|[/tlist]
[tlist=61]Y|[/tlist]
[tlist=61]Z|[/tlist]


I dont get it.

Here is my code now, and i can see all boards, but all links go on index page.
Links look like this http://forumfolder/index.php?topic={TOPIC_ID}

[tlist=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61]D|[/tlist]


When I put code like that, I can not see all boards.


[tlist]Y|[/tlist]
OR
[tlist=61]Z|[/tlist]



Title: Re: Topics list support
Post by: davidhs on March 05, 2010, 01:06:22 PM
Quote from: rocknroller on March 05, 2010, 06:42:13 AM
Here is my code now, and i can see all boards, but all links go on index page.
Links look like this http://forumfolder/index.php?topic={TOPIC_ID}

[tlist=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61]D|[/tlist]


When I put code like that, I can not see all boards.


[tlist]Y|[/tlist]
OR
[tlist=61]Z|[/tlist]


This MOD only shows one board. This do not work:
[tlist=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61]D|[/tlist]


For show index of two or more boards, you need modify this MOD (see http://www.simplemachines.org/community/index.php?topic=272959.msg1938771#msg1938771 )
Title: Re: Topics list support
Post by: davidhs on March 05, 2010, 01:38:10 PM
Quote from: waruna on March 03, 2010, 02:52:25 PM
One quick question. Is it possible to put in which board that topic belongs to in bracket?? For example like this:

A
A Man From the Moon (General Discussion)
Amphibian Photos (Animal Planet)
Anecdote collection (Poetry Room)

B
Basketball Club! (Sports)
Be a man (Poetry)
Best of the best (Film & TV Series)

... and so on..

Thanks in advance
I have not tried it, but I think that works:

Edit sources/Subs.php

Find:

t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon

Replace with:

t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon, b.name


Find:

LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)

Add after:

LEFT JOIN {$db_prefix}boards AS b ON (b.ID_BOARD = t.ID_BOARD)


Find:

$data[] = array('cleantitle' => $ctitle,'title' => $th_row['subject'], 'tid' => $th_row['ID_TOPIC'],'icon_id' => $th_row['icon']);

Replace with:

$data[] = array('cleantitle' => $ctitle,'title' => $th_row['subject'], 'tid' => $th_row['ID_TOPIC'],'icon_id' => $th_row['icon'], 'board' => $th_row['name']);


Find:

$answ .= str_replace("{TOPIC_TITLE}", $row['title'], $tmp);

Replace with:

$answ .= str_replace("{TOPIC_TITLE}", $row['title'] . " (" . $row['board'] . ")", $tmp);
Title: Re: Topics list support
Post by: waruna on March 05, 2010, 03:11:41 PM
@ davidhs: It works like a charm!. Thanks buddy. Really appreciates your help.!
Title: Re: Topics list support
Post by: farao25 on March 05, 2010, 04:25:59 PM
Quote from: davidhs on March 05, 2010, 01:38:10 PM
Quote from: waruna on March 03, 2010, 02:52:25 PM
One quick question. Is it possible to put in which board that topic belongs to in bracket?? For example like this:

A
A Man From the Moon (General Discussion)
Amphibian Photos (Animal Planet)
Anecdote collection (Poetry Room)

B
Basketball Club! (Sports)
Be a man (Poetry)
Best of the best (Film & TV Series)

... and so on..

Thanks in advance
I have not tried it, but I think that works:

Edit sources/Subs.php

Find:

t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon

Replace with:

t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon, b.name


Find:

LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)

Add after:

LEFT JOIN {$db_prefix}boards AS b ON (b.ID_BOARD = t.ID_BOARD)


Find:

$data[] = array('cleantitle' => $ctitle,'title' => $th_row['subject'], 'tid' => $th_row['ID_TOPIC'],'icon_id' => $th_row['icon']);

Replace with:

$data[] = array('cleantitle' => $ctitle,'title' => $th_row['subject'], 'tid' => $th_row['ID_TOPIC'],'icon_id' => $th_row['icon'], 'board' => $th_row['name']);


Find:

$answ .= str_replace("{TOPIC_TITLE}", $row['title'], $tmp);

Replace with:

$answ .= str_replace("{TOPIC_TITLE}", $row['title'] . " (" . $row['board'] . ")", $tmp);


Hello again!!!
Excellent support. Is there any way to put after  the board that topic belongs to in bracket, the post author ? (General Discussion) by farao25 for example.
Thanks in advance.
Title: Re: Topics list support
Post by: davidhs on March 06, 2010, 06:59:30 AM
Quote from: farao25 on March 05, 2010, 04:25:59 PM
Is there any way to put after  the board that topic belongs to in bracket, the post author ? (General Discussion) by farao25 for example.
See http://www.simplemachines.org/community/index.php?topic=272959.msg2173884#msg2173884
Title: Re: Topics list support
Post by: farao25 on March 16, 2010, 04:54:22 AM
Hi m8s !!!
Is this superb mod compatible with 2.0 RC3 ?
Title: Re: Topics list support
Post by: meko me on March 17, 2010, 11:14:11 AM
mr T@by  please update this mod for RC3 :)
Title: Re: Topics list support
Post by: meko me on April 01, 2010, 12:48:11 PM
we need update update update please  :'( :'( :'( :'( :'( :'(
Title: Re: Topics list support
Post by: aelmiger on August 07, 2010, 04:25:29 PM
Working with RC3  :D
Title: Re: Topics list support
Post by: T@by on August 31, 2010, 09:02:11 AM
Quote from: meko me on April 01, 2010, 12:48:11 PM
we need update update update please  :'( :'( :'( :'( :'( :'(

still waiting for the final version of SMF
Title: Re: Topics list support
Post by: michelangelo on September 13, 2010, 08:40:52 AM
Hi, is I have a real big forum and this topic saves tons of time to manage the topic list. But lately the traffic has increased and the loading time becomes really slow. I tried to split the indexes into several topics, but now even just loading the topic index becomes very slow. What suggestions do you have except for splitting the topic?
Title: Re: Topics list support
Post by: michelangelo on September 16, 2010, 07:38:22 PM
No reply? Is there a way to change the mod that it saves caches the list in a flat file and updates the list only once a day? Or maybe save the list in the database as a real post.
Title: Re: Topics list support
Post by: FragaCampos on September 18, 2010, 08:05:32 PM
Well, i stopped using this mod in heavy boards just because of that...
I started using this (http://custom.simplemachines.org/mods/index.php?mod=1970) mod instead.
Title: Re: Topics list support
Post by: mladja037 on February 08, 2011, 02:40:23 PM
for rc4?
Title: Re: Topics list support
Post by: meko me on April 06, 2011, 10:22:19 PM
RC5 pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee i beg of u pleaseeeeeeeeeeee taby pleaseeeeeeeeeeeeeeeeeeeeeee
Title: Re: Topics list support
Post by: T@by on April 08, 2011, 12:28:11 PM
NO RC support
I'm waiting for the final version
Title: Re: Topics list support
Post by: farao25 on April 12, 2011, 07:12:49 PM
i installed it on 2.0 RC5 clean install and it works fine.
Title: Re: Topics list support
Post by: Alpay on April 14, 2011, 01:41:51 PM
Quote from: T@by on April 08, 2011, 12:28:11 PM
NO RC support
I'm waiting for the final version

wait one year..

2.0 RC1.2 released  July 24, 2009,
SMF 2.0 Release Candidate 3 is out! March 11, 2010,
rc 5 .. April 08, 2011,
Title: Re: Topics list support
Post by: aelmiger on June 18, 2011, 11:38:57 AM
Hello friend, wanted to ask if it forms someone in order that the mod reads all the post it has indexed in the topic and say it all those it is.

Sorry for my bad english
Title: Re: Topics list support
Post by: Alpay on June 18, 2011, 01:05:28 PM
Quote from: T@by on April 08, 2011, 12:28:11 PM
NO RC support
I'm waiting for the final version

up :)
Title: Re: Topics list support
Post by: Darknico on June 20, 2011, 07:21:03 AM
Quote from: farao25 on April 12, 2011, 07:12:49 PM
i installed it on 2.0 RC5 clean install and it works fine.

Confirm!
I test too on SMF 2.0 Gold and work fine ;)
Title: Re: Topics list support
Post by: farao25 on June 27, 2011, 12:22:01 AM
i need your lights here. Although i installed this mod on SMF 2.0 Gold without errors (upgrade from RC2) i get this message in the topics that were using the mod:
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 '77,74,76,97,73,75,84,92,78,94,79,83,99,80,82,87,86,85 AND t.locked = 0 AND t.is_' at line 5
File: /......./....../....../...../..../Sources/Subs.php
Line: 5364
(using notepad++ line 5364 has ");"

Any ideas what causing this problem ?
Title: Re: Topics list support
Post by: T@by on June 30, 2011, 09:11:47 AM
Using my magic sphere.... multi board support is required
Please check http://www.simplemachines.org/community/index.php?topic=272959.msg1938771#msg1938771
Title: Re: Topics list support
Post by: T@by on June 30, 2011, 10:26:36 AM
Quote from: Darknico on June 20, 2011, 07:21:03 AM
I test too on SMF 2.0 Gold and work fine ;)
tb_tlist_v1.05_smf2.0RC2.zip tested on SMF 2.0 Final. Seems working fine
Title: Re: Topics list support
Post by: pendrakon on March 15, 2012, 03:33:29 PM
hi, i install this mod in 2.0.2, install fine, but is not working, any ideas?
Title: Re: Topics list support
Post by: perfect1978 on April 21, 2013, 07:41:58 AM
help me I did the manual installation of SMF 2.0.4 but I do not work what should I do to make it go thanks
Title: Re: Topics list support
Post by: neo2504 on June 27, 2013, 05:11:06 AM
After installing without problems on 2.0.4, I made the topic correctly, it shows the list of the letters but doesn't show the topic in the list.
Can someone help me ?
Title: Re: Topics list support
Post by: abraamz on April 17, 2015, 02:29:59 PM
I need some support with this mod please.
I have upgraded to 2.0.9 from 2.0.3
I have errors like these:
QuoteUnknown column 'b.board_order' in 'order clause'
File: /home/www/abraamz/mwrakia.gr/www/smf/Sources/Subs.php
Line: 4662

Σημείωση: Η βάση δεδομένων σας πιθανόν να χρειάζεται αναβάθμιση. Τα αρχεία του φόρουμ είναι έκδοσης SMF 2.0.9, ενώ η βάση δεδομένων είναι σε έκδοση 2.0.2. Το παραπάνω σφάλμα πιθανότατα θα διορθωθεί αν εκτελέσετε την τελευταία έκδοση του upgrade.php
The Greek text says in other words that your database might need upgrading. Forum files are 2.0.9 version but database is in version 2.0.2 You can probably repair this by running upgrade.php
If I remember corectly this will wipe out all files to the default versions so its not a good option now.

Inside my Subs.php there are 2 functions related to this mod.
The error according to SMF's error log is in the last line of this SQL:
Quote"SELECT
         t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon
      FROM ({$db_prefix}topics AS t)
         LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
      WHERE t.ID_BOARD = $board AND t.locked = 0 AND t.is_Sticky = 0 AND ( subject REGEXP \"$my_regexp\" )"
      . (empty($modSettings['limitTListQuery']) ? '' : "
       LIMIT ".$modSettings['limitTListQuery'])
       );
and this SQL is part of the code below:
code
EDIT: Due to a problem posting the code is attached in the doc file


Can any kind soul provide an easy fix for this?
If not I will have to uninstall but I thought this to be an interesting mod!
Title: Re: Topics list support
Post by: Horme Gaming on April 17, 2015, 06:15:00 PM
yasou, firstly this mod isnt really compatible with 2.0.9, their are numerous changes since 2.0 RC2, for the database well that is an issue not related to the mod, you said you pgraded for 2.0.2 to 2.0.9 how did you do this? was it with large upgrade? or individual update patches?

As for error with the mod I cant help as I am not good with sql, sygnomi.
Title: Re: Topics list support
Post by: abraamz on April 18, 2015, 05:28:52 AM
The database message appears only when I try to reach a post using this mod. I have not seen this message in other parts of the forum. So I thought it might be related to the mod.
I did all the updates with packages, one after the other. In a couple of cases I had to manually edit some files but that wasn't a problem.
I thought that those small updates did not touch the database!?

I like the spelling of your name  Ρούνικ.
Its somewhat weird. You are looking forward to come to Greece for the summer and I am trying to find better paid work in UK!
Title: Re: Topics list support
Post by: Lucarella on December 13, 2015, 04:39:14 AM
Hello,
with this mod I get this error, not sure why it works with MariaDB

(http://s25.postimg.org/yvjft9q7z/Screen_Shot_12_13_15_at_10_32_AM.png)


Is there a solution?

Thank you
Title: Re: Topics list support
Post by: Lucarella on January 28, 2016, 12:06:44 PM
This is the solution for MariaDB
(http://s11.postimg.org/nb33eykwz/maria_DB.png)

Thanks to T@by :)
Title: Re: Topics list support
Post by: Alpay on September 02, 2016, 05:22:51 AM
Quote from: abraamz on April 17, 2015, 02:29:59 PM
I need some support with this mod please.
I have upgraded to 2.0.9 from 2.0.3
I have errors like these:
QuoteUnknown column 'b.board_order' in 'order clause'
File: /home/www/abraamz/mwrakia.gr/www/smf/Sources/Subs.php
Line: 4662

Σημείωση: Η βάση δεδομένων σας πιθανόν να χρειάζεται αναβάθμιση. Τα αρχεία του φόρουμ είναι έκδοσης SMF 2.0.9, ενώ η βάση δεδομένων είναι σε έκδοση 2.0.2. Το παραπάνω σφάλμα πιθανότατα θα διορθωθεί αν εκτελέσετε την τελευταία έκδοση του upgrade.php
The Greek text says in other words that your database might need upgrading. Forum files are 2.0.9 version but database is in version 2.0.2 You can probably repair this by running upgrade.php
If I remember corectly this will wipe out all files to the default versions so its not a good option now.

Inside my Subs.php there are 2 functions related to this mod.
The error according to SMF's error log is in the last line of this SQL:
Quote"SELECT
         t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon
      FROM ({$db_prefix}topics AS t)
         LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
      WHERE t.ID_BOARD = $board AND t.locked = 0 AND t.is_Sticky = 0 AND ( subject REGEXP \"$my_regexp\" )"
      . (empty($modSettings['limitTListQuery']) ? '' : "
       LIMIT ".$modSettings['limitTListQuery'])
       );
and this SQL is part of the code below:
code
EDIT: Due to a problem posting the code is attached in the doc file


Can any kind soul provide an easy fix for this?
If not I will have to uninstall but I thought this to be an interesting mod!

Solition:

Subs.php
Code (find) Select

$request = $smcFunc['db_query']('boardindex_fetch_boards',
"SELECT
t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon
FROM ({$db_prefix}topics AS t)
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
messages AS m = boards AS b m.ID_MSG = b.id_board t.ID_FIRST_MSG = t.id_board
WHERE t.ID_BOARD = $board AND t.locked = 0 AND t.is_Sticky = 0 AND ( subject REGEXP \"$my_regexp\" )"
. (empty($modSettings['limitTListQuery']) ? '' : "
LIMIT ".$modSettings['limitTListQuery'])
);


Code (replace) Select

$request = $smcFunc['db_query']('boardindex_fetch_boards',
"SELECT
t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon
FROM ({$db_prefix}topics AS t)
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
LEFT JOIN {db_prefix}boards AS b ON (b.id_board = t.id_board)
messages AS m = boards AS b m.ID_MSG = b.id_board t.ID_FIRST_MSG = t.id_board
WHERE t.ID_BOARD = $board AND t.locked = 0 AND t.is_Sticky = 0 AND ( subject REGEXP \"$my_regexp\" )"
. (empty($modSettings['limitTListQuery']) ? '' : "
LIMIT ".$modSettings['limitTListQuery'])
);


Ty : Yağız...
Title: Re: Topics list support
Post by: skb on September 02, 2016, 07:00:19 AM
Installed the Mod & tried to create the topic list. I get this error

Unknown column 'b.board_order' in 'order clause'
File: /home/diabesv6/public_html/forum/Sources/Subs.php
Line: 4571

Help ?
Title: Re: Topics list support
Post by: Alpay on September 03, 2016, 05:05:40 AM
@skb

Quote from: Alpay on September 02, 2016, 05:22:51 AM
Quote from: abraamz on April 17, 2015, 02:29:59 PM
I need some support with this mod please.
I have upgraded to 2.0.9 from 2.0.3
I have errors like these:
QuoteUnknown column 'b.board_order' in 'order clause'
File: /home/www/abraamz/mwrakia.gr/www/smf/Sources/Subs.php
Line: 4662

Σημείωση: Η βάση δεδομένων σας πιθανόν να χρειάζεται αναβάθμιση. Τα αρχεία του φόρουμ είναι έκδοσης SMF 2.0.9, ενώ η βάση δεδομένων είναι σε έκδοση 2.0.2. Το παραπάνω σφάλμα πιθανότατα θα διορθωθεί αν εκτελέσετε την τελευταία έκδοση του upgrade.php
The Greek text says in other words that your database might need upgrading. Forum files are 2.0.9 version but database is in version 2.0.2 You can probably repair this by running upgrade.php
If I remember corectly this will wipe out all files to the default versions so its not a good option now.

Inside my Subs.php there are 2 functions related to this mod.
The error according to SMF's error log is in the last line of this SQL:
Quote"SELECT
         t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon
      FROM ({$db_prefix}topics AS t)
         LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
      WHERE t.ID_BOARD = $board AND t.locked = 0 AND t.is_Sticky = 0 AND ( subject REGEXP \"$my_regexp\" )"
      . (empty($modSettings['limitTListQuery']) ? '' : "
       LIMIT ".$modSettings['limitTListQuery'])
       );
and this SQL is part of the code below:
code
EDIT: Due to a problem posting the code is attached in the doc file


Can any kind soul provide an easy fix for this?
If not I will have to uninstall but I thought this to be an interesting mod!

Solition:

Subs.php
Code (find) Select

$request = $smcFunc['db_query']('boardindex_fetch_boards',
"SELECT
t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon
FROM ({$db_prefix}topics AS t)
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
messages AS m = boards AS b m.ID_MSG = b.id_board t.ID_FIRST_MSG = t.id_board
WHERE t.ID_BOARD = $board AND t.locked = 0 AND t.is_Sticky = 0 AND ( subject REGEXP \"$my_regexp\" )"
. (empty($modSettings['limitTListQuery']) ? '' : "
LIMIT ".$modSettings['limitTListQuery'])
);


Code (replace) Select

$request = $smcFunc['db_query']('boardindex_fetch_boards',
"SELECT
t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon
FROM ({$db_prefix}topics AS t)
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
LEFT JOIN {db_prefix}boards AS b ON (b.id_board = t.id_board)
messages AS m = boards AS b m.ID_MSG = b.id_board t.ID_FIRST_MSG = t.id_board
WHERE t.ID_BOARD = $board AND t.locked = 0 AND t.is_Sticky = 0 AND ( subject REGEXP \"$my_regexp\" )"
. (empty($modSettings['limitTListQuery']) ? '' : "
LIMIT ".$modSettings['limitTListQuery'])
);


Ty : Yağız...
Title: Re: Topics list support
Post by: skb on September 03, 2016, 07:21:57 AM
Thanks Alpay,

I unistalled the Mod yesterday. Now if I try to install the Mods the forum stops working. This has something to do with the edits that were required during unistall. I'll hold this project for another day.
Thank you so much.
Title: Re: Topics list support
Post by: skb on September 06, 2016, 02:28:02 AM
Alpay,

I extracted the subs.php from a week old backup. Uploaded it, reinstalled the package & applied the code edits in your post and now this error comes up when I try to create a Topic Index
QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'messages AS m = boards AS b m.ID_MSG = b.id_board t.ID_FIRST_MSG = t.id_board
' at line 6
File: /forum/Sources/Subs.php
Line: 4573

I'm using    ISO-8859-1 Language set. Maybe changing to utf-8 will solve the issue.
Title: Re: Topics list support
Post by: skb on September 06, 2016, 05:44:44 AM
I converted to utf-8 but the error still persists.
Title: Re: Topics list support
Post by: Cola-Coca on December 06, 2016, 06:00:12 PM
This mod is not compatible with SMF 2.0.12  :'( :'(
Title: Re: Topics list support
Post by: Cola-Coca on March 15, 2018, 03:57:44 PM
Hi,

I have the latest version of SMF installed 2.0.15 and i have the last version of this mod installed.
I use letters in the forum as: đ,ć,č,š

The mod works correctly when I use English letters, but if I put the letters in topic list such as "đ,ć,č,š" I get an error (see img):

(https://i.imgur.com/xkyRwrv.png)

Line 5016

$request = $smcFunc['db_query']('',
         "SELECT
            t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon
        FROM ({$db_prefix}topics AS t)
            LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
        WHERE t.ID_BOARD = $board AND t.locked = 0 AND t.is_Sticky = 0 AND ( subject REGEXP \"$my_regexp\" )"
        . (empty($modSettings['limitTListQuery']) ? '' : "
         LIMIT ".$modSettings['limitTListQuery'])
         );



The line 5016 is );
Does anyone help me solve this problem)
Thanks.


Title: Re: Topics list support
Post by: Cola-Coca on March 16, 2018, 03:23:46 PM
bumP!
Title: Re: Topics list support
Post by: Cola-Coca on March 17, 2018, 08:25:26 PM
Quote from: Cola-Coca on March 15, 2018, 03:57:44 PM
Hi,

I have the latest version of SMF installed 2.0.15 and i have the last version of this mod installed.
I use letters in the forum as: đ,ć,č,š

The mod works correctly when I use English letters, but if I put the letters in topic list such as "đ,ć,č,š" I get an error (see img):

(https://i.imgur.com/xkyRwrv.png)

Line 5016

$request = $smcFunc['db_query']('',
         "SELECT
            t.ID_TOPIC, t.ID_FIRST_MSG, m.subject, m.ID_MSG, m.icon
        FROM ({$db_prefix}topics AS t)
            LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
        WHERE t.ID_BOARD = $board AND t.locked = 0 AND t.is_Sticky = 0 AND ( subject REGEXP \"$my_regexp\" )"
        . (empty($modSettings['limitTListQuery']) ? '' : "
         LIMIT ".$modSettings['limitTListQuery'])
         );



The line 5016 is );
Does anyone help me solve this problem)
Thanks.

Can somebody help me with this problem please.   :'( :'( :'(