Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: M-DVD on October 10, 2007, 06:57:55 PM

Title: Topics Filter v3.0
Post by: M-DVD on October 10, 2007, 06:57:55 PM
Link to MOD (http://custom.simplemachines.org/mods/index.php?mod=965)

MOD Topics Filter v3.1
===============






  • Create by:
karlbenson (http://custom.simplemachines.org/mods/index.php?action=profile;u=63186)
  • Developed by:
M-DVD (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997)
  • Version:
3.1
  • Languages:

  • Compatible With:
SMF 1.1.1 - 1.1.X
SMF 2 RC1X




(http://www.simplemachines.org/community/index.php?action=post;topic=199770.0)
Comment this Mod (http://www.simplemachines.org/community/index.php?action=post;topic=199770.0)
(http://custom.simplemachines.org/mods/index.php?action=profile;u=148997)
My MODs (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997)
(http://custom.simplemachines.org/mods/index.php?mod=965)
Images (http://custom.simplemachines.org/mods/index.php?mod=965)
(https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4587421)Help support my MODs (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4587421)


  • ChangeLog (#post_changelog)
(#post_changelog)

Features:









==========================





QuoteLanguages (normal & utf-8)

  • English
  • English_British
  • Spanish_Es
  • Spanish_Latin

  • French by @ngel (http://www.simplemachines.org/community/index.php?action=profile;u=78743)

  • Portuguese_Brazilian by softcore (http://www.simplemachines.org/community/index.php?action=profile;u=106692) & arkanoidblue (http://www.simplemachines.org/community/index.php?action=profile;u=192850)
  • Turkish by Alpay (http://www.simplemachines.org/community/index.php?action=profile;u=39002)
  • Ukrainian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774)
  • Russian by ZeUsSaN (http://www.simplemachines.org/community/index.php?action=profile;u=135774)
  • German by Eclipse16V (http://www.simplemachines.org/community/index.php?action=profile;u=30452)
  • Czech by MaxiPes (http://www.simplemachines.org/community/index.php?action=profile;u=158710)
   
QuoteLeyend
  • Included in MOD package
  • Included in language_full.zip
  • Translation incomplete

Quote
$txt['filter_Reset'] = 'Reset';
$txt['filter_Off'] = 'Topics Filter Off: You Need Javascript Enable';

$txt['filter_letter_title'] = 'Letter Filter';
$txt['filter_letter_values'][0] = 'All';

$txt['filter_icon_title'] = 'Topic/Icon Filter';
$txt['filter_icon_values'][0] = 'All';
$txt['filter_icon_values_end'][0] = 'Moved';
$txt['filter_icon_values_end'][1] = 'Recycled';
$txt['filter_icon_values_end'][2] = 'Wireless';
$txt['filter_icon_values_end'][3] = 'Attachments';

$txt['filter_date0_title'] = 'Topic/Date Filter';
$txt['filter_date1_title'] = 'Reply/Date Filter';
$txt['filter_date_values'][0] = 'None';
$txt['filter_date_values'][1] = 'Today';
$txt['filter_date_values'][2] = 'Since Yesterday';
$txt['filter_date_values'][3] = 'Last 7 Days';
$txt['filter_date_values'][4] = 'Last 30 Days';
$txt['filter_date_values'][5] = 'Last 60 Days';
$txt['filter_date_values'][6] = 'Last 90 Days';
$txt['filter_date_values'][7] = 'Last 180 Days';
$txt['filter_date_values'][8] = 'Last 270 Days';
$txt['filter_date_values'][9] = 'Last 365 Days';
$txt['filter_date_values'][10] = 'Over a year ago';

$txt['filter_replies_title'] = 'Topic/Post Replies Filter';
$txt['filter_replies_values'][0] = 'None';
$txt['filter_replies_values'][1] = 'Topics Without Replies';
$txt['filter_replies_values'][2] = 'Hot Topics';
$txt['filter_replies_values'][3] = 'Very Hot Topics';
$txt['filter_replies_values'][4] = 'Polls';
$txt['filter_replies_values'][5] = 'Locked Topics';
$txt['filter_replies_values'][6] = 'Own Topics';

$txt['filter_pages_title'] = 'Topic per Page';
$txt['filter_pages_values'][0] = 'Number Default';
$txt['filter_pages_values'][1] = '10 per Page';
$txt['filter_pages_values'][2] = '20 per Page';
$txt['filter_pages_values'][3] = '30 per Page';
$txt['filter_pages_values'][4] = '40 per Page';
$txt['filter_pages_values'][5] = '50 per Page';

$txt['filter_sort_title'] = 'Sort Topics';
$txt['filter_sort_values'][0] = 'Date First Post';
$txt['filter_sort_values'][1] = 'Date Last Post';
$txt['filter_sort_values'][2] = 'Topic Starter';
$txt['filter_sort_values'][3] = 'Last Poster';
$txt['filter_sort_values'][4] = 'Subject';
$txt['filter_sort_values'][5] = 'Replies';
$txt['filter_sort_values'][6] = 'Views';

$txt['topicsfilter_enable'] = 'Enable Topics Filter MOD';
$txt['topicsfilter_sortby'] = 'Enable Quickly Change Sort Topics';
$txt['topicsfilter_pages'] = 'Enable Quickly Change Pagination';
$txt['topicsfilter_date0'] = 'Enable Filter per Date Topic';
$txt['topicsfilter_date1'] = 'Enable Filter per Date Reply';
$txt['topicsfilter_replies'] = 'Enable Filter per Replies';
$txt['topicsfilter_letter'] = 'Enable Filter per Letter';
$txt['topicsfilter_icon'] = 'Enable Filter per Icon';

I welcome new translations here (http://www.simplemachines.org/community/index.php?action=post;topic=199770.0)

==========================

Características:










Fin.

==========================

ChangeLog:




QuoteVersion 1.0 (http://www.simplemachines.org/community/index.php?topic=199770.msg1270009#msg1270009) - 28th September 2008
   o Initial release.
Version 1.1 - 19th November 2007
   * Improved code efficiency, fixed some minor bugs
Version 2.0 - 28th December 2007
   o New version, substantially re-wrote mod
   + Added alphanum bar to search for first letter(board setting)
   + Added over 365 days filter option
   + Added poll/locked/hot topics filters
Version 2.1 - 4th January 2008
   + Added Turkish/Turkish-utf8 (Thanks Hoochie Coochie Man)
   + Added Portuguese/Portuguese-utf8 (Thanks ne.miguelito)
Version 2.2 - 12th January 2008
   !  Fixed 'Unknown column filter_alphanum'
Version 2.3 - 13th February 2008
   !  Fixed missing L from Alphanum filter
   !  Fixed disappearing filters where guest is viewing board
      with children, but no posts.
Version 2.4 - 14th February 2008
   !  Fixed ml. no table
Version 2.5 - 31st May 2008
   !  Fixed mf.subject query error. (Thanks Kimmie)
Version 3.0 (http://www.simplemachines.org/community/index.php?topic=199770.msg2032916#msg2032916) - 28th April 2009
   o M-DVD Take over the MOD
   o Now work in SMF 1.1.X and SMF beta & 2RC1.
   * The Setting have been move to:
      Admin > Posts and Topics > Topics Settings
   + Now you can enable and disable each filters
      (per post-date, per replies, per letter or change pagination)
   + You can enable and disable this MOD
   * The visual aspect have been changed:
      * The default choice is the first option.
      * The actual choise is showed in bold.
      * The letter filters, now also is dropdown.
   + The filters letter now have "#" for no alfanumeric character
   * The XHTML is more lighter.
   * The code have been redone, improved code efficiency.
Version 3.1 (http://www.simplemachines.org/community/index.php?topic=199770.msg2279622#msg2279622) - 27th September 2009
   * Now is compatible with 'Sort' topics
   + New Filters has been added:
      + Filters per topic's date
      + Filters per topic's icon
   + Quickly change Sort Topic's have been added
   * The visual aspect have been changed:
      * Now the Filters are in the right
      * Quick Changes (sort and pagination) are in the left
   * Improved some code
   !  Fixed bug 't.id_topic' in 'field list'
   !  Fixed bug in Internet Explorer and Javascript Object
   ?  Unistall & Update. Isn't neccesary reedit templates files

QuoteLeyend

oFeature
*Change
+Added
-Eliminated
!Bug Fixed
?How to Update
Title: Re: Topics Filter Mod
Post by: Hoochie Coochie Man on October 11, 2007, 02:39:14 PM
Thank you very much :)
It works perfect!


Here is the Turkish Language
Modification.Turkish.php:

// Topics Filter Mod - Turkish Language by HOOCHIE COOCHIE MAN
$txt['filter_saved'] = 'Kayıtlı';
$txt['filter_date_title'] = 'Tarih Sırasına göre..';
$txt['filter_date_0'] = 'Hiç';
$txt['filter_date_1'] = 'Bugün';
$txt['filter_date_2'] = 'Dünden İtibaren';
$txt['filter_date_7'] = 'Son 7 Gün';
$txt['filter_date_30'] = 'Son 30 Gün';
$txt['filter_date_60'] = 'Son 60 Gün';
$txt['filter_date_90'] = 'Son 90 Gün';
$txt['filter_date_180'] = 'Son 180 Gün';
$txt['filter_date_270'] = 'Son 270 Gün';
$txt['filter_date_365'] = 'Son 365 Gün';
$txt['filter_topics_title'] = 'Mesaj Sayısına göre..';
$txt['filter_topics_0'] = 'Hiç';
$txt['filter_topics_1'] = 'Cevapsız Konular';
$txt['filter_topics_2'] = '100 Mesaj ve Üzeri Konular';
$txt['filter_topics_3'] = 'Kendi Konularınız';
$txt['filter_paginate_title'] = 'Sayfa Başına göre..';
$txt['filter_paginate_10'] = 10 ;
$txt['filter_paginate_20'] = 20 ;
$txt['filter_paginate_30'] = 30 ;
$txt['filter_paginate_40'] = 40 ;
$txt['filter_paginate_50'] = 50 ;
$txt['filter_paginate_forumdefault'] = 'Forum Varsayılan';
$txt['filter_paginate_perpage'] = 'Sayfa Başına';
Title: Re: Topics Filter Mod
Post by: kamili34 on October 12, 2007, 05:18:11 PM
Thanks

Polish language

$txt['filter_saved'] = '(Zachowaj)';
$txt['filter_date_title'] = '=Post-Data Filter=';
$txt['filter_date_0'] = 'Nic';
$txt['filter_date_1'] = 'Dzisiaj';
$txt['filter_date_2'] = 'Od wczoraj';
$txt['filter_date_7'] = 'Ostatnie 7 dni';
$txt['filter_date_30'] = 'Ostatnie 30 dni';
$txt['filter_date_60'] = 'Ostatnie 60 dni';
$txt['filter_date_90'] = 'Ostatnie 90 dni';
$txt['filter_date_180'] = 'Ostatnie 180 dni';
$txt['filter_date_270'] = 'Ostatnie 270 dni';
$txt['filter_date_365'] = 'Ostatnie 365 dni';
$txt['filter_topics_title'] = '=Temat/Post Filter=';
$txt['filter_topics_0'] = 'Nic';
$txt['filter_topics_1'] = 'Tematy bez odpowiedzi';
$txt['filter_topics_2'] = 'Tematy z  > 100 odpowiedziami';
$txt['filter_topics_3'] = 'Własne tematy';
$txt['filter_paginate_title'] = '=Tematy na  strone=';
$txt['filter_paginate_10'] = 10 ;
$txt['filter_paginate_20'] = 20 ;
$txt['filter_paginate_30'] = 30 ;
$txt['filter_paginate_40'] = 40 ;
$txt['filter_paginate_50'] = 50 ;
$txt['filter_paginate_forumdefault'] = 'Forum zwykłe';
$txt['filter_paginate_perpage'] = 'Na strone';
Title: Re: Topics Filter Mod
Post by: karlbenson on October 12, 2007, 05:52:18 PM
thank you both.

I'll add them asap.
Title: Re: Topics Filter Mod
Post by: Hoochie Coochie Man on October 14, 2007, 01:16:39 PM
Ofcourse.
Title: Re: Topics Filter Mod
Post by: edi67 on October 16, 2007, 08:35:11 AM
Thx

Italian Translation:
//Topic Filter
$txt['filter_saved'] = '(Salvati)';
$txt['filter_date_title'] = '=Post-Filtro Data=';
$txt['filter_date_0'] = 'Nessuno';
$txt['filter_date_1'] = 'Oggi';
$txt['filter_date_2'] = 'Fino Ieri';
$txt['filter_date_7'] = 'Ultimi 7 Giorni';
$txt['filter_date_30'] = 'Ultimi 30 Giorni';
$txt['filter_date_60'] = 'Ultimi 60 Giorni';
$txt['filter_date_90'] = 'Ultimi 90 Giorni';
$txt['filter_date_180'] = 'Ultimi 180 Giorni';
$txt['filter_date_270'] = 'Ultimi 270 Giorni';
$txt['filter_date_365'] = 'Ultimi 365 Giorni';
$txt['filter_topics_title'] = '=Topic/Filtro Post=';
$txt['filter_topics_0'] = 'Nessuno';
$txt['filter_topics_1'] = 'Topics Senza Repliche';
$txt['filter_topics_2'] = 'Topics con > 100 Repliche';
$txt['filter_topics_3'] = 'Topics Propri';
$txt['filter_paginate_title'] = '=Topics Per Pagina=';
$txt['filter_paginate_10'] = 10 ;
$txt['filter_paginate_20'] = 20 ;
$txt['filter_paginate_30'] = 30 ;
$txt['filter_paginate_40'] = 40 ;
$txt['filter_paginate_50'] = 50 ;
$txt['filter_paginate_forumdefault'] = 'Forum Default';
$txt['filter_paginate_perpage'] = 'Per Pagina';
Title: Re: Topics Filter Mod
Post by: fals on October 17, 2007, 04:36:01 PM
This MOD is great... ive been looking for something like this....

Is it possible to add this filter to the....
index.php?action=recent
...list ?

Example - a lot of my members would like the filter all of the messages in the forum written in different timeranges....

Title: Re: Topics Filter Mod
Post by: karlbenson on October 17, 2007, 04:47:24 PM
hmmm.
Adding the current filters to different areas like recent/unreadreplies etc might be easy enough for me to do.
The only downside is it could mean more manual edits for non-default themes.

When you say time? do you mean like currently with date (today | yesterday| last 7 days etc)
or do you mean last hours, last 3 hours etc.
Title: Re: Topics Filter Mod
Post by: fals on October 17, 2007, 04:57:03 PM
manuel edits are no problem for me ,-)

Well, the same way as your mod - Today | Since Yesterday | Last 7 Days | Last 30 Days | Last 60 Days
maybe also hours.... I have about 2-300 post every day on my board.

When the user has choosen a filter in the list, it will all of the post on the whole board for that timerange
Title: Re: Topics Filter Mod
Post by: qubbah on October 19, 2007, 02:37:03 AM
when i chosing the option and close the topic then open another topic, the option not going to the default, but go to the latest option that i choose.

how can i make it go to the default when i open the new topic without reset?
Title: Re: Topics Filter Mod
Post by: fals on October 21, 2007, 11:42:10 AM
Do you think it possible ? :-)
Realy need this....

Quote from: karlbenson on October 17, 2007, 04:47:24 PM
hmmm.
Adding the current filters to different areas like recent/unreadreplies etc might be easy enough for me to do.
The only downside is it could mean more manual edits for non-default themes.

When you say time? do you mean like currently with date (today | yesterday| last 7 days etc)
or do you mean last hours, last 3 hours etc.
Title: Re: Topics Filter Mod
Post by: karlbenson on October 21, 2007, 02:35:09 PM
At the moment I'm busy fixing bugs in my other mods.

When I look at this mod again I will look to add it to the 'unread'/'unreadreplies' page. (which looks like the topiclist page). (the two links in your header).

But I'd rather not add it to the recent page because those show the actual message.
Title: Re: Topics Filter Mod
Post by: Chris_(medico_2001) on November 03, 2007, 04:25:48 AM
Tried to install this mod in my forum (running version 1-1-4) and got the following error:

Duplicate column name 'filter_date'
File: /home/xxxxx/public_html/forums/Packages/temp/install.php
Line: 32

what is happening? how can I fix it?
Title: Re: Topics Filter Mod
Post by: karlbenson on November 18, 2007, 06:18:29 PM
crap, my mod must not be checking whether the mod has already been installed previously.

I will provide a fix tomorrow
Title: Re: Topics Filter Mod
Post by: qubbah on November 19, 2007, 10:29:32 AM
Quote from: qubbah on October 19, 2007, 02:37:03 AM
when i chosing the option and close the topic then open another topic, the option not going to the default, but go to the latest option that i choose.

how can i make it go to the default when i open the new topic without reset?
How about this...
Title: Re: Topics Filter Mod
Post by: karlbenson on November 19, 2007, 06:01:42 PM
@ Chris_(medico_2001), v1.1 should now fix this problem.

@qubbah
If you are logged in, it should save/load the filter settings from the database
If you are a guest, it will save/load it from the Session/cookie (but beware browsers clear sessions when the browser is closed, and some servers may force a new session periodically)

I've now uploaded v1.1
1.1 - 19th November 2007
o Improved code efficiency.
o Fixed install bug (if already had the mod installed)
o Added Polish/Polish-utf8 (Thanks to kamili34)
o Added Turkish/Turkish-utf8 (Thanks to Hoochie Coochie Man)
o Added Italian/Italian-utf8 (Thanks to edi67)

I was unable to get it fully working on the Unread/Unread replies, so for now, I have left it out of this mod.
Title: Re: Topics Filter Mod
Post by: falguni1 on December 13, 2007, 04:35:18 AM
It should also show topics with attachments.
means search topics with attachments to make it easy for large forums.

this will make this search mod really complete.
Title: Re: Topics Filter Mod
Post by: karlbenson on December 13, 2007, 06:15:02 AM
I'll have a look to see if i can do it, but no promises.
+ the choose topics starting with A - Z etc.

I've got other mods to bug fix which are more urgent though.
Title: Re: Topics Filter
Post by: karlbenson on December 27, 2007, 05:04:41 PM
Ok, I've just uploaded version 2.0
I tried to get unread topics and attachments to show, but I couldn't do it. I spent days trying to get it working without success.  I can't' afford to spend so much time on one mod.

TOPICS FILTER v2.0

2.0 - 28th December 2007
o New version, substantially re-wrote mod
o Added alphanum bar to search for starting letter with per board setting
o Added over 365 days filter option
o Added poll/locked/hot topics filters
Title: Re: Topics Filter
Post by: perro88 on December 27, 2007, 11:49:04 PM
Quote from: karlbenson on December 27, 2007, 05:04:41 PM
Ok, I've just uploaded version 2.0
I tried to get unread topics and attachments to show, but I couldn't do it. I spent days trying to get it working without success.  I can't' afford to spend so much time on one mod.

TOPICS FILTER v2.0

2.0 - 28th December 2007
o New version, substantially re-wrote mod
o Added alphanum bar to search for starting letter with per board setting
o Added over 365 days filter option
o Added poll/locked/hot topics filters
nice new version. thanks again
Title: Re: Topics Filter
Post by: falguni1 on December 28, 2007, 03:20:37 AM
Quote from: karlbenson on December 27, 2007, 05:04:41 PM
Ok, I've just uploaded version 2.0
I tried to get unread topics and attachments to show, but I couldn't do it. I spent days trying to get it working without success.  I can't' afford to spend so much time on one mod.

TOPICS FILTER v2.0

2.0 - 28th December 2007
o New version, substantially re-wrote mod
o Added alphanum bar to search for starting letter with per board setting
o Added over 365 days filter option
o Added poll/locked/hot topics filters

you will suceed I have full faith in your coding skills.

very nice mod take your own time dear.

atachment filtering is very important and special feature. you can do it.

also the filter is placed below the topics by default, it should be handy and in view so I feel the topic filter should be placed above all topics by default.
Title: Re: Topics Filter
Post by: karlbenson on December 28, 2007, 08:21:55 AM
There was a reason I put it at the bottom originally, I forgot the reason though.

*I'll have a think.
Title: Re: Topics Filter
Post by: falguni1 on December 28, 2007, 10:09:22 AM
Quote from: karlbenson on December 28, 2007, 08:21:55 AM
There was a reason I put it at the bottom originally, I forgot the reason though.

*I'll have a think.

lol

put it at top important features should be handy and visible and at top.
Title: Re: Topics Filter
Post by: karlbenson on December 28, 2007, 10:50:14 AM
I think the original reason for having it at the bottom is because it wouldn't work with original way I was doing the mod.
I couldn't make it so the edits were similar for each theme.

It will work at the top. I just tested it.

But personally I'd prefer to have it at the bottom.

If you want it at the top you will need to move the code in MessageIndex.template.php

Edit*
Title: Re: Topics Filter
Post by: falguni1 on December 28, 2007, 11:01:53 AM
I dont get it.

does it work at top or bottom.

let it be nice mod.

I still feel it should be at top.

if you have google search in your site, will you put it at top or bottom.

I will put it at top. so I feel it should be at top.
Title: Re: Topics Filter
Post by: karlbenson on December 28, 2007, 11:07:48 AM
It works at the top.

But you're free to customize/move it whereever you want on your forum.
Title: Re: Topics Filter
Post by: falguni1 on December 28, 2007, 11:15:30 AM
how to do that.

I am having some mods at top like

Social Bookmarks
vMessageIcon Filters
Digg Topic.
Title: Re: Topics Filter
Post by: karlbenson on December 28, 2007, 11:20:55 AM
Use the package parser.

Find the code that was inserted into MessageIndex.template.php (so you know what the starting and ending points of the code)

Find that in your MessageIndex.template.php
Cut it, and move it to just above the line

foreach ($context['topics'] as $topic)
{


I usually don't make mods for other people. I make them how I want them, for my own forum.
So I doubt by default I'll be adding functionality to automatically choose where to place it (because it would duplicate the code) and I personally prefer it at the bottom.
Title: Re: Topics Filter
Post by: falguni1 on December 28, 2007, 11:27:38 AM
ok.
Title: Re: Topics Filter
Post by: Hoochie Coochie Man on January 02, 2008, 04:12:11 AM
Hi karlbenson,
Here is the new Turkish Language
// Topics Filter Mod - Turkish Language by HOOCHIE COOCHIE MAN
$txt['filter_saved'] = 'Kayıtlı';
$txt['filter_date_title'] = 'Tarih Sırasına göre..';
$txt['filter_date_0'] = 'Hiç';
$txt['filter_date_1'] = 'Bugün';
$txt['filter_date_2'] = 'Dünden İtibaren';
$txt['filter_date_7'] = 'Son 7 Gün';
$txt['filter_date_30'] = 'Son 30 Gün';
$txt['filter_date_60'] = 'Son 60 Gün';
$txt['filter_date_90'] = 'Son 90 Gün';
$txt['filter_date_180'] = 'Son 180 Gün';
$txt['filter_date_270'] = 'Son 270 Gün';
$txt['filter_date_365'] = 'Son 365 Gün';
$txt['filter_date_366'] = '365 Gün Üzeri';
$txt['filter_topics_title'] = 'Mesaj Sayısına göre..';
$txt['filter_topics_0'] = 'Hiç';
$txt['filter_topics_1'] = 'Cevapsız Konular';
$txt['filter_topics_2'] = 'Beğenilen Konular';
$txt['filter_topics_3'] = 'Çok Beğenilen Konular';
$txt['filter_topics_4'] = 'Anketler';
$txt['filter_topics_5'] = 'Kilitli Konular';
$txt['filter_topics_6'] = 'Kendi Konularınız';
$txt['filter_paginate_title'] = 'Sayfa Başına göre..';
$txt['filter_paginate_10'] = 10 ;
$txt['filter_paginate_20'] = 20 ;
$txt['filter_paginate_30'] = 30 ;
$txt['filter_paginate_40'] = 40 ;
$txt['filter_paginate_50'] = 50 ;
$txt['filter_paginate_forumdefault'] = 'Forum Varsayılan';
$txt['filter_paginate_perpage'] = 'Sayfa Başına';
$txt['filter_alphanum'] = 'Alfabetik Sıralamayı Aktif Et';
$txt['filter_alphanum_desc'] = 'Konuları Alfabetik Sırala';
$txt['filter_alphanum_all'] = 'Hepsi';
Title: Re: Topics Filter
Post by: karlbenson on January 02, 2008, 11:48:45 AM
Thanks Hoochie Coochie Man

I had to remove the old translations due to all the changes. ;)

I'll add them asap.
Thanks again.
Title: Re: Topics Filter
Post by: Hoochie Coochie Man on January 02, 2008, 12:17:27 PM
Quote from: karlbenson on January 02, 2008, 11:48:45 AM
Thanks Hoochie Coochie Man

I had to remove the old translations due to all the changes. ;)

I'll add them asap.
Thanks again.

You are welcome buddy
I already understand when you remove :D
Take care..
Title: Re: Topics Filter
Post by: ne.miguelito on January 02, 2008, 03:00:01 PM
Translated for the Portuguese language:

<file name="$languagedir/Modifications.portuguese.php" error="skip">
<!--// Adds the language strings used by this modification //-->
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['filter_saved'] = '(Salvo)';
$txt['filter_date_title'] = '=Filtro de Data dos Tópicos=';
$txt['filter_date_0'] = 'Nenhum';
$txt['filter_date_1'] = 'Hoje';
$txt['filter_date_2'] = 'Desde Ontem';
$txt['filter_date_7'] = 'Nos Últimos 7 Dias';
$txt['filter_date_30'] = 'Nos Últimos 30 Dias';
$txt['filter_date_60'] = 'Nos Últimos 60 Dias';
$txt['filter_date_90'] = 'Nos Últimos 90 Dias';
$txt['filter_date_180'] = 'Nos Últimos 180 Dias';
$txt['filter_date_270'] = 'Nos Últimos 270 Dias';
$txt['filter_date_365'] = 'Nos Últimos 365 Dias';
$txt['filter_date_366'] = 'Há Mais de 365 Dias';
$txt['filter_topics_title'] = '=Filtro de Tópicos/Mensagens=';
$txt['filter_topics_0'] = 'Nenhum';
$txt['filter_topics_1'] = 'Tópicos Sem Resposta';
$txt['filter_topics_2'] = 'Tópicos Quentes';
$txt['filter_topics_3'] = 'Tópicos Muito Quentes';
$txt['filter_topics_4'] = 'Votações';
$txt['filter_topics_5'] = 'Tópicos Trancados';
$txt['filter_topics_6'] = 'Tópicos Próprios';
$txt['filter_paginate_title'] = '=Tópicos Por Página=';
$txt['filter_paginate_10'] = 10 ;
$txt['filter_paginate_20'] = 20 ;
$txt['filter_paginate_30'] = 30 ;
$txt['filter_paginate_40'] = 40 ;
$txt['filter_paginate_50'] = 50 ;
$txt['filter_paginate_forumdefault'] = 'Padrão do Fórum';
$txt['filter_paginate_perpage'] = 'Por Página';
$txt['filter_alphanum'] = 'Activar Barra Alfanumérica do Filtro';
$txt['filter_alphanum_desc'] = 'Filtrar tópicos começados pelo carácter';
$txt['filter_alphanum_all'] = 'Todos';

]]></add>
</operation>
</file>

<file name="$languagedir/Modifications.portuguese-utf8.php" error="skip">
<!--// Adds the language strings used by this modification //-->
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['filter_saved'] = '(Salvo)';
$txt['filter_date_title'] = '=Filtro de Data dos Tópicos=';
$txt['filter_date_0'] = 'Nenhum';
$txt['filter_date_1'] = 'Hoje';
$txt['filter_date_2'] = 'Desde Ontem';
$txt['filter_date_7'] = 'Nos Últimos 7 Dias';
$txt['filter_date_30'] = 'Nos Últimos 30 Dias';
$txt['filter_date_60'] = 'Nos Últimos 60 Dias';
$txt['filter_date_90'] = 'Nos Últimos 90 Dias';
$txt['filter_date_180'] = 'Nos Últimos 180 Dias';
$txt['filter_date_270'] = 'Nos Últimos 270 Dias';
$txt['filter_date_365'] = 'Nos Últimos 365 Dias';
$txt['filter_date_366'] = 'Há Mais de 365 Dias';
$txt['filter_topics_title'] = '=Filtro de Tópicos/Mensagens=';
$txt['filter_topics_0'] = 'Nenhum';
$txt['filter_topics_1'] = 'Tópicos Sem Resposta';
$txt['filter_topics_2'] = 'Tópicos Quentes';
$txt['filter_topics_3'] = 'Tópicos Muito Quentes';
$txt['filter_topics_4'] = 'Votações';
$txt['filter_topics_5'] = 'Tópicos Trancados';
$txt['filter_topics_6'] = 'Tópicos Próprios';
$txt['filter_paginate_title'] = '=Tópicos Por Página=';
$txt['filter_paginate_10'] = 10 ;
$txt['filter_paginate_20'] = 20 ;
$txt['filter_paginate_30'] = 30 ;
$txt['filter_paginate_40'] = 40 ;
$txt['filter_paginate_50'] = 50 ;
$txt['filter_paginate_forumdefault'] = 'Padrão do Fórum';
$txt['filter_paginate_perpage'] = 'Por Página';
$txt['filter_alphanum'] = 'Activar Barra Alfanumérica do Filtro';
$txt['filter_alphanum_desc'] = 'Filtrar tópicos começados pelo carácter';
$txt['filter_alphanum_all'] = 'Todos';


]]></add>
</operation>
</file>



a question:

how to list topics started in ".([?!+*-_!#$%&/{="...

thank you
Title: Re: Topics Filter
Post by: karlbenson on January 02, 2008, 06:37:00 PM
Thanks.
The mod doesn't have the ability to sort by non-alphanumeric characters.

It checks the starting letter for security reasons, so even if you tried to sneak it into the url, it wouldn't work.

Once I had redone the mod I did look into having 'other characters' but no other modification for any software did it, and mysql didnt do it very well.
Title: Re: Topics Filter v2.1
Post by: karlbenson on January 03, 2008, 07:59:07 PM
2.1 - 4th January 2008
o Added Turkish/Turkish-utf8 (Thanks Hoochie Coochie Man)
o Added Portuguese/Portuguese-utf8 (Thanks ne.miguelito)
Title: Re: Topics Filter v2.1
Post by: qubbah on January 04, 2008, 02:58:55 AM
i got modification parse error... while installing....

can i go to install or....is there other instruction....

tq
Title: Re: Topics Filter v2.1
Post by: kamili34 on January 04, 2008, 10:57:54 PM
Thanks for update.
Title: Re: Topics Filter v2.1
Post by: Marook on January 07, 2008, 10:03:08 AM
There is a bug in the mod (i think). If you select a filter which returns no threads, the filter bar dissapears and also no threads were shown. In this case you're unable to remove the filter...

btw, a great mod!
Title: Re: Topics Filter v2.1
Post by: karlbenson on January 07, 2008, 10:33:03 AM
The filter bar shouldn't disappear.

What theme are you using?

Other mods installed?
Title: Re: Topics Filter v2.1
Post by: Marook on January 07, 2008, 01:14:23 PM
i itested it in your demo-forum :)
Title: Re: Topics Filter v2.1
Post by: karlbenson on January 07, 2008, 02:00:34 PM
Doesnt for me in IE or Firefox or Opera.

What browser are you using?
Title: Re: Topics Filter v2.1
Post by: Marook on January 07, 2008, 02:50:28 PM
I'm also using IE 7... take a look at the pictures.
Here the normal view without any filters...


And here after applying a filter
Title: Re: Topics Filter v2.1
Post by: karlbenson on January 07, 2008, 03:04:02 PM
hmm. it seems to have brought you out of the messageindex.

Its meant to redirect back to the same page.

Ctrl+f5, and then try again.
Title: Re: Topics Filter v2.1
Post by: Marook on January 07, 2008, 03:26:48 PM
A page-refresh doesn't solve the problem. I must go into the childboard "[Demo] Topics Filter" because there are some messages applied with the filter. Here i can remove the filter and if im going back to the parent board, the messages will shown again. (And also the filterbar) In the child board the filterbar still appears although there are no messages to show. I think there is a problem if a child-board exists...

You can try it yourself, go to the "SMF Modification Demos" board and apply the "Last 7 Days" Filter, after that the messages disappear and the filterbar too
Title: Re: Topics Filter v2.1
Post by: karlbenson on January 07, 2008, 06:37:14 PM
I did that and I get the following.

There are NO posts within the last 7 days. So no messages should show.
And the filter bar is still there.

Tested in IE7, Opera/Firefox.

If should not redirect back to the BoardIndex but straight back to the MessageIndex.
Is there anything weird/wrong in the URL?
Title: Re: Topics Filter v2.1
Post by: Marook on January 07, 2008, 11:40:38 PM
You're in the child board "[Demo] Topics Filter", there the bar appears, but go up one level to the board "SMF Modification Demo", there the bar disappears...
Title: Re: Topics Filter v2.1
Post by: karlbenson on January 08, 2008, 12:10:14 AM
Sorry Marook. I get what you mean now. :)
I'll have to look into it.
The bug isn't in the mod per-se, but it fails to work-around some smf core functionality.
Title: Re: Topics Filter v2.1
Post by: Marook on January 08, 2008, 07:09:22 AM
never mind ;)
Title: Re: Topics Filter v2.1
Post by: Bulakbol on January 08, 2008, 01:25:26 PM
You must be working hard with this mod. Pretty good. Thanks Karlbenson.
Title: Re: Topics Filter v2.1
Post by: qubbah on January 09, 2008, 03:08:53 AM
hope one day this mode can be set to reset automatically during opening/refreshing new page..
Title: Re: Topics Filter v2.1
Post by: karlbenson on January 09, 2008, 12:08:29 PM
There is a reset button to reset it.

Its actually meant to store the variable between new pages/refreshing.
It stores the variables in the db for users and session for guests.

Title: Re: Topics Filter v2.1
Post by: ivamsi on January 11, 2008, 01:08:08 AM
Hi kalberson,

First of all thank you for the great mod.

I just now installed Topics filter 2.1 and I got the below error

After installing I am not able to open the boards link from the Admins Cpanel.

--------------------
Unknown column 'b.filter_alphanum' in 'field list'
File: /mounted-storage/home63c/sub004/-----JEEJ/www/smf/Sources/Subs-Boards.php
Line: 1512

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.4, while your database is at version 1.1.3. The above error might possibly go away if you execute the latest version of upgrade.php.

---------------

I manually edited the subs-board.php file.


Where the problem will be?

may be it will be a small problem, but i am not able to get where it would be..

Thanks

Vamsi
Title: Re: Topics Filter v2.1
Post by: karlbenson on January 11, 2008, 07:56:07 AM
It looks like the column filter_alphanum didn't get installed onto smf_boards.

Either uninstall the mod/reinstall

or manually add the columns added by the file in install.php into phpmyadmin.
Title: Re: Topics Filter v2.1
Post by: taurean on January 12, 2008, 02:42:05 AM
Hi Karl,

when i am trying to add this Mod manually thru SMF package parser i observed one thing.

Sourcedir/Load.php is mentioned twice at beginning and at the end that to be modified. can i modify the file at once as mentioned or should i modify the files as per the arrangement mentioned in the Mod parser
Title: Re: Topics Filter v2.1
Post by: taurean on January 12, 2008, 04:55:04 AM
Quote from: taurean on January 12, 2008, 02:42:05 AM
Hi Karl,

when i am trying to add this Mod manually thru SMF package parser i observed one thing.

Sourcedir/Load.php is mentioned twice at beginning and at the end that to be modified. can i modify the file at once as mentioned or should i modify the files as per the arrangement mentioned in the Mod parser
Hi karl,  When i install the load.php file thru mod parser

In file $sourcedir/Load.php
Find: 
b.ID_THEME, b.override_theme, b.permission_mode, b.countPosts
Add after:
, filter_alphanum



the error is:
Unknown column 'filter_alphanum' in 'field list'


pls help
Title: Re: Topics Filter v2.1
Post by: diegolyanky on January 18, 2008, 06:49:52 PM
Ups ...

Parse error: syntax error, unexpected ')' in /home2/diego/public_html/Sources/MessageIndex.php on line 175

Here is my Messageindex.php

What's wrong with it ?
Title: Re: Topics Filter v2.1
Post by: karlbenson on January 18, 2008, 07:00:17 PM
Change
         $datefilter = "AND '". ( time() - ($context['filter_date'] * 24 * 60 * 60? ) ."' <= ml.posterTime";

To
         $datefilter = "AND '". ( time() - ($context['filter_date'] * 24 * 60 * 60? )) ."' <= ml.posterTime";
Title: Re: Topics Filter v2.2
Post by: karlbenson on January 19, 2008, 12:16:55 AM
I have reuploaded this mod and screenshots for it.

I am in the process of doing it for ALL my other mods aswell.  Please bear with me.
Title: Re: Topics Filter v2.1
Post by: diegolyanky on January 19, 2008, 05:22:35 PM
Quote from: karlbenson on January 18, 2008, 07:00:17 PM
Change
         $datefilter = "AND '". ( time() - ($context['filter_date'] * 24 * 60 * 60? ) ."' <= ml.posterTime";

To
         $datefilter = "AND '". ( time() - ($context['filter_date'] * 24 * 60 * 60? )) ."' <= ml.posterTime";

Sorry, but I have same error :

Parse error: syntax error, unexpected ')' in /home2/diego/public_html/Sources/MessageIndex.php on line 175

Any other idea ?
Title: Re: Topics Filter v2.2
Post by: karlbenson on January 19, 2008, 05:28:24 PM
can you attach your messageindex.php please
Title: Re: Topics Filter v2.2
Post by: diegolyanky on January 19, 2008, 05:33:06 PM
Sure ... Here is  ;D
Title: Re: Topics Filter v2.2
Post by: karlbenson on January 19, 2008, 06:39:07 PM
For some reason one of the brackets got changed to a question mark.

Replace
$datefilter = "AND '". ( time() - ($context['filter_date'] * 24 * 60 * 60? )) ."' <= ml.posterTime";
With
$datefilter = "AND '". ( time() - ($context['filter_date'] * 24 * 60 * 60) ) ."' <= ml.posterTime";
Title: Re: Topics Filter v2.2
Post by: diegolyanky on January 19, 2008, 06:55:31 PM
Same error but in other line ...

Parse error: syntax error, unexpected ')' in /home2/diego/public_html/Sources/MessageIndex.php on line 319

But, I corrected by replacing:


$datefilter = "AND '". ( time() - ($context['filter_date'] * 24 * 60 * 60? ) ."' <= ml.posterTime";



With:


$datefilter = "AND '". ( time() - ($context['filter_date'] * 24 * 60 * 60) ) ."' <= ml.posterTime";


And I give this error:

Unknown column '113Array' in 'where clause'
Archivo: /home2/diego/public_html/Sources/MessageIndex.php
Línea: 825

Line 825 says:

LIMIT " . ($pre_query ? '' : "$start, ") . "$maxindex", __FILE__, __LINE__);

DAtabase error ?
Title: Re: Topics Filter v2.2
Post by: karlbenson on January 19, 2008, 07:18:16 PM
Try
$datefilter = "AND ". ( time() - ($context['filter_date'] * 24 * 60 * 60) ) ." <= ml.posterTime";
Title: Re: Topics Filter v2.2
Post by: diegolyanky on January 20, 2008, 08:41:04 PM
I'm sorry, but I was the same error ...

Parse error: syntax error, unexpected ')' in /home2/diego/public_html/Sources/MessageIndex.php on line 319

IF you like, I can give you an access to my FTP to try ;)

Thanks for your time ;)
Title: Re: Topics Filter v2.2
Post by: diegolyanky on January 23, 2008, 03:33:51 AM
So ? ... ANy other solution ? ... I wanna use your cool MOD  ;D
Title: Re: Topics Filter v2.2
Post by: karlbenson on January 23, 2008, 04:34:46 AM
Replace those few lines with
// Don't filter by date unless filter date is set
if($context['filter_date'] == "366")
$datefilter = "AND ". ( time() - (365 * 24 * 60 * 60) ) ." > ml.posterTime";
elseif($context['filter_date'] != 0)
$datefilter = "AND ". ( time() - ($context['filter_date'] * 24 * 60 * 60) ) ." <= ml.posterTime";
Title: Re: Topics Filter v2.2
Post by: diegolyanky on January 23, 2008, 09:31:29 AM
I did it and I have this error:

Unknown column '112Array' in 'where clause'
Archivo: /home2/diego/public_html/Sources/MessageIndex.php
Línea: 829

Title: Re: Topics Filter v2.2
Post by: ディン1031 on January 23, 2008, 10:38:38 AM
So i help diegolyanky:

The Strange thing is, you mod have error here, somehow you have a special esc char in you mod xD, with it it will not work. But that did you all ready show how to fix. (You should fix it in you mod, too).

The other thing that now occure is,

You use $filter as variable, but you also fill this variable with a array. But you forget to remove the array if nothing is selected... One way could be search for:

// Sequential pages are often not optimized, so we add an additional query.

and add before

//Normal this should not happen!
if(!empty($filter) && is_array($filter))
$filter = '';

, than it will never happen that there is array in it, but i'm not sure if this correct, because it is possible that there is a other mistake ;)

I hope it will help you to find the error.

Bye
DIN1031
Title: Re: Topics Filter v2.2
Post by: ne.miguelito on January 23, 2008, 11:09:26 AM
It lacks the letter L,

in MessageIndex.template.php


find   

$letters = array('0-9','A','B','C','D','E','F','G','H','I','J','K','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','all');


replace

$letters = array('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','all');

Title: Re: Topics Filter v2.2
Post by: diegolyanky on January 23, 2008, 03:34:01 PM
Quote from: ディン1031 on January 23, 2008, 10:38:38 AM
So i help diegolyanky:

The Strange thing is, you mod have error here, somehow you have a special esc char in you mod xD, with it it will not work. But that did you all ready show how to fix. (You should fix it in you mod, too).

The other thing that now occure is,

You use $filter as variable, but you also fill this variable with a array. But you forget to remove the array if nothing is selected... One way could be search for:

// Sequential pages are often not optimized, so we add an additional query.

and add before

//Normal this should not happen!
if(!empty($filter) && is_array($filter))
$filter = '';

, than it will never happen that there is array in it, but i'm not sure if this correct, because it is possible that there is a other mistake ;)

I hope it will help you to find the error.

Bye
DIN1031

DIN1031 is a GENIUS !!! ... Man, you found the error only on the code, without testing and in only 3 minutes !!!! ... You are great ! ...
Tell me the truth: Is your real name " NEO " ? :D
Many thanks a lot for your help ! ...

Worked very fine ;)
Title: Re: Topics Filter v2.3
Post by: karlbenson on February 12, 2008, 10:10:39 PM
2.3 - 13th February 2008
o Fixed missing L from Alphanum filter
o Fixed disappearing filters where guest is viewing board with children, but no posts.
Title: Re: Topics Filter v2.3
Post by: ne.miguelito on February 14, 2008, 11:06:55 AM
Filter topics based on
o Post Date
- Last 90 Days | Last 180 Days | Last 270 Days | Last 365 Days | Over 365 days

at this options appears this errors only if I change page( like go page 2 inside the board):

Unknown table 'ml' in where clause
Ficheiro: /home/nemigue/public_html/Sources/MessageIndex.php
Linha: 619
Title: Re: Topics Filter v2.3
Post by: karlbenson on February 14, 2008, 11:11:53 AM
version of smf?
Can you please attach your MessageIndex.php
Title: Re: Topics Filter v2.3
Post by: ne.miguelito on February 14, 2008, 11:34:21 AM
My version is 1.1.4

You can see here: http://ne-miguelito.freealoja.com/index.php


Thank you.
Title: Re: Topics Filter v2.3
Post by: karlbenson on February 14, 2008, 06:49:05 PM
Sorry for taking so long to get back to you.

I have managed to fix it with an additional edit. It is included in v2.4. It is probably preferential if you can to uninstall 2.3, then installing 2.4 rather than manually applying this fix, as it will mean in future, the mod will be able to uninstall.

FIND
LEFT JOIN {$db_prefix}members AS meml ON (meml.ID_MEMBER = ml.ID_MEMBER)" : '') . "

REPLACE
LEFT JOIN {$db_prefix}members AS meml ON (meml.ID_MEMBER = ml.ID_MEMBER)" : "LEFT JOIN {$db_prefix}messages AS ml ON (ml.ID_MSG = t.ID_LAST_MSG)") . "
Title: Re: Topics Filter v2.3
Post by: karlbenson on February 14, 2008, 06:49:51 PM
V2.4 now available, fixing the above bug.

2.4 - 14th February 2008
o Fixed ml. no table
Title: Re: Topics Filter v2.4
Post by: ne.miguelito on February 14, 2008, 07:20:17 PM
I prefer to do manually...  Already it works well



you could indicate (manually) as fix this point from the previous version:

o Fixed disappearing filters where guest is viewing board with children, but no posts.

Sorry my bad English...
Title: Re: Topics Filter v2.4
Post by: karlbenson on February 14, 2008, 07:38:27 PM
Unfortunately its too time consuming to provide detailed changes.
Thats one of the reason I tend not to do upgrade packages. And with the no. of mods I have and am currently updating, its impractical.

If you were specificially asking me about that change it was

Sources/MessageIndex.php
FIND
// If there are children, but no topics and no ability to post topics...
$context['no_topic_listing'] = !empty($context['boards']) && empty($context['topics']) && !$context['can_post_new'];

REPLACE
// If there are children, but no topics and no ability to post topics...
// Only if no filtering is being done here, otherwise they won't be able to remove the filter
$usingfilter = (!isset($letter) && empty($context['filter_topics']) && empty($context['filter_date'])) ? 0 : 1 ;
$context['no_topic_listing'] = !empty($context['boards']) && empty($context['topics']) && !$context['can_post_new'] && !$usingfilter;
Title: Re: Topics Filter v2.4
Post by: ne.miguelito on February 14, 2008, 07:47:28 PM
Thank you
Title: Re: Topics Filter v2.4
Post by: edi67 on February 15, 2008, 12:55:40 PM
nice mod kalr

Italian Translation:
//Topic Filter
$txt['filter_saved'] = '(Salvati)';
$txt['filter_date_title'] = '=Post-Filtro Data=';
$txt['filter_date_0'] = 'Nessuno';
$txt['filter_date_1'] = 'Oggi';
$txt['filter_date_2'] = 'Fino Ieri';
$txt['filter_date_7'] = 'Ultimi 7 Giorni';
$txt['filter_date_30'] = 'Ultimi 30 Giorni';
$txt['filter_date_60'] = 'Ultimi 60 Giorni';
$txt['filter_date_90'] = 'Ultimi 90 Giorni';
$txt['filter_date_180'] = 'Ultimi 180 Giorni';
$txt['filter_date_270'] = 'Ultimi 270 Giorni';
$txt['filter_date_365'] = 'Ultimi 365 Giorni';
$txt['filter_date_366'] = 'Oltre 365 Giorni';
$txt['filter_topics_title'] = '=Topic/Filtro Post=';
$txt['filter_topics_0'] = 'Nessuno';
$txt['filter_topics_1'] = 'Topics Senza Repliche';
$txt['filter_topics_2'] = 'Topics Caldi';
$txt['filter_topics_3'] = 'Topics Molto Caldi';
$txt['filter_topics_4'] = 'Sondaggi';
$txt['filter_topics_5'] = 'Topics Bloccati';
$txt['filter_topics_6'] = 'Topics Propri';
$txt['filter_paginate_title'] = '=Topics Per Pagina=';
$txt['filter_paginate_10'] = 10 ;
$txt['filter_paginate_20'] = 20 ;
$txt['filter_paginate_30'] = 30 ;
$txt['filter_paginate_40'] = 40 ;
$txt['filter_paginate_50'] = 50 ;
$txt['filter_paginate_forumdefault'] = 'Forum Default';
$txt['filter_paginate_perpage'] = 'Per Pagina';
$txt['filter_alphanum'] = 'Abilita la Barra Filtro Alfanumerica';
$txt['filter_alphanum_desc'] = 'Filtra i topics che cominciano con il carattere';
$txt['filter_alphanum_all'] = 'Tutti';
Title: Re: Topics Filter v2.4
Post by: ApplianceJunk on February 19, 2008, 06:37:04 PM
Seems to work great on our site and just what I was looking for.
I wanted a easy way to search our boards for topics that had 0 replies.

This is going to make that job very easy, thanks!

You the mod master...
Title: Re: Topics Filter v2.4
Post by: karlbenson on February 19, 2008, 06:52:10 PM
Thanks Appliance
Title: Re: Topics Filter v2.4
Post by: ApplianceJunk on February 19, 2008, 08:38:26 PM
When you pick a filter it puts (saved) in front of it.
How do I go about making the (Saved) show up in red text?

Thanks,
Title: Re: Topics Filter v2.4
Post by: karlbenson on February 19, 2008, 08:40:25 PM
Yes, it saves it in the session for guests, and in the database for users.

You maybe able to style that WHOLE line. But with dropdowns, you can't style individual words in it.
Title: Re: Topics Filter v2.4
Post by: ApplianceJunk on February 19, 2008, 10:39:29 PM
Would it be easy for me to change it so it saves it in the sessions for guests and for users?
Title: Re: Topics Filter v2.4
Post by: karlbenson on February 19, 2008, 10:52:20 PM
In the words of Borat: "Not so much."

Its not that impossible, but it would require customizing/cut and pasting bits of code around.
Title: Re: Topics Filter v2.4
Post by: D.S on February 23, 2008, 02:03:28 PM
Plz can u help me

see my results

1.    Execute Modification     ./Sources/Load.php     Test failed
2.    Execute Modification    ./Sources/ManageBoards.php    Test successful
3.    Execute Modification    ./Sources/Subs-Boards.php    Test successful
4.    Execute Modification    ./Themes/default/ManageBoards.template.php    Test successful
5.    Execute Modification    ./Sources/MessageIndex.php    Test successful
6.    Execute Modification    ./Sources/Load.php    Test successful
7.    Execute Modification    ./Themes/default/MessageIndex.template.php    Test successful
8.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
9.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test successful
10.    Execute Modification    ./Themes/default/languages/Modifications.english_british.php    Skipping file
11.    Execute Modification    ./Themes/default/languages/Modifications.english_british-utf8.php    Test successful
12.    Execute Modification    ./Themes/default/languages/Modifications.turkish.php    Skipping file
13.    Execute Modification    ./Themes/default/languages/Modifications.turkish-utf8.php    Test successful
14.    Execute Modification    ./Themes/default/languages/Modifications.portuguese.php    Skipping file
15.    Execute Modification    ./Themes/default/languages/Modifications.portuguese-utf8.php    Test successful
16.    Execute Code    install.php    

no.1 = Test failed
best regards
Title: Re: Topics Filter v2.4
Post by: karlbenson on February 23, 2008, 02:07:40 PM
It looks like its conflicting with another mod which you have installed.
You'll have to install it on the Load.php manually.

use a package parser to provide you with the edits.
http://www.adrevenueshare.com/parser
Title: Re: Topics Filter v2.4
Post by: D.S on February 23, 2008, 02:20:34 PM
thank u for speed reply

I will do that ...

best regard
Title: Re: Topics Filter v2.4
Post by: D.S on February 23, 2008, 04:08:47 PM
Quote from: karlbenson on February 23, 2008, 02:07:40 PM
It looks like its conflicting with another mod which you have installed.
You'll have to install it on the Load.php manually.

use a package parser to provide you with the edits.
http://www.adrevenueshare.com/parser

looool

it's working ..

thank u very much
best regards
Title: Re: Topics Filter v2.4
Post by: karlbenson on February 23, 2008, 04:11:04 PM
Thanks D.S

Best of luck with it ;)
Title: Re: Topics Filter v2.4
Post by: Ryan on February 24, 2008, 05:41:16 PM
You topics filter mod is great you know the alpha numer organising feature a-z etc for boards that you can turn on...

I think i would use it on my baord that i we post lyrics on.. would be great that alphabetical ordering..

But i think the down side is that it shows 0 posts in the board when you enter...

Can you have a tick box to show all posts normally..
And then have the option to chooose by letter..

Otherwise if i just switched this feature on i think it would confuse all my members into thinking the stuff is gone! lol

Let me know karl as this is great feature just think maybe kinda be better listing the boards content as it would per normal.
Title: Re: Topics Filter v2.4
Post by: karlbenson on February 24, 2008, 06:11:25 PM
Sorry I don't fully understand what your asking.

Do you mean like the memberlist where you select K and it sorts by alphabetically and then goes to the page eg 10 and focuses to the first topic beginning with K?
(but still showing all the other topics).

If it is, I couldn't figure out how do that when I designed the mod (and still don't know how to).

And actually my point is to filter, rather than sort. That way it reduces the load created by MessageIndex, and increases performance. (by not having to return 1000 topics, do all the pagination etc)
Title: Re: Topics Filter v2.4
Post by: Stirred on February 24, 2008, 08:34:05 PM
Hello.

First, congratulations. This is a terrific mod!!

One problem i have is with Alpha-Numeric listing. Well when i press one letter like for example "G" it gives me in certain boards other topic that starts with another letter. And it hangs i think the listing, and i have only 2 topics on G, when one is G and other is wrong, when I should have like 30.

The install went ok with a little change in one line on Sub-Boards.php. And it doesn´t shows up any errors. So... I really don´t know how to put this right.

I attach my Sub-Boards.php and MessageIndex.template.php. Would be very good If you guys could give me a hand on this.

Bye and my best regards.
Title: Re: Topics Filter v2.4
Post by: karlbenson on February 24, 2008, 09:24:28 PM
Forum link?

Are there any other letters or spaces before it.

it will only match those starting with G

So subjects with the following will work
Good day
but these will not work for example
[space]Good day
nor
-Good day
!Good Day
>good day
Title: Re: Topics Filter v2.4
Post by: Stirred on February 25, 2008, 03:39:52 AM
Hello.

karlbenson I sent you a PM with my forum link. I cannot put it over here, since is an adult site.
As you can see that example you give is not my problem. It starts with the correct letter but it doesn´t shows up.

Thanks in advance for supporting your mod this fast. Anything you need from here in order for you figure this out. Just ask.

Best Regards
Title: Test failing at Modifications.english-utf8.php file.
Post by: Javed_dotsis365 on March 03, 2008, 11:21:01 AM
Hi,

I would like to install this module but having problems with initial test. Please Help

   Type     Action     Description
1.    Execute Modification    ./Sources/Load.php    Test successful
2.    Execute Modification    ./Sources/ManageBoards.php    Test successful
3.    Execute Modification    ./Sources/Subs-Boards.php    Test successful
4.    Execute Modification    .Themes/default/ManageBoards.template.php    Test successful
5.    Execute Modification    ./Sources/MessageIndex.php    Test successful
6.    Execute Modification    ./Sources/Load.php    Test successful
7.    Execute Modification    .Themes/default/MessageIndex.template.php    Test successful
8.    Execute Modification    .Themes/default/languages/Modifications.english.php    Test successful
9.    Execute Modification    .Themes/default/languages/Modifications.english-utf8.php    Test failed
10.    Execute Modification    .Themes/default/languages/Modifications.english_british.php    Skipping file
Title: Re: Topics Filter v2.4
Post by: karlbenson on March 03, 2008, 07:07:05 PM
Are you using utf8?
OPEN
Themes/default/languages/Modifications.english-utf8.php

Is it blank? if it is, delete it.

If its not blank.
OPEN
Themes/default/languages/Modifications.english.php

COPY EVERYTHING from that file and with it REPLACE everything in
Themes/default/languages/Modifications.english-utf8.php
Title: Re: Topics Filter v2.4
Post by: Javed_dotsis365 on March 03, 2008, 08:56:18 PM
Thanks mate I already used the package parser. And did the changes to the Modifications.english-utf8.php

Anyways the package parser link has drop down link which shows SMF version till 1.1.3
Title: Re: Topics Filter v2.4
Post by: karlbenson on March 03, 2008, 09:17:24 PM
All the 1.1.x versions should work for 1.1.3

I have however updated the parser I host to work for 1.1.4 and the smf 2.0 betas
http://www.adrevenueshare.com/parser
Title: Re: Topics Filter v2.4
Post by: ne.miguelito on March 08, 2008, 09:38:50 PM
Erro na base de dados: Unknown column 'mf.subject' in 'where clause'
Ficheiro: /home/nemigue/public_html/Sources/MessageIndex.php
Linha: 619
Title: Re: Topics Filter v2.4
Post by: karlbenson on March 09, 2008, 06:16:39 AM
Are you using v2.4?
Can you attach your MessageIndex.php please.

How often do you get it?  Every page? or is it caused in certain conditions?
Title: Re: Topics Filter v2.4
Post by: ne.miguelito on March 09, 2008, 08:29:23 AM
I don't know, he appears in the Forum Error Log, I use Topics Filter 2.0, but with the modifications that you have been suggesting...
Title: Re: Topics Filter v2.4
Post by: karlbenson on March 09, 2008, 11:46:39 AM
Several bugs were fixed in 2.4.

I would recommend uninstalling the version you have, then installing 2.4
Title: Re: Topics Filter v2.4
Post by: ne.miguelito on March 09, 2008, 02:21:45 PM
it won't be easy to uninstall, because it already suffered some alterations...
Title: Re: Topics Filter v2.4
Post by: karlbenson on March 10, 2008, 06:57:41 AM
Sorry to hear about that.

Of course its upto you.

But in order to fix that bug, you would need to use the latest version.
Title: Re: Topics Filter v2.4
Post by: Force73 on April 25, 2008, 03:59:58 AM
Hey ho, i've installed this mod manually yesterday by using the "show what you need to edit"-Function here and also the PackageParser one.

I've never used this one before.

The Problem could be a missing DB_column, but i dont know how to get this infos.


The Error (on every board, subboard or message link):

Unknown column 'b.filter_alphanum' in 'field list'

I just need to know the modifications for DB. Please let me know. :-)


UPDATE:
//edit:  I've executed the SQL statements by hand ... know the pages stay plain white, if I use a link to a board, subboard etc. :-) it's friday, it kills me  :D


Update2:
//edit: The problem are these variables:

$datefilter
$topicfilter
$letterfilter

I can't put them where they should be, because the place is right _within_ of a sql-query. Not a good place to do it there. I've attached my MessageIndex.php. Would be cool if someone could help me.
Title: Re: Topics Filter v2.4
Post by: karlbenson on April 25, 2008, 10:13:26 AM
They need to right in the middle of the query as per the edit.

Each represents extra 'query' conditions which are built a little earlier.
If that particular query isn't set, then it will be set as blank.
Title: Re: Topics Filter v2.4
Post by: Fabiolas on April 30, 2008, 05:23:58 PM
Quote from: karlbenson on March 03, 2008, 09:17:24 PM
All the 1.1.x versions should work for 1.1.3

I have however updated the parser I host to work for 1.1.4 and the smf 2.0 betas
http://www.adrevenueshare.com/parser


i tryed but not worked this mod with smf 2.0 beta 3

can you take this mod campatible ? thank you !
Title: Re: Topics Filter v2.4
Post by: karlbenson on April 30, 2008, 05:44:19 PM
This mod will not work for SMF 2.0 yet.

i haven't yet updated it.  I plan too. But with all mods, its a case of when i get around to it.
Title: Re: Topics Filter v2.4
Post by: Fabiolas on April 30, 2008, 05:47:01 PM
Quote from: karlbenson on April 30, 2008, 05:44:19 PM
This mod will not work for SMF 2.0 yet.

i haven't yet updated it.  I plan too. But with all mods, its a case of when i get around to it.

ok.. i will waiting for new version ;)
Title: Re: Topics Filter v2.4
Post by: risla on May 04, 2008, 01:23:08 AM
Hi, karlbenson!
I from Russia and i want use your great mod. SMF ver. 1.1.4. I download v. 2.4 and install this. No error found. I cut code from Modifications.english.php and paste it to Modifications.russian.php. I translated all $txt and i can post it, if you need it for russian mod:)
2 troubles: 1) it not works & 2) we have another alphabet: not a-z (а-я).
Can you help me with my troubles?
Sorry my english.   
Title: Re: Topics Filter v2.4
Post by: karlbenson on May 04, 2008, 12:53:03 PM
It will not work with other letters.
Title: Re: Topics Filter v2.4
Post by: Kimmie on May 17, 2008, 02:48:19 AM
Hi Karl :)

Taking your advice from my other topic that I had posted requesting help for that error "Unknown column 'mf.subject' in 'where clause'". I went to uninstall my current version of this mod (2.4) and I am getting a MESS of errors...

1. Execute Modification ./Sources/Load.php Test failed  
2. Execute Modification ./Sources/ManageBoards.php Test failed  
3. Execute Modification ./Sources/Subs-Boards.php Test failed  
4. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
5. Execute Modification ./Sources/MessageIndex.php Test successful
6. Execute Modification ./Sources/Load.php Test successful
7. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
8. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed  
9. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
10. Execute Modification ./Themes/default/languages/Modifications.english_british.php Skipping file
11. Execute Modification ./Themes/default/languages/Modifications.english_british-utf8.php Skipping file
12. Execute Modification ./Themes/default/languages/Modifications.turkish.php Skipping file
13. Execute Modification ./Themes/default/languages/Modifications.turkish-utf8.php Skipping file
14. Execute Modification ./Themes/default/languages/Modifications.portuguese.php Skipping file
15. Execute Modification ./Themes/default/languages/Modifications.portuguese-utf8.php Skipping file

I know you dont have alot of time on your hands, so when you have time, could you give me some advice on this? (it would be greatly appreciated). Right now I am only getting that error on two specific pages when someone is using the filter. Is there a way I can just "manually" edit some of the code to fix this specific error since its the only problem I am having with it? I am not very good at manualy installing mods (thank goodness with the theme I use, I dont have to, they all install fine thru package manager). I will probably screw it up if I have to manually uninstall everything and then reinstall the whole mod manually again.  :-[

TIA
Title: Re: Topics Filter v2.4
Post by: karlbenson on May 17, 2008, 01:17:01 PM
Put the mod through a package parser
http://www.adrevenueshare.com/parser

And manually install the mod.
Title: Re: Topics Filter v2.4
Post by: Kimmie on May 19, 2008, 01:20:40 AM
Quote from: karlbenson on May 17, 2008, 01:17:01 PM
Put the mod through a package parser
http://www.adrevenueshare.com/parser

And manually install the mod.

Those above "test failed's" are happening when I try to "un"install the current mod I have not when I try to install the newer version of the mod

Are you saying I just need to run the updated mod thru the package parser and change any code I need to change so it matches the new updated mod code?
Title: Re: Topics Filter v2.4
Post by: karlbenson on May 19, 2008, 09:37:46 AM
Sorry if i was unclear.

Basically the most common reason for edits failing is that another mod has preceeded to alter the same areas of code after it.
[Normal] Use a package parser to provide you with the edits so you can work backwards and UNINSTALL.
Then when you've finished uninstalling, install the new one.

[Advanced] Alternatively if you have a suitable program you could do a 'diff' between the new install.xml and the old install.xml.
(and then make the adjustments accordingly)
Title: Re: Topics Filter v2.4
Post by: Kimmie on May 23, 2008, 03:03:21 PM
ah..ok I understand now..thanks :)

Im thinking the advanced way is going to be easier for several reasons - mostly because there is less to do, which will leave less room for human error. Ive found a few programs that will let you compare 2 xml files so I am going to try that and see how it goes.


Edit - Unfortuntely, I am not going to be able to do either option. I do not have the original mod on my pc (in zip form), and you no longer have it on the download page for me to redownload and compare the xml files. (which means I cant even do a full manual uninstall). My backup drive died a few days ago and I had to nix it. All the mods - in zipped form - were stored on it

Any new suggestions?  lol
Title: Re: Topics Filter v2.4
Post by: karlbenson on May 23, 2008, 03:14:05 PM
What version were you using?
I might have still have a copy.

Note for future reference you NEED to keep a copy in order to uninstall the mod.  You can't uninstall your version with the latest version.
Title: Re: Topics Filter v2.4
Post by: Kimmie on May 25, 2008, 09:57:45 PM
Quote from: karlbenson on May 23, 2008, 03:14:05 PM
What version were you using?
I might have still have a copy.

Note for future reference you NEED to keep a copy in order to uninstall the mod.  You can't uninstall your version with the latest version.


yes I know I need to keep a copy of it, but one cannot "predict" hard drive crashes. I had a copy of this mod stored on my "back up" drive and it was the one that crashed.


The version I am using is 2.4 which is your latest version - I thought I was using an earlier version but I was incorrect. So that tells me there is still something wrong because the 2.4 version was supposed to fix those paticular errors. One of the places this error ocurrs is on "Page 2" when I am using the topic filter on a certain board. I just checked it and this is the error I am "now" getting. (see attached image). Note that the part about the database is out of date did not appear until I upgraded to 1.1.5. The original error was only the top portion of the error in the image. I have no idea what the upgrade.php is for - and assumed that installing the upgrade via package manager did just that - upgraded it. Was I wrong? Am I suppsed to run upgrade.php in my browser or something? I was also getting that mf.subject error before I installed 1.1.5 so I know that it wont fix that part - but it looks as though I actually have two problems there now. 


Title: Re: Topics Filter v2.4
Post by: Kimmie on May 29, 2008, 02:57:17 PM
ok I have gone thru each file that the mod adjusts and I cannot see any differences. Maybe you can. The error is in the MessageIndex.php so I have attached mine.

Here is the error:

Database Error: Unknown column 'mf.subject' in 'where clause'
File: /home/patriotg/public_html/Sources/MessageIndex.php
Line: 615

The error only seems to happen when someone is using the topic filter on the letters "B" and "S" and are trying to view page 2 of that section.

Title: Re: Topics Filter v2.4
Post by: karlbenson on May 29, 2008, 03:26:44 PM
Hmm. Looks like a bug. Last time it was ml.subject, now mf.subject.

Try on line 605 replacing
FROM ({$db_prefix}topics AS t" . ($context['sort_by'] === 'last_poster' ? ", {$db_prefix}messages AS ml" : (in_array($context['sort_by'], array('starter', 'subject')) ? ", {$db_prefix}messages AS mf" : '')) . ')' . ($context['sort_by'] === 'starter' ? "
WITH
FROM ({$db_prefix}topics AS t" . ($context['sort_by'] === 'last_poster' ? ", {$db_prefix}messages AS ml" : "") .", {$db_prefix}messages AS mf)"
. ($context['sort_by'] === 'starter' ? "
Title: Re: Topics Filter v2.4
Post by: Kimmie on May 29, 2008, 03:39:37 PM
just tried and now I am getting this:

The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay
File: /home/patriotg/public_html/Sources/MessageIndex.php
Line: 615

(been gettin this one since I upgraded to 1.1.5)

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.5, while your database is at version 1.1.4. The above error might possibly go away if you execute the latest version of upgrade.php.
Title: Re: Topics Filter v2.4
Post by: karlbenson on May 29, 2008, 05:42:58 PM

Undo the change above

And try this instead.

Line 609
WHERE t.ID_BOARD = $board" . ($context['sort_by'] === 'last_poster' ? "
ADD BEFORE
". ( !in_array($context['sort_by'], array('starter', 'subject')) ? 'LEFT JOIN {$db_prefix}messages AS mf ON (mf.ID_MSG = t.ID_FIRST_MSG)' : '' ) ."

If that doesn't work, undo that and try this.

Line 612
FIND
$letterfilter
REPLACE
". ( in_array($context['sort_by'], array('starter', 'subject')) ? str_replace('mf.subject', 'ml.subject', $letterfilter) : $letterfilter ) ."
[/s]
Edit: Didn't work
Title: Re: Topics Filter v2.4
Post by: Kimmie on May 30, 2008, 12:12:34 AM
tried the 1st one and got this:

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 '}messages AS mf ON (mf.ID_MSG = t.ID_FIRST_MSG)
WHERE t.ID_BOARD = 26

' at line 3
File: /home/patriotg/public_html/Sources/MessageIndex.php
Line: 616

(tried this one twice just to make sure it wasnt me not copying/pasting correctly)
________

Tried the second one and got this:

Unknown column 'mf.subject' in 'where clause'
File: /home/patriotg/public_html/Sources/MessageIndex.php
Line: 616

_________

After trying the first one, you no longer had to click on any specific letters on the alpha bar before seeing the error, that error came up just by clicking on pages 2 and 3 of the area that they are happening in period (not sure if that means anything..lol). Also, I noticed that the error jumped from line 615 to 616 while trying those two fixes.
Title: Re: Topics Filter v2.4
Post by: karlbenson on May 30, 2008, 04:25:32 PM
Sorry thats my fault for being lazy and not testing it first.
The first one I posted worked once I changed the single quotes to double quotes.
So

Line 609
WHERE t.ID_BOARD = $board" . ($context['sort_by'] === 'last_poster' ? "
ADD BEFORE
". ( !in_array($context['sort_by'], array('starter', 'subject')) ? "LEFT JOIN {$db_prefix}messages AS mf ON (mf.ID_MSG = t.ID_FIRST_MSG)" : '' ) ."

Once, you've confirmed this works for you. I'll fix it and upload a v2.5

P.S I appreciate your assistance in helping me with this.
Title: Re: Topics Filter v2.4
Post by: Kimmie on May 30, 2008, 05:14:26 PM
no problem.. thanks for helping ME to try and get it fixed. Unfortunately, after trying the latest fix, I got this:

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 '}messages AS mf ON (mf.ID_MSG = t.ID_FIRST_MSG)
WHERE t.ID_BOARD = 26

' at line 3
File: /home/patriotg/public_html/Sources/MessageIndex.php
Line: 616
Title: Re: Topics Filter v2.4
Post by: karlbenson on May 30, 2008, 05:40:51 PM
Kimmie. Sorry I'm being a moron. I posted the exact same code as before. Without changing the single quotes to double quotes.
Please try it again.
Title: Re: Topics Filter v2.4
Post by: Kimmie on May 31, 2008, 03:42:23 AM
Ding Ding Ding We HAVE a winner!!!    :D :D  (and your not a moron)
Title: Re: Topics Filter v2.4
Post by: karlbenson on May 31, 2008, 06:38:14 PM
2.5 - 31st May 2008
o Fixed mf.subject query error. (Thanks Kimmie)
Title: Re: Topics Filter v2.5
Post by: flying.man on June 05, 2008, 08:26:32 PM
can we add more items to AlphaNumeric filter bar?

i.e. :

... O, Ö, P, Q, R, S, Ş, T, THE, ...

would be great if it were...
Title: Re: Topics Filter v2.5
Post by: Soms on June 14, 2008, 03:14:26 PM
Dutch translation

Quote$txt['filter_saved'] = '(Opgeslagen)';
$txt['filter_date_title'] = '=Post-Datum Filter=';
$txt['filter_date_0'] = 'Geen';
$txt['filter_date_1'] = 'Vandaag';
$txt['filter_date_2'] = 'Sinds gisteren';
$txt['filter_date_7'] = 'Afgelopen 7 dagen';
$txt['filter_date_30'] = 'Afgelopen 30 dagen';
$txt['filter_date_60'] = 'Afgelopen 60 dagen';
$txt['filter_date_90'] = 'Afgelopen 90 dagen';
$txt['filter_date_180'] = 'Afgelopen 180 dagen';
$txt['filter_date_270'] = 'Afgelopen 270 dagen';
$txt['filter_date_365'] = 'Afgelopen 365 dagen';
$txt['filter_date_366'] = 'Over 365 dagen';
$txt['filter_topics_title'] = '=Topic/Post filter=';
$txt['filter_topics_0'] = 'Geen';
$txt['filter_topics_1'] = 'Topics zonder antwoorden';
$txt['filter_topics_2'] = 'Populair topics';
$txt['filter_topics_3'] = 'Zeer populair topics';
$txt['filter_topics_4'] = 'Polls';
$txt['filter_topics_5'] = 'Gesloten topics';
$txt['filter_topics_6'] = 'Eigen topics';
$txt['filter_paginate_title'] = '=Topics per pagina=';
$txt['filter_paginate_10'] = 10 ;
$txt['filter_paginate_20'] = 20 ;
$txt['filter_paginate_30'] = 30 ;
$txt['filter_paginate_40'] = 40 ;
$txt['filter_paginate_50'] = 50 ;
$txt['filter_paginate_forumdefault'] = 'Forum standaard';
$txt['filter_paginate_perpage'] = 'Per pagina';
$txt['filter_alphanum'] = 'Sta AlphaNumeric Filter bar toe';
$txt['filter_alphanum_desc'] = 'Filter topics door begin karakter';
$txt['filter_alphanum_all'] = 'Alle';
Title: Re: Topics Filter v2.5
Post by: asko on July 03, 2008, 09:35:54 AM
Here's the french translation  ;D

note : &eacute; is for é

Quote
$txt['filter_saved'] = '(Sauv&eacute;)';
$txt['filter_date_title'] = '=Filtre sur age=';
$txt['filter_date_0'] = 'Aucun';
$txt['filter_date_1'] = 'Aujourdhui';
$txt['filter_date_2'] = 'depuis hier';
$txt['filter_date_7'] = '7 derniers jours';
$txt['filter_date_30'] = '30 derniers jours';
$txt['filter_date_60'] = '60 derniers jours';
$txt['filter_date_90'] = '90 derniers jours';
$txt['filter_date_180'] = '180 derniers jours';
$txt['filter_date_270'] = '270 derniers jours';
$txt['filter_date_365'] = 'Sur 1 an';
$txt['filter_date_366'] = 'plus d 1 an';
$txt['filter_topics_title'] = '=Filtre Sujets/r&eacute;ponses=';
$txt['filter_topics_0'] = 'Aucun';
$txt['filter_topics_1'] = 'Sujets sans r&eacute;ponse';
$txt['filter_topics_2'] = 'Sujets populaires';
$txt['filter_topics_3'] = 'Sujets tr&eacute;s populaires';
$txt['filter_topics_4'] = 'Sondages';
$txt['filter_topics_5'] = 'Sujets verrouill&eacute;s';
$txt['filter_topics_6'] = 'Mes sujets';
$txt['filter_paginate_title'] = '=Sujets par page=';
$txt['filter_paginate_10'] = 10 ;
$txt['filter_paginate_20'] = 20 ;
$txt['filter_paginate_30'] = 30 ;
$txt['filter_paginate_40'] = 40 ;
$txt['filter_paginate_50'] = 50 ;
$txt['filter_paginate_forumdefault'] = 'Valeurs par d&eacute;faut';
$txt['filter_paginate_perpage'] = 'Par Page';
$txt['filter_alphanum'] = 'Activer la barre de filtre alphanum&eacute;rique';
$txt['filter_alphanum_desc'] = 'Sujets commençant par ';
$txt['filter_alphanum_all'] = 'Tout';
Title: Re: Topics Filter v2.5
Post by: Alpay on July 08, 2008, 07:58:22 AM
hi;
do you thinkin adaptation for modification on smf version 2.0 beta 3.1 ?
Title: Re: Topics Filter v2.5
Post by: karlbenson on July 08, 2008, 10:08:55 AM
Eventually yes when i get the time.
But at the moment i'm too busy.
Title: Re: Topics Filter v2.5
Post by: Alpay on July 10, 2008, 07:22:02 AM
Okay, I'll wait for that thanks from now.
Title: Re: Topics Filter v2.5
Post by: Kimmie on July 22, 2008, 05:47:31 PM
this is kinda funny but I need help with it just the same hehehe

I installed a new theme - and made the necessary edits to the MessageIndex.template.php and the Modifications.english.php files for that theme. The filter works great, however, I dont know HOW I did it, but the filter is at the "top" of the topic view instead of the bottom..lol. (see attached image).

Now, the filter being at the top is NOT a problem. Actually I like it at the top much better because when you have alot of topics on a board, folks have to scroll all the way to the bottom just to get to it. It being at the top is alot more convenient and makes sure that everyone viewing that board sees it.

Something that might be the cause but I cant determine because I dont have a copy of it to check is: I have 2.4 installed, but the only one listed on the mod page is 2.5. (I dont have a copy of 2.4 because I had that hardrive crash and lost it a while back). 2.5 is the one I used to make the theme edits.

What did I do to cause it to appear at the top, and how do I change it so that its like that on the default theme? (I have another theme I use that pulls from the default themes files so I would like it to be on the top there as well) :)

Ive attached those 2 files incase you want to look at them.
Title: Re: Topics Filter v2.5
Post by: karlbenson on July 22, 2008, 06:01:27 PM
Well you put it in the wrong place.
(and it isn't w3c valid where you put it)
As you've put the rows of the table OUTSIDE of the table.

If you want it near the top, it should be inside the table

either just before
$stickybar = false;
$normalbar = false;

to be just below the columns of the table

OR
if you truly want it above the table columns, it would need to go between

echo '
<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">
* AT THIS POINT *
<tr>';

// Are there actually any topics to show?
if (!empty($context['topics']))


The code would need splitting and * AT THIS POINT * would be where the code would go. (although you since your breaking an echo statement remember to close the first part, and start the echo again, otherwise you'll get a template parse error)
Title: Re: Topics Filter v2.5
Post by: Kimmie on July 22, 2008, 07:09:03 PM
I put the code exactly where the parser on the mod page said to (or atleast I thought I did). I will double check it again tho.

I checked the messageindex file - the parser says to put it right above this line which is where I put it.

if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics']))




I even checked the messageindex on the default theme to make sure thats where it was at on that one too and it is, so I am totaly confused now..lol.:

im not sure what the w3c even is - is it important?  hehe. 

Edit: I just copied my message.index file from my default theme over to my new theme and it corrected it and put the filter back down at the bottom. I noticed on a few places, it was messing up my link tree at the top. I sure would like to have it up at the top though. (hint hint..hehe). I know your busy. I know absolutely nothing about coding but if you wouldnt mind helpin a girl out when you had a few minutes to spare I would greatly appreciate it :).
Title: Re: Topics Filter v2.5
Post by: Kimmie on July 24, 2008, 12:04:03 AM
ok I think I got it fixed now..hehe. putting a copy of the default messageindex file into my custom theme didnt work (I assumed they would be the same but their not) - it caused a bunch of errors with some other mods so I put the original version back on, and used a program called ExamDiff to compare them. It showed they were indeed in seperate places in the file but they were both still above that same line of code. (atleast it looked the same to me..lol). At any rate, I moved the filter mod code down to where it was on the defaut file and that seems to have fixed it.

Sheesh.. this mod stuff is confusinggggg....lol

Title: Re: Topics Filter v2.5
Post by: Alpay on August 20, 2008, 04:36:57 AM
Quote from: Alpay on July 08, 2008, 07:58:22 AM
hi;
do you thinkin adaptation for modification on smf version 2.0 beta 3.1 ?

Quote from: karlbenson on July 08, 2008, 10:08:55 AM
Eventually yes when i get the time.
But at the moment i'm too busy.

Up karlbenson =)
uP1 :P
Title: Re: Topics Filter v2.5
Post by: vyb3 on November 10, 2008, 08:13:39 AM
This mod is sick man thanks, just wat i was lookin for, works perfectly too :) big thanks
Title: Re: Topics Filter v2.5
Post by: FireDitto on November 22, 2008, 05:47:15 AM
Request;

A lot of my topics have a non-numeric or alphabetic key as the starting name ie; [title] and I would request help with adjusting the code slightly, so that if the starting keystroke isn't a letter or number, it skips it and moves to the second.

Thanks.
Title: Re: Topics Filter v2.5
Post by: Kimmie on February 15, 2009, 10:02:01 AM
I am moving to 1.1.8 tomorrow. Are there any specific changes that need to be made in order for this to be compatible with 1.1.8? (other than changing the package-xml file so that it will install/uninstall)?


Thanks :)
Title: Re: Topics Filter v2.5
Post by: karlbenson on February 15, 2009, 10:05:34 AM
This mod is no longer supported by its author and is looking for someone to take over development (including making it 2.x compatible)

If you would like to take over development please send a Pm and request to the customization team.
http://www.simplemachines.org/community/index.php?action=pm;sa=send;u=1
Title: Re: Topics Filter v2.5
Post by: Kimmie on February 15, 2009, 10:13:52 AM
I wasnt asking about taking it over..lol. I just wanted to know if there are any specific changes that needed to be made to make it compatible with 1.1.8.  Surely someone has used it on 1.1.8. I assume you do not know the answer to my question?

Title: Re: Topics Filter v2.5
Post by: karlbenson on February 15, 2009, 10:18:49 AM
It should work on any 1.1.x version.
Title: Re: Topics Filter v2.5
Post by: Alpay on April 10, 2009, 02:45:21 PM
M-DVD welcome =)

do you thinkin adaptation for modification on smf version 2.0 rc1 ?
Title: Re: Topics Filter v2.5
Post by: M-DVD on April 10, 2009, 05:00:27 PM
Quote from: Alpay on April 10, 2009, 02:45:21 PM
M-DVD welcome =)

do you thinkin adaptation for modification on smf version 2.0 rc1 ?

Thank you.

I'm working on that. I release all the same day. :)
Title: Re: Topics Filter v2.5
Post by: Milo_link on April 10, 2009, 08:47:07 PM
please M-DVD to do it 1.1.8
Title: Re: Topics Filter v2.5
Post by: M-DVD on April 10, 2009, 11:19:59 PM
Quote from: Milo_link on April 10, 2009, 08:47:07 PM
please M-DVD to do it 1.1.8

Yes, also :)

But already this MOD should be work for SMF 1.1.8

I have done a installation in a SMF 1.1.8 fresh install without problem. ::)
Title: Re: Topics Filter v2.5
Post by: Milo_link on April 11, 2009, 02:04:32 AM
o.k thanks I will try
Title: Re: Topics Filter v2.5
Post by: islam2hamy on April 13, 2009, 02:43:33 PM
nice mod

Arabic-utf8 :


<file name="$languagedir/Modifications.arabic-utf8.php" error="skip">
<!--// Adds the language strings used by this modification //-->
   <operation>
      <search position="after"><![CDATA[?>]]></search>
         <add><![CDATA[
$txt['filter_saved'] = '(تم الحفظ)';
$txt['filter_date_title'] = '=مرشح المشاركات-التاريح=';
$txt['filter_date_0'] = 'غير معروف';
$txt['filter_date_1'] = 'اليوم';
$txt['filter_date_2'] = 'منذ أمس';
$txt['filter_date_7'] = 'آخر 7 أيام';
$txt['filter_date_30'] = 'آخر 30 يوم';
$txt['filter_date_60'] = 'آخر 60 يوم';
$txt['filter_date_90'] = 'آخر 90 يوم';
$txt['filter_date_180'] = 'آخر 180 يوم';
$txt['filter_date_270'] = 'آخر 270 يوم';
$txt['filter_date_365'] = 'آخر 365 يوم';
$txt['filter_date_366'] = 'أكثر من 365 يوم';
$txt['filter_topics_title'] = '=مرشح المواضيع/المشاركات=';
$txt['filter_topics_0'] = 'غير معروف';
$txt['filter_topics_1'] = 'المواضيع التى لا يوجد بها ردود';
$txt['filter_topics_2'] = 'المواضيع الساخنة';
$txt['filter_topics_3'] = 'المواضيع الشعبية';
$txt['filter_topics_4'] = 'الإستفتاءات';
$txt['filter_topics_5'] = 'المواضيع المغلقة';
$txt['filter_topics_6'] = 'مواضيعى';
$txt['filter_paginate_title'] = '=عدد المواضيع لكل صفحة=';
$txt['filter_paginate_10'] = 10 ;
$txt['filter_paginate_20'] = 20 ;
$txt['filter_paginate_30'] = 30 ;
$txt['filter_paginate_40'] = 40 ;
$txt['filter_paginate_50'] = 50 ;
$txt['filter_paginate_forumdefault'] = 'إفتراضى المنتدى';
$txt['filter_paginate_perpage'] = 'لكل صفحة';
$txt['filter_alphanum'] = 'تفعيل شريط ترشيح المواضيع';
$txt['filter_alphanum_desc'] = 'لترشيح المواضيع';
$txt['filter_alphanum_all'] = 'الكل';
]]></add>
   </operation>
</file>


please before put the translation in the file be sure that the file encode is UTF-8
Title: Re: Topics Filter v2.5
Post by: M-DVD on April 25, 2009, 11:56:14 AM
Hi :D

I have finished the update for this MOD.

Have new code, and new settings.

Also have (some) new text string. If somebody would like translate, these are the texts:

$txt['filter_Reset'] = 'Reset';
$txt['filter_Off'] = 'Topics Filter Off: You Need Javascript Enable';

$txt['filter_letter_title'] = 'Letter Filter';
$txt['filter_letter_values'][0] = 'All';

$txt['filter_date_title'] = 'Post/Date Filter';
$txt['filter_date_values'][0] = 'None';
$txt['filter_date_values'][] = 'Today';
$txt['filter_date_values'][] = 'Since Yesterday';
$txt['filter_date_values'][] = 'Last 7 Days';
$txt['filter_date_values'][] = 'Last 30 Days';
$txt['filter_date_values'][] = 'Last 60 Days';
$txt['filter_date_values'][] = 'Last 90 Days';
$txt['filter_date_values'][] = 'Last 180 Days';
$txt['filter_date_values'][] = 'Last 270 Days';
$txt['filter_date_values'][] = 'Last 365 Days';
$txt['filter_date_values'][] = 'Over a year ago';

$txt['filter_replies_title'] = 'Topic/Post Replies Filter';
$txt['filter_replies_values'][0] = 'None';
$txt['filter_replies_values'][] = 'Topics Without Replies';
$txt['filter_replies_values'][] = 'Hot Topics';
$txt['filter_replies_values'][] = 'Very Hot Topics';
$txt['filter_replies_values'][] = 'Polls';
$txt['filter_replies_values'][] = 'Locked Topics';
$txt['filter_replies_values'][] = 'Own Topics';

$txt['filter_pages_title'] = 'Topic Per Page';
$txt['filter_pages_values'][0] = 'Number by Default';
$txt['filter_pages_values'][] = '10 Per Page';
$txt['filter_pages_values'][] = '20 Per Page';
$txt['filter_pages_values'][] = '30 Per Page';
$txt['filter_pages_values'][] = '40 Per Page';
$txt['filter_pages_values'][] = '50 Per Page';

$txt['topicsfilter_enable'] = 'Enable Topics Filter MOD';
$txt['topicsfilter_date'] = 'Enable Filter by Date';
$txt['topicsfilter_replies'] = 'Enable Filter by Replies';
$txt['topicsfilter_pages'] = 'Enable Filter Topic per Page';
$txt['topicsfilter_letter'] = 'Enable Filter by Letter';

Quote from: islam2hamy on April 13, 2009, 02:43:33 PM
nice mod

Arabic-utf8 :

please before put the translation in the file be sure that the file encode is UTF-8

Thanks :)
Title: Re: Topics Filter v2.5
Post by: Alpay on April 25, 2009, 12:53:33 PM
Quote from: M-DVD on April 25, 2009, 11:56:14 AM
Hi :D

I have finished the update for this MOD.


Rc 1 ?
I am very happy if rc1 ;D
Title: Re: Topics Filter v2.5
Post by: M-DVD on April 25, 2009, 01:12:35 PM
Quote from: Alpay on April 25, 2009, 12:53:33 PM
Quote from: M-DVD on April 25, 2009, 11:56:14 AM
Hi :D

I have finished the update for this MOD.


Rc 1 ?
I am very happy if rc1 ;D

Yes, but, yet i haven't uploaded the package.  :P

Only I have notified, if someone would like translate, to upload the translations included in the package.
Title: Re: Topics Filter v2.5
Post by: M-DVD on April 26, 2009, 04:46:20 PM
MOD Topics Filter v3.0
===============


From now on I take the development of this MOD :)

=======================================

New features:

How do I upgrade?

=======================================

Características Nuevas:


¿Como actualizar?
Title: Re: Topics Filter v3.0
Post by: Sakae on April 26, 2009, 05:28:11 PM
Awesome MOD! Installed fine in my website - http://www.tigrelog.com.br

Here is Brazilian (UTF-8) language (Modifications.brazilian-utf8.php)

// MOD Topics Filter
$txt['filter_Reset'] = 'Limpar';
$txt['filter_Off'] = 'Filtro de t&oacute;picos desativado: Ligue o Javascript';

$txt['filter_letter_title'] = 'Filtrar por ordem alfab&eacute;tica';
$txt['filter_letter_values'][0] = 'Mostrar tudo';

$txt['filter_date_title'] = 'Data';
$txt['filter_date_values'][0] = 'Desativar';
$txt['filter_date_values'][] = 'Hoje';
$txt['filter_date_values'][] = 'Desde ontem';
$txt['filter_date_values'][] = '&Uacute;ltima semana';
$txt['filter_date_values'][] = '&Uacute;ltimo m&ecirc;s';
$txt['filter_date_values'][] = '&Uacute;ltimos 60 dias';
$txt['filter_date_values'][] = '&Uacute;ltimos 90 dias';
$txt['filter_date_values'][] = '&Uacute;ltimos 180 dias';
$txt['filter_date_values'][] = '&Uacute;ltimos 270 dias';
$txt['filter_date_values'][] = '&Uacute;ltimos 365 dias';
$txt['filter_date_values'][] = 'Mais de um ano';

$txt['filter_replies_title'] = 'Respostas';
$txt['filter_replies_values'][0] = 'Desativar';
$txt['filter_replies_values'][] = 'Sem respostas';
$txt['filter_replies_values'][] = 'T&oacute;picos quentes';
$txt['filter_replies_values'][] = 'T&oacute;picos super quentes';
$txt['filter_replies_values'][] = 'Com enquetes';
$txt['filter_replies_values'][] = 'T&oacute;picos trancados';
$txt['filter_replies_values'][] = 'Seus t&oacute;picos';

$txt['filter_pages_title'] = 'T&oacute;picos por p&aacute;gina';
$txt['filter_pages_values'][0] = 'Desativar';
$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'] = 'Ligar filtro de t&oacute;picos';
$txt['topicsfilter_date'] = 'Ligar filtro por data';
$txt['topicsfilter_replies'] = 'Ligar filtro por respostas';
$txt['topicsfilter_pages'] = 'Ligar filtro de t&oacute;picos por p&aacute;gina';
$txt['topicsfilter_letter'] = 'Ligar filtro por ordem alfab&eacute;tica';
Title: Re: Topics Filter v3.0
Post by: M-DVD on April 26, 2009, 06:00:12 PM
Quote from: softcore on April 26, 2009, 05:28:11 PM
Awesome MOD! Installed fine in my website - http://www.tigrelog.com.br

Here is Brazilian (UTF-8) language (Modifications.brazilian-utf8.php)

Thanks, only one person had downloaded the package, then I've re uploaded the packages and i have included your translation :)
Title: Re: Topics Filter v3.0
Post by: 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!
Title: Re: Topics Filter v3.0
Post by: 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)
Title: Re: Topics Filter v3.0
Post by: Sudhakar Arjunan on April 27, 2009, 02:33:50 PM
Thanks for the update Author.
Title: Re: Topics Filter v3.0
Post by: Alpay on April 29, 2009, 01:50:11 PM
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>
Title: Re: Topics Filter v3.0
Post by: M-DVD on May 02, 2009, 08:13:46 PM
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

Title: Re: Topics Filter v3.0
Post by: edi67 on May 03, 2009, 08:42:30 AM
nice mod
Title: Re: Topics Filter v3.0
Post by: M-DVD on May 03, 2009, 07:08:44 PM
Quote from: edi67 on May 03, 2009, 08:42:30 AM
nice mod

Thanks for comment :)
Title: Re: Topics Filter v3.0
Post by: ttuu on May 03, 2009, 07:20:49 PM
in firefox its work fine bit in IE8 its says error
"oTopicsFilter Is not set"
Title: Re: Topics Filter v3.0
Post by: M-DVD on May 03, 2009, 07:39:12 PM
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.

Title: Re: Topics Filter v3.0
Post by: 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.
Title: Re: Topics Filter v3.0
Post by: Sudhakar Arjunan 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

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
Title: Re: Topics Filter v3.0
Post by: M-DVD on May 05, 2009, 10:26:41 PM
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.
Title: Re: Topics Filter v3.0
Post by: Nibogo on May 05, 2009, 11:11:26 PM
Really nice mod M-DVD :)
Title: Re: Topics Filter v3.0
Post by: 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 ?
Title: Re: Topics Filter v3.0
Post by: M-DVD on May 08, 2009, 06:58:41 PM
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 :)
Title: Re: Topics Filter v3.0
Post by: ZeUsSaN on May 14, 2009, 10:41:48 PM
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']= 'Разрешить фильтр сообщений';
Title: Re: Topics Filter v3.0
Post by: M-DVD on May 16, 2009, 08:43:11 PM
Quote from: ZeUsSaN on May 14, 2009, 10:41:48 PM
ukrainian:
russian:

Thanks, I have uploaded your translation :D
Title: Re: Topics Filter v3.0
Post by: 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.

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.
Title: Re: Topics Filter v3.0
Post by: M-DVD on May 26, 2009, 10:28:28 PM
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 :)

Title: Re: Topics Filter v3.0
Post by: 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.

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.

Title: Re: Topics Filter v3.0
Post by: M-DVD on May 27, 2009, 09:46:55 PM
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 :)
Title: Re: Topics Filter v3.0
Post by: ianus on May 29, 2009, 06:05:14 AM
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


Title: Re: Topics Filter v3.0
Post by: Joe N on May 29, 2009, 06:10:40 AM
Nice Mod  ;)
Title: Re: Topics Filter v3.0
Post by: M-DVD on May 31, 2009, 01:51:29 AM
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 :)
Title: Re: Topics Filter v3.0
Post by: Eclipse16V on May 31, 2009, 05:45:34 AM
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';
Title: Re: Topics Filter v3.0
Post by: ianus on May 31, 2009, 06:19:11 AM
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.
Title: Re: Topics Filter v3.0
Post by: 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 ?
Title: Re: Topics Filter v3.0
Post by: M-DVD on June 01, 2009, 12:34:05 AM
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.
Title: Re: Topics Filter v3.0
Post by: MaXiForum.cz on June 01, 2009, 03:06:43 AM
Nice mod!
Czech translate (http://www.simplemachines.org/community/index.php?topic=301494.msg2088066#msg2088066) ;)
Title: Re: Topics Filter v3.0
Post by: 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
Title: Re: Topics Filter v3.0
Post by: djkmmo on June 01, 2009, 10:25:15 AM
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.
Title: Re: Topics Filter v3.0
Post by: 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.
Title: Re: Topics Filter v3.0
Post by: djkmmo on June 01, 2009, 04:11:22 PM
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.
Title: Re: Topics Filter v3.0
Post by: M-DVD on June 01, 2009, 06:56:15 PM
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 (http://www.simplemachines.org/community/index.php?topic=301494.msg2088066#msg2088066) ;)

Thanks, I will add your translation :D
Title: Re: Topics Filter v3.0
Post by: djkmmo on June 01, 2009, 07:31:22 PM
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 (http://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.
Title: Re: Topics Filter v3.0
Post by: M-DVD on June 01, 2009, 07:47:24 PM
Quote from: MaxiPes on June 01, 2009, 03:06:43 AM
Nice mod!
Czech translate (http://www.simplemachines.org/community/index.php?topic=301494.msg2088066#msg2088066) ;)

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 (http://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.
Title: Re: Topics Filter v3.0
Post by: djkmmo on June 01, 2009, 07:58:48 PM
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.
Title: Re: Topics Filter v3.0
Post by: Eclipse16V on June 01, 2009, 11:59:54 PM
OK,
here 2 version i make it.
all two version dosen´t work.
Title: Re: Topics Filter v3.0
Post by: MaXiForum.cz on June 02, 2009, 09:56:04 AM
2 M-DVD I make the translation for version 3.0 too ;)
Title: Re: Topics Filter v3.0
Post by: Eclipse16V on June 03, 2009, 12:02:51 AM
Are there already any pieces of news?

Thanks
Title: Re: Topics Filter v3.0
Post by: acappella7 on June 03, 2009, 06:05:48 AM
I'm newbie admin for webboard with SMF. I used SMF version 1.1.9.
I interested this MOD so much!!!
BUT I got some problem that I need some helps!!
I install Topic Filter 3.0 by Manual Install Instructions for SMF 1.1.9

http://custom.simplemachines.org/mods/index.php?mod=965

I don't understand about install_1.php that manual guide suggest me to query manaully because the codes cannot be execute standalone.

So...

How can I execute this code manually?

I tried to run install_1.php on web browser (Firefox). It showed me this words
"Fatal error: Call to undefined function db_query() in /var/www/forum/TopicsFilter_v3_0/install_1.php on line 15"

Please I need some helps!!!

ps. I managed this webboards on Linux Ubuntu.
ps2. Sorry for bad English.  >:(
Title: Re: Topics Filter v3.0
Post by: M-DVD on June 03, 2009, 10:57:59 PM
Quote from: Eclipse16V on June 01, 2009, 11:59:54 PM
OK,
here 2 version i make it.
all two version dosen´t work.

Your attach look fine.

Maybe, your forum cached hasn't been updated. (in SMF 2XX)

Do the change, clean this cache, and test.

--

Quote from: MaxiPes on June 02, 2009, 09:56:04 AM
2 M-DVD I make the translation for version 3.0 too ;)

Sorry, I must be blind, I see only the translation of the old version. :P

Quote from: MaxiPes on June 01, 2009, 03:04:09 AM
Topics Filter V2.5
THX M-DVD  :o
http://www.simplemachines.org/community/index.php?topic=199770.0

do souboru
www/Themes/default/languages/Modifications.czech-utf8.php
vložte toto:

// Topics Filter
$txt['filter_saved'] = '[Nastaveno]';
$txt['filter_date_title'] = '=Filtrovat podle data=';
$txt['filter_date_0'] = 'Žádný filtr';
$txt['filter_date_1'] = 'Dnes';
$txt['filter_date_2'] = 'Včera a dnes';
$txt['filter_date_7'] = 'Posledních 7 dní';
$txt['filter_date_30'] = 'Posledních 30 dní';
$txt['filter_date_60'] = 'Posledních 60 dní';
$txt['filter_date_90'] = 'Posledních 90 dní';
$txt['filter_date_180'] = 'Posledních 120 dní';
$txt['filter_date_270'] = 'Posledních 270 dní';
$txt['filter_date_365'] = 'Posledních 365 dní';
$txt['filter_date_366'] = 'Více jak 365 dní';
$txt['filter_topics_title'] = '=Filtrovat podle postů/druhu témat=';
$txt['filter_topics_0'] = 'Žádný filtr';
$txt['filter_topics_1'] = 'Témata bez odpovědí';
$txt['filter_topics_2'] = 'Oblíbená témata';
$txt['filter_topics_3'] = 'Hodně oblíbená témata';
$txt['filter_topics_4'] = 'Ankety';
$txt['filter_topics_5'] = 'Zamknutá témata';
$txt['filter_topics_6'] = 'Vlastní témata';
$txt['filter_paginate_title'] = '=Témat na stránku=';
$txt['filter_paginate_10'] = 10 ;
$txt['filter_paginate_20'] = 20 ;
$txt['filter_paginate_30'] = 30 ;
$txt['filter_paginate_40'] = 40 ;
$txt['filter_paginate_50'] = 50 ;
$txt['filter_paginate_forumdefault'] = 'Základní nastavení fóra';
$txt['filter_paginate_perpage'] = 'témat na stránku';
$txt['filter_alphanum'] = 'Povolit filtrovací řádek s abecedou';
$txt['filter_alphanum_desc'] = 'Zobrazí pouze posty začínající na určité písmeno';
$txt['filter_alphanum_all'] = 'Vše';


--

Quote from: acappella7 on June 03, 2009, 06:05:48 AM
I'm newbie admin for webboard with SMF. I used SMF version 1.1.9.
I interested this MOD so much!!!
BUT I got some problem that I need some helps!!
I install Topic Filter 3.0 by Manual Install Instructions for SMF 1.1.9

http://custom.simplemachines.org/mods/index.php?mod=965

I don't understand about install_1.php that manual guide suggest me to query manaully because the codes cannot be execute standalone.

So...

How can I execute this code manually?

I tried to run install_1.php on web browser (Firefox). It showed me this words
"Fatal error: Call to undefined function db_query() in /var/www/forum/TopicsFilter_v3_0/install_1.php on line 15"

Please I need some helps!!!

ps. I managed this webboards on Linux Ubuntu.
ps2. Sorry for bad English.  >:(


You can:

1.-  Edit the install_1.php and Add:

if (file_exists(dirname(__FILE__) . '/SSI.php') && !defined('SMF'))
  require_once(dirname(__FILE__) . '/SSI.php');
elseif (!defined('SMF'))
  die('<b>Error:</b> Cannot install - please verify you put this in the same place as SMF\'s index.php.');


After <?php

2.- Upload and Run install_1.php.

3.- And Erase this file :)
Title: Re: Topics Filter v3.0
Post by: acappella7 on June 03, 2009, 11:23:59 PM
Thank you very much M-DVD

I can use it already!!!

Cool MOD!!!  :D
Title: Re: Topics Filter v3.0
Post by: Eclipse16V on June 03, 2009, 11:48:16 PM
Yes,
cache is clean. But it dosen´t work.  :(
Title: Re: Topics Filter v3.0
Post by: M-DVD on June 04, 2009, 12:07:01 AM
Quote from: acappella7 on June 03, 2009, 11:23:59 PM
Thank you very much M-DVD

I can use it already!!!

Cool MOD!!!  :D

Your welcome :)

--

Quote from: Eclipse16V on June 03, 2009, 11:48:16 PM
Yes,
cache is clean. But it dosen´t work.  :(

What happens?

I see fine your forum and the topic filter working ::)
Title: Re: Topics Filter v3.0
Post by: Eclipse16V on June 04, 2009, 12:42:23 AM
And how I become this error in the logs:

QuoteDatenbankfehler: Unknown column 't.id_topic' in 'field list'


SELECT t.id_topic
FROM smf_topics AS tLEFT JOIN smf_messages AS ml ON (ml.id_msg = t.id_last_msg)
LEFT JOIN smf_messages AS mf ON (mf.id_msg = t.id_first_msg)
WHERE t.id_board = 26



ORDER BY is_sticky DESC, id_last_msg DESC
LIMIT 20, 20

Datei: .../Sources/MessageIndex.php
Zeile: 513

:(
Title: Re: Topics Filter v3.0
Post by: acappella7 on June 04, 2009, 02:59:45 AM
I want to modify this to filter topic by year and by month that topic posted.

Can you suggest me ?

I read those code I think I will modify those code at /Source/MessageIndex.php but I don't understand some variables.

Can you help me for this?

Thank you.
Title: Re: Topics Filter v3.0
Post by: MaXiForum.cz on June 04, 2009, 12:55:34 PM
Quote from: M-DVD on June 03, 2009, 10:57:59 PM
Quote from: MaxiPes on June 02, 2009, 09:56:04 AM
2 M-DVD I make the translation for version 3.0 too ;)

Sorry, I must be blind, I see only the translation of the old version. :P

Version 3.0  :D ;)
http://www.simplemachines.org/community/index.php?topic=301494 (http://www.simplemachines.org/community/index.php?topic=301494)
Title: Re: Topics Filter v3.0
Post by: djkmmo on June 04, 2009, 01:15:47 PM
Quote from: djkmmo on June 01, 2009, 07:58:48 PM
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.

An update... It's the PrettyURL Board URLs that are causing the trouble. Everything works just fine if I inactivate the board urls and just use Topics and Actions  URLs. To put it another way: a quick fix is to setup the boards with Pretty URL board URLs activated and inactivate it afterwards. That way all of the Boards are accessible via the base URL, but the URL shown in the addres bar when you visit a topic will be the topics Pretty URL.
Title: Re: Topics Filter v3.0
Post by: M-DVD on June 04, 2009, 10:16:24 PM
Quote from: Eclipse16V on June 04, 2009, 12:42:23 AM
And how I become this error in the logs:
:(

Yes, I know this bug. In the next version I will fix it.

But before, I want solved the issue with Pretty_URL (although, I will cannot make a generic solution that works for everyone, regardless whether or not to have this MOD installed).

--

Quote from: acappella7 on June 04, 2009, 02:59:45 AM
I want to modify this to filter topic by year and by month that topic posted.

Can you suggest me ?

I read those code I think I will modify those code at /Source/MessageIndex.php but I don't understand some variables.

Can you help me for this?

Thank you.

Try, search:

(10 == $user_info['filter_date'] ? ' > ml.posterTime' : ' <= ml.posterTime');

Replace:
(10 == $user_info['filter_date'] ? ' > mf.posterTime' : ' <= mf.posterTime');

I think, it should work  :-\

--

Quote from: MaxiPes on June 04, 2009, 12:55:34 PM
Quote from: M-DVD on June 03, 2009, 10:57:59 PM
Quote from: MaxiPes on June 02, 2009, 09:56:04 AM
2 M-DVD I make the translation for version 3.0 too ;)

Sorry, I must be blind, I see only the translation of the old version. :P

Version 3.0  :D ;)
http://www.simplemachines.org/community/index.php?topic=301494 (http://www.simplemachines.org/community/index.php?topic=301494)

Thanks, your translation have been uploaded  :D

--

Quote from: djkmmo on June 04, 2009, 01:15:47 PM
An update... It's the PrettyURL Board URLs that are causing the trouble. Everything works just fine if I inactivate the board urls and just use Topics and Actions  URLs. To put it another way: a quick fix is to setup the boards with Pretty URL board URLs activated and inactivate it afterwards. That way all of the Boards are accessible via the base URL, but the URL shown in the addres bar when you visit a topic will be the topics Pretty URL.

Thanks for the tip.

Maybe I cannot included a fix, but this can help, for a fix or for the people with this problem.
Title: Re: Topics Filter v3.0
Post by: MaXiForum.cz on June 16, 2009, 01:38:15 PM
M-DVD, I have a question.
Database code from the version 2.5 is not usable for the version 3.0, is it?
Does the version 2.5 have to be uninstalled to upgrade it to the version 3.0?

I have a problem in the version 2.5 with CZ character Ě Š Č Ř Ž Ý Á Í É
Topics with this character on the first line are not viewed :(
Is it fixed in verison 3.0?
I don´t want to do the upgrade uselessly.
Thanks ;)
Title: Re: Topics Filter v3.0
Post by: M-DVD on June 17, 2009, 01:02:57 AM
Quote from: MaxiPes on June 16, 2009, 01:38:15 PMDatabase code from the version 2.5 is not usable for the version 3.0, is it?
No

Quote from: MaxiPes on June 16, 2009, 01:38:15 PMDoes the version 2.5 have to be uninstalled to upgrade it to the version 3.0?
Yes

Quote from: MaxiPes on June 16, 2009, 01:38:15 PM
I have a problem in the version 2.5 with CZ character Ě Š Č Ř Ž Ý Á Í É
Topics with this character on the first line are not viewed :(
Is it fixed in verison 3.0?
I don´t want to do the upgrade uselessly.
Thanks ;)

I don't know if I understood you.

You say?... if an topic has title "Águila Volando" (for example), then, in the 'letter filter' you choose the letter A, this topic doesn't appear in the result.

?
Title: Re: Topics Filter v3.0
Post by: MaXiForum.cz on June 17, 2009, 01:56:31 AM
Quote from: M-DVD on June 17, 2009, 01:02:57 AM
No

I thought so

Quote from: M-DVD on June 17, 2009, 01:02:57 AM
Yes

OK

Quote from: M-DVD on June 17, 2009, 01:02:57 AM
I don't know if I understood you.

You say?... if an topic has title "Águila Volando" (for example), then, in the 'letter filter' you choose the letter A, this topic doesn't appear in the result.

?

Yes
http://www.maxiforum.cz/index.php/board,43.0/letter,C.html
" Č " characte not viewed.
Topics with  "Č" character doesn't appear in the result. :(

Thanks ;)
Title: Re: Topics Filter v3.0
Post by: M-DVD on June 21, 2009, 12:58:21 PM
@Translators: I need the nexts texts. If I have the translation complete, I could add more languajes in the package for the next version.

Thanks :)


$txt['topicsfilter_date1'] = 'Enable Filter by Date Topic';
$txt['topicsfilter_date2'] = 'Enable Filter by Date Reply';
$txt['topicsfilter_sortby'] = 'Enable Sort Method';

$txt['filter_date1_title'] = 'Reply Date Filter';
$txt['filter_date2_title'] = 'Topic Date Filter';
$txt['filter_sort_title'] = 'Sort by';
$txt['filter_sort_title_values'][] = 'First Post';


--

Quote from: MaxiPes on June 17, 2009, 01:56:31 AM
http://www.maxiforum.cz/index.php/board,43.0/letter,C.html
" Č " characte not viewed.
Topics with  "Č" character doesn't appear in the result. :(

Thanks ;)

Ok.

There is a long answer. I cannot program a solution for this, because this type of rules is change depending on the language. But the biggest obstacle is, I don't know all the languages, and perhaps there is a similarity in XX languaje, but not in another YY languaje.

Example 1: In Spanish:
á ≡ a
é ≡ e
í ≡ i
ó ≡ o
ú ≡ u
ch ≡ c

but
n ≠ ñ

Example 2: In Czech:
Č ≡ C
And, afaik
Ch ≠ C

Anything else?
Anything else languaje?


But luckily there is a short answer. And the solution :P

Your problem is with the DB's collation.

If in your DB, you use the czech collation, You will not have more problems  ;D
Title: Re: Topics Filter v3.0
Post by: MaXiForum.cz on June 21, 2009, 05:15:58 PM
Hmm in my forum

C ≠ Č

My language is czech with UTF-8
My version is 2.5
OK, thanks ;)
Title: Re: Topics Filter v3.0
Post by: djkmmo on June 30, 2009, 05:07:08 AM
Ji!

I have run in to another little problem: I can't access the stats page if I have action rewrite rules activated. Anyone else with this problem?
Title: Re: Topics Filter v3.0
Post by: [Core] on June 30, 2009, 05:26:44 AM
Thanks for the great mod.
Title: Re: Topics Filter v3.0
Post by: M-DVD on July 05, 2009, 02:09:37 PM
Quote from: MaxiPes on June 21, 2009, 05:15:58 PM
Hmm in my forum

C ≠ Č

My language is czech with UTF-8
My version is 2.5
OK, thanks ;)

Ok.

Make sure you have the czech collation in the DB.

Look this info:
http://dev.mysql.com/doc/refman/5.0/en/charset-general.html
http://dev.mysql.com/doc/refman/5.0/en/charset-show.html
http://dev.mysql.com/doc/refman/5.0/en/collation-character-set-applicability-table.html

--

Quote from: djkmmo on June 30, 2009, 05:07:08 AM
Ji!

I have run in to another little problem: I can't access the stats page if I have action rewrite rules activated. Anyone else with this problem?

You'll have more answers in the support topic of that MOD :P

--

Quote from: [<Sharp>] on June 30, 2009, 05:26:44 AM
Thanks for the great mod.

Thanks for your comment :)
Title: Re: Topics Filter v3.0
Post by: arkanoidblue on July 19, 2009, 09:49:12 PM
OK .
Minha pequena contribuição
Ptbr ISO 8859-1

Quote$txt['topicsfilter_date1'] = 'Habilitar Filtro por Data do Tópico';
$txt['topicsfilter_date2'] = 'Habilitar Filtro por Data de Respostas';
$txt['topicsfilter_sortby'] = 'Habilitar Metodo de Ordenação;

$txt['filter_date1_title'] = 'Filtro por data de resposta';
$txt['filter_date2_title'] = 'Filtro por data do tópico';
$txt['filter_sort_title'] = 'Ordenar por';
$txt['filter_sort_title_values'][] = 'Primeiro Post';


Ptbr utf-8

Quote$txt['topicsfilter_date1'] = 'Habilitar Filtro por Data do T&oacute;pico';
$txt['topicsfilter_date2'] = 'Habilitar Filtro por Data de Respostas';
$txt['topicsfilter_sortby'] = 'Habilitar Metodo de Ordena&ccedil;&aatilde;o';

$txt['filter_date1_title'] = 'Filtro por data de resposta';
$txt['filter_date2_title'] = 'Filtro por data do t&oacute;pico';
$txt['filter_sort_title'] = 'Ordenar por';
$txt['filter_sort_title_values'][] = 'Primeiro Post';
Title: Re: Topics Filter v3.0
Post by: Kimmie on August 06, 2009, 09:06:27 PM
added this mod to RC1.2. Everything went ok (no test fails) however, it didnt add the Letter Filter part at all. I aM also seeing these errors when trying to view a topic:

Unknown column 't.id_topic' in 'field list'


Any ideas?

Title: Re: Topics Filter v3.0
Post by: Shark-Time on August 15, 2009, 03:36:46 AM
Great mod mates.. inshallah sooner i will try it...
Title: Re: Topics Filter v3.0
Post by: Kimmie on August 15, 2009, 05:03:10 PM
Quote from: Kimmie on August 06, 2009, 09:06:27 PM
added this mod to RC1.2. Everything went ok (no test fails) however, it didnt add the Letter Filter part at all. I aM also seeing these errors when trying to view a topic:

Unknown column 't.id_topic' in 'field list'


Any ideas?



Title: little modification needed..
Post by: Shark-Time on August 17, 2009, 08:25:51 AM
its installed and working great for me..


well i want to know can you do little modification so users can also search through message icons??

it will be really great to have modification like that.. and it will be really kool cuz i havent seen any thing like filter message icon on any other forum..
Title: Re: Topics Filter v3.0
Post by: Kimmie on August 24, 2009, 12:45:27 PM
Quote from: Kimmie on August 15, 2009, 05:03:10 PM
Quote from: Kimmie on August 06, 2009, 09:06:27 PM
added this mod to RC1.2. Everything went ok (no test fails) however, it didnt add the Letter Filter part at all. I aM also seeing these errors when trying to view a topic:

Unknown column 't.id_topic' in 'field list'
File: /home/****/public_html/Sources/MessageIndex.php
Line: 495


Any ideas?






Bump. Has this mod been abandoned?
Title: Re: Topics Filter v3.0
Post by: .LORD. on August 24, 2009, 06:21:35 PM
Quote from: Kimmie on August 24, 2009, 12:45:27 PM
Bump. Has this mod been abandoned?

The author is On Hiatus. Have patience.
Title: Re: Topics Filter v3.0
Post by: Kimmie on August 24, 2009, 10:44:07 PM
Quote from: .LORD. on August 24, 2009, 06:21:35 PM
Quote from: Kimmie on August 24, 2009, 12:45:27 PM
Bump. Has this mod been abandoned?

The author is On Hiatus. Have patience.

I "have" been patient.. for 3 weeks now lol and thats why I asked if the auth had dumped it like so many others so without letting folks know.  Figured it was time to ask since generally after that time frame, it ususally means its been dumped.

Any idea when he will be back?


Total Errors so far:

Unknown column 't.id_topic' in 'field list'
File: /home/****/public_html/Sources/MessageIndex.php
Line: 495

8: Undefined offset: 60
File: /home/****/public_html/Sources/MessageIndex.php
Line: 128

Any board with "more than 2 pages" - you cannot view any page other than page 1 and is what is generating the 1st error I listed.
Title: Re: Topics Filter v3.0
Post by: .LORD. on August 29, 2009, 10:21:57 AM
Quote from: Kimmie on August 24, 2009, 10:44:07 PM
Any idea when he will be back?

I don't know. I've just read his personal text.

Quote from: Kimmie on August 24, 2009, 10:44:07 PM
and thats why I asked if the auth had dumped it like so many others so without letting folks know.

Yes, but in this case has left a text personal with "On hiatus". Afaik, that's like saying "I'll be back".

Leaving without notice, or leave a notice of "Hasta la vista baby  8)" wasn't the case.

Perhaps he are on vacation, or perhaps has a lot of work. (http://www.simplemachines.org/community/index.php?topic=321151.msg2144101#msg2144101)

Quote from: Kimmie on August 24, 2009, 10:44:07 PM
I "have" been patient.. for 3 weeks now lol

Yes, but we are all volunteers here. This is a privilege.

Quote from: Kimmie on August 24, 2009, 10:44:07 PM
Unknown column 't.id_topic' in 'field list'
File: /home/****/public_html/Sources/MessageIndex.php
Line: 495

8: Undefined offset: 60
File: /home/****/public_html/Sources/MessageIndex.php
Line: 128

Any board with "more than 2 pages" - you cannot view any page other than page 1 and is what is generating the 1st error I listed.

Try disable the Filter Pages.
Title: Re: Topics Filter v3.0
Post by: Kimmie on August 29, 2009, 11:16:46 PM
Quote from: .LORD. on August 29, 2009, 10:21:57 AM
Quote from: Kimmie on August 24, 2009, 10:44:07 PM
Any idea when he will be back?

I don't know. I've just read his personal text.

Quote from: Kimmie on August 24, 2009, 10:44:07 PM
and thats why I asked if the auth had dumped it like so many others so without letting folks know.

Yes, but in this case has left a text personal with "On hiatus". Afaik, that's like saying "I'll be back".

Leaving without notice, or leave a notice of "Hasta la vista baby  8)" wasn't the case.

Perhaps he are on vacation, or perhaps has a lot of work. (http://www.simplemachines.org/community/index.php?topic=321151.msg2144101#msg2144101)

Quote from: Kimmie on August 24, 2009, 10:44:07 PM
I "have" been patient.. for 3 weeks now lol

Yes, but we are all volunteers here. This is a privilege.

Quote from: Kimmie on August 24, 2009, 10:44:07 PM
Unknown column 't.id_topic' in 'field list'
File: /home/****/public_html/Sources/MessageIndex.php
Line: 495

8: Undefined offset: 60
File: /home/****/public_html/Sources/MessageIndex.php
Line: 128

Any board with "more than 2 pages" - you cannot view any page other than page 1 and is what is generating the 1st error I listed.

Try disable the Filter Pages.



Well since I dont use the mod in the thread you just gave me, and therefore have no reason to even be in that thread, it would have been kind of hard for me to know that he was on hiatus now wouldnt it? lol. Unfortunately, I am not a mind reader and do not read every single post on this site. Kinda busy with real life and all  8)

Actually, when most mod auths go on "hiatus" they "usually" put that in their custom name so that it shows under their name so that everyone knows no matter where they are at and dont have to keep asking these kinds of questions. 8)

ok so Filter Pages, just what exactly are those? Wanna explain that in "english" since I no longer have this mod installed (was tired of 500+ errors every day) so I cannot go looking for whatever setting that is, however, if you would like to explain it in more detail, I would be more than happy to reinstall the mod and attempt what you suggested   ;)
Title: Re: Topics Filter v3.0
Post by: .LORD. on August 30, 2009, 01:35:58 AM
Quote from: Kimmie on August 29, 2009, 11:16:46 PM
Well since I dont use the mod in the thread you just gave me, and therefore have no reason to even be in that thread, it would have been kind of hard for me to know that he was on hiatus now wouldnt it? lol. Unfortunately, I am not a mind reader and do not read every single post on this site. Kinda busy with real life and all  8)

Actually, when most mod auths go on "hiatus" they "usually" put that in their custom name so that it shows under their name so that everyone knows no matter where they are at and dont have to keep asking these kinds of questions. 8)

The text personal is less visible, but the badge only is privilege of the Team.  :P

Quote from: Kimmie on August 29, 2009, 11:16:46 PM
ok so Filter Pages, just what exactly are those? Wanna explain that in "english" since I no longer have this mod installed (was tired of 500+ errors every day) so I cannot go looking for whatever setting that is, however, if you would like to explain it in more detail, I would be more than happy to reinstall the mod and attempt what you suggested   ;)

Look the third image of the MOD (http://custom.simplemachines.org/mods/index.php?mod=965).

Disable "Filter Pages" oops "Filter by Topic per Page"

I think the error is by this filter in some situations.
Title: Re: Topics Filter v3.0
Post by: Kimmie on August 31, 2009, 12:47:24 AM
Quote from: .LORD. on August 30, 2009, 01:35:58 AM

The text personal is less visible, but the badge only is privilege of the Team.  :P

True and there is also the "signature area"  (but im not gonna sit here and argue about it) :)


QuoteLook the third image of the MOD (http://custom.simplemachines.org/mods/index.php?mod=965).

Disable "Filter Pages" oops "Filter by Topic per Page"

I think the error is by this filter in some situations.



Thank you and I will try that and see if it works.

Edit: unfortunately, that didnt work. Once this mod is installed, you simply cannot access anything other than page 1 on a board or you get this (without actually using the filter). I tried turning off each setting one by one, etc, but nothing worked. I even turned off the entire filter, but it still gave the error so there si a conflict somewhere just by it being installed.

Unknown column 't.id_topic' in 'field list'
File: /home/****/public_html/Sources/MessageIndex.php
Line: 495


Thanks anyways for trying to help. I thought the pagedropdown mod might have been conflicting with it so I even tried uninstalling that, but no go. I will just have to wait until the mod auth comes back to figure out wat the issue is.
Title: Re: Topics Filter v3.0
Post by: MaXiForum.cz on August 31, 2009, 03:24:30 PM
Check your database Kimmie.
The changes in the database probably didn´t run up.
Title: Re: Topics Filter v3.0
Post by: Kimmie on September 03, 2009, 08:19:56 PM
Quote from: MaxiPes on August 31, 2009, 03:24:30 PM
Check your database Kimmie.
The changes in the database probably didn´t run up.

Im not sure what that even means, sorry  :-[. Could you be a little more specific? Thanks :)
Title: Re: Topics Filter v3.0
Post by: MaXiForum.cz on September 04, 2009, 03:13:31 PM
Quote from: Kimmie on September 03, 2009, 08:19:56 PM
Im not sure what that even means, sorry  :-[. Could you be a little more specific? Thanks :)

Does your database contain this modification?
Title: Re: Topics Filter v3.0
Post by: Kimmie on September 05, 2009, 01:12:09 AM
Truthfully, I am not actually sure how to tell if they are, or if those queries need to be run. I will look more into this sometime tomorrow as I have a very busy weekend ahead of me. Any additional info you can provide would be greatly appreciated as it will speed up the process :)
Title: Re: Topics Filter v3.0
Post by: Shark-Time on September 12, 2009, 08:06:28 AM
hey what about my problem? has any one looked in to it??
Title: Re: Topics Filter v3.0
Post by: Sabre™ on September 12, 2009, 08:21:09 AM
Whats your problem?
Title: Re: Topics Filter v3.0
Post by: Shark-Time on September 12, 2009, 11:00:10 AM
well guess have to ask again here..i posted here before but now its on pg 23...

i was asking can any make messageicon filter possible here..  i mean filter the topics through message icons..just put another drop down for MI filter..

this is how my message filter looks but i want to put MI filter in it too...

it will really awesome to have that feature too...

can you make it possible?
Title: Re: Topics Filter v3.0
Post by: Kimmie on September 12, 2009, 02:36:02 PM
Quote from: MaxiPes on September 04, 2009, 03:13:31 PM
Quote from: Kimmie on September 03, 2009, 08:19:56 PM
Im not sure what that even means, sorry  :-[. Could you be a little more specific? Thanks :)

Does your database contain this modification?


k I will reinstall the mod and then check the DB. Before I do, How do I tell if those queries were ran when it installs?  Or should I go ahead and run them after I install it?
Title: Re: Topics Filter v3.0
Post by: Shark-Time on September 13, 2009, 02:54:47 AM
Have any one this problem that the filter thing dont work in internet explorer??

i have this problem.. when i open my site in IE the filter thing dont appear. which sucks my site.. cuz the bar remains there with nothing in there.. i need this mod.. but i want some one to make this bug fix...

see my this topic and you will understand what im saying..

http://www.simplemachines.org/community/index.php?topic=336276.0

please please fix this problem of IE...

Title: Re: Topics Filter v3.0
Post by: Shark-Time on September 13, 2009, 09:31:24 AM
is this mod still supported by its author? if yes then why no replies from him... do any one else understand on my problem...
has any one else checked that is there mod is working in IE? i mean the old ver. its giving me prob in ver 6.0 of internet explorer...

common at least show some guts and reply to this post...
Title: Re: Topics Filter v3.0
Post by: Shark-Time on September 14, 2009, 09:24:40 PM
well i looked more in to it and i think it has some kind of javascript problem..cuz of which it do not work with IE..




please some one look in to this and help me out...
Title: Re: Topics Filter v3.0
Post by: Shark-Time on September 17, 2009, 05:11:39 AM
bump....Help!!!



Quote from: Shark-Time on September 14, 2009, 09:24:40 PM
well i looked more in to it and i think it has some kind of javascript problem..cuz of which it do not work with IE..




please some one look in to this and help me out...




Title: Re: Topics Filter v3.0
Post by: M-DVD on September 27, 2009, 08:27:07 PM
MOD Topics Filter v3.1
===============


New features:

How do I upgrade?

=======================================

Características Nuevas:


¿Como actualizar?
Title: Re: Topics Filter v3.0
Post by: Kimmie on September 28, 2009, 02:05:57 AM
Quote from: M-DVD on September 27, 2009, 08:27:07 PM
MOD Topics Filter v3.1
===============





thank you thank you thank you thank you thank you thank you.... Will try it first thing in the morning :)
Title: Re: Topics Filter v3.0
Post by: Blinker on September 28, 2009, 05:01:50 AM
Hi M-DVD, nice to see you back!

I installed v3.1 and got the following error:

Fatal error: Call to undefined function: array_diff_key_() in /home/content/x/x/x/xxxxxxxxx/html/forum/Sources/MessageIndex.php on line 840

Line 840 in my file:

$nousingfilter = empty($user_info['filter_topic']) || !count(array_diff(array_diff_key_($user_info['filter_topic'], array('pages' => '')), array('', '0')));

I noticed that in the first instance you used array_diff but after the bracket you used array_diff_key_

I don't know much php but I had a shot in the dark and removed the '_key_' and tried it. It worked!

The mod seems to function fine so I guess all's good. Let us know if that change affects anything serious or whether it was just a typo on your part.

For those of you playing at home the line should now be:

$nousingfilter = empty($user_info['filter_topic']) || !count(array_diff(array_diff($user_info['filter_topic'], array('pages' => '')), array('', '0')));
Title: Re: Topics Filter v3.0
Post by: @ngel on September 28, 2009, 10:07:28 AM
French Translation (beware of accented characters)

$txt['filter_Reset'] = 'Réinitialiser';
$txt['filter_Off'] = 'Filtrage Sujets sur Off: Javascript doit être autorisé';

$txt['filter_letter_title'] = 'Filtrage par Lettre';
$txt['filter_letter_values'][0] = 'Tous';

$txt['filter_icon_title'] = 'Filtrage par Sujet/Icône';
$txt['filter_icon_values'][0] = 'Tous';
$txt['filter_icon_values_end'][0] = 'Déplacé';
$txt['filter_icon_values_end'][1] = 'Recyclé';
$txt['filter_icon_values_end'][2] = 'Sans fil';
$txt['filter_icon_values_end'][3] = 'Pièces jointes';

$txt['filter_date0_title'] = 'Filtrage par Sujet/Date';
$txt['filter_date1_title'] = 'Filtrage par Réponse/Date';
$txt['filter_date_values'][0] = 'Aucun';
$txt['filter_date_values'][1] = 'Aujourd\'hui';
$txt['filter_date_values'][2] = 'Depuis hier';
$txt['filter_date_values'][3] = 'Les 7 derniers jours';
$txt['filter_date_values'][4] = 'Les 30 derniers jours';
$txt['filter_date_values'][5] = 'Les 60 derniers jours';
$txt['filter_date_values'][6] = 'Les 90 derniers jours';
$txt['filter_date_values'][7] = 'Les 180 derniers jours';
$txt['filter_date_values'][8] = 'Les 270 derniers jours';
$txt['filter_date_values'][9] = 'Les 365 derniers jours';
$txt['filter_date_values'][10] = 'Il y a plus d\'un an';

$txt['filter_replies_title'] = 'Filtrage par Sujet/Réponses';
$txt['filter_replies_values'][0] = 'Aucun';
$txt['filter_replies_values'][1] = 'Sujets sans réponses';
$txt['filter_replies_values'][2] = 'Sujets importants';
$txt['filter_replies_values'][3] = 'Sujets très importants';
$txt['filter_replies_values'][4] = 'Sondages';
$txt['filter_replies_values'][5] = 'Sujets verrouillés';
$txt['filter_replies_values'][6] = 'Sujets propriétaires';

$txt['filter_pages_title'] = 'Sujet par page';
$txt['filter_pages_values'][0] = 'Nombre par défaut';
$txt['filter_pages_values'][1] = '10 par Page';
$txt['filter_pages_values'][2] = '20 par Page';
$txt['filter_pages_values'][3] = '30 par Page';
$txt['filter_pages_values'][4] = '40 par Page';
$txt['filter_pages_values'][5] = '50 par Page';

$txt['filter_sort_title'] = 'Tri des sujets';
$txt['filter_sort_values'][0] = 'Les plus récents';
$txt['filter_sort_values'][1] = 'Les plus anciens';
$txt['filter_sort_values'][2] = 'Créateur du sujet';
$txt['filter_sort_values'][3] = 'Dernier créateur';
$txt['filter_sort_values'][4] = 'Sujet';
$txt['filter_sort_values'][5] = 'Réponses';
$txt['filter_sort_values'][6] = 'Vues';

$txt['topicsfilter_enable'] = 'Autoriser le filtrage MOD des sujets';
$txt['topicsfilter_sortby'] = 'Autoriser le changement rapide du tri par sujet';
$txt['topicsfilter_pages'] = 'Autoriser le changement rapide de pagination';
$txt['topicsfilter_date0'] = 'Autoriser le filtrage par date des sujets';
$txt['topicsfilter_date1'] = 'Autoriser le filtrage par date des réponses';
$txt['topicsfilter_replies'] = 'Autoriser le filtrage par réponses';
$txt['topicsfilter_letter'] = 'Autoriser le filtrage par lettre';
$txt['topicsfilter_icon'] = 'Autoriser le filtrage par icône';

AND in UTF-8 (HTML equivalent of characters ISO-8859-1 for pages encoded in UTF-8) :

$txt['filter_Reset'] = 'R&eacuteinitialiser';
$txt['filter_Off'] = 'Filtrage Sujets sur Off: Javascript doit &ecirctre autoris&eacute';

$txt['filter_letter_title'] = 'Filtrage par Lettre';
$txt['filter_letter_values'][0] = 'Tous';

$txt['filter_icon_title'] = 'Filtrage par Sujet/Ic&ocircne';
$txt['filter_icon_values'][0] = 'Tous';
$txt['filter_icon_values_end'][0] = 'D&eacuteplac&eacute';
$txt['filter_icon_values_end'][1] = 'Recycl&eacute';
$txt['filter_icon_values_end'][2] = 'Sans fil';
$txt['filter_icon_values_end'][3] = 'Pi&egraveces jointes';

$txt['filter_date0_title'] = 'Filtrage par Sujet/Date';
$txt['filter_date1_title'] = 'Filtrage par R&eacuteponse/Date';
$txt['filter_date_values'][0] = 'Aucun';
$txt['filter_date_values'][1] = 'Aujourd\'hui';
$txt['filter_date_values'][2] = 'Depuis hier';
$txt['filter_date_values'][3] = 'Les 7 derniers jours';
$txt['filter_date_values'][4] = 'Les 30 derniers jours';
$txt['filter_date_values'][5] = 'Les 60 derniers jours';
$txt['filter_date_values'][6] = 'Les 90 derniers jours';
$txt['filter_date_values'][7] = 'Les 180 derniers jours';
$txt['filter_date_values'][8] = 'Les 270 derniers jours';
$txt['filter_date_values'][9] = 'Les 365 derniers jours';
$txt['filter_date_values'][10] = 'Il y a plus d\'un an';

$txt['filter_replies_title'] = 'Filtrage par Sujet/R&eacuteponses';
$txt['filter_replies_values'][0] = 'Aucun';
$txt['filter_replies_values'][1] = 'Sujets sans r&eacuteponses';
$txt['filter_replies_values'][2] = 'Sujets importants';
$txt['filter_replies_values'][3] = 'Sujets tr&egraves importants';
$txt['filter_replies_values'][4] = 'Sondages';
$txt['filter_replies_values'][5] = 'Sujets verrouill&eacutes';
$txt['filter_replies_values'][6] = 'Sujets propri&eacutetaires';

$txt['filter_pages_title'] = 'Sujet par page';
$txt['filter_pages_values'][0] = 'Nombre par d&eacutefaut';
$txt['filter_pages_values'][1] = '10 par Page';
$txt['filter_pages_values'][2] = '20 par Page';
$txt['filter_pages_values'][3] = '30 par Page';
$txt['filter_pages_values'][4] = '40 par Page';
$txt['filter_pages_values'][5] = '50 par Page';

$txt['filter_sort_title'] = 'Tri des sujets';
$txt['filter_sort_values'][0] = 'Les plus r&eacutecents';
$txt['filter_sort_values'][1] = 'Les plus anciens';
$txt['filter_sort_values'][2] = 'Cr&eacuteateur du sujet';
$txt['filter_sort_values'][3] = 'Dernier cr&eacuteateur';
$txt['filter_sort_values'][4] = 'Sujet';
$txt['filter_sort_values'][5] = 'R&eacuteponses';
$txt['filter_sort_values'][6] = 'Vues';

$txt['topicsfilter_enable'] = 'Autoriser le filtrage MOD des sujets';
$txt['topicsfilter_sortby'] = 'Autoriser le changement rapide du tri par sujet';
$txt['topicsfilter_pages'] = 'Autoriser le changement rapide de pagination';
$txt['topicsfilter_date0'] = 'Autoriser le filtrage par date des sujets';
$txt['topicsfilter_date1'] = 'Autoriser le filtrage par date des r&eacuteponses';
$txt['topicsfilter_replies'] = 'Autoriser le filtrage par r&eacuteponses';
$txt['topicsfilter_letter'] = 'Autoriser le filtrage par lettre';
$txt['topicsfilter_icon'] = 'Autoriser le filtrage par ic&ocircne';
Title: Re: Topics Filter v3.0
Post by: M-DVD on September 28, 2009, 01:03:09 PM
Quote from: Blinker on September 28, 2009, 05:01:50 AM
Hi M-DVD, nice to see you back!

I installed v3.1 and got the following error:

Fatal error: Call to undefined function: array_diff_key_() in /home/content/x/x/x/xxxxxxxxx/html/forum/Sources/MessageIndex.php on line 840

Line 840 in my file:

$nousingfilter = empty($user_info['filter_topic']) || !count(array_diff(array_diff_key_($user_info['filter_topic'], array('pages' => '')), array('', '0')));

I noticed that in the first instance you used array_diff but after the bracket you used array_diff_key_

I don't know much php but I had a shot in the dark and removed the '_key_' and tried it. It worked!

The mod seems to function fine so I guess all's good. Let us know if that change affects anything serious or whether it was just a typo on your part.

For those of you playing at home the line should now be:

$nousingfilter = empty($user_info['filter_topic']) || !count(array_diff(array_diff($user_info['filter_topic'], array('pages' => '')), array('', '0')));

Thanks for report, but... the package is fine O.O!!!

I don't know why was bad installed  :o

Quote from: @ngel on September 28, 2009, 10:07:28 AM
French Translation (beware of accented characters)

Very good, thanks for translate, more later I will upload your translation

Many Thanks :D
Title: Re: Topics Filter v3.0
Post by: Kimmie on September 28, 2009, 10:39:49 PM
Installed 3.1 on 2.0RC1.2 and everything seems to be working good so far.


Edit: So far the only issue I see is that it disables the quick mod menu at the bottom so you cant do sngle/multiple moves etc anymore from topic view.  I messed with it to see if it was one specific filter causing it, a mizture of more than one, etc and what I have determined is that the only one you can have checked is the "Enable Quickly Change Sort Topics" or else that other menu becomes disabled.

Also, when you use the letter filter, it isnt sorting them alphabetically anymore (I say anymore because the version for 1.X always did). :)



Title: Re: Topics Filter v3.0
Post by: ttuu on October 01, 2009, 05:57:37 AM
after i install this mod i  have blank page if i go to the message index page. i try to install mod menualy step after step and i see the problem starts after this step:
search:
// If there are children, but no topics and no ability to post topics...
$context['no_topic_listing'] = !empty($context['boards']) && empty($context['topics']) && !$context['can_post_new'];


replace:
// If there are children, but no topics and no ability to post topics...
// Only if no filtering is being done here, otherwise they won't be able to remove the filter
$nousingfilter = empty($user_info['filter_topic']) || !count(array_diff(array_diff_key($user_info['filter_topic'], array('pages' => '')), array('', '0')));
$context['no_topic_listing'] = !empty($context['boards']) && empty($context['topics']) && !$context['can_post_new'] && $nousingfilter;

Title: Re: Topics Filter v3.0
Post by: KnowNothing on October 01, 2009, 11:32:16 PM
Never mind, I found the answer.
Title: Re: Topics Filter v3.0
Post by: M-DVD on October 05, 2009, 12:25:15 AM
Quote from: @ngel on September 28, 2009, 10:07:28 AM
French Translation (beware of accented characters)

Your translation have been uploaded :)

--

Quote from: Kimmie on September 28, 2009, 10:39:49 PM
Installed 3.1 on 2.0RC1.2 and everything seems to be working good so far.

Edit: So far the only issue I see is that it disables the quick mod menu at the bottom so you cant do sngle/multiple moves etc anymore from topic view.  I messed with it to see if it was one specific filter causing it, a mizture of more than one, etc and what I have determined is that the only one you can have checked is the "Enable Quickly Change Sort Topics" or else that other menu becomes disabled.

What theme are you using?
Have you tried with the default theme?
What browser you have?
What other MOD you have?

I have tested, and the Quick Moderation works fine with this MOD.

Quote from: Kimmie on September 28, 2009, 10:39:49 PM
Also, when you use the letter filter, it isn't sorting them alphabetically anymore (I say anymore because the version for 1.X always did). :)

You say: before was filter letter + sort alphabetically, and now only filter letter (and don't sort)?

--

Quote from: ttuu on October 01, 2009, 05:57:37 AM
after i install this mod i  have blank page if i go to the message index page. i try to install mod menualy step after step and i see the problem starts after this step:
search:
// If there are children, but no topics and no ability to post topics...
$context['no_topic_listing'] = !empty($context['boards']) && empty($context['topics']) && !$context['can_post_new'];


replace:
// If there are children, but no topics and no ability to post topics...
// Only if no filtering is being done here, otherwise they won't be able to remove the filter
$nousingfilter = empty($user_info['filter_topic']) || !count(array_diff(array_diff_key($user_info['filter_topic'], array('pages' => '')), array('', '0')));
$context['no_topic_listing'] = !empty($context['boards']) && empty($context['topics']) && !$context['can_post_new'] && $nousingfilter;



Any errors in the error log?
Title: Re: Topics Filter v3.0
Post by: ttuu on October 05, 2009, 06:19:22 AM
No
Title: Re: Topics Filter v3.0
Post by: Kimmie on October 09, 2009, 01:40:57 PM
Quote from: M-DVD on October 05, 2009, 12:25:15 AM
Quote from: Kimmie on September 28, 2009, 10:39:49 PM
Installed 3.1 on 2.0RC1.2 and everything seems to be working good so far.

Edit: So far the only issue I see is that it disables the quick mod menu at the bottom so you cant do sngle/multiple moves etc anymore from topic view.  I messed with it to see if it was one specific filter causing it, a mizture of more than one, etc and what I have determined is that the only one you can have checked is the "Enable Quickly Change Sort Topics" or else that other menu becomes disabled.

What theme are you using?
Have you tried with the default theme?
What browser you have?
What other MOD you have?

I have tested, and the Quick Moderation works fine with this MOD.

Quote from: Kimmie on September 28, 2009, 10:39:49 PM
Also, when you use the letter filter, it isn't sorting them alphabetically anymore (I say anymore because the version for 1.X always did). :)

You say: before was filter letter + sort alphabetically, and now only filter letter (and don't sort)?


It happens on every theme including the Default Theme



It happens in both Internet Explorer 7 and Opera

As soon as I turn the mod off then it works fine.

When you click on a Letter it sorts them and pulls all the threads that begin with that letter, however it does not sort those thread in alphabetical order like the mod did when I had it on 1.x.

Example: When you click on the letter T, it gives you only the threads that start with the letter T however I still have to click on the SUBJECT header so that "those threads" are in alphabetical order
Title: Re: Topics Filter v3.0
Post by: Kimmie on October 14, 2009, 05:46:54 PM
Quote from: Kimmie on October 09, 2009, 01:40:57 PM
Quote from: M-DVD on October 05, 2009, 12:25:15 AM
Quote from: Kimmie on September 28, 2009, 10:39:49 PM
Installed 3.1 on 2.0RC1.2 and everything seems to be working good so far.

Edit: So far the only issue I see is that it disables the quick mod menu at the bottom so you cant do sngle/multiple moves etc anymore from topic view.  I messed with it to see if it was one specific filter causing it, a mizture of more than one, etc and what I have determined is that the only one you can have checked is the "Enable Quickly Change Sort Topics" or else that other menu becomes disabled.

What theme are you using?
Have you tried with the default theme?
What browser you have?
What other MOD you have?

I have tested, and the Quick Moderation works fine with this MOD.

Quote from: Kimmie on September 28, 2009, 10:39:49 PM
Also, when you use the letter filter, it isn't sorting them alphabetically anymore (I say anymore because the version for 1.X always did). :)

You say: before was filter letter + sort alphabetically, and now only filter letter (and don't sort)?


It happens on every theme including the Default Theme



It happens in both Internet Explorer 7 and Opera

As soon as I turn the mod off then it works fine.

When you click on a Letter it sorts them and pulls all the threads that begin with that letter, however it does not sort those thread in alphabetical order like the mod did when I had it on 1.x.

Example: When you click on the letter T, it gives you only the threads that start with the letter T however I still have to click on the SUBJECT header so that "those threads" are in alphabetical order


Any updates on this yet? :)
Title: Re: Topics Filter v3.0
Post by: M-DVD on October 14, 2009, 10:05:34 PM
Quote from: ttuu on October 01, 2009, 05:57:37 AM
after i install this mod i  have blank page if i go to the message index page. i try to install mod menualy step after step and i see the problem starts after this step:
search:
// If there are children, but no topics and no ability to post topics...
$context['no_topic_listing'] = !empty($context['boards']) && empty($context['topics']) && !$context['can_post_new'];


replace:
// If there are children, but no topics and no ability to post topics...
// Only if no filtering is being done here, otherwise they won't be able to remove the filter
$nousingfilter = empty($user_info['filter_topic']) || !count(array_diff(array_diff_key($user_info['filter_topic'], array('pages' => '')), array('', '0')));
$context['no_topic_listing'] = !empty($context['boards']) && empty($context['topics']) && !$context['can_post_new'] && $nousingfilter;


Ok, try

// If there are children, but no topics and no ability to post topics...
// Only if no filtering is being done here, otherwise they won't be able to remove the filter
$nousingfilter = empty($user_info['filter_topic']['date0']) && empty($user_info['filter_topic']['date1']) && empty($user_info['filter_topic']['replies']) && empty($user_info['filter_topic']['letter']) && empty($user_info['filter_topic']['icon']);
$context['no_topic_listing'] = !empty($context['boards']) && empty($context['topics']) && !$context['can_post_new'] && $nousingfilter;


and tell me

--

Quote from: Kimmie on October 09, 2009, 01:40:57 PM
Quote from: M-DVD on October 05, 2009, 12:25:15 AM
Quote from: Kimmie on September 28, 2009, 10:39:49 PM
Installed 3.1 on 2.0RC1.2 and everything seems to be working good so far.

Edit: So far the only issue I see is that it disables the quick mod menu at the bottom so you cant do sngle/multiple moves etc anymore from topic view.  I messed with it to see if it was one specific filter causing it, a mizture of more than one, etc and what I have determined is that the only one you can have checked is the "Enable Quickly Change Sort Topics" or else that other menu becomes disabled.

What theme are you using?
Have you tried with the default theme?
What browser you have?
What other MOD you have?

I have tested, and the Quick Moderation works fine with this MOD.

Quote from: Kimmie on September 28, 2009, 10:39:49 PM
Also, when you use the letter filter, it isn't sorting them alphabetically anymore (I say anymore because the version for 1.X always did). :)

You say: before was filter letter + sort alphabetically, and now only filter letter (and don't sort)?


It happens on every theme including the Default Theme



It happens in both Internet Explorer 7 and Opera

As soon as I turn the mod off then it works fine.

When you click on a Letter it sorts them and pulls all the threads that begin with that letter, however it does not sort those thread in alphabetical order like the mod did when I had it on 1.x.

Example: When you click on the letter T, it gives you only the threads that start with the letter T however I still have to click on the SUBJECT header so that "those threads" are in alphabetical order

Thanks for report.

Edit the topic_filter.js

And find:
+ ' <form id="TopicsFilter" name="TopicsFilter" action="" method="post">\n'
Replace:
// + ' <form id="TopicsFilter" name="TopicsFilter" action="" method="post">\n'

Find:
+ ' </form>\n'

Replace:
// + ' </form>\n'

And tell me

Title: Re: Topics Filter v3.0
Post by: Kimmie on October 14, 2009, 10:41:54 PM
Quote from: M-DVD on October 05, 2009, 12:25:15 AMThanks for report.

Edit the topic_filter.js

And find:
+ ' <form id="TopicsFilter" name="TopicsFilter" action="" method="post">\n'
Replace:
// + ' <form id="TopicsFilter" name="TopicsFilter" action="" method="post">\n'

Find:
+ ' </form>\n'

Replace:
// + ' </form>\n'

And tell me


Nope still doesnt work
Title: Re: Topics Filter v3.0
Post by: M-DVD on October 14, 2009, 11:12:00 PM
Quote from: Kimmie on October 14, 2009, 10:41:54 PM
Nope still doesnt work

I try in Opera and it work. (Important, you should do hard refresh ---> Shift + Click Refresh's button)
I cannot try in IE. (also, you should do hard refresh ---> Ctrl + F5)
Title: Re: Topics Filter v3.0
Post by: Kimmie on October 14, 2009, 11:45:06 PM
Quote from: M-DVD on October 14, 2009, 11:12:00 PM
Quote from: Kimmie on October 14, 2009, 10:41:54 PM
Nope still doesnt work

I try in Opera and it work. (Important, you should do hard refresh ---> Shift + Click Refresh's button)
I cannot try in IE. (also, you should do hard refresh ---> Ctrl + F5)



Thanks that got it :)
Title: Re: Topics Filter v3.0
Post by: ttuu on October 16, 2009, 04:15:15 AM
Quote from: M-DVD on October 14, 2009, 10:05:34 PM
Quote from: ttuu on October 01, 2009, 05:57:37 AM
after i install this mod i  have blank page if i go to the message index page. i try to install mod menualy step after step and i see the problem starts after this step:
search:
// If there are children, but no topics and no ability to post topics...
$context['no_topic_listing'] = !empty($context['boards']) && empty($context['topics']) && !$context['can_post_new'];


replace:
// If there are children, but no topics and no ability to post topics...
// Only if no filtering is being done here, otherwise they won't be able to remove the filter
$nousingfilter = empty($user_info['filter_topic']) || !count(array_diff(array_diff_key($user_info['filter_topic'], array('pages' => '')), array('', '0')));
$context['no_topic_listing'] = !empty($context['boards']) && empty($context['topics']) && !$context['can_post_new'] && $nousingfilter;


Ok, try

// If there are children, but no topics and no ability to post topics...
// Only if no filtering is being done here, otherwise they won't be able to remove the filter
$nousingfilter = empty($user_info['filter_topic']['date0']) && empty($user_info['filter_topic']['date1']) && empty($user_info['filter_topic']['replies']) && empty($user_info['filter_topic']['letter']) && empty($user_info['filter_topic']['icon']);
$context['no_topic_listing'] = !empty($context['boards']) && empty($context['topics']) && !$context['can_post_new'] && $nousingfilter;


and tell me


thanks. its work.
Title: Re: Topics Filter v3.0
Post by: Paracelsus on October 16, 2009, 04:43:22 AM
M-DVD,

I see that there is a message icon filter now... can you tell me if it is similar somehow to the vMessageIcon Filter (http://custom.simplemachines.org/mods/index.php?mod=923) MOD? (since I have that one installed but is unlikely to develop further to v2.0 in the future)
Title: Re: Topics Filter v3.0
Post by: Neverhurry on January 07, 2010, 02:41:59 AM
please update this mod to smf 2.0 rc2 thanks.  :)
Title: Re: Topics Filter v3.0
Post by: Alpay on January 07, 2010, 06:08:04 AM
Quote from: neverhurry on January 07, 2010, 02:41:59 AM
please update this mod to smf 2.0 rc2 thanks.  :)

Yep  (:
Title: Re: Topics Filter v3.0
Post by: MaXiForum.cz on January 16, 2010, 02:18:45 PM
TopicsFilter_v3_1.zip makes on RC2, or not?
Title: Re: Topics Filter v3.0
Post by: linette97 on January 19, 2010, 11:09:56 PM
Quote from: neverhurry on January 07, 2010, 02:41:59 AM
please update this mod to smf 2.0 rc2 thanks.  :)
Quote from: MaXiForum.cz on January 16, 2010, 02:18:45 PM
TopicsFilter_v3_1.zip makes on RC2, or not?

Yes, Please this mod looks awesome would love to use it!!  ;D
Title: Re: Topics Filter v3.0
Post by: MaXiForum.cz on January 28, 2010, 05:04:43 PM
Quote from: linette97 on January 19, 2010, 11:09:56 PM
Yes, Please this mod looks awesome would love to use it!!  ;D

Thank you!
I love this modification :-)
Title: Re: Topics Filter v3.0
Post by: MaXiForum.cz on February 10, 2010, 12:05:40 PM
Quote from: M-DVD on October 14, 2009, 10:05:34 PM

Quote from: Kimmie on October 09, 2009, 01:40:57 PM
Quote from: M-DVD on October 05, 2009, 12:25:15 AM
Quote from: Kimmie on September 28, 2009, 10:39:49 PM
Installed 3.1 on 2.0RC1.2 and everything seems to be working good so far.

Edit: So far the only issue I see is that it disables the quick mod menu at the bottom so you cant do sngle/multiple moves etc anymore from topic view.  I messed with it to see if it was one specific filter causing it, a mizture of more than one, etc and what I have determined is that the only one you can have checked is the "Enable Quickly Change Sort Topics" or else that other menu becomes disabled.

What theme are you using?
Have you tried with the default theme?
What browser you have?
What other MOD you have?

I have tested, and the Quick Moderation works fine with this MOD.

Quote from: Kimmie on September 28, 2009, 10:39:49 PM
Also, when you use the letter filter, it isn't sorting them alphabetically anymore (I say anymore because the version for 1.X always did). :)

You say: before was filter letter + sort alphabetically, and now only filter letter (and don't sort)?


It happens on every theme including the Default Theme



It happens in both Internet Explorer 7 and Opera

As soon as I turn the mod off then it works fine.

When you click on a Letter it sorts them and pulls all the threads that begin with that letter, however it does not sort those thread in alphabetical order like the mod did when I had it on 1.x.

Example: When you click on the letter T, it gives you only the threads that start with the letter T however I still have to click on the SUBJECT header so that "those threads" are in alphabetical order

Thanks for report.

Edit the topic_filter.js

And find:
+ ' <form id="TopicsFilter" name="TopicsFilter" action="" method="post">\n'
Replace:
// + ' <form id="TopicsFilter" name="TopicsFilter" action="" method="post">\n'

Find:
+ ' </form>\n'

Replace:
// + ' </form>\n'

And tell me



Yes, I have this problem too... :(
I am edited topic_filter.js too and no change.
The modification in Internet Explorer 8 doesn´t work :(
Some solution please?
SMF RC2 and TopicFilter 3.1
Title: Re: Topics Filter v3.0
Post by: FragaCampos on February 11, 2010, 06:40:38 AM
Hello there.
I just read all the 14 pages of this thread and i couldn't find a similar problem to mine.
I installed the mod and got no errors.
But when i go to any board of my forum the sort fields are displayed vertically instead of horizontally...
I attached a screenshot. Anyone knows what's going on?

(http://img638.imageshack.us/my.php?image=semttuloeq.jpg)
Title: Re: Topics Filter v3.0
Post by: steve51184 on February 13, 2010, 01:45:57 PM
rc2 update? :o
Title: Re: Topics Filter v3.0
Post by: mixer69 on May 09, 2010, 10:19:14 AM
Quote from: FragaCampos on February 11, 2010, 06:40:38 AM
Hello there.
I just read all the 14 pages of this thread and i couldn't find a similar problem to mine.
I installed the mod and got no errors.
But when i go to any board of my forum the sort fields are displayed vertically instead of horizontally...
I attached a screenshot. Anyone knows what's going on?

Hello all !

Great mod, but i've have the same problem.
in the select, i've got that :


thanks for the support ;)
Title: Re: Topics Filter v3.0
Post by: Sakae on May 11, 2010, 03:22:16 PM
Quote from: zx71 on February 13, 2010, 01:45:57 PM
rc2 update? :o

I quote that!
Title: Re: Topics Filter v3.0
Post by: FireDitto on September 12, 2010, 03:53:51 AM
... I don't suppose an RC3 update is at all possible?? This mod is great.
Title: Re: Topics Filter v3.0
Post by: sharks on December 04, 2010, 11:12:35 AM
This is incredibly useful. I think everyone should try it. Let's hope someone picks this abandoned mod and updates it for the latest SMF.

BTW, how do i shift the sorting menus to the left-side as by default it is grouped on the right-side? In the screenshots from the mod page, it is displayed on the left, but i am using SMF 1.1.12 and it is displaying on the right. It's working though and no errors in log.
Title: Re: Topics Filter v3.0
Post by: samurai-lupin on December 23, 2010, 09:07:52 PM
Hello,

I have installed this fine mod but my forum displays an error inside the pull down menues:

function x62 () {var d = 0; for (var i = 0; i < this length; i++ ...

When I use any of the filters it works for one topic and then seems to fail.

My board URL is www.thunting.com/smf/

I'm running Seo4SMF.

I would appreciate any advice / help.

Thank you
Title: Re: Topics Filter v3.0
Post by: samurai-lupin on January 03, 2011, 07:47:09 AM
Quote from: Shark-Time on September 13, 2009, 02:54:47 AM
Have any one this problem that the filter thing dont work in internet explorer??

i have this problem.. when i open my site in IE the filter thing dont appear. which sucks my site.. cuz the bar remains there with nothing in there.. i need this mod.. but i want some one to make this bug fix...

see my this topic and you will understand what im saying..

http://www.simplemachines.org/community/index.php?topic=336276.0

please please fix this problem of IE...

Any solution to this? Happens to me to under IE. Works fine with FireFox.
Title: Re: Topics Filter v3.0
Post by: anakmacan on April 14, 2011, 07:08:03 PM
Anybody knows how to make this work on RC5 ? or is there any paid version of this mod for RC5 ?
Title: Re: Topics Filter v3.0
Post by: NHWD on April 17, 2011, 06:27:12 AM
Yeah... I would really like to use this
Title: Re: Topics Filter v3.0
Post by: samurai-lupin on May 01, 2011, 11:03:28 AM
Quote from: samurai-lupin on December 23, 2010, 09:07:52 PM
Hello,

I have installed this fine mod but my forum displays an error inside the pull down menues:

function x62 () {var d = 0; for (var i = 0; i < this length; i++ ...

When I use any of the filters it works for one topic and then seems to fail.

My board URL is www.thunting.com/smf/

I'm running Seo4SMF.

I would appreciate any advice / help.

Thank you

Bump
Title: Re: Topics Filter v3.0
Post by: MiY4Gi on July 06, 2011, 09:28:49 PM
Please update for 2.0 Gold.
Title: Re: Topics Filter v3.0
Post by: Inti31 on July 07, 2011, 05:46:10 AM
Hey, this mod is fine - I checked the source and got it working on 2.0 Gold.
I just updated the database manually to get the necessary fields also I modified messageindex.template manually. the rest were parsed successfully by the packet manager.
Just the location of the filter option bar was not the right one - it was located at the  top)
I tried everything and it works fine - but now - I don't know what happend - seems like webftp destroyed not only my language-utf-8 file - I am not able to reach my testboard... ("template analysis error - it should be a temporary problem... bla bla bla..."

I hate webftp applications - it is now the 2nd time everything works perfect and then - whatever happened... by using webftp...

Guess in the evening I can build up a working 2.0 Gold version - it will be my first one - don't expect too much...  :o
Title: Re: Topics Filter v3.0
Post by: MiY4Gi on July 07, 2011, 09:04:07 AM
Quote from: Inti31 on July 07, 2011, 05:46:10 AM
Hey, this mod is fine - I checked the source and got it working on 2.0 Gold.
I just updated the database manually to get the necessary fields also I modified messageindex.template manually. the rest were parsed successfully by the packet manager.
Just the location of the filter option bar was not the right one - it was located at the  top)
I tried everything and it works fine - but now - I don't know what happend - seems like webftp destroyed not only my language-utf-8 file - I am not able to reach my testboard... ("template analysis error - it should be a temporary problem... bla bla bla..."

I hate webftp applications - it is now the 2nd time everything works perfect and then - whatever happened... by using webftp...

Guess in the evening I can build up a working 2.0 Gold version - it will be my first one - don't expect too much...  :o

Oh, so you updated the database manually? I think I should give that a try.
Title: Re: Topics Filter v3.0
Post by: sharks on July 07, 2011, 11:19:43 AM
Inti31, i think you should request to take over the development of this mod as the current dev hasn't been online for almost a year now. I would be more than happy to see this mod available for 2.0 as i have been using it for years on my SMF 1.1.x forums. The lack of some crucial mods on 2.0 is the only thing holding me back from upgrading my SMF 1.1.x live forums, unfortunately. :(
Title: Re: Topics Filter v3.0
Post by: Inti31 on July 07, 2011, 02:41:43 PM
Hello, here we go....

i installed successfully this mod in 2.0 Gold - this mod (attached) is ONLY for 2.0 Gold - maybe usable for 2.0 RC x - 1.x is NOT SUPPORTED
Simply install the package to install on the SMF Default  Theme ONLY.





or see my testforum (http://inti31.cwsurf.de/index.php?board=1.0)

All languages are included

Addition: I also recovered my database backup - it still works fine....

have fun
Title: Re: Topics Filter v3.0
Post by: MiY4Gi on July 07, 2011, 02:54:30 PM
Great stuff. I'll give the "version 3.2" a go. I hope it works. I'd hate to uninstall all my mods just to get this one to work.
Title: Re: Topics Filter v3.0
Post by: Inti31 on July 07, 2011, 03:00:16 PM
let me know if it works - I setup a fresh 2.0 Gold forum and this is the first mod I integrated - successful
Title: Re: Topics Filter v3.0
Post by: MiY4Gi on July 07, 2011, 06:09:43 PM
Well done. It installed without any problems. The mod is working as it should.

I disabled all the features except the Enable Quickly Change Pagination and Enable Filter Per Letter, since all the others are all supported by the forum anyway.

I reckon the most useful feature is the Filter Per Letter feature, since it enables you to browse topics by Letter which is essential when you want your forum board to contain a list of something, for example, Movies, Cars, Series, etc. Of course one can just search for the relevant topic, but searching is too much of a pain.

Again, great work Inti31, and I second sharks suggestion that you should take over the mod. Or at least, ask a moderator to place your new updated version (3.2) on the mod page.

By the way, the mods I have on my forum are:

1.     Topics Filter   3.2   [ Uninstall ]
2.   6 Custom buttons / tabs with Sub Menus (4)   0.5   [ Uninstall ]
3.   Spoiler Tag   0.7.2a   [ Uninstall ]
4.   Sitemap   2.2.0   [ Uninstall ]
5.   Caps_Lock_Detection_on_Login   1.1.0.1   [ Uninstall ]
6.   Vote polls with points   0.1.1   [ Uninstall ]
7.   Google +1   1.0   [ Uninstall ]
8.   NoFollow All Links   1.2.1   [ Uninstall ]
9.   Simple Audio Video Embedder   2.0.1   [ Uninstall ]
10.   SMF Topic Prefix Mod   1.2.2   [ Uninstall ]
11.   PortaMx 1.2   1.2   [ Uninstall ]
12.   Facebook_Like v.2.0   2.0   [ Uninstall ]
13.   Highslide BBCode and Image Viewer
Title: Re: Topics Filter v3.0
Post by: Inti31 on July 08, 2011, 12:32:14 AM
Nice to hear that you were able to install it without any problems.

The idea to take over that mod... - I am a php noob - the work is done by M-DVD/karlbenson - without the source I were not able to modifiy it that it works for this new version so all credit go to them.

I just created a file which does the database changes, also I modified the install_2.xml and added only one string which is different in MessageIndex.template.php

That's all...

by the way, I've 55 mods installed...
1.  -  6 Custom buttons / tabs with Sub Menus (4)  -  0.5
2.  -  Activity_Bar  -  1.0.1.3de
3.  -  Activity in Profile  -  1.1
4.  -  Admin member list registration date  -  1.2
5.  -  Align text with Smiley  -  1.0
6.  -  [BBCode] Blink  -  1.0de
7.  -  Board Notes  -  1.0.8
8.  -  Board Viewers Mod  -  1.2.1.1c
9.  -  Bookmarks  -  2.3
10.  -  Capital letter  -  1.0
11.  -  Change All Subjects  -  1.1.2
12.  -  Copy Topics  -  1.6
13.  -  Custom Board Sort  -  1.0.2
14.  -  Disable 'last edit by...' for Administrators  -  1.0
15.  -  Dynamic_Memberlist  -  2.0.6
16.  -  eBay BBCode  -  1.2
17.  -  Enhanced PM Popup  -  1.0.1
18.  -  Footer Menu v.1  -  v.1
19.  -  Global Headers Footers  -  2.0
20.  -  Google Member Map  -  2.0.8
21.  -  Google +1  -  1.0
22.  -  New Manual Look  -  1.2
23.  -  Highslide 4 SMF  -  0.7a
24.  -  Image Thumb Tag  -  1.3
25.  -  Line Prefix BBC  -  1.2
26.  -  More Spiders  -  1.2
27.  -  Move Old Topics  -  1.3.8de
28.  -  SMF Multi Quote  -  1.1.3de
29.  -  nCode Image Resizer  -  1.3.1
30.  -  New Topic Button  -  1.0
31.  -  Next Post Level  -  1.3.3de
32.  -  NiceTooltips  -  1.7de
33.  -  Online Users Area  -  1.2
34.  -  Page Management  -  1.4
35.  -  PagesToGo  -  1.3
36.  -  Reg Bar  -  1.0.2de
37.  -  Registered Links  -  3.0
38.  -  Search Focus Dropdown  -  1.52
39.  -  Stop Forum Spam  -  0.9
40.  -  Show Local Url Titles  -  2.0.1
41.  -  Simple Audio Video Embedder  -  2.0.1
42.  -  Simple Imageshack Upload Box  -  1.0
43.  -  SimplePortal  -  2.3.3
44.  -  Contact Page  -  3.0
45.  -  SMF Gallery Lite  -  3.1.1
46.  -  SMFPacks Likes Lite Mod  -  1.0
47.  -  Spoiler Tag  -  0.7.2
48.  -  Who Is Viewing This Page?  -  1.0
49.  -  Statistics in jQuery  -  1.0.1
50.  -  Tabbed smileys  -  0.3.6
51.  -  Users Online Today  -  2.0 RC1
52.  -  Wikipedia BBC  -  1.0
53.  -  Wrap Text Around Image  -  1.3
54.  -  Footnotes  -  1.08de
55.  -  Topics Filter  -  3.2
Title: Re: Topics Filter v3.0
Post by: sharks on July 08, 2011, 12:46:40 AM
Quote from: Inti31 on July 08, 2011, 12:32:14 AM
Nice to hear that you were able to install without any problems.

The idea to take over that mod... - I am a php noob - the work is done by M-DVD - without his source I were not able to modifiy it that it works for this new version so all credit goes to him

I just created a file which does the database changes, also I modified the install_2.xml and added only one string which is different in MessageIndex.template.php

That's all...
LOL, well, that is exactly the meaning of "taking over an abandoned modification" :D Most of the abandoned/recuperated mods only need some bug fixes and improvements to make them compatible with the latest SMF versions. Only in rare cases do abandoned mods have to be completely rewritten. I honestly think that you deserve to be the successor to this mod, as you made it work with 2.0 final, so you're not without any php talent. ;) Maybe you could even improve it with more refined features. Read through the pages of this topic to get some ideas. I believe i posted quite a few here myself.

In case an abandoned mod is not saved by another developer, the mod quickly becomes obsolete and sinks into oblivion where it's forgotten and useless, as people will normally prefer to keep their SMF installations up-to-date rather than let a modification hold them back on earlier/possibly unstable SMF versions. Also, i think the moderators will remove your attachment/s of the modified mod, unless you are the official developer of this mod, so you better apply for that position fast. You can only post the code edits in a reply, otherwise.
Title: Re: Topics Filter v3.0
Post by: MiY4Gi on July 08, 2011, 11:15:20 AM
Quote from: Inti31 on July 08, 2011, 12:32:14 AM
Nice to hear that you were able to install it without any problems.

The idea to take over that mod... - I am a php noob - the work is done by M-DVD/karlbenson - without his source I were not able to modifiy it that it works for this new version so all credit go to them.

I just created a file which does the database changes, also I modified the install_2.xml and added only one string which is different in MessageIndex.template.php

That's all...

by the way, I've 55 mods installed...
1.  -  6 Custom buttons / tabs with Sub Menus (4)  -  0.5
2.  -  Activity_Bar  -  1.0.1.3de
3.  -  Activity in Profile  -  1.1
4.  -  Admin member list registration date  -  1.2
5.  -  Align text with Smiley  -  1.0
6.  -  [BBCode] Blink  -  1.0de
7.  -  Board Notes  -  1.0.8
8.  -  Board Viewers Mod  -  1.2.1.1c
9.  -  Bookmarks  -  2.3
10.  -  Capital letter  -  1.0
11.  -  Change All Subjects  -  1.1.2
12.  -  Copy Topics  -  1.6
13.  -  Custom Board Sort  -  1.0.2
14.  -  Disable 'last edit by...' for Administrators  -  1.0
15.  -  Dynamic_Memberlist  -  2.0.6
16.  -  eBay BBCode  -  1.2
17.  -  Enhanced PM Popup  -  1.0.1
18.  -  Footer Menu v.1  -  v.1
19.  -  Global Headers Footers  -  2.0
20.  -  Google Member Map  -  2.0.8
21.  -  Google +1  -  1.0
22.  -  New Manual Look  -  1.2
23.  -  Highslide 4 SMF  -  0.7a
24.  -  Image Thumb Tag  -  1.3
25.  -  Line Prefix BBC  -  1.2
26.  -  More Spiders  -  1.2
27.  -  Move Old Topics  -  1.3.8de
28.  -  SMF Multi Quote  -  1.1.3de
29.  -  nCode Image Resizer  -  1.3.1
30.  -  New Topic Button  -  1.0
31.  -  Next Post Level  -  1.3.3de
32.  -  NiceTooltips  -  1.7de
33.  -  Online Users Area  -  1.2
34.  -  Page Management  -  1.4
35.  -  PagesToGo  -  1.3
36.  -  Reg Bar  -  1.0.2de
37.  -  Registered Links  -  3.0
38.  -  Search Focus Dropdown  -  1.52
39.  -  Stop Forum Spam  -  0.9
40.  -  Show Local Url Titles  -  2.0.1
41.  -  Simple Audio Video Embedder  -  2.0.1
42.  -  Simple Imageshack Upload Box  -  1.0
43.  -  SimplePortal  -  2.3.3
44.  -  Contact Page  -  3.0
45.  -  SMF Gallery Lite  -  3.1.1
46.  -  SMFPacks Likes Lite Mod  -  1.0
47.  -  Spoiler Tag  -  0.7.2
48.  -  Who Is Viewing This Page?  -  1.0
49.  -  Statistics in jQuery  -  1.0.1
50.  -  Tabbed smileys  -  0.3.6
51.  -  Users Online Today  -  2.0 RC1
52.  -  Wikipedia BBC  -  1.0
53.  -  Wrap Text Around Image  -  1.3
54.  -  Footnotes  -  1.08de
55.  -  Topics Filter  -  3.2


Damn, that's a lot of mods. I'm gonna give Highslide4SMF and SMF Multi Quote another go. Last time I installed them they didn't work. Also, I'm gonna check out that Simple Imageshack Upload Box seems interesting. Hehe, modifying SMF is tons of fun.
Title: Re: Topics Filter v3.0
Post by: Shorti25 on September 02, 2011, 06:00:39 PM
nice work, but there´s one problem

if i sort by icon, not all of them will showed
for example:
15 topics and 4 topic with "thumpup"-icon
then in the dropdown-menu click thumpup
but only 1 or 2 were showed and some other icon too
all other filters works fine - only icon-filter went wrong

what could it be ?
Title: Re: Topics Filter v3.0
Post by: Shorti25 on September 27, 2011, 11:49:26 PM
 ???
Title: Re: Topics Filter v3.0
Post by: Inti31 on September 28, 2011, 01:15:12 AM
sorry Shorti25 - I tested it and it works fine - no errors for me...
is that only when using option "filter by thumbsup"-icon?
I've tested all my boards - I've never seen another icon I filtered for...

Do you use another theme or another icon for thumbsup?

Inti31
Title: Re: Topics Filter v3.0
Post by: Shorti25 on October 06, 2011, 07:22:27 PM
we use default theme - with only changed colours and the standard icon for thumbsup
this icon was an example, it went wrong by every icon i wanna filters for
Title: Re: Topics Filter v3.0
Post by: FireDitto on October 13, 2011, 04:39:36 AM
Quote from: Inti31 on July 07, 2011, 02:41:43 PM
Hello, here we go....

i installed successfully this mod in 2.0 Gold - this mod (attached) is ONLY for 2.0 Gold - maybe usable for 2.0 RC x - 1.x is NOT SUPPORTED
Simply install the package to install on the SMF Default  Theme ONLY.





or see my testforum (http://aida32-inventory.netboom.de/smf/index.php?board=1.0)

All languages are included

Addition: I also recovered my database backup - it still works fine....

have fun


I got a Database error. I expect it is because my Database tables have been edited to allow for sharing three forums (Share user database for 2 (or more) different forums (http://www.simplemachines.org/community/index.php?topic=16190.0) and I think this mod might be going WTF in response... But I honestly don't know how to fix it to make it work.

Any help?


The exact error is:

'second_pass5.OOC_members' is not BASE TABLE
File: [REMOVED]/SPWOoc/Packages/temp/db_topics.php
Line: 85
Title: Re: Topics Filter v3.0
Post by: anakmacan on November 11, 2011, 06:51:12 PM
Version for SMF 2.0.1 would be cool..
Title: Re: Topics Filter v3.0
Post by: FireDitto on December 12, 2011, 08:17:49 PM
Quote from: anakmacan on November 11, 2011, 06:51:12 PM
Version for SMF 2.0.1 would be cool..

Just emulate your 2.0.1 to be 2.0, and it should install perfectly.
Title: Re: Topics Filter v3.0
Post by: anakmacan on December 28, 2011, 07:41:23 AM
I did, it said my database need an upgrade..
Title: Re: Topics Filter v3.0
Post by: Biology Forums on January 11, 2012, 11:24:18 PM
This mod needs an automatic reset when going from board-to-board, anyone achieve this?

Solution :)

Find:

'filter_topic' => isset($user_settings['filter_topic']) ? unserialize($user_settings['filter_topic']) : (empty($_SESSION['filter_topic']) ? '' : unserialize($_SESSION['filter_topic'])),

and then delete it (Found in load.php).
Title: Re: Topics Filter v3.0
Post by: Nibogo on January 12, 2012, 08:39:30 AM
Quote from: sharks on July 08, 2011, 12:46:40 AM
LOL, well, that is exactly the meaning of "taking over an abandoned modification" :D Most of the abandoned/recuperated mods only need some bug fixes and improvements to make them compatible with the latest SMF versions. Only in rare cases do abandoned mods have to be completely rewritten. I honestly think that you deserve to be the successor to this mod, as you made it work with 2.0 final, so you're not without any php talent. ;) Maybe you could even improve it with more refined features. Read through the pages of this topic to get some ideas. I believe i posted quite a few here myself.

In case an abandoned mod is not saved by another developer, the mod quickly becomes obsolete and sinks into oblivion where it's forgotten and useless, as people will normally prefer to keep their SMF installations up-to-date rather than let a modification hold them back on earlier/possibly unstable SMF versions. Also, i think the moderators will remove your attachment/s of the modified mod, unless you are the official developer of this mod, so you better apply for that position fast. You can only post the code edits in a reply, otherwise.

He needs M-DVD's authorization, imagine that you're M-DVD and one day he wants to return because he has a little bit of free time and then he founds that all his mods were transferred to other persons without even asking him, that isn't fair at all. Another option would be to create it from the scratch without using M-DVD's code
Title: Re: Topics Filter v3.0
Post by: Chalky on February 22, 2012, 05:17:18 PM
Please help, I really want to use this mod!   I just tried to install it but I'm getting the error in installation message:

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

I'm running SMF 2.0.2 but I get the same error emulating 2.0.  Any suggestions on why I'm getting error and what can I do about it?

Thanks  :)
Title: Re: Topics Filter v3.0
Post by: Inti31 on February 22, 2012, 11:44:07 PM
while trying to install that mod - on which file(s)? Please provide a screenshot of that error message and please attach the the file which can't modified also. This mod works fine just the standard theme (tested)

is it
- MessageIndex.template.php or
- MessageIndex.php or
- Load.php
- ManagePosts.php

cheers Inti31
Title: Re: Topics Filter v3.0
Post by: Chalky on February 23, 2012, 02:55:38 AM
Thank you :)  Screenshot hopefully attached.  When you say attach the file what do you mean?  Sorry I'm a complete noob, my forum is four days old.  My current theme is OmegaPurpleRC4, based on Curve.

Title: Re: Topics Filter v3.0
Post by: Inti31 on February 23, 2012, 04:33:13 AM
okay, that means your current theme is not located unter "/Themes/default" - it is located in "/Themes/OmegaPurpleRC4" (or whatever the name is, I am right?

so the question is: Where is that OmegaPurpleRC4 - theme located?

Maybe you could switch to the default theme to check - there is need to extend the installer by this theme. Where do I find that theme - for testing purposes in my local webserver...

cheers Inti31
Title: Re: Topics Filter v3.0
Post by: Chalky on February 23, 2012, 08:39:58 AM
Ok following the path in my FTP client, I have Themes/Purple/index.template.php.  Also in the same folder I have the same file with a ~ on the end.  I downloaded the theme here: http://custom.simplemachines.org/themes/index.php?lemma=2302 (http://custom.simplemachines.org/themes/index.php?lemma=2302).

I just switched the forum default back to the default Curve theme and got exactly the same error  :-\
Title: Re: Topics Filter v3.0
Post by: Inti31 on February 23, 2012, 12:01:39 PM
okay, I need the MessageIndex.template.php from this folder \Themes\Purple\
Title: Re: Topics Filter v3.0
Post by: Chalky on February 23, 2012, 12:16:28 PM
I don't have it....  I can see it in the Themes/default folder but not for my purple one.



Title: Re: Topics Filter v3.0
Post by: Chalky on February 23, 2012, 02:25:25 PM
Sorry, should maybe have shown you the contents of the zip file too - looks like everything was extracted correctly...
Title: Re: Topics Filter v3.0
Post by: Inti31 on February 23, 2012, 03:53:50 PM
ups - sorry, my mistake - thought, this is a full  theme  - i don't have experience in themes - now one question - because it seems that my understandiong how that theme works might be different

Yoo wrote that you have that dir: /Themes/Purple and that you placed the files from that OmegaPurpleRC4-theme to it - right?
you also have the /Themes/default dir...

In my understanding - you've to copy the OmegaPurpleRC4-files to the /Themes/default dir...

Nevertheless - if i am wrong - i need the file "MessageIndex.template.php" from the default dir...

Title: Re: Topics Filter v3.0
Post by: Chalky on February 23, 2012, 04:03:52 PM
I know nothing, I just followed the advice for installing themes given here (http://www.simplemachines.org/community/index.php?topic=11481.0) and then installed a couple of other Curve based themes the same way to give my users a choice, but chose the purple one as my default in Admin > Themes > Manage and Install.  Let's see if I can attach the file from my default folder....

Thanks I do appreciate your help :)
Title: Re: Topics Filter v3.0
Post by: Inti31 on February 24, 2012, 01:01:54 AM
maybe a stupid question - where did you download the package?

You've to get mine from this topic - http://www.simplemachines.org/community/index.php?topic=199770.msg3102768#msg3102768

here is it again (see attached) - I did a fresh install (SMF v2.0.2) and used your MessageIndex.template.php file - the one which gave you the error.
The file content is equal to the original one - it has - that's curios - another size (see 1st shot)

When I try to install that attached mod - I receive no error  (2nd shot) and the installation is successful

I guess you used only the ""wrong" installer package....

by the way. that's the current theme site: http://custom.simplemachines.org/themes/index.php

where you have to select (you've to scroll a little bit down) a theme for your forum version - and I can't find the OmegaRC4-theme in that list for 2.0.2

please try it again with the attached mod
Title: Re: Topics Filter v3.0
Post by: Chalky on February 24, 2012, 12:59:43 PM
Oh wow!  That is amazing, thank you!!  It installed perfectly and it's a great mod!!!  :) :)

You have a good point about my theme, which I hadn't noticed... I installed my theme first before I realised they came for different SMF versions - doh!  So I clearly installed what was designed for SMF 2.0  It's pretty but I shall have a look around at the correct themes to install for my version.

Thank you for your help and for being so patient with me - great mod  :) :)
Title: Re: Topics Filter v3.0
Post by: Inti31 on February 24, 2012, 02:37:47 PM
I'm glad that I was able to help you out regarding the issue
Title: Re: Topics Filter v3.0
Post by: anakmacan on March 17, 2012, 07:58:30 PM
Quote from: Inti31 on February 24, 2012, 01:01:54 AM
maybe a stupid question - where did you download the package?

You've to get mine from this topic - http://www.simplemachines.org/community/index.php?topic=199770.msg3102768#msg3102768

here is it again (see attached) - I did a fresh install (SMF v2.0.2) and used your MessageIndex.template.php file - the one which gave you the error.
The file content is equal to the original one - it has - that's curios - another size (see 1st shot)

When I try to install that attached mod - I receive no error  (2nd shot) and the installation is successful

I guess you used only the ""wrong" installer package....

by the way. that's the current theme site: http://custom.simplemachines.org/themes/index.php

where you have to select (you've to scroll a little bit down) a theme for your forum version - and I can't find the OmegaRC4-theme in that list for 2.0.2

please try it again with the attached mod

Thanks man, it's installed on my forum smoothly :)
Title: Re: Topics Filter v3.0
Post by: Biology Forums on March 18, 2012, 03:24:25 AM
Great mod, check out the modification I made to encorporate this mod smoothly into the theme:

http://biology-forums.com/?board=3.0

Click on "Other", right side Most Popular.

;)
Title: Re: Topics Filter v3.0
Post by: FireDitto on December 15, 2012, 05:31:29 AM
Quote from: Liam_michael on March 18, 2012, 03:24:25 AM
Great mod, check out the modification I made to encorporate this mod smoothly into the theme:

http://biology-forums.com/?board=3.0

Click on "Other", right side Most Popular.

;)

Want! XD
Title: Re: Topics Filter v3.0
Post by: gasguirre on July 15, 2013, 07:56:14 PM
I was able to install without issues the mod, but I'm not seeing it in my board :(
I have a custom theme, but during the installation the installer ignored it. (all the files modified were changed in the default theme as usual)
I have a 2.04 installation and the mod is activated in the topics section...
would you know how could I proceed?

thanks in advance.
Title: Re: Topics Filter v3.0
Post by: Hristo on July 15, 2013, 08:37:01 PM
Which version are you using? The official one or this one http://www.simplemachines.org/community/index.php?topic=199770.msg3102768#msg3102768
The unofficial one works.
Title: Re: Topics Filter v3.0
Post by: gasguirre on July 16, 2013, 02:27:31 PM
I'm using the unofficial, but I'm running with a different Theme, the "Blu" theme...

none of the files of this theme was changed during the installation (here is the path of the theme: http://custom.simplemachines.org/themes/index.php?lemma=2625)

thanks!
Title: Re: Topics Filter v3.0
Post by: Hristo on July 16, 2013, 04:34:12 PM
:) I'm using the same theme and it works. That theme uses only one own template - index.template, and this mod does not change that template, so it's normal that it does not change Blu's files.

Here how it looks just after install:
Title: Re: Topics Filter v3.0
Post by: Biology Forums on July 17, 2013, 06:08:39 PM
That has to do with a css issues. I remember I changed it, I think it's a "float: right" thingy in one of the files that needs to be removed.
Title: Re: Topics Filter v3.0
Post by: Biology Forums on August 24, 2013, 02:46:40 PM
Filtering pagination doesn't work on SMF 2, i.e. 10, 20, 30 pages. :-\
Title: Re: Topics Filter v3.0
Post by: azasmith on November 21, 2013, 02:26:26 AM
Seems this mod would be compatible with 2.0.6 if it weren't for the install_2.php file on line 15 causing an error.

Table 'hzinfo_SMF.members' doesn't exist
File: /Packages/temp/install_2.php
Line: 15

Not a database expert so don't know entirely what exactly it's trying to do in the install file. But SMF.Members certainly doesn't seem right.

Anyone had any success?
Title: Re: Topics Filter v3.0
Post by: Arantor on November 21, 2013, 10:30:05 AM
It needs more serious changes than that to work properly going forward. And since the author has disappeared and not given permission for someone else to take it over, any changes will likely have to be done from scratch.
Title: Re: Topics Filter v3.0
Post by: Kimmie on December 10, 2013, 04:17:56 PM
It was last modified in 2009 and the owner hasn't been on since 2010. You all need to put a time limit on how long before the mod becomes available so that someone else can take it over.

This was one of my favorite mods and would love to see it updated. :)
Title: Re: Topics Filter v3.0
Post by: Biology Forums on February 03, 2014, 01:37:29 PM
You know, it would be cool if you could filter by attachment
Title: Re: Topics Filter v3.0
Post by: 1.1Nerd on August 26, 2020, 09:16:39 AM
I tried to install this on my SMD 2.0.17 but got a database error:


Table 'web7.members' doesn't exist
File: /var/www/web7/htdocs/Packages/temp/install_2.php
Line: 15


Any advice? I assume in SMF 2.0.17 the coresponding table has been changed / renamed?

Thank you
Title: Re: Topics Filter v3.0
Post by: Arantor on August 27, 2020, 07:56:34 AM
No, this package is so old it predates the changes made in 2.0RC2/3 in 2009/10. Even if you fixed the installer it problably wouldn't install properly.
Title: Re: Topics Filter v3.0
Post by: 1.1Nerd on August 27, 2020, 05:40:54 PM
That is a pitty I feel it should be a core feature.