News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Topics Filter v3.0

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

Previous topic - Next topic

M-DVD

Link to MOD

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






  • Create by:
karlbenson
  • Developed by:
M-DVD
  • Version:
3.1
  • Languages:

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




Comment this Mod
My MODs
Images
Help support my MODs



Features:

  • With this MOD you can adds some dropdown fields to filter topics on MessageIndex.

  • You can enable and disable each filters (per post-date, per replies, quick change pagination or per letter).
    Admin > Posts and Topics > Topics Settings

  • You can enable and disable this MOD

  • The visual aspect have been changed:
    • The choice 'without filter' is the first option.
    • The actual choise is showed in bold.
    • The letter filters, now also is dropdown
    • The filters selects are in the right, and quick changes selects in the left

  • Filters availables:
    • Filter per Date Topic
    • Filter per Date Reply
    • Filter per Replies
    • Filter per Letter
    • Filter per Icon

  • Quick changes availables:
    • Changes Pagination
    • Changes Sort topics

  • Your choice is saved (except for sort topics)

  • For all your users, members and guests.

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





QuoteLanguages (normal & utf-8)

  • English
  • English_British
  • Spanish_Es
  • Spanish_Latin
   
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

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

Características:

  • Con este MOD puedes añadir varios tipos de campos desplegables para filtrar los temas en el Índice de Mensajes.

  • Las configuraciones ha sido movidas a:
    Administración > Mensajes y Temas > Configuración de Temas

  • Ahora puedes activar y desactivar cada uno de los filtros (por fecha, por respuestas, por letra, o número de paginación).

  • También puedes activar y desactivar el MOD.

  • El aspecto visual ha sido cambiado:
    • La opción 'sin filtro' será la primera opción.
    • La función actual (tu opción salvada) se mostrará en negrita.
    • El filtro por letras ahora también es en cuadro de selección
    • Los cuadros de selección de Filtros están a la derecha, y los cuadros de selección de cambio en la lista están a la izquierda

  • Filtros Disponibles:
    • Filtro por Fecha de Tema
    • Filtro por Fecha de Última Respuesta
    • Filtro por Número de Respuestas
    • Filtro por Inicial del Título
    • Filtro por Ícono del Tema

  • Cambios Rápidos Disponibles:
    • Cambios de Paginación
    • Cambios en Orden de Temas

  • La elección es salvada (excepto el orden de temas).

  • Funciona para todos tus usuarios, incluso visitantes.

Fin.

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

ChangeLog:




QuoteVersion 1.0 - 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 - 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 - 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

Hoochie Coochie Man

#1
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';
İnadına SMF 1.1.X

kamili34

#2
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';

karlbenson

thank you both.

I'll add them asap.

Hoochie Coochie Man

İnadına SMF 1.1.X

edi67

#5
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';
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

fals

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....







500fan.dk - SMF 2.0 ~ custom theme
ls-forum.dk - SMF 2.0.2 ~ custom theme and custom iPhone theme

karlbenson

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.

fals

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






500fan.dk - SMF 2.0 ~ custom theme
ls-forum.dk - SMF 2.0.2 ~ custom theme and custom iPhone theme

qubbah

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?

fals

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.






500fan.dk - SMF 2.0 ~ custom theme
ls-forum.dk - SMF 2.0.2 ~ custom theme and custom iPhone theme

karlbenson

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.

Chris_(medico_2001)

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?
Klikit-Linux, a distro for friend by friends
www.klikit.org

karlbenson

crap, my mod must not be checking whether the mod has already been installed previously.

I will provide a fix tomorrow

qubbah

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...

karlbenson

@ 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.

falguni1

#16
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.

karlbenson

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.

karlbenson

#18
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

perro88

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

Advertisement: