News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Bookmarks

Started by Matthew K., July 16, 2007, 01:07:24 PM

Previous topic - Next topic

dimspace

Quote from: Arantor on February 07, 2013, 10:31:44 PM
And file_exists results aren't cached by the file system or anything. ;)

theres that too. :D

night all.

Arantor

That was sarcasm. It IS cached by the file system itself.

dimspace

Quote from: Arantor on February 07, 2013, 10:33:24 PM
That was sarcasm. It IS cached by the file system itself.

my sarcasm detector was working just fine ;)

Arantor

It's the British accent, you can't always tell.

But yeah, it is a big issue to contend with. Personally I'd be fine with icons all being from the default theme and the mods all querying the default theme as standard.

Costa

Code (Modifications.portuguese_pt.php) Select
$txt['bookmarks'] = 'Marcadores';
$txt['bookmark_list'] = 'Marcadores';
$txt['bookmark_list_empty'] = 'Você não tem nenhum marcador neste momento. Adicione um clicando em \'Adicionar marcador\' nos tópicos.';
$txt['bookmark_open_window'] = 'Abrir em nova janela';
$txt['bookmark_delete'] = 'Apagar marcadores seleccionados';
$txt['bookmark_delete_success'] = '%1$s marcador(es) foran apagados com sucesso!';
$txt['bookmark_delete_failure'] = 'Nenhum marcador foi apagado.';
$txt['bookmark_add'] = 'Adicionar marcador';
$txt['bookmark_add_success'] = 'O tópico foi adicionado aos seus marcadores com sucesso!';
$txt['bookmark_add_exists'] = 'Este tópico já esta na sua lista de marcadores!';
$txt['bookmark_add_failed'] = 'Falha ao adicionar o tópico aos seus marcadores.';
$txt['permissionname_make_bookmarks'] = 'Adicionar tópicos aos marcadores';
$txt['cannot_make_bookmarks'] = 'Desculpe, mas você não tem permissão apra adicionar tópicos aos marcadores.';


Code (Modifications.portuguese_pt-utf8.php) Select
$txt['bookmarks'] = 'Marcadores';
$txt['bookmark_list'] = 'Marcadores';
$txt['bookmark_list_empty'] = 'Você não tem nenhum marcador neste momento. Adicione um clicando em \'Adicionar marcador\' nos tópicos.';
$txt['bookmark_open_window'] = 'Abrir em nova janela';
$txt['bookmark_delete'] = 'Apagar marcadores seleccionados';
$txt['bookmark_delete_success'] = '%1$s marcador(es) foran apagados com sucesso!';
$txt['bookmark_delete_failure'] = 'Nenhum marcador foi apagado.';
$txt['bookmark_add'] = 'Adicionar marcador';
$txt['bookmark_add_success'] = 'O tópico foi adicionado aos seus marcadores com sucesso!';
$txt['bookmark_add_exists'] = 'Este tópico já esta na sua lista de marcadores!';
$txt['bookmark_add_failed'] = 'Falha ao adicionar o tópico aos seus marcadores.';
$txt['permissionname_make_bookmarks'] = 'Adicionar tópicos aos marcadores';
$txt['cannot_make_bookmarks'] = 'Desculpe, mas você não tem permissão apra adicionar tópicos aos marcadores.';


Code (Modifications.portuguese_brazilian.php) Select
$txt['bookmarks'] = 'Marcadores';
$txt['bookmark_list'] = 'Marcadores';
$txt['bookmark_list_empty'] = 'Você não tem nenhum marcador neste momento. Adicione um clicando em \'Adicionar marcador\' nos tópicos.';
$txt['bookmark_open_window'] = 'Abrir em nova janela';
$txt['bookmark_delete'] = 'Apagar marcadores selecionados';
$txt['bookmark_delete_success'] = '%1$s marcador(es) foran apagados com sucesso!';
$txt['bookmark_delete_failure'] = 'Nenhum marcador foi apagado.';
$txt['bookmark_add'] = 'Adicionar marcador';
$txt['bookmark_add_success'] = 'O tópico foi adicionado aos seus marcadores com sucesso!';
$txt['bookmark_add_exists'] = 'Este tópico já esta na sua lista de marcadores!';
$txt['bookmark_add_failed'] = 'Falha ao adicionar o tópico aos seus marcadores.';
$txt['permissionname_make_bookmarks'] = 'Adicionar tópicos aos marcadores';
$txt['cannot_make_bookmarks'] = 'Desculpe, mas você não tem permissão apra adicionar tópicos aos marcadores.';


Code (Modifications.portuguese_brazilian-utf8.php) Select
$txt['bookmarks'] = 'Marcadores';
$txt['bookmark_list'] = 'Marcadores';
$txt['bookmark_list_empty'] = 'Você não tem nenhum marcador neste momento. Adicione um clicando em \'Adicionar marcador\' nos tópicos.';
$txt['bookmark_open_window'] = 'Abrir em nova janela';
$txt['bookmark_delete'] = 'Apagar marcadores selecionados';
$txt['bookmark_delete_success'] = '%1$s marcador(es) foran apagados com sucesso!';
$txt['bookmark_delete_failure'] = 'Nenhum marcador foi apagado.';
$txt['bookmark_add'] = 'Adicionar marcador';
$txt['bookmark_add_success'] = 'O tópico foi adicionado aos seus marcadores com sucesso!';
$txt['bookmark_add_exists'] = 'Este tópico já esta na sua lista de marcadores!';
$txt['bookmark_add_failed'] = 'Falha ao adicionar o tópico aos seus marcadores.';
$txt['permissionname_make_bookmarks'] = 'Adicionar tópicos aos marcadores';
$txt['cannot_make_bookmarks'] = 'Desculpe, mas você não tem permissão apra adicionar tópicos aos marcadores.';
Hugo "Costa" Fernandes - PT SMF
Todas as MP's a pedir ajuda são sujeitas a radioactividade, microondas, queimadas e atiradas borda fora.

"At least someone appreciates the fact that I am doing and not thinking..."
"Laziness is counter-revolutionary."

FragaCampos

I would also like to have this mod accessible via profile and not from the main menu of the forum.
The mod suggested by Kindred has no update to SMF 2. Is there any other alternative?

Anyway, thanks to all involved into coding this.

Quote from: Kindred on August 17, 2011, 12:18:51 AM
Removing from the menu is easy...   Edit the menu array in subs.php and comment out or delete the bookmarks section.

I use the user control panel for the profiles and this allows me to add icons to the usercp for up to 4 additional links, once of which I targeted to the user's bookmarks page.

Alternatively, it wouldn't be terrible hard toad it as a subscreen of the profile template.

Kindred

Usercp works fine on 2.0.x with a couple of tweaks, already listed in the support thread for that mod.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

dimspace

can confirm this.  i have user control panel on 2.0.3 with bookmarks as an option complete with icon and no bookmarks on my main subs.php generated menu.

I think i even posted the info to add bookmarks in there.

FragaCampos

Ok, thank you both
I'll look into that.

FragaCampos

Well, after some tweaks, changes and corrections, I managed to use User CP to remove bookmarks button.
I could just use a submenu in the profile button, but this way is nicer. I managed to create a new icon and the submenu link.

Thank you once more.

Matthew K.

Glad you hear you got it figured out :)

Antros22

just i install my test forum and work very well 

smf 2.0.4


Matthew K.


Biology Forums

There is a problem with the text strings.

When you delete one topic, the success message doesn't take into account plural deletes versus singular deletes.

1 bookmark was successfully deleted.

or... 2 bookmarks were successfully delete.

NekoJonez

What's the difference between 2.5 and 2.5.1?
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Matthew K.

2.5.1 contains a bugfix, not quite what it is though off the top of my head.

NekoJonez

It still says v2.5 instead of v2.5.1 in my admin screen.
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Matthew K.

It's possible that even if you did re-install 2.5.1, the XML version didn't get updated, I wouldn't be too concerned about it. I'll have to update this for SMF 2.1 anyway :)

NekoJonez

Well, I keep seeing the "add bookmark" button even when I have the topic bookmarked. Shouldn't the button be gone when you made a bookmark?
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Matthew K.

It should definitely, but whether it actually does or not is a completely different question. My guess is that in this version it doesn't. Definitely something to do for the next version though.

Advertisement: