News:

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

Main Menu

MessagePreviewOnMouseOver

Started by snork13, February 03, 2006, 12:39:52 AM

Previous topic - Next topic

cotty

Quote from: Motorhead on August 29, 2011, 12:57:36 PM
Mine fails to install because of the same errors with the recent.template. Thats in the Core theme

I manually searched the file couldn't find the lines that needed changing

+1

Everything else pass the test, though I get 2 fails with Recent.template.php on core and blackrain theme.

This is on smf 2.0.1 btw

NadiE

#481
I installed the package and it dont works fine in the SMF 2.0.1

Any idea?

3fifty

Any updates for 2.0.1 coming down the line?

Doburpally

#483
Quote from: T3CHN0 on September 14, 2011, 10:43:14 PM
Hello

I just upgraded to 2.0 and have to re-install my mods
when installing this mod I get

Duplicate entry 'hover_length' for key 'PRIMARY'
File: /home1/public_html/mysite/smf/Packages/temp/addMessagePreview_settings.php
Line: 31


Can you explain what I have to do please

Cheers


The reason why you're getting that error is because you already have 'hover_length' table in your database.

To fix this you will need phpmyadmin access.
Click on SQL tab

Type the following in

DELETE FROM {$db_prefix}settings
WHERE variable = 'hover_length'


The {$db_prefix} needs to be changed according to your Admin > Configuration > Server Settings > Database and Paths locate Database Tables Prefix
By default it's SMF_

So in my case i will need to run the sql:

DELETE FROM SMF_settings
WHERE variable = 'hover_length'


Normally if the mod was to be uninstalled it will run the above via a dropMessagePreview_settings.php file ;) but I understand that you have upgraded.

I hope this works for you. ;)

Or you can extract your mod to a folder anywhere normally I use the desktop

Use FTP and upload dropMessagePreview_settings.php to your forum root folder, where Attachments, Packages, Source, Themes folders are ;)

Now point your browser to http://your_domain.com/dropMessagePreview_settings.php
That should work, if you don't have phpmyadmin access or don't want to do it manually :)
Don't forget to delete the dropMessagePreview_settings.php file after running it ;)

Quote from: 3fifty on October 25, 2011, 06:37:49 PM
Any updates for 2.0.1 coming down the line?

  • Go to Browse Packages.
  • Scroll down the page, click on Advanced.
  • Change Version from SMF 2.0.1 to SMF 2.0
  • Click on Apply button.
  • Install MessagePreviewOnMouseOver mod via Download Packages.
  • Once finished, go back to Browse Packages.
  • Scroll down the page, click on Advanced.
  • Click on Revert button.
  • Click on Apply button.
  • Fin.

I have installed this mod on all my 2.0.1 forums just like above and never had any problems ;)

3fifty

Quote from: Reaper.CSF. on October 27, 2011, 01:02:19 PM


I have installed this mod on all my 2.0.1 forums just like above and never had any problems ;)

Thanks.
Tried that and get an error.  Strange since I did a fresh install with 2.0.1

Error on install
QuoteDuplicate entry 'hover_length' for key 1
File: /home/vsftpd/stagger4x4/public_html/forum/Packages/temp/addMessagePreview_settings.php
Line: 31

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.1, while your database is at version 2.0. The above error might possibly go away if you execute the latest version of upgrade.php.

Errors in error log after trying to install
Quote
http://stagger4x4.com/forum/index.php?action=admin;area=packages;sa=install2;package=MessagePreviewOnHover.zip;pid=0
Apply Filter: Only show the errors with the same message
Database Error: Duplicate entry 'hover_length' for key 1
Apply Filter: Only show the errors from this file
File: /stagger4x4/public_html/forum/Packages/temp/addMessagePreview_settings.php
Line: 31

Quote
2: opendir(/stagger4x4/public_html/forum/Packages/temp/images) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directory
Apply Filter: Only show the errors from this file
File: /stagger4x4/public_html/forum/Sources/Subs-Package.php
Line: 1697

snork13

@ 3fifty

Quote from: Reaper.CSF. on October 27, 2011, 01:02:19 PM
Quote from: T3CHN0 on September 14, 2011, 10:43:14 PM
Hello

I just upgraded to 2.0 and have to re-install my mods
when installing this mod I get

Duplicate entry 'hover_length' for key 'PRIMARY'
File: /home1/public_html/mysite/smf/Packages/temp/addMessagePreview_settings.php
Line: 31


Can you explain what I have to do please

Cheers


The reason why you're getting that error is because you already have 'hover_length' table in your database.

To fix this you will need phpmyadmin access.
Click on SQL tab

Type the following in

DELETE FROM {$db_prefix}settings
WHERE variable = 'hover_length'


The {$db_prefix} needs to be changed according to your Admin > Configuration > Server Settings > Database and Paths locate Database Tables Prefix
By default it's SMF_

So in my case i will need to run the sql:

DELETE FROM SMF_settings
WHERE variable = 'hover_length'


Normally if the mod was to be uninstalled it will run the above via a dropMessagePreview_settings.php file ;) but I understand that you have upgraded.

I hope this works for you. ;)

Or you can extract your mod to a folder anywhere normally I use the desktop

Use FTP and upload dropMessagePreview_settings.php to your forum root folder, where Attachments, Packages, Source, Themes folders are ;)

Now point your browser to http://your_domain.com/dropMessagePreview_settings.php
That should work, if you don't have phpmyadmin access or don't want to do it manually :)
Don't forget to delete the dropMessagePreview_settings.php file after running it ;)

Quote from: 3fifty on October 25, 2011, 06:37:49 PM
Any updates for 2.0.1 coming down the line?

  • Go to Browse Packages.
  • Scroll down the page, click on Advanced.
  • Change Version from SMF 2.0.1 to SMF 2.0
  • Click on Apply button.
  • Install MessagePreviewOnMouseOver mod via Download Packages.
  • Once finished, go back to Browse Packages.
  • Scroll down the page, click on Advanced.
  • Click on Revert button.
  • Click on Apply button.
  • Fin.

I have installed this mod on all my 2.0.1 forums just like above and never had any problems ;)
Mods
Please DO NOT PM me with requests for individual support, but post your questions and concerns in the appropriate section of the forum where other users can benefit from them as well. Thank you.
I have been super busy as of late. Working on updates to all my modifications for 2.0.1

3fifty


lmllewellyn

I changed my theme and now the mod doesn't work.  Do I need to manually apply the changes to my theme files?

Kindred

Слaва
Украинi

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

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

BaghdadGhost

this is a great mod. thanks


one little thing, how to change the look of the preview box? I tried to see in parse there is not operation to add anything to index.css


also I noticed that the installation suppose to perform the following

QuoteMove the included directory "images" to "./Themes/default".
yet the installation package does not have the image folder, which gives an error at time of installation. other than that everything is great.


thanks

mutluokul

Mod için çok teşekkür ederim.

Recalibrated to SMF 2.0.1. Turkish settings are added.

Modu smf 2.0.1 için uyumlu hale getirdim ve Türkçe  için ayarlarını düzenleyerek  ekledim. Kendi siteme yükledim sorun olmadan çalıştı ayarları İLETİLER VE KONULAR başlığı altından yapabilirsiniz. Yardımcı olabildiysem ne mutlu bana.

Not:Eğer yaptığım kurallara aykırı ise özür dilerim ve mesajım silinebilir.


Coyote Keith

Is this mod not compatible with 2.0.2?
I'm getting that message when I try to install it.

Thanks

BaghdadGhost

Quote from: Coyote Keith on February 02, 2012, 03:25:34 PM
Is this mod not compatible with 2.0.2?
I'm getting that message when I try to install it.

Thanks

I am using it on 2.0.2

what message you are getting ?

Coyote Keith

A compatibility message

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

BaghdadGhost

just emulate to 2.0 and install

Coyote Keith

How do I emulate a different version?


BaghdadGhost


Coyote Keith


Kindred

hmmmmm.....  the mod installed without error.

However, no previews are showing...
I expect there is an admin checkbox to turn the feature on?  but I can't seem to find it. Anyone?
Слaва
Украинi

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

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

BaghdadGhost

admin - posts and topics - Post Settings

Length of the message preview on hover

Advertisement: