News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

NiceTooltips

Started by digger, September 14, 2009, 06:24:52 AM

Previous topic - Next topic

digger

Link to the mod

Description
This mod shows nice tooltips with the first posts previews for the topic's list.
HTML tags from text will be parsed in the tooltip. Mod have admin section for size and color settings.

Mod uses overLIB library (Artistic License)
http://www.bosrup.com/web/overlib

GitHub repository: https://github.com/realdigger/SMF-NiceTooltips
===
Описание
В списке тем раздела и в списке непрочитанных тем выводит красивую подсказку к названию темы с текстом первого сообщения (bbc и смайлы парсятся). Есть настройка основных параметров и цветов.

Использует библиотеку overLIB library (Artistic License)
http://www.bosrup.com/web/overlib

GitHub репо: https://github.com/realdigger/SMF-NiceTooltips
===
Languages:
english
russian
russian-utf8

===
History:

1.4 Option to specify permissions for usergroups added.
1.5 Updated for support SMF2 RC2.
1.6 Updated for support SMF2 RC3. Option to adjust the font size added.
1.7 Updated for support SMF2 RC4.
1.8 Updated for support SMF2.0.
1.9 Fixed IE10 support.
...
1.16
Add option to set images width.
Drop SMF 1.1 support.
Add option to select first or last message show in tooltip.
Add post author nickname to the tooltip title.
Auto close unclosed [hide] tags in tooltips.
Minify js scripts.
Add text align by right for RTL languages.
Add option to enable/disable tooltips for mobile devices.
Fix permissions. Now there is two permissions, separate for groups and boards.
1.17 Fix for old php versions.


4b11l

Very nice mod! Works excellently!

Permissions option or anything like that in the works? Most importantly, not allowing guests to see the preview.

digger

Quote from: 4b11l on September 14, 2009, 05:48:38 PM
Very nice mod! Works excellently!

Permissions option or anything like that in the works? Most importantly, not allowing guests to see the preview.

Already in my TODO list. Will be in the next version.

dannbass

Very nice digger! thank you so much!

For some reason in my theme the tooltip aligns everything to the center, but in the default everything is right... any idea of why this is happening?

Thanks in advance!

digger

Quote from: dannbass on September 14, 2009, 07:05:08 PM
Very nice digger! thank you so much!

For some reason in my theme the tooltip aligns everything to the center, but in the default everything is right... any idea of why this is happening?

Thanks in advance!

Can I see your forum?


digger

Quote from: dannbass on September 14, 2009, 07:05:08 PM
Very nice digger! thank you so much!

For some reason in my theme the tooltip aligns everything to the center, but in the default everything is right... any idea of why this is happening?

Thanks in advance!

Try NiceTooltips 1.3

dannbass

Great!! thank you so much, it worked!

I have a suggestion... can you make it to parse BBCode? I have a [logged]...[/logged] tag that displays an invitation for guest to register or login and is displaying the hidden content on the tooltip, or maybe to create a custom form so that one can add the BBCode that we might want to parse.

Thanks a lot!

digger

Quote from: dannbass on September 14, 2009, 09:26:54 PM
Great!! thank you so much, it worked!

I have a suggestion... can you make it to parse BBCode? I have a [logged]...[/logged] tag that displays an invitation for guest to register or login and is displaying the hidden content on the tooltip, or maybe to create a custom form so that one can add the BBCode that we might want to parse.

Thanks a lot!

Mod parse all bbc codes.
How did you add [logged] tag? Is it in the parse_bbc() function?

dannbass

I didn't add the [logged], it's a mod from here http://custom.simplemachines.org/mods/index.php?mod=756 and I was checking it, roughly, and I don't think it's under the parse_bbc() function

It will be fine, no big deal!
Thanks again!

4b11l

I couldn't help notice you have updated two times already from 1.1

Did you add permissions already? Thanks a lot. Cheers.

digger

Quote from: 4b11l on September 14, 2009, 10:13:07 PM
I couldn't help notice you have updated two times already from 1.1

Did you add permissions already? Thanks a lot. Cheers.

Not yet. Sorry :)

4b11l

Ah, not a problem.

Was there anything wrong with 1.1 that I should update to 1.3 at the moment?

digger

Quote from: dannbass on September 14, 2009, 09:54:40 PM
I didn't add the [logged], it's a mod from here http://custom.simplemachines.org/mods/index.php?mod=756 and I was checking it, roughly, and I don't think it's under the parse_bbc() function

It will be fine, no big deal!
Thanks again!

Try to enable '[NiceTooltips] Words in the tooltip will be censored' on the mod settings page.

Quote from: 4b11l on September 14, 2009, 10:26:47 PM
Ah, not a problem.

Was there anything wrong with 1.1 that I should update to 1.3 at the moment?

1.2 - Setting for 'delay before showing tooltip' added
1.3 - Fixed text align in tooltip for custom themes

dannbass

Quote from: digger on September 14, 2009, 10:30:31 PM

Try to enable '[NiceTooltips] Words in the tooltip will be censored' on the mod settings page.


That did the trick! thank you so much!! it's a very useful mod!

gbsothere

Digger, very nice.  Installed beautifully on my test board.  My posters will love this.


My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

digger

Quote from: dannbass on September 14, 2009, 10:41:27 PM
Quote from: digger on September 14, 2009, 10:30:31 PM

Try to enable '[NiceTooltips] Words in the tooltip will be censored' on the mod settings page.


That did the trick! thank you so much!! it's a very useful mod!

If this trick don't work,
in the modification.xml from NiceTooltips package
find
censorText($body);
replace with
censorText($body, true);
and reinstall mod

ttuu

i wont see last post in tooltips.
its possible?

sAce

excellent mod buddy, good work :)

digger

Quote from: ttuu on September 15, 2009, 01:25:59 AM
i wont see last post in tooltips.
its possible?

Will be in a next versions.

Advertisement: