• Welcome to Simple Machines Community Forum. Please login or sign up.

Topics Filter v3.0

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

Previous topic - Next topic

Blinker

Hi M-DVD

Awesome update dude, well done! I was running 2.5 and the uninstall & update went flawlessy on my 1.1.8 with custom theme.

Great work!

Tanks

April 27, 2009, 03:06:22 AM #161 Last Edit: April 27, 2009, 03:10:59 AM by Tanks
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)

Sudhakar Arjunan

Thanks for the update Author.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Alpay

update to new translate turkish..

<file name="$languagedir/Modifications.turkish.php" error="skip">
        <operation>
            <search position="end" />
            <add><![CDATA[
//    MOD Topics Filter

$txt['filter_Reset'] = 'Sıfırla';
$txt['filter_Off'] = 'Konu Filtresi Kapalı : Etkinleştirmek için java etkin olmalıdır.';

$txt['filter_letter_title'] = 'Harf Filtrele';
$txt['filter_letter_values'][0] = 'Hepsi';

$txt['filter_date_title'] = 'Tarih Sırasına göre';
$txt['filter_date_values'][0] = 'Hiç';
$txt['filter_date_values'][] = 'Bugün';
$txt['filter_date_values'][] = 'Dünden İtibaren';
$txt['filter_date_values'][] = 'Son 7 Gün';
$txt['filter_date_values'][] = 'Son 30 Gün';
$txt['filter_date_values'][] = 'Son 60 Gün';
$txt['filter_date_values'][] = 'Son 90 Gün';
$txt['filter_date_values'][] = 'Son 180 Gün';
$txt['filter_date_values'][] = 'Son 270 Gün';
$txt['filter_date_values'][] = 'Son 365 Gün';
$txt['filter_date_values'][] = '365 Gün Üzeri';

$txt['filter_replies_title'] = 'Konu/Mesaj Cevaplarına Göre Filtreleme';
$txt['filter_replies_values'][0] = 'Hiç';
$txt['filter_replies_values'][] = 'Normal Konu/Cevapsız';
$txt['filter_replies_values'][] = 'Beğenilen konu';
$txt['filter_replies_values'][] = 'Çok beğenilen konu';
$txt['filter_replies_values'][] = 'Anketler';
$txt['filter_replies_values'][] = 'Kilitli Konular';
$txt['filter_replies_values'][] = 'İletinizin bulunduğu konu';

$txt['filter_pages_title'] = 'Sayfa Başına göre';
$txt['filter_pages_values'][0] = 'Sıfırla';
$txt['filter_pages_values'][] = '10 Sayfa Başına';
$txt['filter_pages_values'][] = '20 Sayfa Başına';
$txt['filter_pages_values'][] = '30 Sayfa Başına';
$txt['filter_pages_values'][] = '40 Sayfa Başına';
$txt['filter_pages_values'][] = '50 Sayfa Başına';

$txt['topicsfilter_enable'] = 'Konuları Filtrelemeyi Aktif Et';
$txt['topicsfilter_date'] = 'Tarih Sırasına Göre Filtrelemeyi Aktif Et';
$txt['topicsfilter_replies'] = 'Konu/Mesaj Cevaplarına Göre Filtreleme Aktif Et';
$txt['topicsfilter_pages'] = 'Sayfa Başına Göre Filtrelemeyi Aktif Et';
$txt['topicsfilter_letter'] = 'İşaretleyerek Konut Filtrelemeyi Aktif Et';]]></add>
        </operation>
    </file>

M-DVD

Quote from: Blinker on April 26, 2009, 09:40:27 PM
Hi M-DVD

Awesome update dude, well done! I was running 2.5 and the uninstall & update went flawlessy on my 1.1.8 with custom theme.

Great work!

Quote from: A.SK on April 27, 2009, 02:33:50 PM
Thanks for the update Author.

Thanks for your comments :D

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)

Sorry, i cannot reproduce this error.

Try: Unistall the MOD, deleted, redonwload and reinstall.

Also, Can you give the exact filter that you have used?

Quote from: Alpay on April 29, 2009, 01:50:11 PM
update to new translate turkish..

Thanks for translate :D


edi67

CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

M-DVD


ttuu

in firefox its work fine bit in IE8 its says error
"oTopicsFilter Is not set"

M-DVD

Maybe it's a problem of IE8 (it is beta and is IE >:()

oTopicsFilter is a var object javascript, afaik is fine. Should be work fine in all browsers.


ttuu

May 04, 2009, 12:28:26 AM #169 Last Edit: May 04, 2009, 03:36:49 AM by ttuu
IE8 it is not beta.
and now I checked, also in IE7 i have this error.

Sudhakar Arjunan

http://site.forum.com/index.php?board=15.450
Apply Filter: Only show the errors with the same message
Database Error: Unknown column 't.id_topic' in 'field list'
Apply Filter: Only show the errors from this file
File: /home/site/public_html/forum/Sources/MessageIndex.php
Line: 495

http://site.forum.com/index.php?board=27.2097;wap2
Apply Filter: Only show the errors with the same message
Database Error: Unknown column 't.id_topic' in 'field list'
Apply Filter: Only show the errors from this file
File: /home/site/public_html/forum/Sources/MessageIndex.php
Line: 495
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

M-DVD

May 05, 2009, 10:26:41 PM #171 Last Edit: May 05, 2009, 10:30:42 PM by M-DVD
Quote from: ttuu on May 04, 2009, 12:28:26 AM
IE8 it is not beta.
and now I checked, also in IE7 i have this error.

Ok, yes, IE8 isn't beta :-[

But IE is guilty until proven otherwise. :P

In a few weeks, I will installing the IE on a computer and I will do some tests.

Quote from: A.SK on May 05, 2009, 09:32:56 AM
http://site.forum.com/index.php?board=15.450
Apply Filter: Only show the errors with the same message
Database Error: Unknown column 't.id_topic' in 'field list'
Apply Filter: Only show the errors from this file
File: /home/site/public_html/forum/Sources/MessageIndex.php
Line: 495

Question: You've upgraded recently to SMF 2RC1? Before worked fine?

Try: Unistall the MOD, deleted. Redonwload and reinstall, and tell me.


edi67

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 ?
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

M-DVD

Quote from: NIBOGO on May 05, 2009, 11:11:26 PM
Really nice mod M-DVD :)

Thanks for your comment :)

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 ?

Ok, I think that I know can cause this.

You have the MOD Load Standard Language?

Try, edit your languajes files and search

//
	
MOD Topics Filter


Add after

$txt['filter_date_values'] = $txt['filter_replies_values'] = $txt['filter_pages_values'] = array();

And tell me :)

ZeUsSaN

ukrainian:

$txt['filter_Reset']= 'Скидання';
$txt['filter_Off']= 'Topics Filter виключенн: Вам Потрібно включити Javascript';

$txt['filter_letter_title']= 'Фільтр повідомлень';
$txt['filter_letter_values'][0]= 'Усі';

$txt['filter_date_title']= 'Фільтр Повідомлення/Дата';
$txt['filter_date_values'][0]= 'Нічого';
$txt['filter_date_values'][] = 'Сьогодні';
$txt['filter_date_values'][] = 'Починаючи зі вчора';
$txt['filter_date_values'][] = 'Останні 7 Днів';
$txt['filter_date_values'][] = 'Останні 30 Днів';
$txt['filter_date_values'][] = 'Останні 60 Днів';
$txt['filter_date_values'][] = 'Останні 90 Днів';
$txt['filter_date_values'][] = 'Останні 180 Днів';
$txt['filter_date_values'][] = 'Останні 270 Днів';
$txt['filter_date_values'][] = 'Останні 365 Днів';
$txt['filter_date_values'][] = 'Більше року';

$txt['filter_replies_title']= 'Фільтр Тема/Повідомлення Відповідь';
$txt['filter_replies_values'][0]= 'Нічого';
$txt['filter_replies_values'][] = 'Теми Без Відповіді';
$txt['filter_replies_values'][] = 'Гарячі Теми';
$txt['filter_replies_values'][] = 'Дуже Гарячі Теми';
$txt['filter_replies_values'][] = 'Голосування';
$txt['filter_replies_values'][] = 'Закриті теми Теми;
$txt['filter_replies_values'][] = 'Власні Теми;

$txt['filter_pages_title']= 'Тем на сторінку';
$txt['filter_pages_values'][0]= 'Кількість за замовчуванням';
$txt['filter_pages_values'][] = '10 на сторінку';
$txt['filter_pages_values'][] = '20 на сторінку';
$txt['filter_pages_values'][] = '30 на сторінку';
$txt['filter_pages_values'][] = '40 на сторінку';
$txt['filter_pages_values'][] = '50 на сторінку';

$txt['topicsfilter_enable']= 'Дозволити Topics Filter MOD';
$txt['topicsfilter_date']= 'Дозволити фільтрувати по даті';
$txt['topicsfilter_replies']= 'Дозволити фільтрувати по відповідях';
$txt['topicsfilter_pages']= 'Дозволити вибирати кількість тем на сторінку';
$txt['topicsfilter_letter']= 'Дозволити фільтр повідомлень';


russian:

$txt['filter_Reset']= 'Сброс';
$txt['filter_Off']= 'Topics Filter выключенн: Вам Нужно включить Javascript';

$txt['filter_letter_title']= 'Фильтр сообщений';
$txt['filter_letter_values'][0]= 'Все';

$txt['filter_date_title']= 'Фильтр Сообщение/Дата';
$txt['filter_date_values'][0]= 'Ничего';
$txt['filter_date_values'][] = 'Сегодня';
$txt['filter_date_values'][] = 'Начиная с вчерашнего дня';
$txt['filter_date_values'][] = 'Последние 7 Дней';
$txt['filter_date_values'][] = 'Последние 30 Дней';
$txt['filter_date_values'][] = 'Последние 60 Дней';
$txt['filter_date_values'][] = 'Последние 90 Дней';
$txt['filter_date_values'][] = 'Последние 180 Дней';
$txt['filter_date_values'][] = 'Последние 270 Дней';
$txt['filter_date_values'][] = 'Последние 365 Дней';
$txt['filter_date_values'][] = 'Больше года';

$txt['filter_replies_title']= 'Фильтр Тема/Сообщение Ответ';
$txt['filter_replies_values'][0]= 'Ничего';
$txt['filter_replies_values'][] = 'Темы Без Ответы';
$txt['filter_replies_values'][] = 'Горячие Темы';
$txt['filter_replies_values'][] = 'Очень Горячие Темы';
$txt['filter_replies_values'][] = 'Голосования';
$txt['filter_replies_values'][] = 'Закрытые темы Темы;
$txt['filter_replies_values'][] = 'Собственные Темы;

$txt['filter_pages_title']= 'Тем на страницу';
$txt['filter_pages_values'][0]= 'Количевство по-умолчанию';
$txt['filter_pages_values'][] = '10 на страницу';
$txt['filter_pages_values'][] = '20 на страницу';
$txt['filter_pages_values'][] = '30 на страницу';
$txt['filter_pages_values'][] = '40 на страницу';
$txt['filter_pages_values'][] = '50 на страницу';

$txt['topicsfilter_enable']= 'Разрешить Topics Filter MOD';
$txt['topicsfilter_date']= 'Разрешить фильтрвать по дате';
$txt['topicsfilter_replies']= 'Разрешить фильтровать по ответам';
$txt['topicsfilter_pages']= 'Разрешить выбирать количевство темы на страницу';
$txt['topicsfilter_letter']= 'Разрешить фильтр сообщений';

M-DVD

Quote from: ZeUsSaN on May 14, 2009, 10:41:48 PM
ukrainian:
russian:

Thanks, I have uploaded your translation :D

ianus

Greetings!

I'm glad that you decided to develop this mod. Really appreciated.

Two little things.

Little thing one:
One of my members asked me, why it isn't possible to sort all threads with the letter filter.
Well, I told him, that this could be done by a "click" on "Subject".
He told me, that it would be a little bit senseless to offer a sort function at the very top and another one through the table headers.

So, would it be possible to add a filter so sort all subjects like SMF offer this when clicking "Subject". (.../sort,subject.html & .../sort,subject/desc.html)


Little thing two:

Little misbehavior.
Open a filter drop-down and move the curser to an filter option.
Don't choose an option, but open another drop-down field (or click twice on a blank room somewhere on the website).
Now the filter, which was hovered by the curser, is applied.

I would expect that nothing happens, because no filter is selected. It is quite confusing to have a look at the filters, decide against a filter but browse the site and suddenly a filter is applied.

Mmh? Understandable?
This happens with FF3.
Haven't tested with Opera.
Can't test with IE6 (http://www.simplemachines.org/community/index.php?topic=199770.msg2046005#msg2046005)

I use this mod on a temporary test environment and for security reasons I have disabled the board for guest. If you want so have a look, please let me know.

M-DVD

Quote from: ianus on May 26, 2009, 08:10:04 AM
Greetings!

I'm glad that you decided to develop this mod. Really appreciated.

Two little things.

About Little thing one:

I don't know if I understood you.
You say that the "filter by letters" is redundant, because there are "order by subject"?
If I haven't understood you, Can you explain me better? :)


About Little thing two:

Yes, I know this issue.
As far as I know, only happens in Firefox.
I tested in Chrome, and Safari, and this doesn't happen.
I tried to find a way to resolve it before releasing the first version, but I don't found nothing :(
Anyway, is "problem" browser's (yes, is annoying)


About IExplorer Issue:

I already have solved this issue (in theory, the truth, I don't test yet), and will soon be release the update.
If there are any other comments, it is good time to do it, and just does a single update. :)

--

Thanks for your comment :)


ianus


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.

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.

Anyway. I really appreciate that you revive this mod.


Advertisement: