News:

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

Main Menu

Message Bookmarks

Started by Bugo, March 11, 2022, 09:06:32 PM

Previous topic - Next topic

Bugo

v0.7.1
* Fixed found issues
* The stats are only available to those who have the right to view statistics and use bookmarks.

By the way, the stats start showing up when there are more than 4 bookmarks and more than 2 members.

Darknico

I fixed a little issue in Italian Translation

You cannot view this attachment.
 
Quote from: Bugo on March 16, 2022, 11:31:13 PMBy the way, the stats start showing up when there are more than 4 bookmarks and more than 2 members.

Ok, I'm missing this information, thanks :)
Italian SMF - Supporto Italiano per la board SMF - Ci trovate tutti li!! :)


jacbier

I want to start using this mod.
I saw that in the language files there is no closing php code (?>). Is that correct?

A translation into Dutch will be made by me.

Arantor

Lack of closing PHP ?> is recommended in general. The only reason SMF has it is so the package manager can find the "end of the file" for certain types of edits.

Lack of closing PHP tag in a mod's language files is absolutely fine.

jacbier

The Dutch translation
without ?>  :)

You cannot view this attachment.

Steve

Is bookmarking a PM a whole different ballgame? I often read a PM and think that I'll come back later and respond but invariably forget.

I note that you indicated a new version of 7.1 but the mod site shows 7.2 available. I assume it has additional fixes?
DO NOT pm me for support!

Bugo

Quote from: Steve on April 04, 2022, 04:51:16 PMs bookmarking a PM a whole different ballgame?
It is a little another thing.
Quote from: Steve on April 04, 2022, 04:51:16 PMnote that you indicated a new version of 7.1 but the mod site shows 7.2 available. I assume it has additional fixes?
Updated some translations.

Bugo

v0.8
  • Added settings for stats area

Darknico

Updated Italian translation  8)
Italian SMF - Supporto Italiano per la board SMF - Ci trovate tutti li!! :)


gevv

Hi,

Updated Turkish translation
ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

FrizzleFried

#30
Works great!  Thank you.

FrizzleFried

#31
Questions...

"A class for highlighting bookmarked posts in topics" ... As someone who really has very little idea of what I am doing,  I really have no clue what i am supposed to put in here.  I managed to accidently replace whatever was in there originally with a stupid SMILEY code ... I didn't remember what was in there originally so I uninstalled ... removing all associated data (ticking it).... and then re-installed only to find my same SMILEY code in that field.  Sooo....

"You can use emoji or FA code like fas fa-bookmark" .... The font-awesome code is pretty self-explanitory... though "fas fa-bookmark" works,  unfortunately "fas fa-bookmark-o" doesn't... so I want to use an emoji... though I have ZERO idea how.  I tried using a smiley code set in the system... no go.  I googled EMOJI CODE and put a few that came up in ... no go... how does this work?

Ideally I'd like to find two versions of the BOOKMARK icon to use...

Thanks!!

EDIT: Figured out that "far fa-bookmark" is the same icon as "fas fa-bookmark-o"...

I would still like to learn how to use emoji however...



Bugo

1. Put any CSS class that exists in index.css, or create your own and specify it (screenshot 1).
2. When developing, I used emoji from https://emojiguide.com for the test (screenshot 2).

FrizzleFried


@rjen

Just tested this enhacement and found that the dutch translation was not complete. I also made some small corrections...
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

@rjen

Noticed that the bookmark Name field pushes outside the scren on mobile devices due to the size=80 setting.

Adding a style="width:100%" fixes that..

MessageBookmarks.template.php
Change
<input type="text" id="title" name="title" size="80" maxlength="255" class="input_text" value="', $context['mb_title'], '">

To
<input type="text" id="title" name="title" style="width:100%" size="80" maxlength="255" class="input_text" value="', $context['mb_title'], '">
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Bob La Londe

Installed and broke forum: 

Parse error: syntax error, unexpected '=' in /home/diycompo/public_html/yumabassman.com/forums-new/Sources/Class-MessageBookmarks.php on line 405
Same result on any page request.  Don't know how to fix unless I reinstall forum. 


Arantor

You'll need at least PHP 7.1; the line is failing because of a syntax that only became available in PHP 7.1.

Bob La Londe

Quote from: Arantor on April 15, 2022, 06:33:28 PMYou'll need at least PHP 7.1; the line is failing because of a syntax that only became available in PHP 7.1.

Well, since I rent server space I guess my only way to fix it is reinstall the forum then.  I get that error on every link into the forum.  Even a direct link to admin. 

Thank you.  I am hoping a upgrade overwrite will do the trick. 

Arantor

There's nothing wrong with the forum code - overwriting all the files won't fix it either.

If your host can't change PHP versions to one that isn't already several years old, I'd think about finding a new host. PHP is part of the server - ask your host to update it.

Advertisement: