Link to the mod (https://custom.simplemachines.org/index.php?mod=2115)
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.
Very nice mod! Works excellently!
Permissions option or anything like that in the works? Most importantly, not allowing guests to see the preview.
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.
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!
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?
Of course!
http://forocontrabasso.110mb.com/index.php?board=3.0
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
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!
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?
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!
I couldn't help notice you have updated two times already from 1.1
Did you add permissions already? Thanks a lot. Cheers.
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 :)
Ah, not a problem.
Was there anything wrong with 1.1 that I should update to 1.3 at the moment?
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
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!
Digger, very nice. Installed beautifully on my test board. My posters will love this.
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
i wont see last post in tooltips.
its possible?
excellent mod buddy, good work :)
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.
hope it can be set widht to make the box not soo long with the wrap text.
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.
NiceTooltips 1.4
You can disable permission for any usergroup.
Quote from: digger on September 16, 2009, 12:48:25 AM
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.
Thanks digger! Works great!
NiceTooltips 1.4
You can disable permission for any usergroup.
Is anyone getting problems with their site being flagged as containing a virus?
This was one of the most recent mods installed on my forum.
It seems like it's a javascript file and it's pointing to ohionotaryone.com
Quote from: 4b11l on September 18, 2009, 02:14:14 AM
Is anyone getting problems with their site being flagged as containing a virus?
This was one of the most recent mods installed on my forum.
It seems like it's a javascript file and it's pointing to ohionotaryone.com
There is no viruses in the mod, of course.
It looks like a very nice mod.
Before I install it, does anyone have idea of the performance hit it might cause or is it negligible?
Quote from: Paracelsus on September 19, 2009, 06:16:05 AM
It looks like a very nice mod.
Before I install it, does anyone have idea of the performance hit it might cause or is it negligible?
It is negligible if you don't make tooltip size very big.
Love the mod, it does need a permission for usergroups, i don't really want Guests seeing it.
What i would also like to see, is perhaps a "Thread Starter's Avatar on there too" Maybe make the nicetooltips appear on the front too?
Also, considering you did a great job on it, do you think you could make a tooltip mod for general users on the board index?
All users in the "Users online" section, when the mouse is moved a user, displays their username, avatar and simple stats like posts.
I have attached a example, and a replica of how it should look, i think this will be a nice feature, and expand the neatness of SMF, i considered a join date in there, but i just tried to fit as much as i could, and still make it look nice.
Will this mod work with smf 1.1.10?
Quote from: SilverKnight on September 22, 2009, 04:49:30 PM
Love the mod, it does need a permission for usergroups, i don't really want Guests seeing it.
What i would also like to see, is perhaps a "Thread Starter's Avatar on there too" Maybe make the nicetooltips appear on the front too?
Also, considering you did a great job on it, do you think you could make a tooltip mod for general users on the board index?
All users in the "Users online" section, when the mouse is moved a user, displays their username, avatar and simple stats like posts.
I have attached a example, and a replica of how it should look, i think this will be a nice feature, and expand the neatness of SMF, i considered a join date in there, but i just tried to fit as much as i could, and still make it look nice.
I will try to implement this features in a next versions.
Hi Digger,
it was a meaningful mod which i was searching for a long time.
Hello, Im trying to uninstall the tooltips mod but i get the mod settings error test failed.Help anyone.The mod installed without any errors.This mod an the twitter mod were the last mods i installed.Im using smf 1.1.10.
Quote from: Pinball Nation on October 09, 2009, 06:26:11 PM
Hello, Im trying to uninstall the tooltips mod but i get the mod settings error test failed.Help anyone.The mod installed without any errors.This mod an the twitter mod were the last mods i installed.Im using smf 1.1.10.
Uninstall mods which installed after Nicetooltips.
How did you get the popups to display without the normal hover (title) text on the links interfering?
Quote from: BLueSS on October 19, 2009, 11:28:55 PM
How did you get the popups to display without the normal hover (title) text on the links interfering?
title=""
I just installed the newest version of this, 1.5, on SMF 1.1.10 board, default theme.
No errors on installation.
However, nothing happens, and the web console for debugging is reporting:
"event is not defined" in overlib_mini.js, line 107.
Very nice Digger, clever man. :)
Very nice mod! Can you please let me know in whoch file I can set the font size for the preview? Thank you!
Quote from: samurai-lupin on November 23, 2009, 08:31:36 PM
Very nice mod! Can you please let me know in whoch file I can set the font size for the preview? Thank you!
It uses rendered html from forum parser. There is no settings for font size.
Hello, I think adding this option would be good as the preview is very small on my forum and having many eldery members they may find it difficult to read. Best wishes
Quote from: samurai-lupin on November 23, 2009, 08:53:38 PM
Hello, I think adding this option would be good as the preview is very small on my forum and having many eldery members they may find it difficult to read. Best wishes
Ok. I will add this option.
Thank you very much!
oh my god, this is a really very nice mod, congratulations man! this is great!
It just missing the option to adjust the font size. Hope this will be added soon.
hmmm...not working. Seems to install fine (though I can't see the admin panel in my admin area in my custom theme). The tooltip that comes up is just the title of the thread.
Thoughts?
http://leafboxtea.com
Quote from: Prometheus Fire on December 28, 2009, 10:57:01 PM
hmmm...not working. Seems to install fine (though I can't see the admin panel in my admin area in my custom theme). The tooltip that comes up is just the title of the thread.
Thoughts?
http://leafboxtea.com
You must activate tooltips on the mod settings page.
It would be nice if there was an option to disable (or resize) images. Wouldn't want to be casually browsing a forum when all of a sudden a 5000x5000 screenshot invades my page (lol)
I installed this mod and it is working, however everytime I go to features and options, the configuration options are not there.
I also get this error:
goemaw.com/forum/index.php?action=featuresettings
8: Undefined index: NiceTooltips
File: /home/goemawco/public_html/forum/Sources/ModSettings.php
Line: 153
Quote from: Saulbadguy on January 25, 2010, 08:46:57 PM
I installed this mod and it is working, however everytime I go to features and options, the configuration options are not there.
I also get this error:
goemaw.com/forum/index.php?action=featuresettings
8: Undefined index: NiceTooltips
File: /home/goemawco/public_html/forum/Sources/ModSettings.php
Line: 153
Are you using English language files?
Quote from: digger on January 25, 2010, 09:00:31 PM
Quote from: Saulbadguy on January 25, 2010, 08:46:57 PM
I installed this mod and it is working, however everytime I go to features and options, the configuration options are not there.
I also get this error:
goemaw.com/forum/index.php?action=featuresettings
8: Undefined index: NiceTooltips
File: /home/goemawco/public_html/forum/Sources/ModSettings.php
Line: 153
Are you using English language files?
How/where do I check this? Sorry.
Quote from: Saulbadguy on January 25, 2010, 09:05:31 PM
Quote from: digger on January 25, 2010, 09:00:31 PM
Quote from: Saulbadguy on January 25, 2010, 08:46:57 PM
I installed this mod and it is working, however everytime I go to features and options, the configuration options are not there.
I also get this error:
goemaw.com/forum/index.php?action=featuresettings
8: Undefined index: NiceTooltips
File: /home/goemawco/public_html/forum/Sources/ModSettings.php
Line: 153
Are you using English language files?
How/where do I check this? Sorry.
English UTF8
Quote from: Saulbadguy on January 26, 2010, 12:31:31 PM
Quote from: Saulbadguy on January 25, 2010, 09:05:31 PM
Quote from: digger on January 25, 2010, 09:00:31 PM
Quote from: Saulbadguy on January 25, 2010, 08:46:57 PM
I installed this mod and it is working, however everytime I go to features and options, the configuration options are not there.
I also get this error:
goemaw.com/forum/index.php?action=featuresettings
8: Undefined index: NiceTooltips
File: /home/goemawco/public_html/forum/Sources/ModSettings.php
Line: 153
Are you using English language files?
How/where do I check this? Sorry.
English UTF8
Add this strings into your Modifications.english-utf8.php file
$txt['NiceTooltips'] = 'Nice Tooltips';
$txt['NiceTooltips_lenght'] = '[NiceTooltips] Number of characters to display in the tooltip (0 = disable)';
$txt['NiceTooltips_censored'] = '[NiceTooltips] Words in the tooltip will be censored';
$txt['NiceTooltips_FGCOLOR'] = '[NiceTooltips] Background color of the tooltip. A string value. NOTE: If a hexadecimal triplet is specified for the color, then the leading hash (#) mark must also be included.';
$txt['NiceTooltips_BGCOLOR'] = '[NiceTooltips] Color of the border of the tooltip. A string value. See NOTE above.';
$txt['NiceTooltips_TEXTCOLOR'] = '[NiceTooltips] Color of the text inside the tooltip. A string value. See NOTE above.';
$txt['NiceTooltips_CAPCOLOR'] = '[NiceTooltips] Color of the tooltip caption text. A string value. See NOTE above.';
$txt['NiceTooltips_OPACITY'] = '[NiceTooltips] Opacity of the tooltip. An integer value (1-100).';
$txt['NiceTooltips_DELAY'] = '[NiceTooltips] Tooltip will popup only after a certain delay specified in millisecs. An integer value.';
$txt['permissionname_disable_nicetooltips'] = 'Don\'t see nice tooltips (NiceTooltips Mod)';
$txt['permissionhelp_disable_nicetooltips'] = 'Disable NiceTooltips Mod for this group.';
I found a bug:
I noticed that on rare occasion it doesn't work. For example, on this board:
http://www.societyofrobots.com/robotforum/index.php?board=5.0
The post titled "you need battlebots help? well you came to the right place" just doesn't show during a mouseover. Others work fine, and I don't see a pattern.
I also liked this below idea:
QuoteAlso, considering you did a great job on it, do you think you could make a tooltip mod for general users on the board index?
All users in the "Users online" section, when the mouse is moved a user, displays their username, avatar and simple stats like posts.
And font size control would be great too!
This mode causing a conflicts with Go direct to moved topic (http://custom.simplemachines.org/mods/index.php?mod=2076).
The mod is not working properly, it's simple not redirecting, just shows the topic content (the message about new topic's location).
Any ideas?
I've noticed a problem with FF 3.6 ... maybe others?
When I hover over a subject the tool tip appears as expected, then when I click on the subject I'm taken to the message, again as expected. Now if you hit the browser back button to return to the topic list the last hovered tooltip is still there and follows the mouse pointer all over the page until you re-hover over a topic and then it clears.
I've attached a screen shot of the hovertip on the page but no where near the topic title.
Quote from: Spuds on February 23, 2010, 10:06:22 PM
I've noticed a problem with FF 3.6 ... maybe others?
When I hover over a subject the tool tip appears as expected, then when I click on the subject I'm taken to the message, again as expected. Now if you hit the browser back button to return to the topic list the last hovered tooltip is still there and follows the mouse pointer all over the page until you re-hover over a topic and then it clears.
I've attached a screen shot of the hovertip on the page but no where near the topic title.
I can't reproduce this problem with FF 3.6 & Windows7
QuoteI can't reproduce this problem with FF 3.6 & Windows7
Well that's what I'm using and the picture I attached clearly shows the problem .... thanks for taking a look
digger [?] (http://www.simplemachines.org/community/index.php?topic=336505.msg2513537#msg2513537)
QuoteI can't reproduce this problem
And can you please take a look at my above (http://www.simplemachines.org/community/index.php?topic=336505.msg2490478#msg2490478) comment?
Quote from: MrCreatoR on February 24, 2010, 01:55:49 AM
digger [?] (http://www.simplemachines.org/community/index.php?topic=336505.msg2513537#msg2513537) QuoteI can't reproduce this problem
And can you please take a look at my above (http://www.simplemachines.org/community/index.php?topic=336505.msg2490478#msg2490478) comment?
Install "Go direct to moved topic" mod. Then install attached package
Quote from: digger on February 24, 2010, 02:37:00 AM
Quote from: MrCreatoR on February 24, 2010, 01:55:49 AM
digger [?] (http://www.simplemachines.org/community/index.php?topic=336505.msg2513537#msg2513537) QuoteI can't reproduce this problem
And can you please take a look at my above (http://www.simplemachines.org/community/index.php?topic=336505.msg2490478#msg2490478) comment?
Install "Go direct to moved topic" mod. Then install attached package
Hm, it shows me a message that the package is demaged or not compatible with current SMF version (RC1.2).
Hello, have you ever considered adding an option to adjust the text size of the tooltips? Thanks!
1.6 Updated for support SMF2 RC3. Option to adjust the font size added.
Hello, I am running it on SMF 1.1
Woudl you mind letting me know please what code I need to add so it will display atleast 12px font-size? Thank you!
Great mod, i am using it on my SMF 2.0 RC2
Only glitch that i have is that i use the inline attachments mod where you can put attachments into your posts.
When a post have an attachment in the "preview" area it says, [you don have permission to view attachments], even if the user has the permission. And the user can see the image when entering the topic. He just can not see the image in the preview that this mod generates.
Other than that, this is a fantastic mod. Thanks for creating it.
Quote from: samurai-lupin on March 19, 2010, 12:03:58 AM
Hello, I am running it on SMF 1.1
Woudl you mind letting me know please what code I need to add so it will display atleast 12px font-size? Thank you!
Just set 12px size on the mod settings page.
Quote from: Tanks on March 19, 2010, 04:23:36 AM
Only glitch that i have is that i use the inline attachments mod where you can put attachments into your posts.
When a post have an attachment in the "preview" area it says, [you don have permission to view attachments], even if the user has the permission. And the user can see the image when entering the topic. He just can not see the image in the preview that this mod generates.
There is some mods for inline attachments. Which mod are you using?
Hi Digger,
I am using the InLine Attachments 1.0 Alpha 12
The glitch only happens on "show unread post since last visit" so it's no big deal. ;)
Quote from: Tanks on March 20, 2010, 05:00:11 AM
Hi Digger,
I am using the InLine Attachments 1.0 Alpha 12
The glitch only happens on "show unread post since last visit" so it's no big deal. ;)
I believe I fixed that in a later release, try updating to the Beta 5 release and see if that fixes the issue.
Thanks Spuds, that fixed the problem ;)
Looks good and works fine for me. (using SMF 2.0 RC3)
Thanks :)
after upgrade forum from version 1 to version 2 rc 3 there is no tooltips after several install and uninstall and then install again.. failed. no tooltips show.there is no error when install this mod.
im using latest version 1.6
Quote from: qubbah on April 08, 2010, 12:34:06 AM
after upgrade forum from version 1 to version 2 rc 3 there is no tooltips after several install and uninstall and then install again.. failed. no tooltips show.there is no error when install this mod.
im using latest version 1.6
how can i del database for nicetooltips manually?
Have you checked to see if any of the files the mod uses have been doubled?
Quote from: digger on December 29, 2009, 04:04:29 AM
Quote from: Prometheus Fire on December 28, 2009, 10:57:01 PM
hmmm...not working. Seems to install fine (though I can't see the admin panel in my admin area in my custom theme). The tooltip that comes up is just the title of the thread.
Thoughts?
http://leafboxtea.com
You must activate tooltips on the mod settings page.
Same thing is happening to me. When I update 'Number of characters to display...', then nothing at all shows up. This occurs even when I'm logged in as admin. Am I missing something ?
TomW
Have you checked the all the files for missing sections?
The admin section may require a manual edit.
Quote from: Brack1 on April 29, 2010, 08:08:06 PM
TomW
Have you checked the all the files for missing sections?
The admin section may require a manual edit.
I manually inserted the mod, so that makes sense. So I re-checked, and everything looks ok, even the misspelling of 'lenght' is consistent within the db and the code ! Besides, when the length is set to 0, it works - by displaying the subject only. I'm stumped - thanks for any help !
Have a look to see if these are there:
Move the included file "overlib_mini.js" to "./Themes/default/scripts".
Move the included file "overlib_adaptive_width.js" to "./Themes/default/scripts".
Please bear in mind that I am no expert in regards to coding.
Also I left you a pm regarding a different subject.
Quote from: Brack1 on April 29, 2010, 08:37:27 PM
Have a look to see if these are there:
Move the included file "overlib_mini.js" to "./Themes/default/scripts".
Move the included file "overlib_adaptive_width.js" to "./Themes/default/scripts".
Please bear in mind that I am no expert in regards to coding.
Also I left you a pm regarding a different subject.
Yes, those files are there, and set to 'Read only' permission. Also I double-checked the db and it is ok. The mod works correctly when hovering over a member-name.
Hm I had a look at the forum and can't see anything wrong.
*Thinking Aloud* Was the message Preview mod completely uninstalled?
Where are you trying to look for the mod? In the board topics or the main board?
The link in my sig is the production forum. I am using Message Preview on MouseOver on that forum. The test forum is on my laptop.
We have tried this on our 2.0 RC3 test forum and it works great. However, we just upgraded our working forum to 2.0 RC3 and installed this and it does not work at all. Have uninstalled and reinstalled more than once, cleaned cache, hard refreshed pages, made sure all is correctly edited in files, both files are in scripts folder. We are using the default curve theme if that matters, no other settings in admin that was seen, and attached is a screenshot of the settings in admin, exactly the same as the test forum. Have tried other numbers in Tooltip will popup only after a certain delay specified in millisecs. An integer value, test forum is a 0.
Thank You for any assistance.
sbt
Where have you tried to view this?
Can we see a link to the forum?
Currently it is in maintenance mode while the other admins decide when to open it, so only the login page is viewable. The test forum was a 1.1.11 that was upgraded to 2.0 RC3 to make sure we could without losing anything or the mods and yesterday we upgraded from the 1.1.11 to 2.0 RC3 and reinstalled all the mods.
Is there any other setting in admin other than the screenshot attached and the permissions?
We are reopening later today so will post link so you can have a look. Thank You for the assistance.
very neat
thank you !! :D
Hello, we have reopened,
Our link is, http://forum.tutstop.com
Thank You.
Quote from: sbt on May 12, 2010, 07:44:23 PM
Hello, we have reopened,
Our link is, http://forum.tutstop.com
Thank You.
Were there any errors on installing the mod.
Nice color scheme by the way.
Quote from: sbt on May 12, 2010, 07:44:23 PM
Hello, we have reopened,
Our link is, http://forum.tutstop.com
Thank You.
You don't have this files:
/Themes/default/overlib_mini.js
/Themes/default/overlib_adaptive_width.js
Quote from: digger on May 12, 2010, 07:55:09 PM
You don't have this files:
/Themes/default/overlib_mini.js
/Themes/default/overlib_adaptive_width.js
Thank You for the assistance and the lovely compliment, I created that theme, lol.
No errors on install and since this is a copy of default curve theme, did make sure to install in other themes, no errors there either.
Hmmmm, it was there in the folder, so looked in server and it wasn't, uploaded both. Cleared cache, hard refresh and nothing still.
All the settings are on. Is there any other thing in admin to fill in or select other than the Modification Settings section in 2.0 RC3 please?
Gotta be missing something cause it works perfect at test forum.
Could try another un-reinstall if you think that may do it.
Tried uninstalling and reinstalling, all files were cleaned of all coding [made sure], all files were installed correctly, only error was one of the codes on recent.php and it was edited correctly manually, all files are in every theme script folder, all settings are set and saved. Not working.
Does it have to use the add_settings.php in the database? It didn't need it at test forum and it is same server.
If it does, we tried it and got errors so we will need inbfo on how to do that please.
No clue what is wrong.
The theme we are using is a copy of default curve that we renamed and recolored. It did not have the languages folder, so added it there with the correct file needed for this mod.
Could that be overwriting? Cause it is the only duplicate since all others are in Sources.
Would you like any of the edited files?
Test forum where it works http://tutstop.com/testsmf2_forum (http://tutstop.com/testsmf2_forum)
Working forum where it doesn't http://forum.tutstop.com (http://forum.tutstop.com)
Installed mods at both forums are:
SimplePortal 2.3.2
Custom Board Sort 1.0.2
No Temp Directory Removal 1.1.6
Lots_o_Smileys 1.0
Reason For Editing Mod 2.3.2
WYSIWYG Quick Reply v2 RC3
Bookmarks 2.3
Signature Option Post 1.1.1
Rename *Child Board* | S-Ace 1.0
Activity_Bar 1.0.1.2
First Post on every Page 1.3
Curve_centered_menu 1.1
Copy Topics 1.6
Country Flags 1.1
Google Translator Flags 1.0
New In Topic View 1.1
NiceTooltips 1.6
Registration redirection 0.1
Reply Button in All Posts 1.1
Advanced Reputation System 1.8.1
Date_Registerd on post 1.0
Stop Spammer 2.3.7
Favicon 1.3
Birthday Posts 0.12.1 Beta
Quote from: sbt on May 14, 2010, 11:27:41 AM
Tried uninstalling and reinstalling, all files were cleaned of all coding [made sure], all files were installed correctly, only error was one of the codes on recent.php and it was edited correctly manually, all files are in every theme script folder, all settings are set and saved. Not working.
Copy files into this locations
/Themes/default/overlib_mini.js
/Themes/default/overlib_adaptive_width.js
and mod should be work.
You are so very awesome! It worked! Thank You so much. Love this mod. Thank You so much for the help. We are upgrading another forum of ours on Tuesday and will remember this trick.
Quote from: sbt on May 14, 2010, 04:55:06 PM
You are so very awesome! It worked! Thank You so much. Love this mod. Thank You so much for the help. We are upgrading another forum of ours on Tuesday and will remember this trick.
This problem happens when forum is upgraded from smf1 to smf2 version. I will fix mod installer in the next release.
So glad it works, Not alot of clicking to read posts with this, love it. Thank You again for the help and the awesome mod.
Quote from: sbt on May 14, 2010, 06:24:40 PM
So glad it works, Not alot of clicking to read posts with this, love it. Thank You again for the help and the awesome mod.
YES... i have same problem with u.. but now its going great.. thnk to all..
Hi, great mod. Exactly what I've been looking for. Just two comments. Is their anyway for it to display just the image and not the text? As well as a way to increase the size of the image/attachment a bit?
thanks
mod installed fine, but when i go to post a thread, with attachments in line there is a problem.
i select the attachment, then how i want it to show in the post.
when i click the post button.
it refreshes the post page and clears all text boxes. including the previous attachment.
2.0 rc3
newest tooltips.
i would like to add also, dunno if its possible as its another mod, but could it be done, the message preview, on the dynamic memberlist, or even the default memberlist? not just on the side profile of posts?
great mod, i have it on another forum without the inline attachments also, i just dont know how to fix this error.
Hi digger,
I have no tooltipps on a SMF RC3 testinstallation.
The "overlib_mini.js" dont appears in the quellcode of the html page.
Have I to activate it somewhere else?
Thanks
neo67
I love this mod but there seems to be a problem with some users on Iphone or Ipod
QuoteUsing an iPod Touch, tapping on a topic brings up the new panel that you see on a PC when you hover the mouse pointer over a topic on Recent Unread Topics, but that's as far as you can go
QuoteIt does it on my iPhone too, running the latest software on a 3GS. If you select the new posts button it takes you to the thread page. It seems to open the little box that cannot be closed on the new posts since last visit page....
QuoteSame here on iphone 4 with the latest software
Any idea how to fix this? Using SMF1.1.11 and TP 0.9.8
Gerry
No ideas ?
Gerry
The Iphone problem still persists and seems to effect Iphone 4 users. Would it be possible to add a X to clost the tooltip or make it close itself after a few seconds?
Gerry
There's a TIMEOUT command available to the Overlib function that would probably do what you want, so you could display the popup for a defined period. The parameter doesn't seem to be used by the mod but you could include it. See the call to Overlib at the end of the mod to subs.php
See Overlib's command reference, behavior commands
Pete
Hello ..
.. and thank you for this mod. i was looking at other pages and it looks good.
But i have an error during the installation:
In MessageIndex.php i need to edit this line manually
'link' => '<a href="' . $scripturl . '?topic=' . $row['id_topic'] . '.0">' . $row['nice_tooltip_first_msg'] . ' >' . $row['first_subject'] . '</a>'
Now, my message - index looks like the attached picture.
Can somebody help me, please ?
If you've not sorted this, divecall, you may want to attach your MessageIndex.php, along with information about your version of SMF and whether or not you're using a custom theme. :)
thank you for your reply, my friend.
i hope, your grand-daughter (isnt it ?) is well.
at last, i was doing a mistake: i installed first this lovely, good looking mod with XAMPP in my test-board. But i forget that i was deinstall simpleportal befor and the was a few errors. one of them was in the subs.php and this was causes the error.
:-[ :-[ :-[ O:)
sorry and thank you for your good will.
by the way: is there a way to make this mod work with the recent topics-block in simpleportal (SMF 2 RC with 2.3.1) ?
the code for this recent block must be (i think):
{
global $txt, $scripturl, $settings, $context, $color_profile;
$block_parameters = array(
'boards' => 'boards',
'limit' => 'int',
'type' => 'select',
'display' => 'select',
);
if ($return_parameters)
return $block_parameters;
$boards = !empty($parameters['boards']) ? explode('|', $parameters['boards']) : null;
$limit = !empty($parameters['limit']) ? (int) $parameters['limit'] : 5;
$type = 'ssi_recent' . (empty($parameters['type']) ? 'Posts' : 'Topics');
$display = empty($parameters['display']) ? 'compact' : 'full';
$items = $type($limit, null, $boards, 'array');
if (empty($items))
{
echo '
', $txt['error_sp_no_posts_found'];
return;
}
else
$items[count($items) - 1]['is_last'] = true;
$colorids = array();
foreach ($items as $item)
$colorids[] = $item['poster']['id'];
if (!empty($colorids) && sp_loadColors($colorids) !== false)
{
foreach ($items as $k => $p)
{
if (!empty($color_profile[$p['poster']['id']]['link']))
$items[$k]['poster']['link'] = $color_profile[$p['poster']['id']]['link'];
}
}
if ($display == 'compact')
{
foreach ($items as $key => $item)
echo '
<a href="', $item['href'], '">', $item['subject'], '</a> <span class="smalltext">', $txt['by'], ' ', $item['poster']['link'], $item['new'] ? '' : ' <a href="' . $scripturl . '?topic=' . $item['topic'] . '.msg' . $item['new_from'] . ';topicseen#new" rel="nofollow"><img src="' . $settings['lang_images_url'] . '/new.gif" alt="' . $txt['new'] . '" border="0" /></a>', '<br />[', $item['time'], ']</span><br />', empty($item['is_last']) ? '<hr />' : '';
}
elseif ($display == 'full')
{
echo '
<table class="sp_fullwidth">';
foreach ($items as $item)
echo '
<tr>
<td class="sp_recent_icon sp_center">
', sp_embed_image(empty($parameters['type']) ? 'post' : 'topic'), '
</td>
<td class="sp_recent_subject">
<a href="', $item['href'], '">', $item['subject'], '</a>
', $item['new'] ? '' : '<a href="' . $scripturl . '?topic=' . $item['topic'] . '.msg' . $item['new_from'] . ';topicseen#new"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/new.gif" alt="' . $txt['new'] . '" border="0" /></a>', '<br />[', $item['board']['link'], ']
</td>
<td class="sp_recent_info sp_right">
', $item['poster']['link'], '<br />', $item['time'], '
</td>
</tr>';
echo '
</table>';
}
}
Is there a way to make this mod work with this peace of code ?
@ divecall: my granddaughter's teething, so no one's getting much sleep. :D
Digger may weigh in on the block code, but in the meantime, I'll install the portal and this mod on my test board and see if I can get them to play nice.
outch - theething....i know what you mean.
(but sometimes i´m loosing my theeth for problems with coding... ;D)
Maybe you (or somebody) can add the tooltip-code generaly for simpleportal, not only in the code what i was posting.
it is a nice feature for all this portal-blocks.
thank you in advance.
btw: additional i will start a topic in the simpleportal-support-board....
@gbsothere: if you have SP installed, you need to try this code, it is great !
http://simpleportal.net/index.php?topic=5332.0 (http://simpleportal.net/index.php?topic=5332.0)
Good idea, divecall, to post over on SimplePortal's thread. I did just install both SP and Nice Tooltips on my test board last night and then, as old men do, fell aleep. :D
I'll take a look at this link you posted and then play around with it, today.
Absolutely love this mod, running perfectly on 1.1.12!
Great work.
If I could make ONE suggestion, it would be the option to turn off embedded images / videos, etc. Otherwise it's great!
Thank you!
Quote from: Spuds on February 23, 2010, 10:06:22 PM
I've noticed a problem with FF 3.6 ... maybe others?
When I hover over a subject the tool tip appears as expected, then when I click on the subject I'm taken to the message, again as expected. Now if you hit the browser back button to return to the topic list the last hovered tooltip is still there and follows the mouse pointer all over the page until you re-hover over a topic and then it clears.
I've attached a screen shot of the hovertip on the page but no where near the topic title.
Hmmm...
I just noticed this problem. It's happening on my Firefox 3.6 as well. No other browser.
It's when you hover over the link, let the tooltip pop up and then click the link. When you hit the back button the tool tip is trapped on the cursor.
Hello, I have been using this mod for quite some time and it is very good! I wonder if it could also be integrated to work with the Related Topics Mods?
http://custom.simplemachines.org/mods/index.php?mod=189
Thank you for any thoughts
after installation i'm getting this error when i open the board
Fatal error: Call to undefined function nicetooltip() in /public_html/Sources/MessageIndex.php on line 450
thx for the nice mod
i have a question
can i disable the mod for certain boards?
if not will this feature be included in the future release?
or is there any manual edit
thx
Quote from: !RFAN on January 23, 2011, 08:52:04 AM
after installation i'm getting this error when i open the board
Fatal error: Call to undefined function nicetooltip() in /public_html/Sources/MessageIndex.php on line 450
What is the text shown on the line itself?
Quote from: Eudemon369 on January 23, 2011, 05:22:13 PM
can i disable the mod for certain boards?
if not will this feature be included in the future release?
Added to my ToDo list for this mod.
Quote from: !RFAN on January 23, 2011, 08:52:04 AM
after installation i'm getting this error when i open the board
Fatal error: Call to undefined function nicetooltip() in /public_html/Sources/MessageIndex.php on line 450
See Manual Install Instruction for this mod and check changes in the Subs.php
QuoteAdded to my ToDo list for this mod.
thx im looking forward for that :laugh:
Anyway to disable this for iDevice's?
Quote from: Shadow82x on February 02, 2011, 12:54:27 PM
Anyway to disable this for iDevice's?
Same question-- iphones and pads seem to have trouble with it. Could we have the options for users to turn on/off? Or at least be able to x out?
Also now need it for RC5?
have installed the mod but there is nothing in admin panel to activate it ?
im using a custom theme do i have to manually add the settings or something ?
looked in all theme edits all are there so why have i no options to activate in admin panel any 1 ?
How do you make this work on a ssi function, such as most recent topics?
^^^ Please help!
Quote from: shuban on May 11, 2011, 08:54:50 PM
^^^ Please help!
This don't work with ssi functions.
Crap, why is that?
Opacity not working on Internet Explorer...
Hi :) This is the best message preview mod. Will it be updated for version 2.0? Thank you.
Quote from: Farjo on June 29, 2011, 09:36:23 AM
Hi :) This is the best message preview mod. Will it be updated for version 2.0? Thank you.
The mod already does work on 2.0
Thank you for the quick reply. What have I done wrong?! I've installed it under emulation and am logged in as an admin. The fields are there in the database and "Number of characters to display in the tooltip" is 500.
But no preview ???
Took ages going through the code to work out what was wrong >:( It was just that I am using the backup copy and the repair_settings file evidently doesn't fix the theme paths completely.
So working now. You really should release 1.8 just with the package-info file updated for v2 :)
Quote from: Brack1 on June 29, 2011, 09:48:31 AM
The mod already does work on 2.0
From where I can download it smf 2.0 versions mod?
Thanks...
emulate it to 2.0 RC4
Browse Packages --> go to bottom, click on Advanced.
Quote from: Jessica. on July 01, 2011, 06:46:33 PM
Browse Packages --> go to bottom, click on Advanced.
Not until Artifical fog so...
I can download it smf 2.0 versions mod?
Thanks...
im using smf gold and it say it not compatible so will this mod be updated?
for me I love this mod. I've used it quite a bit. One thing I changed for my site is to view the last message instead of the first. so my change was as follows.
in ./Sources/MessageIndex.php
Find // * NiceTooltips mod
$row['nice_tooltip_first_msg'] = NiceTooltip($row['first_body'], $row['first_subject'], $row['first_smileys'], $row['id_first_msg']);
and replace with // * NiceTooltips mod
$row['nice_tooltip_first_msg'] = NiceTooltip($row['last_body']);
The last thing I am trying to do with this is display [img] links only so that just pictures show up and no text. Hence above is just "last_body". If anyone has an insight on how to make the code just see the [img] tag. I would love to see it.
thanks
j
Needs a 2.0 Gold version update. Please.
Not being made smf 2.0. to a version compatible mod? (2.0 Gold version update)
Pleasa.Thanks...
tamasir~
Quote from: tamasir on September 24, 2011, 02:12:29 PM
Not being made smf 2.0. to a version compatible mod? (2.0 Gold version update)
Pleasa.Thanks...
tamasir~
Last version is compatible with 2.0 gold. Use emulation for RC4.
Great mod, digger. Have been using NiceTooltips for some time and it works really well. Was just wondering, though, if you had considered using styles instead of 'hard-coding' the colours, so that the colours could be changed to suit each custom theme.
Quote from: AussieBill on September 28, 2011, 08:49:56 PM
Great mod, digger. Have been using NiceTooltips for some time and it works really well. Was just wondering, though, if you had considered using styles instead of 'hard-coding' the colours, so that the colours could be changed to suit each custom theme.
You can change colours in the admin area
Yes I know, but those colours apply to all themes. What I am talking about is adding styles to (or using existing styles in) the stylesheet, so that the colours can be changed for each custom theme. Custom themes come in a wide variety of colours and I just thought it would be great if the tooltip could be matched to the theme. If this were the case I could just add the code to a custom theme's index.css and change the colours to suit.
Quote from: AussieBill on September 29, 2011, 08:53:55 PM
Yes I know, but those colours apply to all themes. What I am talking about is adding styles to (or using existing styles in) the stylesheet, so that the colours can be changed for each custom theme. Custom themes come in a wide variety of colours and I just thought it would be great if the tooltip could be matched to the theme. If this were the case I could just add the code to a custom theme's index.css and change the colours to suit.
I will see.
Excellent mod digger.
One of the best.
Was hoping to see NiceTooltips a little more elegant feel to it with jquery a la xenforo?
Quote from: ~DS~ on November 19, 2011, 04:11:22 AM
Was hoping to see NiceTooltips a little more elegant feel to it with jquery a la xenforo?
Maybe, next version
Is the mod compatible with any of the spoiler mods that are available i.e. where the content of the spoiler does not appear in the tooltip?
Quote from: ~DS~ on November 19, 2011, 04:11:22 AM
Was hoping to see NiceTooltips a little more elegant feel to it with jquery a la xenforo?
What do you mean?
Just updated SMF to 2.0.2, reinstalled Nice Tooltips but it does not work, any ideas much appreciated.
The version of my forum:SMF 2.0.2
Nice Tooltipsversion: 1.8
I installed it the modot. The setup successful body. My forum disappears after the setup.
The subbs.php back up I installed it and the side improved, but does not appear the :Nice Tooltips.
Installed fresh copy of SMF 2.0.2 and latest copy of Nice Tooltips, it does not work, any chance of this being fixed???????????????
QuoteJust updated SMF to 2.0.2, reinstalled Nice Tooltips but it does not work, any ideas much appreciated.
It's working fine for me on my 2.0.2 site ?
I'm doing a fresh install on another site later this evening, I'll feedback when I get to installing NT. ;)
Nice one Storman, could answer a few questions if we find out it does not work on a fresh install.
Hi clothahump
Well I've installed it but I had modification parse errors with the english.xml file and for the life of me I couldn't find out why there was an issue ?
Anyway I ignored the parse error and installed it anyway and then manually added the language strings to the default Modifications.english.php
Seems to be working ok ;) although to be honest I've a good mind to revert to version 1.7 as I installed that without issues.
Has to be my server then, will contact the tech guys and see what excuse they can come up with this time.
QuoteHas to be my server then, will contact the tech guys and see what excuse they can come up with this time.
What sort of problem do you actually have with the install ?
It installs but does now show for anybody not even me, it is configured correctly and has now failed on 2 installs.
Call me an idiot, I decided to check my error logs and I found this;
2011-12-30 19:52:08.519 [INFO] [95.146.202.176:3970-0#APVH_tropicalfishforums.co.uk] File not found [/home/tropical/public_html/Themes/default/overlib_adaptive_width.js]
2011-12-30 19:52:05.657 [INFO] [95.146.202.176:3969-0#APVH_tropicalfishforums.co.uk] File not found [/home/tropical/public_html/Themes/default/overlib_mini.js]
I had been assuming they should be located in Themes-Default-Scripts, where are your js files located?
Uploaded and it works fine, mental or what?
QuoteI had been assuming they should be located in Themes-Default-Scripts, where are your js files located?
As far as I can see they go in Themes - Default - Scripts if using SMF 2.x.x and in Themes - Default if using SMf 1.x.x
Correct, how come mine installs in the wrong place, there has been nothing but problems ever since I converted from 1 to 2.
Smf to 2.0.2 versions uninstallable!!!!! Erro, error...... :'(
tamasir~
Is that mod suppose to show topic starter avatar too?
If it is, not working for me. :-[
QuoteIs that mod suppose to show topic starter avatar too?
No, just the topic title and the main content.
Details about the topic starter and their avatar are not shown.
;)
Quote from: jarska on January 20, 2012, 05:41:04 AM
Is that mod suppose to show topic starter avatar too?
If it is, not working for me. :-[
Would be nice, and can be done. :laugh:
Quote from: Storman on January 20, 2012, 05:49:28 AM
QuoteIs that mod suppose to show topic starter avatar too?
No, just the topic title and the main content.
Details about the topic starter and their avatar are not shown.
;)
Okay, thanks.
If I remember right, in Tinyportal site was that mod in use and there it shows avatar, just wondering how to do that? O:)
Quote from: jarska on January 21, 2012, 12:30:44 AM
Quote from: Storman on January 20, 2012, 05:49:28 AM
QuoteIs that mod suppose to show topic starter avatar too?
No, just the topic title and the main content.
Details about the topic starter and their avatar are not shown.
;)
Okay, thanks.
If I remember right, in Tinyportal site was that mod in use and there it shows avatar, just wondering how to do that? O:)
Maybe you should ask in the Tiny portal support topic.
hi friends
this cute mod is not RTL
all the texts are showing on left side of bar. how can i move them to right ?
thanks
Modification is a super
Imparted by the truncation of text that was automatically ended so ...
The point to where the text is 3 dots were attracted to suggest that this is not all that is in the subject.
How can I show also last message?
Here is example from phpbb2:
(http://img201.imageshack.us/img201/4372/obraz2i.png)
Hallo,
I just want to ask about this same. What should I do to highlight first and last message?
Best regards
JaGoDkA
Quote from: phantomm on March 14, 2012, 06:03:10 PM
How can I show also last message?
Here is example from phpbb2:
(http://img201.imageshack.us/img201/4372/obraz2i.png)
refresh?
How to make a truncated message that always ended with [...] and not in the middle of a sentence, etc
Here's how I made them nice and round ;)
Find: (In Subs.php)
.nice_tooltip_fgclass {
Add After:
-webkit-border-bottom-right-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
-moz-border-radius-bottomright: 5px;
-moz-border-radius-bottomleft: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
Find: (In Subs.php)
.nice_tooltip_bgclass {
Add After:
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
Good tip there Liam.
Just hope I remember this.
::)
Thanks for the rounded corner code! It looks great!
Excellent mod, well done (http://www.fiftyplusforum.co.uk/forum/Smileys/LightB/TwoThumbs2.gif)
Is it possible to add a user switch to Profile > Look and Layout so that users who don't like it can disable it?
Many thanks, keep up the good work (http://www.fiftyplusforum.co.uk/forum/Smileys/LightB/icon_e_perfect.gif)
how to resize a box width and height?
nice, thanks for the rounded box code :)
Hi, i have SP Block that shows first images (with link) specific boards like news. I wanna to ask, how can i entegrate this mod to show inside of this topics when mouse is on it ?
like this maybe ?
(http://i.imgur.com/RhlernC.jpg)
Quote from: Skaty on May 15, 2013, 09:48:41 PM
Hi, i have SP Block that shows first images (with link) specific boards like news. I wanna to ask, how can i entegrate this mod to show inside of this topics when mouse is on it ?
like this maybe ?
(http://i.imgur.com/RhlernC.jpg)
Are the images provided by a mod?
Great! Thanks for the tip, also thank Liam for the rounded corner, it looks great. By they way can I modify the size of the box?
Quote from: Old Fossil on May 15, 2013, 09:51:06 PM
Quote from: Skaty on May 15, 2013, 09:48:41 PM
Hi, i have SP Block that shows first images (with link) specific boards like news. I wanna to ask, how can i entegrate this mod to show inside of this topics when mouse is on it ?
like this maybe ?
(http://i.imgur.com/RhlernC.jpg)
Are the images provided by a mod?
No, i'm calling the images with codes. for block i'm using simple portal.
these are codes codes i'm using.
global $smcFunc, $scripturl;
$boards = array(2);
$request = $smcFunc['db_query']('', '
SELECT t.id_topic, m.subject, m.body
FROM {db_prefix}topics AS t
INNER JOIN {db_prefix}messages AS m ON (m.id_msg = t.id_first_msg)
WHERE t.id_board IN ({array_int:boards})
ORDER BY t.id_topic DESC
LIMIT {int:limit}',
array(
'boards' => $boards,
'limit' => 25,
)
);
$topics = array();
while ($row = $smcFunc['db_fetch_assoc']($request))
$topics[] = array(
'id_topic' => $row['id_topic'],
'body' => $row['body'],
'first_image' => preg_match_all('~\[img[^]]*\]([^]]*)\[\/img\]~i', $row['body'], $images) ? '<img src="' . $images[1][0] . '" alt="' . $row['subject'] . '" height="40" width="80" />' : '',
);
$smcFunc['db_free_result']($request);
echo '
<center><table>
<tr>
<td>
<marquee onmouseover="this.stop()" onmouseout="this.start()" height="100%" scrollamount="0" scrolldelay="0" direction="left" loop="infinite">
<table></center></tr>';
foreach ($topics as $topic)
echo '
<td><div class="mansetyan">
<a href="', $scripturl, '?topic=', $topic['id_topic'], '.0"><font color=red size=1 ALIGN="Center" width="50">', $topic['subject'], '</font>', $topic['first_image'], '</a>
</td>';
echo '
</table>
</marquee>
</td>
</tr></table></div>';
This code gives an error.Boards not Open.
// * NiceTooltips mod
$row['nice_tooltip_first_msg'] = NiceTooltip($row['first_body'], $row['first_subject'], $row['first_smileys'], $row['id_first_msg']);
What error does it give exactly?
Quote from: Arantor on May 21, 2013, 06:29:20 PM
What error does it give exactly?
Boards not Open.Please check.
http://www.igo8navigation.com/questions_and_answers-b391.0/
I get a server error on that link.
Quote from: Mick. on May 21, 2013, 06:37:18 PM
I get a server error on that link.
Code removed the link opens.server with no problem.
Anyone having problems with this mod using IE10 ? Tooltips show fine on all browsers, except IE10. But it does work in IE10 if I switch to compatibility mode. It's a great mod, and have been using it for ages, but would really like to fix this issue. Any ideas?
Quote from: lurkalot on September 14, 2013, 02:42:49 PM
Anyone having problems with this mod using IE10 ? Tooltips show fine on all browsers, except IE10. But it does work in IE10 if I switch to compatibility mode. It's a great mod, and have been using it for ages, but would really like to fix this issue. Any ideas?
Mod updated. IE10 support fixed.
Thank you, that was quick. 8)
By chance, is there a simple file edit I can make to fix this issue? I have several mods installed, and if it's a small edit it would be easier than un-installing all my mods so that I can install this new version.
Quote from: lurkalot on September 14, 2013, 06:48:23 PM
Thank you, that was quick. 8)
By chance, is there a simple file edit I can make to fix this issue? I have several mods installed, and if it's a small edit it would be easier than un-installing all my mods so that I can install this new version.
extract overlib.js from the NiceTooltips_1.9.zip package
rename overlib.js to overlib_mini.js
replace your Themes/default/scripts/overlib_mini.js with the new one
Brilliant, that worked nicely. Thank you for the support. :)
Hello, can you please let me know what needs to be manually edited to add 1.9 Fixed IE10 support. Thank you!
Quote from: littlenicki on September 15, 2013, 10:40:52 AM
Hello, can you please let me know what needs to be manually edited to add 1.9 Fixed IE10 support. Thank you!
Look at digger's last reply, that is the fix for IE10 ;) Or install the latest version with the fix already included.
Quote from: digger on September 14, 2013, 07:09:37 PM
Quote from: lurkalot on September 14, 2013, 06:48:23 PM
Thank you, that was quick. 8)
By chance, is there a simple file edit I can make to fix this issue? I have several mods installed, and if it's a small edit it would be easier than un-installing all my mods so that I can install this new version.
extract overlib.js from the NiceTooltips_1.9.zip package
rename overlib.js to overlib_mini.js
replace your Themes/default/scripts/overlib_mini.js with the new one
i'm having difficulty uninstalling this mod
when i try & uninstall i get an error
Execute Modification ./Sources/ManageSettings.php Test failed
1. Replace ./Sources/ManageSettings.php
which is
Quote// Mod authors, add any settings UNDER this line. Include a comma at the end of the line and don't remove this statement!!
// * NiceTooltips mod
array('int', 'NiceTooltips_lenght'),
array('check', 'NiceTooltips_censored'),
array('text', 'NiceTooltips_FGCOLOR'),
array('text', 'NiceTooltips_BGCOLOR'),
array('text', 'NiceTooltips_TEXTCOLOR'),
array('text', 'NiceTooltips_TEXTSIZE'),
array('text', 'NiceTooltips_CAPCOLOR'),
array('text', 'NiceTooltips_OPACITY'),
array('int', 'NiceTooltips_DELAY'),
'',
// NiceTooltips mod *
Code: (Replace) [Select]
// Mod authors, add any settings UNDER this line. Include a comma at the end of the line and don't remove this statement!!
I went to Public/forum/sources/messgesettings.php, Down loaded it, made the changes, saved a copy & uploaded it to my test site.
i tried to uninstall it & those two files still showed 'test failed'
i dont' know what to try next....help & thanks!
Quote from: adapa on November 02, 2013, 02:19:15 PM
i'm having difficulty uninstalling this mod
when i try & uninstall i get an error
Execute Modification ./Sources/ManageSettings.php Test failed
1. Replace ./Sources/ManageSettings.php
which is
Quote// Mod authors, add any settings UNDER this line. Include a comma at the end of the line and don't remove this statement!!
// * NiceTooltips mod
array('int', 'NiceTooltips_lenght'),
array('check', 'NiceTooltips_censored'),
array('text', 'NiceTooltips_FGCOLOR'),
array('text', 'NiceTooltips_BGCOLOR'),
array('text', 'NiceTooltips_TEXTCOLOR'),
array('text', 'NiceTooltips_TEXTSIZE'),
array('text', 'NiceTooltips_CAPCOLOR'),
array('text', 'NiceTooltips_OPACITY'),
array('int', 'NiceTooltips_DELAY'),
'',
// NiceTooltips mod *
Code: (Replace) [Select]
// Mod authors, add any settings UNDER this line. Include a comma at the end of the line and don't remove this statement!!
I went to Public/forum/sources/messgesettings.php, Down loaded it, made the changes, saved a copy & uploaded it to my test site.
i tried to uninstall it & those two files still showed 'test failed'
i dont' know what to try next....help & thanks!
If you already made the changes, just ignore this "Test failed" while uninstall the mod.
thanks!
it uninstalled :)
I am installing this mod manually and I'm having issues with the SQL insertion. I'm using SMF 2.0.6 and MySQL 5.5.32
I keep getting the following error:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '{$db_prefix}settings (`variable`, `value`) VALUES ('NiceTooltips_lenght', '0')' at line 1
INSERT IGNORE INTO {$db_prefix}settings (`variable`, `value`) VALUES ('NiceTooltips_lenght', '0')
INSERT IGNORE INTO {$db_prefix}settings (`variable`, `value`) VALUES ('NiceTooltips_censored', '0')
INSERT IGNORE INTO {$db_prefix}settings (`variable`, `value`) VALUES ('NiceTooltips_scripturl', '')
INSERT IGNORE INTO {$db_prefix}settings (`variable`, `value`) VALUES ('NiceTooltips_FGCOLOR', '#F6F6F6')
INSERT IGNORE INTO {$db_prefix}settings (`variable`, `value`) VALUES ('NiceTooltips_BGCOLOR', '#4F7394')
INSERT IGNORE INTO {$db_prefix}settings (`variable`, `value`) VALUES ('NiceTooltips_TEXTCOLOR', '#000000')
INSERT IGNORE INTO {$db_prefix}settings (`variable`, `value`) VALUES ('NiceTooltips_TEXTSIZE', '1')
INSERT IGNORE INTO {$db_prefix}settings (`variable`, `value`) VALUES ('NiceTooltips_CAPCOLOR', '#FFFFFF')
INSERT IGNORE INTO {$db_prefix}settings (`variable`, `value`) VALUES ('NiceTooltips_OPACITY', '90')
INSERT IGNORE INTO {$db_prefix}settings (`variable`, `value`) VALUES ('NiceTooltips_DELAY', '0')
Thanks in advance for any advice or suggestions. :)
Are you typing that directly into mysql? If so you need to substitute {$db_prefix}settings for the name of your settings table, which will probably be smf_settings.
Quote from: Farjo on November 20, 2013, 04:08:01 PM
Are you typing that directly into mysql? If so you need to substitute {$db_prefix}settings for the name of your settings table, which will probably be smf_settings.
Thank you, that was exactly the problem. :) I fixed the prefix names and it worked perfect. 8)
how can i make this mod work with "adk recent topics", this mod show a list of recent post in the index of the forum but "nice tooltips" isn't working there, if you need more info about this don't hesitate in ask, my apologies for my english ;D
Good evening, I'm not sure how active development is here, but I'll ask anyway, is there anyway to disable this for mobile devices, iPad and iPhone seems to have issues with the hover (requires two presses to go into a thread now instead of just 1, Android is fine and ignores the hover event.) I don't want to disable hover on the entire board, as one tap would open profile dropdown menus etc, so maybe just on this tooltip.
And is it also possible to turn off the parsing of BBCode here. As I don't like the way it loads youtube videos and unresized images.
Does this tooltip support images too?
Quote from: konstantinusz on June 08, 2014, 03:28:27 PM
Does this tooltip support images too?
Tooltip show images from the message body.
Excellent mode, works beautiful on 2.0.7!
Thx, it works, even show images, but if the image is too big, it isn't scaled down. I think it would be handy an option to set to scale down the images to a certain size. And this code section is from one of the xml files:
<add><![CDATA[SUBSTRING(mf.body, 1, ' . (!empty($modSettings['NiceTooltips_lenght']) ? $modSettings['NiceTooltips_lenght'] : 385) . ') AS first_body]]></add>
It seems erroneous, "lenght" instead of "length". Am I rigth?
Quote from: konstantinusz on June 08, 2014, 08:00:31 PM
Thx, it works, even show images, but if the image is too big, it isn't scaled down. I think it would be handy an option to set to scale down the images to a certain size. And this code section is from one of the xml files:
It's already in my to-do list for this mod.
Quote
<add><![CDATA[SUBSTRING(mf.body, 1, ' . (!empty($modSettings['NiceTooltips_lenght']) ? $modSettings['NiceTooltips_lenght'] : 385) . ') AS first_body]]></add>
It seems erroneous, "lenght" instead of "length". Am I rigth?
It's just a typo, does not affect the mod work.
Fix images max-width: 250px work for me
.nice_tooltip_bgclass, .nice_tooltip_fgclass img{
height:auto; max-width: 250px;
Sources/Subs.php
find :
.nice_tooltip_fgclass {
text-align: left;
background-color: ' . $modSettings['NiceTooltips_FGCOLOR'] . ';
opacity: ' . $modSettings['NiceTooltips_OPACITY'] / 100 . ';
}
.nice_tooltip_bgclass {
background-color: ' . $modSettings['NiceTooltips_BGCOLOR'] . ';
opacity: ' . $modSettings['NiceTooltips_OPACITY'] / 100 . ';
}
Replace :
.nice_tooltip_fgclass {
text-align: left;
background-color: ' . $modSettings['NiceTooltips_FGCOLOR'] . ';
opacity: ' . $modSettings['NiceTooltips_OPACITY'] / 100 . ';
}
.nice_tooltip_bgclass {
background-color: ' . $modSettings['NiceTooltips_BGCOLOR'] . ';
opacity: ' . $modSettings['NiceTooltips_OPACITY'] / 100 . ';
}
.nice_tooltip_bgclass, .nice_tooltip_fgclass img{
height:auto; max-width: 250px;
}
;D :D
I use large YouTube videos on my forum. As a work around for this I just resized them so that now they look pretty good in the NiceTooltips box ...
Located this in /Sources/Subs.php
$body = htmlspecialchars(addslashes(parse_bbc($body, $smileys, $cache_id)));
Placed this below
$body=str_replace('571', '180', $body);
$body=str_replace('950', '300', $body);
571 equates to the height and 950 equates to the width. You could resize them completely to zero if you wanted and not have the video display at all.
Obviously you can add to the above to cover all the videos you might be using on your site.
I'm using the latest version of smf - 2.8.
Thanks Digger.
Seems it is not working for 2.0.8 - all I get is a tool tip of the topic line itself, nothing else. Could it be the theme I'm using? I'm using the Overview Light theme.
No failures on install. refreshed browser, unless I didn't config something right (actually I didn't change any of the default settings)
I update my PHP from 5.2 to 5.4 and my nice Tooltip dont show any thing now :(
does anyone have same problem?
Quote from: amiralib on September 19, 2014, 12:42:54 PM
I update my PHP from 5.2 to 5.4 and my nice Tooltip dont show any thing now :(
does anyone have same problem?
Mod tested for PHP 5.4 & 5.5
Hi digger,
I started making a new thread then thought suggesting it here may be a better idea..
I'm currently using the NiceTooltips MOD and received a suggestion on my site regarding it that I would like to implement if possible..
(and others too if it made it to a new version?)
Basically, whilst on:
/index.php?action=unread
and
/index.php?action=unreadreplies
we can use the tooltips to preview the latest post, rather than the first post..
Thanks
Hi, I've been using Nice ToolTips on my forum for some time now but recently, members have complained that it's become erratic in how it works. Here are some screen shots of tests I've made to try and identify the issue, without success. I'm using version 1.9 by the way and have a 3000mS delay set but reducing this does not solve the problems.
1. The pop up does not appear when the mouse is hovered over the link.
(http://i880.photobucket.com/albums/ac2/Hal9000_bucket/SMF%20Problems/One-no%20pop-up_zpsfgpnhv9q.jpg)
2. The pop up appears but is empty - the most common issue.
(http://i880.photobucket.com/albums/ac2/Hal9000_bucket/SMF%20Problems/Two-Empty%20pop-up_zpsidccatgx.jpg)
The pop up works OK on both old and new topics so it does not seem time related in any way.
Old topic.
(http://i880.photobucket.com/albums/ac2/Hal9000_bucket/SMF%20Problems/Three%20-%20pop-up%20OK_zpsjjj7trpo.jpg)
New topic.
(http://i880.photobucket.com/albums/ac2/Hal9000_bucket/SMF%20Problems/Four%20-%20pop-up%20OK_zpsa9u3moql.jpg)
There are no related error messages in the log.
So my questions are:
1. Has anyone else see either of these two issues?
2. If the issue is know, how can it be fixed.
Many thanks
Chas.
Quote from: 420connect.info on January 15, 2015, 01:53:13 PM
Basically, whilst on:
/index.php?action=unread
and
/index.php?action=unreadreplies
we can use the tooltips to preview the latest post, rather than the first post..
Maybe, I can add this with next mod version.
Quote from: Chas Large on January 28, 2015, 05:32:37 AM
Hi, I've been using Nice ToolTips on my forum for some time now but recently, members have complained that it's become erratic in how it works. Here are some screen shots of tests I've made to try and identify the issue, without success. I'm using version 1.9 by the way and have a 3000mS delay set but reducing this does not solve the problems.
I need to see the real examples.
Quote from: digger on January 28, 2015, 02:20:19 PM
Quote from: 420connect.info on January 15, 2015, 01:53:13 PM
Basically, whilst on:
/index.php?action=unread
and
/index.php?action=unreadreplies
we can use the tooltips to preview the latest post, rather than the first post..
Maybe, I can add this with next mod version.
~ Much appreciated! :)
Quote from: Chas Large on January 28, 2015, 05:32:37 AM
Hi, I've been using Nice ToolTips on my forum for some time now but recently, members have complained that it's become erratic in how it works. Here are some screen shots of tests I've made to try and identify the issue, without success. I'm using version 1.9 by the way and have a 3000mS delay set but reducing this does not solve the problems.
I need to see the real examples.
[/quote]
Visit http://www.fiftyplusforum.co.uk/forum/index.php?board=95.0 and hover your mouse over the topic "BREAD" and you'll see the pop up appear but with no text from the OP.
You don't need to join to see it.
Quote from: digger on January 28, 2015, 02:20:19 PM
...
I need to see the real examples.
Quote from: Chas Large on January 29, 2015, 03:52:43 PM
Visit http://www.fiftyplusforum.co.uk/forum/index.php?board=95.0 and hover your mouse over the topic "BREAD" and you'll see the pop up appear but with no text from the OP.
You don't need to join to see it.
Did you check these out? any ideas as to the problem?
Please bear in mind there is a 5 second delay set before the tooltip appears.
Quote from: Chas Large on February 11, 2015, 12:23:08 PM
Did you check these out? any ideas as to the problem?
Please bear in mind there is a 5 second delay set before the tooltip appears.
I see it, but I can't reproduce itself. Did you have any errors in the forum log?
Quote from: digger on February 11, 2015, 02:17:01 PM
Quote from: Chas Large on February 11, 2015, 12:23:08 PM
Did you check these out? any ideas as to the problem?
Please bear in mind there is a 5 second delay set before the tooltip appears.
I see it, but I can't reproduce itself. Did you have any errors in the forum log?
No, the problem is only apparent on some topics and not others, so I can give you no clues, sorry.
I just installed this on my 2.0.9. forum and the is mod working 8)
It only seems that the URL is not displayed correct in the tooltip when you use:
[url=http://domain.com]Domain.com[/url]
Any tips?
Thank you @digger for this useful mod. I just installed it and since my forum language is Persian I would like to make some changes to text style and layout of the tooltips. I tried to add some CSS properties in subs.php file but I just could make the text rtl and had no success in changing the font type to tahoma nor to increase the font size of the title of tooltip box. Would you please guide me how to effectively do these changes? This is the code I tried in subs.php:
// * NiceTooltips mod
function NiceTooltip($body, $caption='', $smileys=true, $cache_id='')
{
global $context, $settings, $modSettings;
// Is it disabled or empty? Check permission.
if ((allowedTo('disable_nicetooltips') && empty($context['user']['is_admin'])) || empty($modSettings['NiceTooltips_lenght']) || empty($body)) return ' title="' . $caption . '" ';
// Send overlib headers.
if (empty($context['overlib_loaded']))
{
$context['html_headers'] .= '
<style type="text/css">
.nice_tooltip_fgclass {
text-align: right;
font-family: tahoma, Verdana;
background-color: ' . $modSettings['NiceTooltips_FGCOLOR'] . ';
opacity: ' . $modSettings['NiceTooltips_OPACITY'] / 100 . ';
}
.nice_tooltip_bgclass {
background-color: ' . $modSettings['NiceTooltips_BGCOLOR'] . ';
font-family: tahoma, Verdana;
font-size: 1em;
opacity: ' . $modSettings['NiceTooltips_OPACITY'] / 100 . ';
}
.nice_tooltip_bgclass img, .nice_tooltip_fgclass img{
height:auto; max-width: 250px;
}
</style>';
Any advice or comment would be appreciated.
Mod update
v1.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 it 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.
Thanks Digger for this cool mod. Works great and no visible problems with the operation of the site. However, after clearing the error log and like one touch of a topic link, and a dozen of these two errors show up.
(http://tiribulus.com/pix/6/smf-tt-error.JPG)
Sometimes I can figure this stuff out, but this is not one of those times. Any help would be greatly appreciated.
Thanks
Quote from: Tiribulus on November 01, 2016, 01:31:05 PM
Thanks Digger for this cool mod. Works great and no visible problems with the operation of the site. However, after clearing the error log and like one touch of a topic link, and a dozen of these two errors show up.
Sometimes I can figure this stuff out, but this is not one of those times. Any help would be greatly appreciated.
Thanks
Fixed in 1.17 version
https://github.com/realdigger/SMF-NiceTooltips/releases
Thank YOU sir. :)
BTW, yes, I'm stuck on an older version of PHP for now.
Thank you Digger... Huge improvement over my old one.... 8)
PS..
My dog name is Digger, as he was born on ANZAC day...
Quote from: digger on November 01, 2016, 03:42:26 PMFixed in 1.17 version
https://github.com/realdigger/SMF-NiceTooltips/releases
Just install over the old one?
Quote from: Steve on November 02, 2016, 08:49:20 AM
Quote from: digger on November 01, 2016, 03:42:26 PMFixed in 1.17 version
https://github.com/realdigger/SMF-NiceTooltips/releases
Just install over the old one?
Uninstall old one and install new.
Thanks. :)
I am having a hard time performing the edits on the MessageIndex.php and the Recent.php
It seems a mod of mine has modified these two files already and I can not determine where to place the edits.. its only the edits that require:
./Sources/MessageIndex.php
Find
'link' => '<a href="' . $scripturl . '?topic=' . $row['id_topic'] . '.0">' . $row['first_subject'] . '</a>'
Replace with
// * NiceTooltips mod
'link' => '<a href="' . $scripturl . '?topic=' . $row['id_topic'] . '.0"' . $row['nice_tooltip_first_msg'] . ' >' . $row['first_subject'] . '</a>'
I have:
'link' => '<a href="' . $scripturl . '?topic=' . $row['id_topic'] . ($user_info['is_guest'] ? ('.' . (!empty($options['view_newest_first']) ? 0 : ((int) (($row['num_replies']) / $context['pageindex_multiplier'])) * $context['pageindex_multiplier']) . '#msg' . $row['id_last_msg']) : (($row['num_replies'] == 0 ? '.0' : '.msg' . $row['id_last_msg']) . '#new')) . '" ' . ($row['num_replies'] == 0 ? '' : 'rel="nofollow"') . '>' . $row['last_subject'] . '</a>'
),
and in Recent.php
Find
'link' => '<a href="' . $scripturl . '?topic=' . $row['id_topic'] . '.0;topicseen">' . $row['first_subject'] . '</a>'
Replace with
// * NiceTooltips mod
'link' => '<a href="' . $scripturl . '?topic=' . $row['id_topic'] . '.0"' . $row['nice_tooltip_first_msg'] . ' >' . $row['first_subject'] . '</a>'
I cant even find what I need to find in this file..
can i get some help with these edits please? Id like to use this mod.
I attached the two files.
Can anyone please help me with this?
Thanks for 1.1.8, that fixed a white page on portal with pretty url's installed for me.
Any chance I could get an index defined?
Apply Filter: Only show the error messages of this URL
http://www.clan-botm.com/index.php?action=enotify
Apply Filter: Only show the errors with the same message
8: Undefined index: nice_tooltip_first_msg
Apply Filter: Only show the errors from this file
File: /home/bikesnst/public_html/clan-botm.com/Sources/Recent.php
Line: 1248
Quote from: Harvester on February 25, 2017, 12:25:34 PM
Can anyone please help me with this?
I've asked to get you some help on this. Hopefully someone can do that.
Quote from: Steve on February 25, 2017, 04:29:53 PM
Quote from: Harvester on February 25, 2017, 12:25:34 PM
Can anyone please help me with this?
I've asked to get you some help on this. Hopefully someone can do that.
Awesome! I appreciate that so much Steve! Thank you!
Those edits are easy peasy, just do a partial search in recent.php for
Quote' . $row['first_subject'] . '</a>'
So on my file that's line 1249
and another partial search in message index for
Quote' . $row['first_subject'] . '</a>'
that's line 524 for me.
Do the edits, job done.
Quote from: Kinsman on February 26, 2017, 01:31:43 AM
Those edits are easy peasy, just do a partial search in recent.php for Quote' . $row['first_subject'] . '</a>'
So on my file that's line 1249
and another partial search in message index for Quote' . $row['first_subject'] . '</a>'
that's line 524 for me.
Do the edits, job done.
I can just insert the edits at that point wthout breaking any other mods?
Make copies of those files. Then try it on the copies and upload them. If it doesn't work correctly, you can replace those edited files with the originals you've kept. ;)
The mod installed great, I can see the settings and no errors.
But where is the area to edit what is in a tooltip pop up?
I have what looks like a default now , but not sure where thats edited.
Thanks
Quote from: SaltedWeb on November 29, 2017, 02:29:11 PM
The mod installed great, I can see the settings and no errors.
But where is the area to edit what is in a tooltop pop up?
I have no pop ups now so presuming I must enable or add something to make it show up.
Thanks
Admin > Configuration > Modification Settings > Miscellaneous.
[NiceTooltips] Number of characters to display in the tooltip (0 = disable)
So
Quote from: lurkalot on November 29, 2017, 02:36:21 PM
Quote from: SaltedWeb on November 29, 2017, 02:29:11 PM
The mod installed great, I can see the settings and no errors.
But where is the area to edit what is in a tooltop pop up?
I have no pop ups now so presuming I must enable or add something to make it show up.
Thanks
Admin > Configuration > Modification Settings > Miscellaneous.
[NiceTooltips] Number of characters to display in the tooltip (0 = disable)
Sorry should have specified that was changed already and there is some kinda default message but where is that edited ?
Still looked didnt see where the input for the tips is at.. I am surprised everyone is using this just fine. But some reason where it is at is not obvious to me .... :-(
Not quite sure what you mean, there's no settings to show what's included in the tooltip, did you read the description for what this mod does?
"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."
The tool is designed to show the first preview, all its shows is just 4 letters. I have tried setting the amount of character so I was assuming I must be missing another setting somewhere or its not working well for me.
Maybe thats why my information sounds confusing as its not operating correctly I guess. I read the description thru and read the last 16 pages mostly trying to pin point it. But in a test board the tips just shows Test... nothings else.
I'll keep poking around thanks for the help though.
Set to the number of characters to something like 1000 and save the page. See if that changes anything.
I also don't understand what this default message is you're trying to change.
When you hover over the area the tool tips should be it only shows 4 character, I have set the allotted amount
to even 5000 and no luck.
I set up a test board so I could test the hover for tool tip and it only gives this T..... . Where Test Board was the input on the board.
This is a fresh install with only a few mods, no errors shown.
Please consider this resolved as I just uninstalled it as somewhere there has to be a compatibility issue
however with no errors I can't track why it wont show the full character.
This is also in my OP I asked if there was other settings because the few little settings there changed very little
to find a solution.
Don't want to waste anyone else's time on it, it was a interesting mod but not worth loosing sleep over to resolve.
Thanks again.
Quote from: SaltedWeb on November 30, 2017, 11:30:19 AM
When you hover over the area the tool tips should be it only shows 4 character, I have set the allotted amount
to even 5000 and no luck.
I set up a test board so I could test the hover for tool tip and it only gives this T..... . Where Test Board was the input on the board.
This is a fresh install with only a few mods, no errors shown.
Please consider this resolved as I just uninstalled it as somewhere there has to be a compatibility issue
however with no errors I can't track why it wont show the full character.
This is also in my OP I asked if there was other settings because the few little settings there changed very little
to find a solution.
Don't want to waste anyone else's time on it, it was a interesting mod but not worth loosing sleep over to resolve.
Thanks again.
Not sure if this is relevant or not, but I'm still using NiceTooltips version 1.8 and never got around to upgrading them as it's working just fine. I haven't tested the latest versions.
I have yet to try it out but on another Mod I was trying the Security_mod setting on my server interfered with it.
So very possible it was that messing with it as both seemed to be effecting the same areas. Once I deactivated the security setting the other mod worked may be the same here. I do how ever have other mods installed that all are working well.
If I find a fix in my case I will repost. Just in case someone runs into it like I did.
I was directed to this mod as it does what an older mod does better, however:
How can I fix this? I can't install it.
Quote from: Obsydian
How can I fix this? I can't install it.
https://wiki.simplemachines.org/smf/Error_in_mod_installation
Checking back in never could find out why this Mod wouldn't work did a fresh install no error install or removing it should be working by all accounts but it doesn't seem to do what it should. I would think host but these guys don't mess much with what clients do and this is the first mod that just lays there and no errors but doesn't work either so tracking a problem is no where to be seen.
In posts with special characters ( áéíóúÁÉÍÓÚñÑüÜ ) don't show text.
Only appears the ---> ...
See attached image
Any solution for this ?
Do you use latest mod version?
Quote from: digger on November 29, 2018, 12:33:42 PM
Quote from: diegolyanky on November 29, 2018, 12:12:36 PM
Quote from: digger on November 29, 2018, 12:06:27 PM
Do you use latest mod version?
Yes. Last one.
Is your forum language utf-8 or not?
No. Is not UTF-8.
I use spanish language not utf-8
If topic hasn't any special character, then is showed fine on tooltip.
I tried installing this mod but I get an error message when I'm running add_settings.php
QuoteFatal error: Uncaught Error: Function name must be a string in /home/www/name/add_settings.php:13 Stack trace: #0 {main} thrown in /home/www/name/add_settings.php on line 13
hooks.php worked fine though
Quote from: natcip on February 22, 2019, 03:27:50 PM
I tried installing this mod but I get an error message when I'm running add_settings.php
QuoteFatal error: Uncaught Error: Function name must be a string in /home/www/name/add_settings.php:13 Stack trace: #0 {main} thrown in /home/www/name/add_settings.php on line 13
hooks.php worked fine though
You don't need to run php files. Just install mod with package manager.
How I get these mods for installation?
Quote from: blogsite on February 24, 2019, 02:50:52 AM
How I get these mods for installation?
Download it here https://custom.simplemachines.org/mods/index.php?mod=2115
Quote from: digger on February 23, 2019, 05:41:20 PM
Quote from: natcip on February 22, 2019, 03:27:50 PM
I tried installing this mod but I get an error message when I'm running add_settings.php
QuoteFatal error: Uncaught Error: Function name must be a string in /home/www/name/add_settings.php:13 Stack trace: #0 {main} thrown in /home/www/name/add_settings.php on line 13
hooks.php worked fine though
You don't need to run php files. Just install mod with package manager.
I always install mods manually because the package manager doesn't work with my host.
Quote from: natcip on February 24, 2019, 07:00:36 AM
I always install mods manually because the package manager doesn't work with my host.
:o For most people that would be a nightmare every time they wanted to do something. Have you tried fixing the package manager, or perhaps considered a different host?
Quote from: natcip on February 24, 2019, 07:00:36 AM
Quote from: digger on February 23, 2019, 05:41:20 PM
Quote from: natcip on February 22, 2019, 03:27:50 PM
I tried installing this mod but I get an error message when I'm running add_settings.php
QuoteFatal error: Uncaught Error: Function name must be a string in /home/www/name/add_settings.php:13 Stack trace: #0 {main} thrown in /home/www/name/add_settings.php on line 13
hooks.php worked fine though
You don't need to run php files. Just install mod with package manager.
I always install mods manually because the package manager doesn't work with my host.
Get fixed add_settings.php https://github.com/realdigger/SMF-NiceTooltips/blob/master/add_settings.php
Quote from: digger on February 24, 2019, 12:00:01 PM
Quote from: natcip on February 24, 2019, 07:00:36 AM
Quote from: digger on February 23, 2019, 05:41:20 PM
Quote from: natcip on February 22, 2019, 03:27:50 PM
I tried installing this mod but I get an error message when I'm running add_settings.php
QuoteFatal error: Uncaught Error: Function name must be a string in /home/www/name/add_settings.php:13 Stack trace: #0 {main} thrown in /home/www/name/add_settings.php on line 13
hooks.php worked fine though
You don't need to run php files. Just install mod with package manager.
I always install mods manually because the package manager doesn't work with my host.
Get fixed add_settings.php https://github.com/realdigger/SMF-NiceTooltips/blob/master/add_settings.php
Thank you very much. This has worked for me. :)
How can I set up that images show up in the tooltip?
Not sure what you're asking because images display in my tooltips just fine.
Sorry, I had the "Max images width" at 0 for some reason which seemed to disable images.
No worries. Glad you figured it out. :)
What's the name of the CSS class of the tooltip background color?
Quote from: natcip on March 17, 2019, 09:14:07 AM
What's the name of the CSS class of the tooltip background color?
nice_tooltip_bgclass
Quote from: digger on March 17, 2019, 04:19:44 PM
Quote from: natcip on March 17, 2019, 09:14:07 AM
What's the name of the CSS class of the tooltip background color?
nice_tooltip_bgclass
Ahh, thanks :)
The colors are not working. I cannot change the colors to make the tool tip look the way I want. I've tried changing it in the admin panel and nothing happens.
Never mind it looks like its a global tool tip issue on color. I'll have to look into it and see if I can fix it in the CSS.
doing some testing and well this doesn't really work out so well on mobile devices
1. as there's no mouse to hover over the link, so one of two things happens
when trying to click on a link, instead of opening the link the tooltip opens
or if able to click on a link, and then use the back arrow, then the tooltip opens
2. the tooltip doesn't resize so it pushes out of the mobile browser size and makes it very difficult to browse
anyway to check if on mobile and not show the nicetooltip?
and how to fix the resizing issue? I see there's an overlib_adaptive_width.min.js but it doesn't seem to be working
Quote from: shadav on July 31, 2020, 06:44:57 PM
doing some testing and well this doesn't really work out so well on mobile devices
1. as there's no mouse to hover over the link, so one of two things happens
when trying to click on a link, instead of opening the link the tooltip opens
or if able to click on a link, and then use the back arrow, then the tooltip opens
2. the tooltip doesn't resize so it pushes out of the mobile browser size and makes it very difficult to browse
anyway to check if on mobile and not show the nicetooltip?
and how to fix the resizing issue? I see there's an overlib_adaptive_width.min.js but it doesn't seem to be working
Just disable tooltips for mobile devices.
Quote from: digger on August 03, 2020, 06:27:21 AM
Just disable tooltips for mobile devices.
:laugh: :-[ blonde moment, feel like an idiot
I swear I looked and that option was not there before :laugh:
thank you :-[
*note to self, time for another eye exam and new glasses*
Quote from: roza on May 09, 2016, 02:55:13 PM
Thank you @digger for this useful mod. I just installed it and since my forum language is Persian I would like to make some changes to text style and layout of the tooltips. I tried to add some CSS properties in subs.php file but I just could make the text rtl and had no success in changing the font type to tahoma nor to increase the font size of the title of tooltip box. Would you please guide me how to effectively do these changes? This is the code I tried in subs.php:
// * NiceTooltips mod
function NiceTooltip($body, $caption='', $smileys=true, $cache_id='')
{
global $context, $settings, $modSettings;
// Is it disabled or empty? Check permission.
if ((allowedTo('disable_nicetooltips') && empty($context['user']['is_admin'])) || empty($modSettings['NiceTooltips_lenght']) || empty($body)) return ' title="' . $caption . '" ';
// Send overlib headers.
if (empty($context['overlib_loaded']))
{
$context['html_headers'] .= '
<style type="text/css">
.nice_tooltip_fgclass {
text-align: right;
font-family: tahoma, Verdana;
background-color: ' . $modSettings['NiceTooltips_FGCOLOR'] . ';
opacity: ' . $modSettings['NiceTooltips_OPACITY'] / 100 . ';
}
.nice_tooltip_bgclass {
background-color: ' . $modSettings['NiceTooltips_BGCOLOR'] . ';
font-family: tahoma, Verdana;
font-size: 1em;
opacity: ' . $modSettings['NiceTooltips_OPACITY'] / 100 . ';
}
.nice_tooltip_bgclass img, .nice_tooltip_fgclass img{
height:auto; max-width: 250px;
}
</style>';
Any advice or comment would be appreciated.
I'm having the same issue and would appreciate help. Thank you
Any plans for an updated for 2.1.1?
*crosses fingers*
Quote from: Steve on April 15, 2022, 08:11:41 AMAny plans for an updated for 2.1.1?
Admin -> Forum -> Posts and Topics -> Topic Settings
Scroll to the bottom
Well, I'll be dipped. Thanks Oldiesmann!
Hello, does anybody know what css / file to change to add padding to the tool tip window and a shadow? Thank you
Quote from: atanua on April 03, 2023, 12:03:43 AMHello, does anybody know what css / file to change to add padding to the tool tip window and a shadow? Thank you
You can add own styles for tooltip to /Themes/default/css/index.css
Thank you!
Hello
@digger , I did check the index.css but can unfortunately not see any code relating to the mod.
Would I need to alter this code?
[i] // Make a tooltip.
$tooltip = ' onmouseover="return overlib(\'' . $body . '\',
FGCLASS,\'' . 'nice_tooltip_fgclass' . '\',
BGCLASS,\'' . 'nice_tooltip_bgclass' . '\',
TEXTCOLOR,\'' . $modSettings['NiceTooltips_TEXTCOLOR'] . '\',
TEXTSIZE,\'' . $modSettings['NiceTooltips_TEXTSIZE'] . '\',
CAPCOLOR,\'' . $modSettings['NiceTooltips_CAPCOLOR'] . '\',
DELAY,' . $modSettings['NiceTooltips_DELAY'] . ',
CAPTION,\'' . $caption . '\',
CELLPAD,4,ADAPTIVE_WIDTH,HAUTO,VAUTO)" onmouseout="return nd();" ';
Thank you
Please use the code tag when posting code ~ Steve
Quote from: atanua on April 05, 2023, 12:08:17 AMHello @digger , I did check the index.css but can unfortunately not see any code relating to the mod.
Would I need to alter this code?
[i] // Make a tooltip.
$tooltip = ' onmouseover="return overlib(\'' . $body . '\',
FGCLASS,\'' . 'nice_tooltip_fgclass' . '\',
BGCLASS,\'' . 'nice_tooltip_bgclass' . '\',
TEXTCOLOR,\'' . $modSettings['NiceTooltips_TEXTCOLOR'] . '\',
TEXTSIZE,\'' . $modSettings['NiceTooltips_TEXTSIZE'] . '\',
CAPCOLOR,\'' . $modSettings['NiceTooltips_CAPCOLOR'] . '\',
DELAY,' . $modSettings['NiceTooltips_DELAY'] . ',
CAPTION,\'' . $caption . '\',
CELLPAD,4,ADAPTIVE_WIDTH,HAUTO,VAUTO)" onmouseout="return nd();" ';
Thank you
Please use the code tag when posting code ~ Steve
You can add this css classes to the index.css file and set styles you need.
.nice_tooltip_fgclass {
}
.nice_tooltip_bgclass {
}
Thank you!
:-\ Okay, I gave it a try but it did not work out.