Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: vbgamer45 on September 01, 2012, 07:31:00 PM

Title: Bookmarks by SmfSimple
Post by: vbgamer45 on September 01, 2012, 07:31:00 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=3447)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fbit.ly%2FkZVDB6&hash=7836fdef4323714489209ed06cd4e4f88c199aea)

[glow=black,2,300]Bookmarks by SmfSimple[/glow]
Developed by 4Kstore (http://www.smfsimple.com/index.php?action=profile;u=55) for SMFSimple.com (http://www.smfsimple.com/)
SMF 2.0 - 2.0.X



[glow=black,2,300]El soporte oficial de los desarrolladores de nuestros mods lo encontraras en SMFSimple.com
Official Support in www.SmfSimple.com (http://www.smfsimple.com/)
[/glow]



[glow=black,2,300]Description:[/glow]
With this mod you can save the topics that you like as bookmarks, each user will have their favorites list thereby enabling them to find the items that you love a lot faster.

[glow=black,2,300]Descripcion:[/glow]
Con este mod podras guardar los temas que mas te gusten como favoritos, cada usuario tendra su lista de favoritos con lo cual podran encontrar los temas que mas le gustan mucho mas rapido.



[glow=black,2,300]Features:[/glow]
1. Hooks used
2. Favorites are eliminated when delete topics.
3. Pagination in the favorites list.
4. Can sort by Title, Replies and Favorites. (Default order by id_bookmark, ie first orders that were added to the bookmark at the latest).
5. Displays informatio about the topic added as favorite
6. Can sort the topics in the MessageIndex by "Number of Favorites".
7. Show how much favorites have each topic in MessageIndex.
8. Displays amount of bookmarks in each topic.
9. Show to the topic creator and to administrators a log with information about who put the topic in favorites.
10. Allow search in the list of favorites
11. Allow delete various favorites at the same time

Administration:
Enable - Disable the mod.
Permissions for users, who can use the mod.
Enable Search
Pagination: how many favorites show in one page
Show how many favorites have the topic in the display
Show how many favorites have the topic in messageindex
Show how many favorites have the user from the list of favorites
Enable logs favorites

[glow=black,2,300]Caracteristicas:[/glow]
1. Usa Hooks para la mayoria de las ediciones.
2. Se eliminan los favoritos al eliminarse un tema.
3. Paginacion en la lista de favoritos.
4. Permite ordenar por Titulo,Respuesta y Favoritos. (Por defecto ordena por id_bookmark, es decir ordena primero los que fueron agregados al bookmark a lo ultimo).
5. Muestra varios datos sobre los temas agregados como favoritos.
6. Permite ordenar los temas en el MessageIndex por "Cantidad de Favoritos".
7. Muestra la cantidad de favoritos de cada tema en el MessageIndex.
8. Muestra cantidad de favoritos dentro de cada tema.
9. Muestra al Creador del tema y a los administradore un log de quienes agregar el tema a favoritos.
10. Permite buscar entre los favoritos agregados.
11. Permite borrar varios favoritos al mismo tiempo.

Administracion:
Habilitar - Deshabilitar el mod.
Permisos para usuarios, quien puede usar el mod.
Habilitar Busqueda en la lista de favoritos   
Cuantos favoritos mostrar por pagina   
Mostrar cuantos favoritos tiene el tema en el display   
Mostrar cuantos favoritos tiene el tema en el messageindex   
Mostrar cuantos favoritos guardo el usuario en la lista de favoritos   
Habilitar logs de favoritos


[glow=black,2,300]Screenshots | Imagenes[/glow]

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FXNIEL.png&hash=5dd8aea4ef3e48de4e0654f3cc683eb2c225f96d)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FagJM3.png&hash=1229796f3c03f462a985811894e2ef7bea315171)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fk3PiQ.png&hash=c1074ede0423696c25528c5df3ddf51bac59238d)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FQYPoc.png&hash=ed60b92185b3dbf75d232a392640c1c50812846e)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FutcEr.png&hash=e9bf99f42ac7734198883b67551b42f3a7e04fed)



Language Support | Lenguajes Soportados
English & Spanish


Settings
Administration > Configuration -> Bookmarks

Notes:
This Mod Uses Jquery.
This Mod Uses CSS3.
This Mod Uses Hooks.

License:
* This SMF modification is subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this SMF modification except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/ (http://www.mozilla.org/MPL/)

[glow=black,2,300]SMFSIMPLE Bookmarks[/glow]
Title: Re: SMFSIMPLE Bookmarks
Post by: Adrek on September 02, 2012, 04:34:33 AM
Harcoded text in Bookmarks.template.php:
Quote<img src="', $settings['images_url'], '/heart.png" alt="" style="vertical-align: middle;" /> '.$context['cant_bookmarks'].' Favoritos

Image heart.png is not installed in every theme

8: Undefined index: permissionname_bookmarks
File: /Sources/ManagePermissions.php
Line: 1698
   

and setting page looks little different than this from screen

Anyway.. nice mod! :)

//edit:

and again in too many places is used the same txt string which causes that it is not possible to correctly translate this mod, I have to make edits in template to make correct translation :|


//edit2:

More bugs :P

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg17.imageshack.us%2Fimg17%2F9592%2Fzakadki.png&hash=45d1cdbbe96888f417238430598bd8d1c5e3eefe)

it shows my username and my avatar image instead of correct topic author and his avatar image
Title: Re: SMFSIMPLE Bookmarks
Post by: NanoSector on September 02, 2012, 07:10:07 AM
Quote from: phantomm on September 02, 2012, 04:34:33 AM
Harcoded text in Bookmarks.template.php:
Quote<img src="', $settings['images_url'], '/heart.png" alt="" style="vertical-align: middle;" /> '.$context['cant_bookmarks'].' Favoritos

Image heart.png is not installed in every theme

8: Undefined index: permissionname_bookmarks
File: /Sources/ManagePermissions.php
Line: 1698
   

and setting page looks little different than this from screen

Anyway.. nice mod! :)

//edit:

and again in too many places is used the same txt string which causes that it is not possible to correctly translate this mod, I have to make edits in template to make correct translation :|


//edit2:

More bugs :P

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg17.imageshack.us%2Fimg17%2F9592%2Fzakadki.png&hash=45d1cdbbe96888f417238430598bd8d1c5e3eefe)

it shows my username and my avatar image instead of correct topic author and his avatar image
Oh, those slipped through. I'll shoot the SSimple team a PM.
Title: Re: SMFSIMPLE Bookmarks
Post by: 4Kstore on September 02, 2012, 02:57:35 PM
@phantomm Thanks for the report....
I just re-upload the zip fixing the errors...
Thanks for all
Title: Re: SMFSIMPLE Bookmarks
Post by: littlenicki on September 03, 2012, 10:10:17 AM
Hello, this looks like an amazing mod! Could you please backport it to SMF 1.1? Regards, Nicole
Title: Re: SMFSIMPLE Bookmarks
Post by: 4Kstore on September 03, 2012, 10:18:51 AM
Quote from: littlenicki on September 03, 2012, 10:10:17 AM
Hello, this looks like an amazing mod! Could you please backport it to SMF 1.1? Regards, Nicole

No, sorry... i only develop to 2.x SMF versions.
Title: Re: SMFSIMPLE Bookmarks
Post by: jarska on September 12, 2012, 12:31:28 AM
Great mod, thanks!

Is it possible in future to mark only posts not hole topics? ::)
Title: Re: SMFSIMPLE Bookmarks
Post by: 4Kstore on September 12, 2012, 12:41:46 AM
Quote from: jarska on September 12, 2012, 12:31:28 AM
Great mod, thanks!

Is it possible in future to mark only posts not hole topics? ::)

Thanks, maybe in a future version.. but i have other projects in my "lab" before update this..
Enjoy...
Title: Re: SMFSIMPLE Bookmarks
Post by: fiver on September 15, 2012, 12:23:59 AM
SMF version 2.0.2


Hi,


My forum has been using the other Bookmarks mod:
http://custom.simplemachines.org/mods/index.php?mod=864 (http://custom.simplemachines.org/mods/index.php?mod=864)


How to switch from that mod to this mod? For example, in phpmyAdmin, what is the command to port member's bookmarks from that mod to this mod?


Thanks.





Title: Re: SMFSIMPLE Bookmarks
Post by: elf_fu on September 15, 2012, 09:23:21 PM
I am using this mod currently on a guild forum, SMF version 2.0.2 with a small handful of mods, simple portal and the Bluez theme. It worked (for me) absolutely perfectly and installed without a hitch. Thank you SO much for this, just wanted to say I really appreciate the hard work. If I can donate somday I will.
Title: Re: SMFSIMPLE Bookmarks
Post by: 4Kstore on September 15, 2012, 09:34:57 PM
Quote from: fiver on September 15, 2012, 12:23:59 AM
How to switch from that mod to this mod? For example, in phpmyAdmin, what is the command to port member's bookmarks from that mod to this mod?

Sorry, i dont made a converter, you need to unistall and then install this mod.

Quote from: elf_fu on September 15, 2012, 09:23:21 PM
I am using this mod currently on a guild forum, SMF version 2.0.2 with a small handful of mods, simple portal and the Bluez theme. It worked (for me) absolutely perfectly and installed without a hitch. Thank you SO much for this, just wanted to say I really appreciate the hard work. If I can donate somday I will.

Thanks for this words..!!
Title: Re: SMFSIMPLE Bookmarks
Post by: Jessica. on September 15, 2012, 10:41:43 PM
I have Replies and Views in separate columns, so installing this mod would cause some issues with that...how can I put the bookmarks in a separate column on Messageindex.php?
Title: Re: SMFSIMPLE Bookmarks
Post by: 4Kstore on September 15, 2012, 10:43:49 PM
You need to edit these file manually... using the parse of the mod...
Title: Re: SMFSIMPLE Bookmarks
Post by: Jessica. on September 15, 2012, 10:45:42 PM
I'll need more help than that since I'm not good with coding.
Title: Re: SMFSIMPLE Bookmarks
Post by: NanoSector on September 16, 2012, 04:29:44 AM
http://wiki.simplemachines.org/smf/Manual_installation_of_mods :)
Title: Re: SMFSIMPLE Bookmarks
Post by: Jessica. on September 16, 2012, 12:09:41 PM
oh that. I know how to manually install mods. I just want to know the changes if I want to have a separate column. I removed the messageindex.php edits completely for now
Title: Re: SMFSIMPLE Bookmarks
Post by: NanoSector on September 16, 2012, 12:27:25 PM
You can look at the edits the mod made and add onto that.
Title: Re: SMFSIMPLE Bookmarks
Post by: Skaty on January 07, 2013, 08:19:05 PM

quick question

i have this



<td class="stats ', $alternate_class, '">
<span>', $topic['replies'], ' ', $txt['replies'], '</span><br />', $topic['views'], ' ', $txt['views'], '


</td>';



need to change to this ?



<td class="stats ', $color_class, '">
', $topic['replies'], ' ', $txt['replies'], '
<br />
', $topic['views'], ' ', $txt['views'], '
<br />';
if(!empty($modSettings['bkm_enabled']) && !empty($modSettings['bkm_show_number_favorites_message']))
echo'
', $topic['bookmarks'], ' ', $txt['bookmarks'], '';
echo'
</td>

Title: Re: SMFSIMPLE Bookmarks
Post by: 4Kstore on January 07, 2013, 08:30:36 PM
If you want to see the number of people that mark that topic as bookmark yes... but this change doesn't affect the functionability of this mod..
Title: Re: SMFSIMPLE Bookmarks
Post by: Skaty on January 07, 2013, 08:37:42 PM
Quote from: 4Kstore on January 07, 2013, 08:30:36 PM
If you want to see the number of people that mark that topic as bookmark yes... but this change doesn't affect the functionability of this mod..

Yes i wanna use all fuctions of this mod, but i can't do this step to my theme. gave me some error just this part can't figured out. it is look simple but gave me error.
i think i'm doing something wrong with  span code ?
Title: Re: SMFSIMPLE Bookmarks
Post by: Skaty on January 07, 2013, 08:58:04 PM
i didn't add this codes but seems it is working anyway :)

Turkish translation:


<?php
//SMFSIMPLE BOOKMARKS STARTs
$txt['bkm_error_mod_disabled'] = 'Favoriler modu kapalı.';
$txt['bkm_error_contact'] = 'Bir hate meydana geldi, yönetici ile irtibat kurun.';
$txt['cannot_bookmarks'] = 'Bu eylemi yapmak için yetkiniz yok.';
$txt['bkm_error_delete_seleccion'] = 'Lütfen silmek için bir favori seçin.';
$txt['bookmarks'] = 'Favorİlerİm';
$txt['permissionname_bookmarks'] = 'Favorileri kullan';
$txt['permissionhelp_bookmarks'] = 'Üyelerin favoriler modunu kullanmasına izin ver.';
$txt['bkm_no_records'] = 'Favorilerinizde ekli başlık yok.';
$txt['bkm_views_replies'] = 'Cevaplar/Görüntüleme';
$txt['bkm_admin_desc'] = 'Favori Ayarları';
$txt['bkm_admin_enabled'] = 'Favorileri Aktifleştir';
$txt['bkm_search_enabled'] = 'Favori listesine aramayı aktif kıl';
$txt['bkm_paginate'] = 'Sayfa başına gösterilecek favori sayısı';
$txt['bkm_show_number_favorites_display'] = 'Başlığın kaç kişinin favorisinde olduğunu göster.';
$txt['bkm_show_number_favorites_message'] = 'Başlığın kaç kişinin favorinde olduğunu mesaj indeksinde göster.';
$txt['bkm_show_number_favorites_in_list'] = 'Favoriler listesinde üyenin kaç favori başlığı olduğunu görüntüle.';
$txt['bkm_enable_log_favorites_in_post'] = 'Favori logunu aktif kıl. <br /> <span class="smalltext">Başlığı favorilerine kimin eklediğini sadece başlık sahibine ve admine göster.</span>';
$txt['bkm_search'] = 'Ara';
$txt['bkm_check_all'] = 'Hepsini Seç';
$txt['bkm_uncheck_all'] = 'Hepsini Bırak';
$txt['bkm_delete'] = 'Seçileni Sil';
$txt['bkm_delete_confirm'] = 'Seçilen favorileri silmek istediğinden emin misin ?';
Title: Re: SMFSIMPLE Bookmarks
Post by: pastorvictor on February 16, 2013, 04:18:40 PM
How do I translate it to Spanish? And also, how do I make the text a little smaller?
Title: Re: SMFSIMPLE Bookmarks
Post by: NightzKung on February 17, 2013, 04:14:30 AM
Very Cool Mod! Thank
Title: Re: SMFSIMPLE Bookmarks
Post by: carlosgq on February 28, 2013, 12:18:53 AM
Quote from: pastorvictor on February 16, 2013, 04:18:40 PM
How do I translate it to Spanish? And also, how do I make the text a little smaller?

visita la pagina del creador del mod, smfsimple.com

ahi encontraras como traducirlo, saludos
Title: Re: SMFSIMPLE Bookmarks
Post by: Rain Forest on July 12, 2013, 05:55:12 AM
In /action=bookmarks how do I make a border around the avatars? :)

In my index.css I have set this as 'default' border:

/* Avatars which are too large will be resized to the width/height below */
img.avatar
{
border: 2px solid #D8D8D8;
padding: 5px;
background: white;
   _width: 75px;      /* Fixed width  for some IE versions */
   _height: 75px;      /* Fixed height for some IE versions */
   max-width:  100px;
   max-height: 60px;
}

/* Avatars which are too large will be resized to the width/height below */
div img.avatar, td.windowbg img.avatar
{
   _width: 100px;      /* Fixed width  for some IE versions */
   _height: 100px;      /* Fixed heigth for some IE versions */
   max-width:  100px;
   max-height: 100px;
}
Title: Re: SMFSIMPLE Bookmarks
Post by: Magnolia Outdoors on July 23, 2013, 12:09:51 PM
Very clean install and works perfectly. Great addition to our new forum.

Thanks!