Advertisement:

Author Topic: NiceTooltips  (Read 98241 times)

Offline digger

  • Sr. Member
  • ****
  • Posts: 782
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
NiceTooltips
« on: September 14, 2009, 06:24:52 AM »
Link to 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.

« Last Edit: September 15, 2013, 02:35:40 PM by digger »

Offline 4b11l

  • Jr. Member
  • **
  • Posts: 355
Re: NiceTooltips
« Reply #1 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.

Offline digger

  • Sr. Member
  • ****
  • Posts: 782
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: NiceTooltips
« Reply #2 on: September 14, 2009, 05:56:17 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.

Offline dannbass

  • Sr. Member
  • ****
  • Posts: 768
  • Ex.php?erto
Re: NiceTooltips
« Reply #3 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!

Offline digger

  • Sr. Member
  • ****
  • Posts: 782
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: NiceTooltips
« Reply #4 on: September 14, 2009, 07:26:51 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?

Offline dannbass

  • Sr. Member
  • ****
  • Posts: 768
  • Ex.php?erto
Re: NiceTooltips
« Reply #5 on: September 14, 2009, 07:30:02 PM »

Offline digger

  • Sr. Member
  • ****
  • Posts: 782
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: NiceTooltips
« Reply #6 on: September 14, 2009, 09:18:07 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

Offline dannbass

  • Sr. Member
  • ****
  • Posts: 768
  • Ex.php?erto
Re: NiceTooltips
« Reply #7 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!

Offline digger

  • Sr. Member
  • ****
  • Posts: 782
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: NiceTooltips
« Reply #8 on: September 14, 2009, 09:41:14 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?

Offline dannbass

  • Sr. Member
  • ****
  • Posts: 768
  • Ex.php?erto
Re: NiceTooltips
« Reply #9 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!

Offline 4b11l

  • Jr. Member
  • **
  • Posts: 355
Re: NiceTooltips
« Reply #10 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.

Offline digger

  • Sr. Member
  • ****
  • Posts: 782
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: NiceTooltips
« Reply #11 on: September 14, 2009, 10:15: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 :)

Offline 4b11l

  • Jr. Member
  • **
  • Posts: 355
Re: NiceTooltips
« Reply #12 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?

Offline digger

  • Sr. Member
  • ****
  • Posts: 782
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: NiceTooltips
« Reply #13 on: September 14, 2009, 10:30:31 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.

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

Offline dannbass

  • Sr. Member
  • ****
  • Posts: 768
  • Ex.php?erto
Re: NiceTooltips
« Reply #14 on: September 14, 2009, 10:41:27 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!

Offline gbsothere

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,780
  • I'm a Pappy!
Re: NiceTooltips
« Reply #15 on: September 14, 2009, 10:47:24 PM »
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.

Offline digger

  • Sr. Member
  • ****
  • Posts: 782
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: NiceTooltips
« Reply #16 on: September 14, 2009, 10:47:50 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
Code: [Select]
censorText($body);replace with
Code: [Select]
censorText($body, true);and reinstall mod

Offline ttuu

  • Jr. Member
  • **
  • Posts: 224
Re: NiceTooltips
« Reply #17 on: September 15, 2009, 01:25:59 AM »
i wont see last post in tooltips.
its possible?

Offline sAce

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,992
    • @sbplus_t on Twitter
    • SB+
Re: NiceTooltips
« Reply #18 on: September 15, 2009, 01:33:03 AM »
excellent mod buddy, good work :)

Offline digger

  • Sr. Member
  • ****
  • Posts: 782
  • Gender: Male
    • realdigger on GitHub
    • SMF Russian Community
Re: NiceTooltips
« Reply #19 on: September 15, 2009, 01:36:40 AM »
i wont see last post in tooltips.
its possible?

Will be in a next versions.