Advertisement:

Author Topic: Better Messages Menu  (Read 2954 times)

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,670
  • Mod King
    • XPtsp.com Community
Better Messages Menu
« on: November 26, 2017, 10:22:13 AM »
Link to Mod


BETTER MESSAGES MENU v1.6
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 has been removed and can be seen at XPtsp.com.

License
Quote
Copyright (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.
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Online Rock Lee

  • SMF Hero
  • ******
  • Posts: 1,473
  • Gender: Male
  • Digitalizando un nuevo mundo :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Better Messages Menu
« Reply #1 on: November 26, 2017, 10:50:33 AM »
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 © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,361
    • Arantor on GitHub
Re: Better Messages Menu
« Reply #2 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?
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,670
  • Mod King
    • XPtsp.com Community
Re: Better Messages Menu
« Reply #3 on: November 26, 2017, 09:09:14 PM »
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!
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,670
  • Mod King
    • XPtsp.com Community
Re: Better Messages Menu
« Reply #4 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.....
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,361
    • Arantor on GitHub
Re: Better Messages Menu
« Reply #5 on: November 27, 2017, 02:43:00 AM »
I did wonder :P

Nice job.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Online Rock Lee

  • SMF Hero
  • ******
  • Posts: 1,473
  • Gender: Male
  • Digitalizando un nuevo mundo :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Better Messages Menu
« Reply #6 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!


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

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,670
  • Mod King
    • XPtsp.com Community
Re: Better Messages Menu
« Reply #7 on: November 27, 2017, 11:31:03 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.
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Online Rock Lee

  • SMF Hero
  • ******
  • Posts: 1,473
  • Gender: Male
  • Digitalizando un nuevo mundo :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Better Messages Menu
« Reply #8 on: November 27, 2017, 06:44:34 PM »
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 © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Offline pepa

  • Jr. Member
  • **
  • Posts: 164
Re: Better Messages Menu
« Reply #9 on: January 30, 2018, 03:38:24 AM »
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?

Offline pepa

  • Jr. Member
  • **
  • Posts: 164
Re: Better Messages Menu
« Reply #10 on: January 30, 2018, 05:21:44 AM »
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?

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,670
  • Mod King
    • XPtsp.com Community
Re: Better Messages Menu
« Reply #11 on: January 30, 2018, 10:28:28 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.
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline pepa

  • Jr. Member
  • **
  • Posts: 164
Re: Better Messages Menu
« Reply #12 on: January 30, 2018, 05:35:09 PM »
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?

Offline pepa

  • Jr. Member
  • **
  • Posts: 164
Re: Better Messages Menu
« Reply #13 on: February 02, 2018, 02:31:40 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?

Offline pepa

  • Jr. Member
  • **
  • Posts: 164
Re: Better Messages Menu
« Reply #14 on: February 02, 2018, 05:47:07 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?

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,670
  • Mod King
    • XPtsp.com Community
Re: Better Messages Menu
« Reply #15 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.....
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline pepa

  • Jr. Member
  • **
  • Posts: 164
Re: Better Messages Menu
« Reply #16 on: February 03, 2018, 04:54:29 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.

Offline pepa

  • Jr. Member
  • **
  • Posts: 164
Re: Better Messages Menu
« Reply #17 on: February 09, 2018, 06:40:38 AM »
Has anyone been able to get this working in 2.0.15?

Offline Tonyvic

  • Jr. Member
  • **
  • Posts: 150
  • Gender: Male
Re: Better Messages Menu
« Reply #18 on: February 09, 2018, 08:11:45 AM »
It works fine on my 2.0.15 forum with normal 'Curve', I don't use 'Responsive Curve'

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,670
  • Mod King
    • XPtsp.com Community
Re: Better Messages Menu
« Reply #19 on: February 10, 2018, 10:44:14 AM »
@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.
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!