Advertisement:

Author Topic: Hide Topics From View  (Read 1770 times)

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,691
  • Mod King
    • XPtsp.com Community
Hide Topics From View
« on: December 29, 2016, 12:22:40 PM »
Link to Mod


HIDE TOPIC FROM VIEW v1.4
By Dougiefresh -> Link to Mod


Introduction
This mod allows the user to hide any topic from the board index and message index views.  It also allows the user to show the topic again, both from the topic display and the message index views.

In the Profile area, a new section called Hidden Topics has been added so that the users can show any topics they have hidden after-the-fact....

Known Issue(s)
This mod only affects the Board Index, Message Index, SSI functions, and Unread topics functionality.  Any other functionality has not been affected.

Admin Settings
There are no admin settings at this time.  To disable, you must uninstall this mod.

Compatibility Notes
This mod was tested on SMF 2.0.12, but should work on SMF 2.0 and up, as well as SMF 2.1 Beta 2.  SMF 1.x is not and will not be supported. 

Changelog
The changelog has been removed and can be seen at XPtsp.com.

License
Quote
Copyright (c) 2016 - 2018, Douglas Orend
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,691
  • Mod King
    • XPtsp.com Community
Re: Hide Topics From View
« Reply #1 on: March 19, 2017, 10:53:46 AM »
Uploaded v1.1 - March 19th, 2017
o Added support for SMF 2.1 Beta 2.
o Added "Hidden Topics" profile page to show list of hidden topics.
o Added SSI support for other mods that use SSI functions.
o Added Unread Topics support.
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,691
  • Mod King
    • XPtsp.com Community
Re: Hide Topics From View
« Reply #2 on: July 11, 2017, 11:41:40 AM »
Uploaded v1.2 - July 11th, 2017
o Replaced IFNULL with COALESCE in database queries for better Postgres support.
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline Geor'G

  • Semi-Newbie
  • *
  • Posts: 62
Re: Hide Topics From View
« Reply #3 on: March 10, 2018, 10:00:28 AM »
(ru) Ошибка при установке.
Нужно или дописать новую колонку в файле db_install.php

Error during installation.
You must either add a new column to the db_install file.php

Code: [Select]
array(
'name' => 'id',
'type' => 'int',
'auto' => true,
),


(ru) Или исправить тут:
Or fix here:
Code: [Select]
$indexes = array(
array(
'type' => 'primary',
'columns' => array('id')
),

$indexes = array(
   array(
      'type' => 'primary',
      'columns' => array('id_member')
   ),

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,691
  • Mod King
    • XPtsp.com Community
Re: Hide Topics From View
« Reply #4 on: March 10, 2018, 11:25:08 AM »
Uploaded v1.3 - March 10th, 2018
o Fixed invalid field error during table creation in database installer.



@Geor'G:  Thank you for reporting the error!  It's been fixed for this version!
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline Rock Lee

  • SMF Hero
  • ******
  • Posts: 1,574
  • Gender: Male
  • Digitalizando un nuevo mundo :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Hide Topics From View
« Reply #5 on: March 10, 2018, 11:39:03 AM »
Very good this without doubt to implement on my site :D step by step I leave the translations ;)


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,691
  • Mod King
    • XPtsp.com Community
Re: Hide Topics From View
« Reply #6 on: March 15, 2018, 11:31:17 AM »
Uploaded v1.4 - March 15th, 2018
o Added Spanish Latin translation, courtsey of Rock Lee!



@Rock Lee:  Thank you for the translation!!  It's been included in this version!
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline Jonben

  • Newbie
  • *
  • Posts: 1
Re: Hide Topics From View
« Reply #7 on: March 22, 2018, 05:14:21 PM »
Muy bueno esto sin duda para implementar en mi sitio: D paso a paso dejo las traducciones. ¡Gracias por informar el error! ¡Ha sido arreglado para esta versión!

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,691
  • Mod King
    • XPtsp.com Community
Re: Hide Topics From View
« Reply #8 on: March 22, 2018, 08:49:18 PM »
Muy bueno esto sin duda para implementar en mi sitio: D paso a paso dejo las traducciones. ¡Gracias por informar el error! ¡Ha sido arreglado para esta versión!
Sorry, I don't speak Spanish (at least, that's what I assume it is!).  If you don't speak English, please use Google Translate.

Google Translate: Lo siento, no hablo español (al menos, eso es lo que supongo que es). Si no habla inglés, use Google Translate.
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline Rock Lee

  • SMF Hero
  • ******
  • Posts: 1,574
  • Gender: Male
  • Digitalizando un nuevo mundo :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Hide Topics From View
« Reply #9 on: March 23, 2018, 08:22:05 AM »
Muy bueno esto sin duda para implementar en mi sitio: D paso a paso dejo las traducciones. ¡Gracias por informar el error! ¡Ha sido arreglado para esta versión!

Siempre lo mantiene actualizado en lo posible sus modificaciones, si tenes cualquier error comentalo aunque trata de hacerlo en ingles, ya que la mayoria de los foros aca se habla en ingles americano :P o comentalo en la zona de español y me avisas si algo esta mal con mi traduccion :-\.

Sorry, I don't speak Spanish (at least, that's what I assume it is!).  If you don't speak English, please use Google Translate.

Google Translate: Lo siento, no hablo español (al menos, eso es lo que supongo que es). Si no habla inglés, use Google Translate.

If it is indeed Spanish and insurance English is complicated. Many of us speak Spanish, we have that problem and Google translator sometimes gets crazy when we pass the words...


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,691
  • Mod King
    • XPtsp.com Community
Re: Hide Topics From View
« Reply #10 on: March 24, 2018, 09:23:39 PM »
@Rock Lee:  :o  Um...  Yeah, I keep forgetting that Google Translate isn't...  (um, how do I say this) perfect at translating (?!?), but it is better than nothing IMHO....  Maybe I should learn Spanish, since I live in Tennessee and work retail...  ???
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline Rock Lee

  • SMF Hero
  • ******
  • Posts: 1,574
  • Gender: Male
  • Digitalizando un nuevo mundo :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Hide Topics From View
« Reply #11 on: March 24, 2018, 09:30:15 PM »
@dougiefresh At the step helps a lot but when it becomes something more timely can play against not knowing what you translate ... Spanish is simple can only play tricks on the times used to assemble the sentences, that's why it costs me English for the times and ways of expressing have American English. Added I am Argentine who has his way of speaking "Spanish" many sentences translated into English has no meaning that sometimes I find it hard to translate (I try to do it to my intender) in order if you have doubts I help you with the language without problems :P
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!