• Welcome to Simple Machines Community Forum. Please login or sign up.

Better Messages Menu (SMF 2.0.x Only)

Started by dougiefresh, November 26, 2017, 10:22:13 AM

Previous topic - Next topic

dougiefresh

Link to Mod



BETTER MESSAGES MENU v1.7
By Dougiefresh -> Link to Mod



Introduction
This mod alters the main menu's "My Messages" menu to bring all the functionality of the PM system to the main forum's menu bar.

This mod was inspired by tip provided by snow in Lazy Admin Menu in order to make it easier for the user to navigate straight to where they want to go.

The only difference is that this mod built dynamically, so that any changes to the profile menu are shown immediately.

Compatibility Notes
This mod was tested on SMF 2.0.14, but should work on any version of SMF 2.0.x.  SMF 1.x will not be supported.

SMF 2.1 Beta 3 will not be supported by this mod, as this mod seeks to duplicate the new functionality of the SMF 2.1 beta series for the SMF 2.0.x series.

Changelog
The changelog can be viewed at XPtsp.com.

License
QuoteCopyright (c) 2017 - 2018, Douglas Orend
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-Rock Lee-

I just installed it but I do not fully understand the function it fulfills ... Does not it have an image that shows what it does?


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2020
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Arantor

Just curious, but what exactly does this do on 2.1 given the messages item was moved out of the main menu back before beta 1?
No good deed goes unpunished
All helpful urges should be circumvented

dougiefresh

Quote from: Arantor on November 26, 2017, 11:01:31 AM
Just curious, but what exactly does this do on 2.1 given the messages item was moved out of the main menu back before beta 1?
(In a high-and-mighty-like tone...) Well, if you must know.....  O:)  Not a damn thing.  I missed that in the compatibility notes....   :P

Thank you, Arantor, for pointing that out!

dougiefresh

Uploaded v1.1 - November 26th, 2017
o Updated documentation to properly reflect SMF 2.1 Beta 3 status.
o Fixed package-info.xml so that Subs-BetterMessages.php gets installed.




@Everybody:  I fixed the package-info.xml file so that the file gets moved during installation.  Sorry for the confusion....

@Rock Lee:  Before and After screenshot is attached.  Yes, it is working now.....

Arantor

No good deed goes unpunished
All helpful urges should be circumvented

-Rock Lee-

@dougiefresh How strange I did not see it and that left the cursor for a while ... maybe it was a few layered errors to have it in local but the modification seems very good!


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2020
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

dougiefresh

Quote from: Rock Lee on November 27, 2017, 08:18:35 AM
@dougiefresh How strange I did not see it and that left the cursor for a while ... maybe it was a few layered errors to have it in local but the modification seems very good!
Well, when I installed v1.0.x, I didn't see the changes it was supposed to effect.....  Turns out the file responsible for doing said changes wasn't present....  Putting the file in place made the thing work, so the package installer was modified so that the file was correctly copied.

-Rock Lee-

Quote from: dougiefresh on November 27, 2017, 11:31:03 AM
Well, when I installed v1.0.x, I didn't see the changes it was supposed to effect.....  Turns out the file responsible for doing said changes wasn't present....  Putting the file in place made the thing work, so the package installer was modified so that the file was correctly copied.

Ah then it was because of that, now while I'm letting down some things, I'm going to try it again to see how it is.


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2020
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

pepa

Quote from: dougiefresh on November 26, 2017, 09:20:50 PM
Uploaded v1.1 - November 26th, 2017
o Updated documentation to properly reflect SMF 2.1 Beta 3 status.
o Fixed package-info.xml so that Subs-BetterMessages.php gets installed.




@Everybody:  I fixed the package-info.xml file so that the file gets moved during installation.  Sorry for the confusion....

@Rock Lee:  Before and After screenshot is attached.  Yes, it is working now.....

Sorry, buy doesn't work for me.  Using SMF 2.0.15 default theme with responsive curve.  I cannot see a file Subs-BetterMessages.php installed?

pepa

Quote from: pepa on January 30, 2018, 03:38:24 AM
Quote from: dougiefresh on November 26, 2017, 09:20:50 PM
Uploaded v1.1 - November 26th, 2017
o Updated documentation to properly reflect SMF 2.1 Beta 3 status.
o Fixed package-info.xml so that Subs-BetterMessages.php gets installed.




@Everybody:  I fixed the package-info.xml file so that the file gets moved during installation.  Sorry for the confusion....

@Rock Lee:  Before and After screenshot is attached.  Yes, it is working now.....

Sorry, buy doesn't work for me.  Using SMF 2.0.15 default theme with responsive curve.  I cannot see a file Subs-BetterMessages.php installed?
Actually Subs-BetterMessages.php is installed, it's in /Sources ... cannot find add_remove_hooks.php anywhere though, is it supposed to install as well?

dougiefresh

Quote from: pepa on January 30, 2018, 05:21:44 AM
Actually Subs-BetterMessages.php is installed, it's in /Sources ... cannot find add_remove_hooks.php anywhere though, is it supposed to install as well?
No, the add_remove_hooks.php file is executed by Package Manager, but not installed.

pepa

Quote from: dougiefresh on January 30, 2018, 10:28:28 AM
Quote from: pepa on January 30, 2018, 05:21:44 AM
Actually Subs-BetterMessages.php is installed, it's in /Sources ... cannot find add_remove_hooks.php anywhere though, is it supposed to install as well?
No, the add_remove_hooks.php file is executed by Package Manager, but not installed.

Yep  ... OK, but it still doesn't work for me even though Subs-BetterMessages.php is in /Sources, any ideas what's up?

pepa

Quote from: dougiefresh on January 30, 2018, 10:28:28 AM
Quote from: pepa on January 30, 2018, 05:21:44 AM
Actually Subs-BetterMessages.php is installed, it's in /Sources ... cannot find add_remove_hooks.php anywhere though, is it supposed to install as well?
No, the add_remove_hooks.php file is executed by Package Manager, but not installed.

As I said immediately above it still isn't working for me ... but a question:
Subs-BetterMessages.php is installed into /Sources, wondering if it should be in /Themes/default instead?

pepa

Quote from: pepa on February 02, 2018, 02:31:40 AM
Quote from: dougiefresh on January 30, 2018, 10:28:28 AM
Quote from: pepa on January 30, 2018, 05:21:44 AM
Actually Subs-BetterMessages.php is installed, it's in /Sources ... cannot find add_remove_hooks.php anywhere though, is it supposed to install as well?
No, the add_remove_hooks.php file is executed by Package Manager, but not installed.

As I said immediately above it still isn't working for me ... but a question:
Subs-BetterMessages.php is installed into /Sources, wondering if it should be in /Themes/default instead?

Tried putting the file Subs-BetterMessages.php in /Themes/default but didn't make any difference.  Uninstalled the mod and re-installed it, still doesn't work?

dougiefresh

Uploaded v1.2 - February 3rd, 2018
o Made sure all function names referenced are what they are supposed to be.




@pepa:  Hopefully this update will work for you.  BTW, the changes made should in the main menu, under My Messages.....

pepa

Quote from: dougiefresh on February 03, 2018, 12:19:59 PM
Uploaded v1.2 - February 3rd, 2018
o Made sure all function names referenced are what they are supposed to be.




@pepa:  Hopefully this update will work for you.  BTW, the changes made should in the main menu, under My Messages.....

Thanks for your efforts with this Dougie : ) ...unfortunately, it's still not working.  I uninstalled version 1.1 before installing this one, presume that was the right process.  Just checked and Sus-BetterMessages.php has been installed into /Sources.  My overall configuration is:

SMF 2.0.15
Default Theme with Responsive Curve

Installed Mods:
Better Messages Menu   1.2
Contact Page   4.0
SMF 2.0.15 Update   1.0
Board-color-and-icons   1.1
reCAPTCHA for SMF   1.0.0   
Responsive Curve   1.0.0   
PayPal Donate   1.0
Global Topics   2.2

PayPal Donate doesn't work and cannot be uninstalled, there's no uninstaller.

pepa

Has anyone been able to get this working in 2.0.15?

Tonyvic

It works fine on my 2.0.15 forum with normal 'Curve', I don't use 'Responsive Curve'

dougiefresh

@pepa:  I just installed your mod list on my localhost forum.  Better Messages Menu mod works just fine.  Screenshot can be seen on the mod page with the mod in action.

Regarding Paypal Donate, if you emulate SMF 2.0RC5, it will uninstall for you.

Advertisement: