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.
Nice :)
Good mod ;)
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
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) ?
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>
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
1.1.7
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. ^_^
Do you plan to support 1.1.7 please?
Looks fantastic!
so perfect!!
Thanks!!
Thanks,
i was searching for mod like dis :X
Italian translate here
http://www.italiansmfmods.net/index.php?topic=378.0
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
Any plans on a 2. beta 4 version?
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
Still not final version. I hate RC too ::)
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> <span style="font-size:11px;">by {AUTHOR}</span></td></tr>';
save
That's All.
thanks :)
[email protected] can you make for work on rc1?
http://www.simplemachines.org/community/index.php?topic=272959.msg1916044#msg1916044
@
[email protected]: 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.
Quote from: [email protected] 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.
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
I've installed this mod manually for SMF 1.1.8, cause I use a customized theme...
it works fine :), thank you !
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
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/
This is the correct Brazilian-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 fó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';
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
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
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
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
Thank you
[email protected] 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>
A very handy Addition to my RC1 Forum
Thanks
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 >:(
Quote from: [email protected] 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
Now are 00:28 am here in Italy and i'm going to sleep.
Tomorrow morning you will find the code
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]
@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
Quote from: [email protected] 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. :)
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)
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 ;)
Thank you for this usefull mod
(i installed this in 1.1.8 manually)
Quote from: [email protected] 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 [email protected],
Can you tell me the way too ?
Best regards,
JW
Here:
http://www.simplemachines.org/community/index.php?topic=272959.msg1916169#msg1916169
great mod thx
Quote from: [email protected] 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> <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
@edi67
Are you using 2.0 or 1.1.8 ?
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> <span style="font-size:11px;">by {AUTHOR}</span></td></tr>';
Save
hello thanks alot for make this to smf 2rc1 ... how can i remove the message icon?
thanks
great mod... i like it... thanks
[email protected]
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
Very Very Good Mod
[email protected]
Hi
[email protected]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 ;)
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)
But, is it possible not to ignore? :(
Quote from: [email protected] 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> <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
Great mod, however it list ALL topics... how can I not show the "admin topics" side of it?
what is an "admin topic" ?
I received via PM this customization request
Quotehi [email protected], 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);
hi [email protected], 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]
hi please somebody
I don't understand your request
Which inputs? which range?
sorry haha,i said if it is possible to add, the ranks and post the user have
Yes is possible but there is no reason to do it, are not relevant datas and will slow down the query
Quote from: [email protected] 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
Great Mod!
But i have an "issue": there's a version for previous smf? :(
I have 1.1.1
Please,
there is any possibility to have this mod for smf 1.1.1? :8
No answer? :(
only the ranks please is very importan for my I would greatly appreciate
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?
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
Quote from: [email protected] 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!
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)
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
Quote from: [email protected] 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] ?
looking at your screenshot
tlistindex bbcode is ok
tlist bbcode is without [tlist=1,2,3,4]0|9[/tlist]
Quote from: [email protected] 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!
Quote from: [email protected] 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
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>
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.
:-\ 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;
Quote from: [email protected] 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
Yes, everything's fine now.
Thanks a lot!
[email protected], 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".
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.
How can i install this in smf 1.1.9??
following the manual installation
The code still Ok
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.
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
Quote from: [email protected] 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.
checked. is OK
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 >:( >:(
Are you using custom theme ?
Your links not opened.. Have you any error on error log?
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}"> </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
?>
Thank you so much!!! Now it works :P :P i love this mod, is perfect for my page.
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
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
Thanks your reply.
Toics starter with topics will be better?
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
Thanks daydreamer, well is it possible with category ID?
Quote from: [email protected] 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. :)
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
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.
[email protected] 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.
hi
[email protected],is it possible to add the ranks of users?
if so what should I do?
sorry for my english
Quote from: [email protected] 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 ?
maybe someone is opening the list topic or another topic or using the search or viewing the most recent posts on the forum
hi
[email protected],is it possible to add the ranks of users?
if so what should I do?
what do you mean? the rank title or the ranking image?
Bump :P
Quote from: [Daydreamer] on July 20, 2009, 11:21:34 AM
[email protected] 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.
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?
Quote from: [email protected] on July 22, 2009, 06:51:39 AM
what do you mean? the rank title or the ranking image?
"the rank title"
thanks
Quote from: [email protected] 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 =)
the rank title
thanks
[email protected]
@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)
hi
[email protected],is it possible to add the ranks of users?
please!!!!!!!
yes yes
but probably you need to add postername and rank, correct?
I've already added the postername,I need to add the rank
thanks for Hear
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> <span style="font-size:11px;"> by {AUTHOR}, {AUTHOR_GROUP}</span></td></tr>';
save
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
sort is already provided by MessageIndex. you don't need a mod for this
Quote from: [email protected] 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> <span style="font-size:11px;"> by {AUTHOR}, {AUTHOR_GROUP}</span></td></tr>';
save
thanks,thansk you very much
omg ausum mode babes :o
i was looking fr something like this :D :D :D :D
thanx muah :-*
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?
bump
@
[email protected] forgive me but whats going on the ssi function ? =)
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.
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?
@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
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,
[email protected] thanks for one of the most useful mods in smf.
@[Daydreamer]
I sent you the SSI code by pm
I'm out for 3 weeks
i want this mod in smf 2.0 RC1.2 is it possible ?
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
NIBOGO thanks it worked know that very important mod for my site..
Thanks Super Mod...
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
Quote from: [email protected] 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.
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 :)
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?
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/
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...
I really like this mod.
is there a way to add also locked topics to the list? ^_^
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\" )"
@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
Hi
[email protected]I cant install smf2.0
RC2Can u update soon?
Thx in advance
Regards.
Updated for SMF 2.0 RC2
According with new Admin Panel layout I moved TList limit setting to
Configuration -> Modification Settings -> Miscellaneous
Quote from: [email protected] 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!!! ;)
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!
Quote from: [email protected] 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
The patch is NOT for SMF 2.0
Hi
[email protected], 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.
Anyone can help? thank you.
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">
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">
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: [email protected] 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
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. :)
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?
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!
I'm using utf_bin character set... could that be the cause?
just an update, using utf8_bin caused the problem, switching to utf8_general_ci solved it
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.
Great mod! Installed flawlessly on RC2 forum. Thanks!!!
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 ?
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>';
?>
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
Quote from: [email protected] 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:
AA Man From the Moon (General Discussion)
Amphibian Photos (Animal Planet)
Anecdote collection (Poetry Room)
BBasketball Club! (Sports)
Be a man (Poetry)
Best of the best (Film & TV Series)
... and so on..
Thanks in advance
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]
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]
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 )
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);
@ davidhs: It works like a charm!. Thanks buddy. Really appreciates your help.!
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.
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
Hi m8s !!!
Is this superb mod compatible with 2.0 RC3 ?
mr
[email protected] please update this mod for RC3 :)
we need update update update please :'( :'( :'( :'( :'( :'(
Working with RC3 :D
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
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?
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.
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.
for rc4?
RC5 pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee i beg of u pleaseeeeeeeeeeee taby pleaseeeeeeeeeeeeeeeeeeeeeee
NO RC support
I'm waiting for the final version
i installed it on 2.0 RC5 clean install and it works fine.
Quote from: [email protected] 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,
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
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 ;)
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 ?
Using my magic sphere.... multi board support is required
Please check http://www.simplemachines.org/community/index.php?topic=272959.msg1938771#msg1938771
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
hi, i install this mod in 2.0.2, install fine, but is not working, any ideas?
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
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 ?
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:
codeEDIT: 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!
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.
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!
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
This is the solution for MariaDB
(http://s11.postimg.org/nb33eykwz/maria_DB.png)
Thanks to
[email protected] :)
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
$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'])
);
$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...
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 ?
@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
$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'])
);
$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...
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.
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.
I converted to utf-8 but the error still persists.
This mod is not compatible with SMF 2.0.12 :'( :'(
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.
bumP!
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. :'( :'( :'(