News:

Wondering if this will always be free?  See why free is better.

Main Menu

Topics Filter v3.0

Started by M-DVD, October 10, 2007, 06:57:55 PM

Previous topic - Next topic

M-DVD

Quote from: ianus on May 27, 2009, 01:53:00 AM
O:)
Little thing one (better explained hopefully)

By default SMF allow to sort by clicking on the table header (Subject, Started by, Replies, Views, Last post).
"Subject" is sorting the threads alphabetical (asc, desc) while still showing all threads.

This feature is barely known, but meanwhile some of my members use it a lot.
After I invited them to have a look at this possible new sort option, they seem to forget that they still (additionally) can use the table headers.

What I have asked for it, to add the sort by "Subject" into the alphabetical sort option of your mod.

I know that this will double this sort option (and maybe causing problems because of that).
On the other hand, it seems to be more comprehensible. Only a few users seem to wonder about the table header functionality and I'm quite sure that nobody will do, if they notice a more obvious sort option.
It's not really a "must have" – only a polite question.

Ok, I want understand. O:)

Today I understood two things :P

1.- The feature Filter by Letters... also ordered by subject. ¿?

2.- The feature Order by: Title, Date, Started by, View, etc.. Could have a visual style similar to the Filters (with options and selects, because the current style goes unnoticed by the users). ¿?

Quote from: ianus on May 27, 2009, 01:53:00 AM
I think, that the other "annoyances" need more attention. It's a shame that each browser has a unique way to deal with websites – but a piece of software will face hard times, if it isn't compatible with all of them.

In this case seems a bug in firefox. In the weekend I will report it.

Quote from: ianus on May 27, 2009, 01:53:00 AM
Anyway. I really appreciate that you revive this mod.

Your welcome, and thanks for comment and suggest :)

ianus

Damm, my English must really be awful.


1.- The feature Filter by Letters... also ordered by subject. ¿?
This is enough and exactly what I asked for.
The rest was written to explain that the SMF sort isn't so evidently and even more difficult to find if there is a extra obvious sort-function.

Next time I try it with: Please add A-Z sort to "lettersorting" option.

2.- The feature Order by: Title, Date, Started by, View, etc.. Could have a visual style similar to the Filters
No! Imho way to complicated and will look strange.

Thanks for your patience.


The annoyances:
I'm not really sure, if this is a FF-bug.
It could be the intended behavior of "onChange" - when it is used inside a <select>
Example: http://www.w3schools.com/jsref/jsref_onchange.asp

Maybe you can tweak the "<form>" of the TopicsFilter.prototype.load = function () a little bit. (I have tried to do this the last day, but my knowledge of .js is a worst chase scenario.)
Here is an example, to get the idea what I am talking about.
http://www.pageresource.com/jscript/jdrop2.htm



Joe N

Microsoft: "We Need to Imagine Life Without Walls."
I Say: "If There are No Walls Who needs Windows."



My Mods (6) All My Mods Updated To SMF 2.0 RC2 and SMF 1.1.10!


M-DVD

Quote from: ianus on May 29, 2009, 06:05:14 AM
1.- The feature Filter by Letters... also ordered by subject. ¿?
This is enough and exactly what I asked for.
The rest was written to explain that the SMF sort isn't so evidently and even more difficult to find if there is a extra obvious sort-function.

Ok. I cannot do 'Filter by Letters' also 'Ordered by subject', because, the user can ordered by anything

But, I can try do "if the user have chose an Order, and chose an filter, then both choices work together".

Quote from: ianus on May 29, 2009, 06:05:14 AM
The annoyances:
I'm not really sure, if this is a FF-bug.
It could be the intended behavior of "onChange" - when it is used inside a <select>
Example: http://www.w3schools.com/jsref/jsref_onchange.asp

Maybe you can tweak the "<form>" of the TopicsFilter.prototype.load = function () a little bit. (I have tried to do this the last day, but my knowledge of .js is a worst chase scenario.)
Here is an example, to get the idea what I am talking about.
http://www.pageresource.com/jscript/jdrop2.htm

The problem is: if in the select, the option default is an option disable, then when you "move" the option and (without choice) you make (two)click anywhere else on the page, Firefox will not restore the option disable, but, chose the option "not choosed" and the event onchange occurs.

Quote from: Joe N on May 29, 2009, 06:10:40 AM
Nice Mod  ;)

Thanks for your comment :)

Eclipse16V

Nice Mod

Here the German

$txt['filter_Reset'] = 'Reset';
$txt['filter_Off'] = 'Themen Filter AUS: Du musst Javascript aktivieren';
$txt['filter_letter_title'] = 'ABC Filter';
$txt['filter_letter_values'][0] = 'Alle';
$txt['filter_date_title'] = 'Beitrag/Datum Filter';
$txt['filter_date_values'][0] = 'Normale Anzeige';
$txt['filter_date_values'][] = 'Heute';
$txt['filter_date_values'][] = 'seit Gestern';
$txt['filter_date_values'][] = 'letzten 7 Tage';
$txt['filter_date_values'][] = 'letzten 30 Tage';
$txt['filter_date_values'][] = 'letzten 60 Tage';
$txt['filter_date_values'][] = 'letzten 90 Tage';
$txt['filter_date_values'][] = 'letzten 180 Tage';
$txt['filter_date_values'][] = 'letzten 270 Tage';
$txt['filter_date_values'][] = 'letzten 365 Tage';
$txt['filter_date_values'][] = '&auml;lter als 1 Jahr';
$txt['filter_replies_title'] = 'Themen/Beitrag Antworten Filter';
$txt['filter_replies_values'][0] = 'Normale Anzeige';
$txt['filter_replies_values'][] = 'Unbeatwortete Themen';
$txt['filter_replies_values'][] = 'Hei&szlig;e Themen';
$txt['filter_replies_values'][] = 'Sehr hei&szlig;e Themen';
$txt['filter_replies_values'][] = 'Umfragen';
$txt['filter_replies_values'][] = 'Geschlossene Themen';
$txt['filter_replies_values'][] = 'Eigene Themen';
$txt['filter_pages_title'] = 'Themen pro Seite';
$txt['filter_pages_values'][0] = 'Normale Anzeige';
$txt['filter_pages_values'][] = '10 pro Seite';
$txt['filter_pages_values'][] = '20 pro Seite';
$txt['filter_pages_values'][] = '30 pro Seite';
$txt['filter_pages_values'][] = '40 pro Seite';
$txt['filter_pages_values'][] = '50 pro Seite';
$txt['topicsfilter_enable'] = 'Themen Filter MOD aktivieren';
$txt['topicsfilter_date'] = 'Filter nach Datum aktivieren';
$txt['topicsfilter_replies'] = 'Filter nach Antworten aktivieren';
$txt['topicsfilter_pages'] = 'Filter f&uuml;r Themen pro Seite aktivieren';
$txt['topicsfilter_letter'] = 'Filter f&uuml;r ABC Sortierung aktivieren';
I worked with:
SMF 2 in German

Shop:
SID Giessen

ianus

#185
Greetings!

QuoteOk. I cannot do 'Filter by Letters' also 'Ordered by subject', because, the user can ordered by anything..
I don't know exactly what you mean, but the cannot do is enough.
Thanks a lot for the time you have spend to try it (and for the try to understand what I am talking about). Really appreciated!

Meanwhile I have add the "Subject-sort" from the message table into the table which holds your Topics Filter.
Not really elegant, but hopefully my members will be satisfied.
(Example on my temporary testboard: http://resmedia.info/forum/index.php/board,77.0.html)

Now you can concentrate your mind on more important things again.

The "annoyance" with the browser behavior is way above my knowledge. I'm so sorry that I can't be helpful in this case. On the other hand, I'm sure that you will find a way to solve this.
I whish you all the best – in this case and in general.


@Eclipse16V
:o
...mmmh well, I think, I can delete my translation attachment know...
Good work.

Eclipse16V

I have the same two errors:

Quote from: Tanks on April 27, 2009, 03:06:22 AM
Great mod - Works but i think i found a huge bug :o

When you go to page 2, 3, 4, etc on messageindex you get this error:


Database Error: Unknown column 't.id_topic' in 'field list'

File: www/Sources/MessageIndex.php
Line: 502


But on page 1 the mod works fine.. this bug only appears when going to other pages of a messageindex.

Edit: should i add that it installed with no errors on installation. default theme (2.0 RC1)

and this

Quote from: edi67 on May 06, 2009, 04:08:29 AM
Everything work ok but one strange thing happen, i have 2 languages in forum english and italian (default) when i enable english language all is ok menù is wrote only in english, but when i re enabled italian language as default i have menu in english and in italian, one double menù with all 2 type of language.
some solution ?
I worked with:
SMF 2 in German

Shop:
SID Giessen

M-DVD

Quote from: Eclipse16V on May 31, 2009, 05:45:34 AM
Nice Mod

Here the German

Thanks, your translation have been uploaded :)

--

Quote from: ianus on May 31, 2009, 06:19:11 AM
I don't know exactly what you mean, but the cannot do is enough.
Thanks a lot for the time you have spend to try it (and for the try to understand what I am talking about). Really appreciated!

Meanwhile I have add the "Subject-sort" from the message table into the table which holds your Topics Filter.
Not really elegant, but hopefully my members will be satisfied.
(Example on my temporary testboard: http://resmedia.info/forum/index.php/board,77.0.html)

Now you can concentrate your mind on more important things again.

No problem :)

--

Quote from: Eclipse16V on May 31, 2009, 08:31:08 PM
I have the same two errors:

Quote from: Tanks on April 27, 2009, 03:06:22 AM
Great mod - Works but i think i found a huge bug :o

When you go to page 2, 3, 4, etc on messageindex you get this error:


Database Error: Unknown column 't.id_topic' in 'field list'

File: www/Sources/MessageIndex.php
Line: 502


But on page 1 the mod works fine.. this bug only appears when going to other pages of a messageindex.

Edit: should i add that it installed with no errors on installation. default theme (2.0 RC1)

and this

Quote from: edi67 on May 06, 2009, 04:08:29 AM
Everything work ok but one strange thing happen, i have 2 languages in forum english and italian (default) when i enable english language all is ok menù is wrote only in english, but when i re enabled italian language as default i have menu in english and in italian, one double menù with all 2 type of language.
some solution ?

1.- Ok, I will check.

2.- Try: In your Modifications.german.php

Search:
// MOD Topics Filter - Translation by Eclipse16V
and put:
$txt['filter_date_values'] = $txt['filter_replies_values'] = $txt['filter_pages_values'] = array();

Also, you can use (for example):

$txt['filter_pages_values'][0] = 'Normale Anzeige';
$txt['filter_pages_values'][1] = '10 pro Seite';
$txt['filter_pages_values'][2] = '20 pro Seite';
$txt['filter_pages_values'][3] = '30 pro Seite';
$txt['filter_pages_values'][4] = '40 pro Seite';
$txt['filter_pages_values'][5] = '50 pro Seite';


(Note the numbers in the brackets)

If it works, tell me for make the change in the file languajes.xml.

MaXiForum.cz


Eclipse16V

No.
It doesn´t work fine.
I become this error message:

QuoteParse error: syntax error, unexpected T_VARIABLE in /.../eclipse16v.de/Themes/default/languages/Modifications.english.php on line 51
I worked with:
SMF 2 in German

Shop:
SID Giessen

djkmmo

Hi!

I installed this mod and it worked like a charm just after installation, but now it has stopped working. Probably some incompability with some other mod. Are there any way to backtrace the problem, to see why it's not filtering out anyting anymore?

Gerade nach ich der Mod installieren habe, funktionierte alles genau wie vorgestellt, aber seitdem habe ich noch einige Mods installiert, die offenbar mit dem Filtermod nich kompatibel sind. Ist es irgendwie möglich die Feheler zu spuren? Ich hätte gern diesen Mod wieder funktionstüchtig machen. Der ist manchmal ganz nütchlich.

ianus

First question must be: Which mod(s) did you have installed after Topics Filter.
Second question: Stopped working means...?
Third question: Anything in error log?
A link could be helpful also.

Several things are possible. Maybe a js script which isn't working together with this mod, or a change inside a template file, or...

Possible solutions are,
- Un + reinstall of this mod.
- Uninstall the other mods backwards until this mod is working again. Then reinstall other mods, one by one with a check of functionality.

djkmmo

Output from ls -tr:
2009-05-28_before_TopicsFilter_v3_0.tar.gz
2009-05-28_backup_Topic__Solved.tar.gz
2009-05-28_before_tsolved_v1.tar.gz
2009-05-29_before_Topic__Solved.tar.gz
2009-05-29_before_spacebetweenposts.tar.gz
2009-05-30_before_LanguageDropV1.tar.gz
2009-05-30_before_TextSizer.tar.gz
2009-05-30_before_ManageMembersMembergroups100.tar.gz
2009-05-30_before_MemberListPositionFilter110.tar.gz
2009-05-31_before_feed.tar.gz
2009-05-31_before_SimplePortal2.tar.gz
2009-05-31_before_prettyurls-0-9-3.tar.gz
2009-05-31_backup_feed.tar.gz
2009-05-31_before_feed_2.tar.gz
2009-06-01_before_BoardNotes_smf11_bn107.tar.gz


Und der Böse ist... prettyurls-0-9-3.tar.gz. When I inactivated Pretty URL:s the filtering worked again. Can anything be done to get them to work together? It's rather neet to have easy to read URLs to and it's supposed to be better for SEO to.

M-DVD

Quote from: Eclipse16V on June 01, 2009, 08:08:57 AM
No.
It doesn´t work fine.
I become this error message:

QuoteParse error: syntax error, unexpected T_VARIABLE in /.../eclipse16v.de/Themes/default/languages/Modifications.english.php on line 51

Can you attacth your Modifications.english.php?

--

Quote from: djkmmo on June 01, 2009, 04:11:22 PM
Output from ls -tr:
Und der Böse ist... prettyurls-0-9-3.tar.gz. When I inactivated Pretty URL:s the filtering worked again. Can anything be done to get them to work together? It's rather neet to have easy to read URLs to and it's supposed to be better for SEO to.

Ok.
Don't work = the settings are visible and work, the selects and options are visible but don't work

I will check it.

--

Quote from: ianus on June 01, 2009, 10:58:09 AM
First question must be: Which mod(s) did you have installed after Topics Filter.
Second question: Stopped working means...?
Third question: Anything in error log?
A link could be helpful also.

Several things are possible. Maybe a js script which isn't working together with this mod, or a change inside a template file, or...

Possible solutions are,
- Un + reinstall of this mod.
- Uninstall the other mods backwards until this mod is working again. Then reinstall other mods, one by one with a check of functionality.

Excelent!!!, Thanks for help :D

--

Quote from: MaxiPes on June 01, 2009, 03:06:43 AM
Nice mod!
Czech translate ;)

Thanks, I will add your translation :D

djkmmo

Quote from: M-DVD on June 01, 2009, 06:56:15 PM
Quote from: djkmmo on June 01, 2009, 04:11:22 PM
Output from ls -tr:
Und der Böse ist... prettyurls-0-9-3.tar.gz. When I inactivated Pretty URL:s the filtering worked again. Can anything be done to get them to work together? It's rather neet to have easy to read URLs to and it's supposed to be better for SEO to.

Ok.
Don't work = the settings are visible and work, the selects and options are visible but don't work

I will check it.

Exactly. The selection boxes are there and the settings in admin, but it doesn't filter anything out. My site is smf.gnubuntu.co.cc (just a test site).

Quote from: ianus on June 01, 2009, 10:58:09 AM
First question must be: Which mod(s) did you have installed after Topics Filter.
Second question: Stopped working means...?
Third question: Anything in error log?
A link could be helpful also.

Several things are possible. Maybe a js script which isn't working together with this mod, or a change inside a template file, or...
Nothing in the error log. Perhaps this mod *does* filter things out, based on the base url, but what is actually shown is based on the rewritten urls.

M-DVD

Quote from: MaxiPes on June 01, 2009, 03:06:43 AM
Nice mod!
Czech translate ;)

Oops.

This MOD has many changes in the last version. Now, the variables and texts are different.

--

Quote from: djkmmo on June 01, 2009, 07:31:22 PM
Exactly. The selection boxes are there and the settings in admin, but it doesn't filter anything out. My site is smf.gnubuntu.co.cc (just a test site).

...

Nothing in the error log. Perhaps this mod *does* filter things out, based on the base url, but what is actually shown is based on the rewritten urls.

Thanks for the sample. Yes, is for the rewritten urls.

I will check it. Maybe I can include the fix with the MOD.

djkmmo

#196
Quote from: M-DVD on June 01, 2009, 07:47:24 PM
Thanks for the sample. Yes, is for the rewritten urls.

I will check it. Maybe I can include the fix with the MOD.
I would prefer a binding promise  ;D. (Just kidding). But it would be sweet to get both of them working.

Eclipse16V

OK,
here 2 version i make it.
all two version dosen´t work.
I worked with:
SMF 2 in German

Shop:
SID Giessen

MaXiForum.cz

2 M-DVD I make the translation for version 3.0 too ;)

Eclipse16V

Are there already any pieces of news?

Thanks
I worked with:
SMF 2 in German

Shop:
SID Giessen

Advertisement: