Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Matthew K. on March 06, 2012, 01:05:26 PM

Title: Menu Editor Lite
Post by: Matthew K. on March 06, 2012, 01:05:26 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3310)

Pro Version: http://www.smfhacks.com/menu-editor-pro.php

Brief Summary:


Powerful & Customizable. Finally, a powerful solution for managing SMF's menu, that is completely customizable!



Features:

Important: In the lite version there is no support for menu items added by modification be it direct hacking of Subs.php, or modifications using hooks. I apologize for the inconvenience.



License:


This modification is released under the Mozilla Public License 1.1 (http://www.mozilla.org/MPL/1.1/index.txt).

For more information, please visit http://www.mozilla.org/MPL/ or refer to license.txt.



Changelog:


v1.0.5 (r3.7.12):



v1.0.4 (r3.7.12):



v1.0.3 (r3.6.12):

v1.0.2 (r2.17.12):

v1.0.1 (r1.16.12):

v1.0.0 (r1.15.12):



Note: This modification does remove the unread PM counter from the "PM" menu item. The pro version allows you to add it or remove it.

Mentions:



Title: Re: Menu Editor Lite
Post by: Matthew K. on March 06, 2012, 06:40:27 PM
I forgot to update the Subs.php edit for uninstalling, so anyone who uninstalls this will have two errors in the error log. I'll release a patch shortly. Everything else will function fine.
Title: Re: Menu Editor Lite
Post by: razors edge on March 06, 2012, 07:04:33 PM
Very Nice. Thank you. great mod
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 06, 2012, 07:06:04 PM
Not a problem razors edge, enjoy! :)
Title: Re: Menu Editor Lite
Post by: 4Kstore on March 07, 2012, 02:43:29 AM
This is a perfect idea and mod!
Thanks (!)
Title: Re: Menu Editor Lite
Post by: Vlada87 on March 07, 2012, 05:43:08 AM
When i install this only admins see all options, simple member dont see now aynthing expect Help (theres no PM, Profile, etc for memebr)... !?
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 07, 2012, 11:28:39 AM
Quote from: 4Kstore on March 07, 2012, 02:43:29 AM
This is a perfect idea and mod!
Thanks (!)
Not a problem, glad you like it.

Quote from: Vlada87 on March 07, 2012, 05:43:08 AM
When i install this only admins see all options, simple member dont see now aynthing expect Help (theres no PM, Profile, etc for memebr)... !?
I can't help you without any details...way too vague. What version of SMF are you running? What settings do you have? What mods?
Title: Re: Menu Editor Lite
Post by: Adrek on March 07, 2012, 11:46:08 AM
SMF 2.0.2, clean, without mods.

Installed "Menu Editor Lite", and guest can see only 4 buttons: Home, Help, Login and Register.
Search button is hidden for guests.

Regular user can see only 3 buttons: Home, Help and Logout.

I did not change anything in settings, and I don't see any permissions for modification (or separate buttons). Logs are empty.
Title: Re: Menu Editor Lite
Post by: BaghdadGhost on March 07, 2012, 11:52:17 AM
Quote from: phantomm on March 07, 2012, 11:46:08 AM
SMF 2.0.2, clean, without mods.

Installed "Menu Editor Lite", and guest can see only 4 buttons: Home, Help, Login and Register.
Search button is hidden for guests.

Regular user can see only 3 buttons: Home, Help and Logout.

I did not change anything in settings, and I don't see any permissions for modification (or separate buttons). Logs are empty.

same here
Title: Re: Menu Editor Lite
Post by: NanoSector on March 07, 2012, 12:00:39 PM
Great mod!

Though I'm also suffering from the problem above on a clean install.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 07, 2012, 12:46:22 PM
Give me a minute to run a test case please.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 07, 2012, 12:50:55 PM
I am unable to replicate the described on a fresh install of SMF 2.0.2. More details would be awesome.
Title: Re: Menu Editor Lite
Post by: NanoSector on March 07, 2012, 01:21:16 PM
I PM'ed you the details you requested, hope it helps you with solving the issue :)
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 07, 2012, 01:24:50 PM
Replied, the admin login is not an admin :P
Title: Re: Menu Editor Lite
Post by: NanoSector on March 07, 2012, 01:28:04 PM
Quote from: Labradoodle-360 on March 07, 2012, 01:24:50 PM
Replied, the admin login is not an admin :P
Yeah, fixed, I forgot the registration through the ACP failed (where I DID select Administrator), lol.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 07, 2012, 01:37:40 PM
Thanks to Yoshi providing details to his website, I was able to finally replicate the issue locally and I have decided that due to it being a fairly large issue, I am going to be pulling the mod from the mod site until further notice (until I fix the bug.)
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 07, 2012, 02:04:09 PM
Package 1.0.4 Released!
Quote from: Log Messagev1.0.4 (r3.7.12):

  • ! bugfix: SMF default buttons don't show up to anyone but admins due to permissions. (!~./menu_source/resources/main.php)
    Huge thanks to Yoshi2889 for letting me investigate on his server.
  • ! bugfix: Undefined error on uninstalling due to package name not being updated in revisions. (!~./modifications.xml)
Title: Re: Menu Editor Lite
Post by: BaghdadGhost on March 07, 2012, 02:06:38 PM
wow that was quick  :)


testing now


thanks
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 07, 2012, 02:07:24 PM
Haha thanks, let me know what you find :)
Title: Re: Menu Editor Lite
Post by: BaghdadGhost on March 07, 2012, 02:11:57 PM
well after installing this whole code above all pages and same issue with disappeared buttons


see attachment
Title: Re: Menu Editor Lite
Post by: BaghdadGhost on March 07, 2012, 02:16:14 PM
and when trying to uninstall I get this error (attached)
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 07, 2012, 02:17:48 PM
Okay...give me a minute. It appears one of the issues is resolved, one more popped up.
Title: Re: Menu Editor Lite
Post by: NanoSector on March 07, 2012, 02:18:19 PM
Quote from: BaghdadGhost on March 07, 2012, 02:11:57 PM
well after installing this whole code above all pages and same issue with disappeared buttons


see attachment
Let me test that, also.
EDIT: I don't get that issue, my site doesn't show such things at all.

(PS @Labradoodle, I'll setup a test site to...test, actually. I'll also recreate the same Testmin account in there, so people like you can test more :))

Quote from: BaghdadGhost on March 07, 2012, 02:16:14 PM
and when trying to uninstall I get this error (attached)
Same, refresh and go back to the Package Manager.
Title: Re: Menu Editor Lite
Post by: Kindred on March 07, 2012, 02:20:40 PM
Hey Labradoodle..

Was doing some testing on a previous version...
Does the newest version take what is currently in your subs.php menu list and import it or does this still just default to the standard smf menu and require you to manually create an item for each mod that is already installed? (I understand that mods installed AFTER this one will have to be manually added)
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 07, 2012, 02:21:48 PM
The "code" above was a print_r(); that I left in the code when I was debugging v1.0.3 so I could release v1.0.4, I just forgot to remove it. The latest package (v1.0.4) has it removed.

There was only a bug with the profile button showing up to guests, other than that all of the buttons function as they should (permission wise and membergroup wise.)

I am going to be releasing a patch (1.0.5) which will contain a bugfix for the uninstallation issue and for the profile button error.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 07, 2012, 02:23:38 PM
Quote from: Kindred on March 07, 2012, 02:20:40 PM
Hey Labradoodle..

Was doing some testing on a previous version...
Does the newest version take what is currently in your subs.php menu list and import it or does this still just default to the standard smf menu and require you to manually create an item for each mod that is already installed? (I understand that mods installed AFTER this one will have to be manually added)
Thanks for stopping by Kindred! :) The lite version does not import menu items, it feeds the default SMF menu into the database and forces you to make any changes you want, unfortunately.

However, I have the full version almost completely done which has every feature you could dream of, it even allows you to clone over buttons that are added AFTER Menu Editor. It's also file-driven with database driven modifications to the file for increased performance.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 07, 2012, 02:53:05 PM
Menu Editor Lite v1.0.5 Released!
Quote from: Log Messagev1.0.5 (r3.7.12):

  • ! bugfix: second subs.php modification now takes into account the proper version for uninstalling. (!~./modifications.xml)
  • ! bugfix: the profile button now takes into account default SMF membergroup permissions. (!~./menu_source/resources/main.php)
Title: Re: Menu Editor Lite
Post by: BaghdadGhost on March 07, 2012, 02:59:27 PM
this time I will not say "wow that was quick" in order not to jinx it lol
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 07, 2012, 03:02:44 PM
Thank you ;D does it work for you?
Title: Re: Menu Editor Lite
Post by: BaghdadGhost on March 07, 2012, 03:04:02 PM
installed, uninstalled then reinstalled correctly.

I have one question at this point. how about the buttons of the previously installed mods? they disappeared and all I got the default ones!

thanks
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 07, 2012, 03:06:17 PM
Kindred asked the same question, and others have PM'd me asking the same question. The answer is both on the mod description, the first post of this topic, and the mod readme.
Quote from: Menu Editor Lite ReadmeImportant: In the lite version there is no support for menu items added by modification be it direct hacking of Subs.php, or modifications using hooks. I apologize for the inconvenience.
Title: Re: Menu Editor Lite
Post by: BaghdadGhost on March 07, 2012, 03:11:24 PM
thanks.

does this mean that there is a full version of this mod coming soon? and if so is it free?  :D
Title: Re: Menu Editor Lite
Post by: NanoSector on March 07, 2012, 03:12:26 PM
Quote from: BaghdadGhost on March 07, 2012, 03:11:24 PM
thanks.

does this mean that there is a full version of this mod coming soon? and if so is it free?  :D
There's a full version coming, yes.
It's not free though.
Title: Re: Menu Editor Lite
Post by: BaghdadGhost on March 07, 2012, 03:13:43 PM
its alright.


thanks for the great work guys
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 07, 2012, 03:17:05 PM
The full version was originally designed to be a paid version to help compensate me for all of the time I've spent developing this modification, the cost was going to be around $50.00 a license.

Although I intend on releasing the full version for free, on the mod site. I do not however intend on finishing the development until I see that there is enough demand for it. I need feedback on the lite version.
Title: Re: Menu Editor Lite
Post by: NanoSector on March 07, 2012, 03:51:39 PM
I'll test it out tomorrow and use it for the damn Site menu on my site which I need to recode everytime I replace the Subs.php or update :)
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 07, 2012, 03:53:54 PM
Okay, feedback is much appreciated...
Title: Re: Menu Editor Lite
Post by: Adrek on March 07, 2012, 04:12:29 PM
Now it works perfectly :)

In "Actions" would be useful one more option - Disable/Enable Button (something like this in portal blocks)
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 07, 2012, 04:15:34 PM
Nope. That's one of the Menu Editor Pro/Full features. Lite is supposed to be indeed "lite" ;)
Title: Re: Menu Editor Lite
Post by: webquarter on March 09, 2012, 07:55:36 PM
Mod works fine  :), ... but

how do I hide the buttons with restricted permission? They are always visible - or do I fail?!
Title: Re: Menu Editor Lite
Post by: SilverKnight on March 10, 2012, 01:26:17 PM
Good mod, i would like to see support for images (icons) to be used instead of text and option to choose where the certain icon\text is alligned.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 10, 2012, 06:26:08 PM
Quote from: webquarter on March 09, 2012, 07:55:36 PM
Mod works fine  :), ... but

how do I hide the buttons with restricted permission? They are always visible - or do I fail?!
They shouldn't be, they follow suit with SMF's default membergroups and permissions, what version of Menu Editor are you running? There was indeed a similar bug prior to 1.0.4.

Quote from: SilverKnight on March 10, 2012, 01:26:17 PM
Good mod, i would like to see support for images (icons) to be used instead of text and option to choose where the certain icon\text is alligned.
Haha not in the lite, already a part of the full version though.
Title: Re: Menu Editor Lite
Post by: webquarter on March 11, 2012, 11:30:19 AM
Quote from: Labradoodle-360 on March 10, 2012, 06:26:08 PM
Quote from: webquarter on March 09, 2012, 07:55:36 PM
Mod works fine  :), ... but

how do I hide the buttons with restricted permission? They are always visible - or do I fail?!
They shouldn't be, they follow suit with SMF's default membergroups and permissions, what version of Menu Editor are you running? There was indeed a similar bug prior to 1.0.4.

I´m running v 1.0.5

Prior I used "6 Custom Button" - Mod. I deinstalled that and installed Your Mod and it runs great, but restricted Buttons are always visible ... for guests too. :-\

Look here (http://forum.webquarter.de) the Buttons "T-41" and "DRK" in the Menu should´t be visible for guests and normal members.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 11, 2012, 01:18:46 PM
It works fine, those "restricted" links are custom links, and not internal links.
Title: Re: Menu Editor Lite
Post by: webquarter on March 11, 2012, 04:00:51 PM
That´s right ... and that´s the problem? How about pro-version?
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 11, 2012, 07:38:07 PM
The pro version you will be able to define associated button permissions, and or membergroups.
Title: Re: Menu Editor Lite
Post by: Eclipse16V on March 12, 2012, 04:17:34 AM
Nice Mod but many errors with this Mod and the PortaMx Mod.
Title: Re: Menu Editor Lite
Post by: webquarter on March 12, 2012, 08:56:19 AM
Is there a release date for the pro... ?
Title: Re: Menu Editor Lite
Post by: NanoSector on March 12, 2012, 11:28:18 AM
Quote from: Eclipse16V on March 12, 2012, 04:17:34 AM
Nice Mod but many errors with this Mod and the PortaMx Mod.
That's a problem with PortaMX, post in their topic.

Also, the Lite version of this mod doesn't support custom mods.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 12, 2012, 01:40:04 PM
Quote from: webquarter on March 12, 2012, 08:56:19 AM
Is there a release date for the pro... ?
Whenever I got enough feedback on the Lite version and enough people request me to finish the pro version.

Quote from: Eclipse16V on March 12, 2012, 04:17:34 AM
Nice Mod but many errors with this Mod and the PortaMx Mod.
It looks like PortaMx is trying to hack the menu, and it's not liking something because it obviously doesn't validate what it's looking for, and just assumes it'll be there (bad practice on their part).

If you go ahead and attach their file, I'll see if I can't fix it for you.
Title: Re: Menu Editor Lite
Post by: Eclipse16V on March 12, 2012, 02:37:09 PM
OK, thanks for the info.
I now have more mods auftretten found with errors. Unfortunately will uninstall this mod.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 12, 2012, 03:45:11 PM
Wait, what? Your last sentence does not make sense to me.

The pro version is really pretty close to being completed, but I'd have to rewrite the majority of it since the code is old, just don't want to waste my time if people don't want it.
Title: Re: Menu Editor Lite
Post by: BaghdadGhost on March 12, 2012, 03:47:13 PM
we would love such a pro mod  :)
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 12, 2012, 03:49:27 PM
I'll have to see how my time goes, it would require a fair amount of work to finish to the standard I would want it at.
Title: Re: Menu Editor Lite
Post by: BaghdadGhost on March 12, 2012, 03:50:49 PM
take your time
Title: Re: Menu Editor Lite
Post by: feline on March 12, 2012, 10:20:02 PM
Quote from: Labradoodle-360 on March 12, 2012, 01:40:04 PM
Quote from: Eclipse16V on March 12, 2012, 04:17:34 AM
Nice Mod but many errors with this Mod and the PortaMx Mod.
It looks like PortaMx is trying to hack the menu, and it's not liking something because it obviously doesn't validate what it's looking for, and just assumes it'll be there (bad practice on their part).
Your Mod destroy the array keys .. replace the names with numbers .. THAT is not our Problem, it's yours,  if you modify the button array ...
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 12, 2012, 10:24:06 PM
I was thinking ADK portal, not PortaMX, I apologize. But, it's not directly my problem.
Title: Re: Menu Editor Lite
Post by: feline on March 12, 2012, 10:26:02 PM
Quote from: Labradoodle-360 on March 12, 2012, 10:24:06 PM
But, it's not directly my problem.
really?  :laugh:
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 12, 2012, 10:55:14 PM
Really :)
Title: Re: Menu Editor Lite
Post by: Eclipse16V on March 13, 2012, 12:47:06 AM
Sorry
Google just translates only what it wants.
I had just written that I have now found more mods with posing problems.
- AJAX Chat MOD
- Error Counter MOD
- ....
In addition, it bothers me too that the items are always in one language only.
Well, maybe in a few months it looks different. Now I'm going to uninstall again but for the time being.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 13, 2012, 01:05:24 AM
That'll all be supported in Menu Editor Pro :)
Title: Re: Menu Editor Lite
Post by: djohns on March 13, 2012, 06:51:47 PM
Will this mod support user-defined groups?  I'd like to display certain menu buttons only for two of my user-defined groups.

Also, can I attach a code snippet to the button?

Thank you.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 13, 2012, 07:23:57 PM
Yeah...if you read the previous pages. The full version will support anything you could think of to do with the menu. All default buttons have their SMF associated permissions and membergroups, however custom buttons are not able to take upon any of those yet.

What kind of code snippet? Not descriptive enough.

Thanks for using it :)
Title: Re: Menu Editor Lite
Post by: mdj on March 14, 2012, 03:17:31 AM
Great mod, it has cured my headaches with the menu situation regarding SMF, one thing though is on my site when I recieve a personal message the pop up box appears letting me know about the private message, but there is no number next to the messages link on the menu which is kinda frustrating really, any Ideas?

Many thanks

Mike
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 15, 2012, 10:56:18 AM
It doesn't include the count in the menu...
Title: Re: Menu Editor Lite
Post by: NanoSector on March 15, 2012, 11:04:55 AM
Is there any way of making buttons for the mod?

I mean, someone could of just add a kind of compatibility to their mods if they feel like doing so, by adding the "error="skip"" thing onto the edit.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 15, 2012, 11:11:16 AM
Sure, people can definitely hook into Menu Editor by adding rows to {db_prefix}menu_items. That's the point, a whole new menu system that's modification is driven by the database.

I can't wait for you guys to see the full version, really.
Title: Re: Menu Editor Lite
Post by: mdj on March 18, 2012, 03:39:07 PM
Quote from: Labradoodle-360 on March 15, 2012, 10:56:18 AM
It doesn't include the count in the menu...

thats a shame, could it be easily modified to allow for the count?
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 18, 2012, 04:28:10 PM
Yes
Title: Re: Menu Editor Lite
Post by: AlkaSeltxer on March 19, 2012, 04:59:23 PM
Fantastic mod. Haven't had any problems. Did notice one little thing, the dropdown menus have no background, they are transparent while in the Menu Editor settings page.

It would also be nice to see the ability for 3rd level menus, like Admin>Logs>(list of logs here). Didn't see anyone mention that.

I would love to see this project grow. Specially since I don't think SMF will ever implement a menu editor into the system even tho it's been requested forever.

Great work.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 19, 2012, 05:24:44 PM
Thank you, good to hear. Not encountered that issue before...?

Third level menu items can be created.

Based on the feedback I have received, it looks like there is fairly large demand for the full version, although I'm still not quite to the point where I believe it'd be worth all of my time to finish it.

And SMF will most likely implement a menu editor in the future, but who knows, it could be the pro version of this if it goes well.
Title: Re: Menu Editor Lite
Post by: AlkaSeltxer on March 19, 2012, 05:40:08 PM
Maybe caused by TP or the custom theme, Argentum2.

Are you saying the ability to create 3rd level items is already there, or are you saying it could be added into ME at a later time? Cause if the ability is already there, I can't seem to find it.

Yeah, they probably will... probably 1 day before the end of the world. :P I certainly hope you get the response you're looking for, I do understand the time involved and not wanting to sink it into something hardly used.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 19, 2012, 05:43:03 PM
Third level menus already exist. You modify a child button, and at the bottom is that child buttons children, with a button to add more children to the child :P
Title: Re: Menu Editor Lite
Post by: AlkaSeltxer on March 19, 2012, 06:00:31 PM
Oi, you gotta be kidding me... I don't know how I missed that one. My bad.

That did however lead me to find an issue...
When I click on, say, 2 Children in the Children column, it creates a menu element that likes to pop out anywhere on the page, over text, over images etc, that is dragable has no background, and renders any other links other than its own non-clickable. You can see in the attached image. I'm guessing some kind of style issue?
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 19, 2012, 06:03:30 PM
It sounds like you have a CSS problem on your site itself. Can you try running repair_settings.php and making sure the Menu Editor CSS file was added?

What is repair_settings.php? (http://wiki.simplemachines.org/smf/Repair_settings.php)
Title: Re: Menu Editor Lite
Post by: AlkaSeltxer on March 19, 2012, 06:34:33 PM
Made sure the css file was there, all good. Ran repair, successful. Didn't fix it.

Went into the code for main.php and changed:
<link rel="stylesheet" type="text/css" href="' . $settings['theme_url'] . '/css/menu_css/main.css" />
to a direct path like so:
<link rel="stylesheet" type="text/css" href="'http://www.*******.com/forum/Themes/argentum_enhanced_smf20final/css/menu_css/main.css" />
And that fixed the children pop out. Didn't fix the background-less menu dropdown issue I mentioned in my first post.

I made sure the css was in both the default theme as well as in my custom theme directory before I made the manual edit of the code. Any idea why I would need to do that?
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 19, 2012, 06:42:50 PM
Did you check to install the mod on your custom theme during the installation?
Title: Re: Menu Editor Lite
Post by: AlkaSeltxer on March 19, 2012, 06:47:03 PM
Quote from: Labradoodle-360 on March 19, 2012, 06:42:50 PM
Did you check to install the mod on your custom theme during the installation?

Didn't give me an option to with this one. I'll try installing it again and see what it does.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 19, 2012, 06:49:05 PM
It should have, so that's probably the issue. The other issue is most likely theme related.
Title: Re: Menu Editor Lite
Post by: AlkaSeltxer on March 19, 2012, 06:56:51 PM
Quote from: Labradoodle-360 on March 19, 2012, 06:49:05 PM
It should have, so that's probably the issue. The other issue is most likely theme related.

I did this time around.
Quote
Argentum2
Extract Tree    ./Themes/argentum_enhanced_smf20final/images/menu_images
Is it missing anything?
Title: Re: Menu Editor Lite
Post by: AlkaSeltxer on March 19, 2012, 07:01:07 PM
Quote from: AlkaSeltxer on March 19, 2012, 06:56:51 PM
Quote from: Labradoodle-360 on March 19, 2012, 06:49:05 PM
It should have, so that's probably the issue. The other issue is most likely theme related.

I did this time around.
Quote
Argentum2
Extract Tree    ./Themes/argentum_enhanced_smf20final/images/menu_images
Is it missing anything?

The children pop out is working fine now, still no background in the menu dropdowns tho, but I would imagine that has to do with the theme itself.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 19, 2012, 07:21:58 PM
Great, and yeah they should be theme related.
Title: Re: Menu Editor Lite
Post by: djohns on March 23, 2012, 04:32:31 PM
Quote from: Labradoodle-360 on March 13, 2012, 07:23:57 PM
Yeah...if you read the previous pages. The full version will support anything you could think of to do with the menu. All default buttons have their SMF associated permissions and membergroups, however custom buttons are not able to take upon any of those yet.

What kind of code snippet? Not descriptive enough.

Thanks for using it :)

A javascript code snippet for a popup window.
Title: Re: Menu Editor Lite
Post by: djohns on March 23, 2012, 05:07:47 PM
Quote from: djohns on March 13, 2012, 06:51:47 PM
Will this mod support user-defined groups?  I'd like to display certain menu buttons only for two of my user-defined groups.

Also, can I attach a code snippet to the button?

Thank you.


Got it!  I wanted to open NChat in a popup window using a button to invoke it (NChat).  I needed to put

javascript:  blah...blah...blah ;

where the url would go for an external link. 
Title: Re: Menu Editor Lite
Post by: ishy on March 24, 2012, 05:59:08 PM
This is brilliant! Thank you very much!
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 25, 2012, 01:44:31 PM
@djohns - Sorry for my late response, glad you got it figured out; and I'll definitely track a JavaScript action in Pro to fit these scenarios more efficiently.

@ishy - Thank you very much for posting, I appreciate it. :)
Title: Re: Menu Editor Lite
Post by: djohns on March 25, 2012, 04:29:48 PM
ishy, thanks for the feedback.  As a noobie and very rusty on my programming skills it's been intimidating to tinker with complex packages like this one.  Glad the "javascipt: ....;" invokation worked for you. 

Labradoodle, I also appreciate you getting back to me.  I was able to get what I needed working using an add-on permissions manager mod although I ended up uninstalling menu lite and just messed with subs.php. 

When you come out with your pro version(s) I hope you will consider a break for non-profits.  I've just been impressed what people will contribute for their community--SMF being a wonderful example.   As a retiree I do gratis web programming for several non-profits.  Paying for tools comes out of my pocket and the last fellow I hired to try to integrate SMF with a member package, took my (personal) money then said he couldn't do it.  Someday maybe I'll figure it out.

Love your work, have several of your mods installed now.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 25, 2012, 04:32:20 PM
@djohns - It's definitely been nice to see some new faces around here, let me know for sure if you have any questions bro.

The pro version will be free...I was wanting to recoup some financial compensation for the countless hours I have spent developing Menu Editor, but for a couple of reasons I decided to once again take the cut and walk away with it being free.

Donations are an option, but I will not charge for the actual product.
Title: Re: Menu Editor Lite
Post by: djohns on March 25, 2012, 04:49:02 PM
I'll be donating--I just can't cough up $50 though. 
Title: Re: Menu Editor Lite
Post by: Yngwiedis on March 26, 2012, 04:29:19 PM
Hello...

This is a great mod.
I have a question though...
Is there any option to create a "no link" button;

I want to create a menu with a "header" and then expand all the links below that.
So i don't want the "header" to have any link.
Is this possible somehow?

Thank you very very much :)
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 26, 2012, 04:42:37 PM
Nope, not without custom work.
Title: Re: Menu Editor Lite
Post by: Yngwiedis on March 26, 2012, 04:49:37 PM
I can give it a try if you point me to the right direction :)
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 26, 2012, 04:51:58 PM
I don't even understand what you mean, to be honest. Are you trying to add a menu item that isn't a link, or do you want a header ABOVE the menu, or what?
Title: Re: Menu Editor Lite
Post by: Yngwiedis on March 26, 2012, 05:01:22 PM
Sorry but my english are not so good.

I want a menu button without link.
Only the second, third, fourth etc buttons under that, will have links.

I hope you understand me now :)
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 26, 2012, 05:04:41 PM
Yeah, you'd have to modify index.template.php, a menu editor file, and probably index.css too.
Title: Re: Menu Editor Lite
Post by: Yngwiedis on March 26, 2012, 05:06:37 PM
OK. I will try...
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 26, 2012, 05:07:28 PM
You can always open up a topic in SMF Coding Discussion (http://www.simplemachines.org/community/index.php?board=60.0), but I cannot help you any further.
Title: Re: Menu Editor Lite
Post by: Yngwiedis on March 26, 2012, 05:11:26 PM
No problem :)
Title: Re: Menu Editor Lite
Post by: Kindred on March 26, 2012, 05:45:08 PM
you could always create a button with a link to "#"
Title: Re: Menu Editor Lite
Post by: Yngwiedis on March 26, 2012, 05:53:41 PM
Ohhh ! Very nice.  Thank you for the tip :)
Title: Re: Menu Editor Lite
Post by: Ron Austin on April 03, 2012, 12:07:53 PM
I downloaded and installed ver 1.05 on SMF ver 2.02 with TP.  Everything went well and buttons work great, but it only shows types INTERAL & EXTERNAL - no DROP DOWN.  Tried it on default theme and a couple of others with the same result.
Title: Re: Menu Editor Lite
Post by: Kindred on April 03, 2012, 12:27:16 PM
???   dropdown?   I assume the dropdown menu is created automatically when you create a menu item with child menu items.
Title: Re: Menu Editor Lite
Post by: Chalky on April 03, 2012, 12:31:46 PM
I installed this mod the other day, and if you select internal, the dropdown box below it allows you to select which forum page you want the button to link to.  Or do you mean there is no dropdown box showing to select from?
Title: Re: Menu Editor Lite
Post by: Ron Austin on April 03, 2012, 12:48:15 PM
Looking at the info on the mod closer, I see that the [drop down list] is made up of internal links.  When I first looked at the mod I thought you could make a drop down list of external links like:

ABOUT US
   Officers - with external link tohtml file containing  list of club officers and photos
   Mission - with external link to html file containing Mission Statement
   Location - with external link to html file containing location of club

Perhaps this can be done with child menus, but I am new at this and don't have a clue how to do that.
Title: Re: Menu Editor Lite
Post by: Chalky on April 03, 2012, 12:59:07 PM
Ah, ok, it sounds like you need to make a button for your About Us, type external, linking either to a page or to #  if you don't want that button to link to anything, just show the dropdown (as I learned somewhere on here the other day - Old Fossil I think, so thanks for that), then when you've created that button , click on the pencil to edit it and there's now a link below saying "Add Child Button".  You would then add your Officers, Mission, Location buttons one by one there, each as external and linking each to its own URL.  Does that help any?
Title: Re: Menu Editor Lite
Post by: Ron Austin on April 03, 2012, 01:18:24 PM
Well glad it wasn't a snake.   :D  Don't know how I missed that.

Well this is a great mod.  Just what I needed.  Thanks a lot.
Title: Re: Menu Editor Lite
Post by: Chalky on April 03, 2012, 01:22:00 PM
Heehee, you're welcome  ;)
Title: Re: Menu Editor Lite
Post by: Matthew K. on April 03, 2012, 01:29:28 PM
Quote from: Sabrinova on April 03, 2012, 12:59:07 PM
Ah, ok, it sounds like you need to make a button for your About Us, type external, linking either to a page or to #  if you don't want that button to link to anything, just show the dropdown (as I learned somewhere on here the other day - Old Fossil I think, so thanks for that), then when you've created that button , click on the pencil to edit it and there's now a link below saying "Add Child Button".  You would then add your Officers, Mission, Location buttons one by one there, each as external and linking each to its own URL.  Does that help any?
Exactly :) When you modify a button you can then add children, and like children, do the same for grandchildren (third level items).

Thanks for helping out, great job, for sure.

Quote from: Ron Austin on April 03, 2012, 01:18:24 PM
Well glad it wasn't a snake.   :D  Don't know how I missed that.

Well this is a great mod.  Just what I needed.  Thanks a lot.
Not a problem, I'm hoping to eventually release the pro-version which kicks this ones butt, no comparison.
Title: Re: Menu Editor Lite
Post by: Chalky on April 03, 2012, 01:35:13 PM
Thanks Labradoodle - I'm looking forward to the Pro version as I really like it.  When I installed this mod, it lost all the menu buttons that previous mods had added, including the arcade.  So I had some practice adding them all back manually within the mod, using as the URL ?action=arcade etc. so hopefully the pro version will address that ;)
Title: Re: Menu Editor Lite
Post by: Matthew K. on April 03, 2012, 01:43:54 PM
The pro version will contain an "Original Menu" section which will allow you to clone a menu item over to the main menu from the original menu.

You can completely restore the original menu, which is directly populated from Subs.php (&hooks) or just clone an single item at a time. When you click "clone" it throws up the add button page with the pre-defined variables from the button filled out already, so you just have to click add, or you can modify it to your needs before actually having it added to the main menu.
Title: Re: Menu Editor Lite
Post by: Eclipse16V on April 03, 2012, 01:46:37 PM
When will it give the pro version?
Title: Re: Menu Editor Lite
Post by: Matthew K. on April 03, 2012, 01:47:55 PM
Not sure. Hopefully by the end of the summer, I'd hope. I am developing a chat software with my friend, and I'd like to finish Like / Dislike Posts before I finish Menu Editor Pro.
Title: Re: Menu Editor Lite
Post by: Josh101 on April 04, 2012, 05:24:07 PM
This sounds like a good mod but I need to make pages. Can you point to where I can do this. Thanks.
Title: Re: Menu Editor Lite
Post by: Matthew K. on April 05, 2012, 10:15:42 AM
This is Menu Editor...not "Page Editor" ;)
Title: Re: Menu Editor Lite
Post by: NanoSector on April 05, 2012, 10:17:31 AM
Quote from: Josh101 on April 04, 2012, 05:24:07 PM
This sounds like a good mod but I need to make pages. Can you point to where I can do this. Thanks.
Try a portal, there's some good stuff around (SimplePortal, TinyPortal, ezPortal, ...) :)

Also lol @ labradoodle
Title: Re: Menu Editor Lite
Post by: Matthew K. on April 10, 2012, 04:09:49 PM
[WIP] Menu Editor Pro (http://www.simplemachines.org/community/index.php?topic=473660.0) looking for beta testers :)
Title: Re: Menu Editor Lite
Post by: goran on April 13, 2012, 05:36:46 PM
Hi.
After installing this great modification there are no more notifies about new PM like this: "My messages (1) - this number has disappeared. Is there a way to fix it?
Thank you.
Title: Re: Menu Editor Lite
Post by: Matthew K. on April 14, 2012, 03:34:58 AM
It's not a problem, so it's not something that needs fixing, that's how it was designed. And no, I don't intend on offering a workaround for it in Menu Editor Lite. There will be a Pro option to cover that.
Title: Re: Menu Editor Lite
Post by: goran on April 14, 2012, 07:53:59 PM
QuoteIt's not a problem, so it's not something that needs fixing, that's how it was designed.
Well it is a problem for me and I have to remove this modification. I don't understand this logic that disabling of new PM notification is normal.
Title: Re: Menu Editor Lite
Post by: Matthew K. on April 14, 2012, 10:50:09 PM
You could do something like...if this button's action is pm, then add the users unread message count to the buttons title :P
Title: Re: Menu Editor Lite
Post by: goran on April 15, 2012, 06:56:27 AM
Easy to say, hard to do - for me.
Title: Re: Menu Editor Lite
Post by: lurkalot on April 15, 2012, 08:38:16 AM
Quote from: goran on April 13, 2012, 05:36:46 PM
Hi.
After installing this great modification there are no more notifies about new PM like this: "My messages (1) - this number has disappeared. Is there a way to fix it?
Thank you.

Just out of interest, are you saying this mod disables a core feature from SMF when you install it? 
Title: Re: Menu Editor Lite
Post by: goran on April 15, 2012, 11:46:17 AM
In my case, yes.
Title: Re: Menu Editor Lite
Post by: NanoSector on April 15, 2012, 11:47:28 AM
Quote from: lurkalot on April 15, 2012, 08:38:16 AM
Quote from: goran on April 13, 2012, 05:36:46 PM
Hi.
After installing this great modification there are no more notifies about new PM like this: "My messages (1) - this number has disappeared. Is there a way to fix it?
Thank you.

Just out of interest, are you saying this mod disables a core feature from SMF when you install it? 
Not really "disables", it just doesn't support it.
Title: Re: Menu Editor Lite
Post by: lurkalot on April 15, 2012, 01:01:45 PM
Quote from: Yoshi2889 on April 15, 2012, 11:47:28 AM
Quote from: lurkalot on April 15, 2012, 08:38:16 AM

Just out of interest, are you saying this mod disables a core feature from SMF when you install it? 
Not really "disables", it just doesn't support it.

Thanks, but doesn't that amount to the same thing, if you can no longer use that standard SMF feature.   

I know this mod makes it nice and easy to add menu items without having to code them manually, which is great, (always wanted this as a core feature)  But I didn't see any mention of it taking away any smf functionality.   

Might sound like I'm being picky, but maybe this info needs to be added to the first post, and the download page. ;)
Title: Re: Menu Editor Lite
Post by: Matthew K. on April 15, 2012, 01:27:24 PM
That's not a feature...it doesn't take away SMF functionality, at all.
Title: Re: Menu Editor Lite
Post by: lurkalot on April 16, 2012, 03:39:34 AM
Quote from: Labradoodle-360 on April 15, 2012, 01:27:24 PM
That's not a feature...it doesn't take away SMF functionality, at all.

OK, then I apologise.  I must of got what the OP said wrong.  Sorry Labradoodle-360.  ;)
Title: Re: Menu Editor Lite
Post by: Matthew K. on April 16, 2012, 07:54:13 PM
It would be nice if Menu Editor Lite provided a PM counter, but it doesn't and won't.
Title: Re: Menu Editor Lite
Post by: IchBin™ on April 17, 2012, 10:58:01 AM
Quote from: Labradoodle-360 on April 15, 2012, 01:27:24 PM
That's not a feature...it doesn't take away SMF functionality, at all.

Lab, it removes the functionality to notify someone that they have PM's. I have no problem with this mod removing that feature, but it is a feature. And since you have some users asking about why this disappeared, it might be a good idea to let people know this mod doesn't restore that feature (however small it is.) :) Some people like me don't always use the PM pop-up to notify of new PM's. So I often look at the menu for this when I first login to a site.
Title: Re: Menu Editor Lite
Post by: NanoSector on April 17, 2012, 11:00:30 AM
Quote from: IchBin™ on April 17, 2012, 10:58:01 AM
Quote from: Labradoodle-360 on April 15, 2012, 01:27:24 PM
That's not a feature...it doesn't take away SMF functionality, at all.

Lab, it removes the functionality to notify someone that they have PM's. I have no problem with this mod removing that feature, but it is a feature. And since you have some users asking about why this disappeared, it might be a good idea to let people know this mod doesn't restore that feature (however small it is.) :) Some people like me don't always use the PM pop-up to notify of new PM's. So I often look at the menu for this when I first login to a site.
I always disable the pop-up and look at the counter...heh.
Title: Re: Menu Editor Lite
Post by: Kindred on April 17, 2012, 12:05:04 PM
I will note that ANY change to the navigation menu removes this.... 

For example, at one point, I moved the PM menu to be a submenu item of "User Stuff" (like profile, etc).  By moving it to a sub menu, it stopped displaying new PMs...

Title: Re: Menu Editor Lite
Post by: Matthew K. on April 17, 2012, 12:20:47 PM
@Brad - I don't believe something as small as a counter is really a "feature". I agree it'd be nice, but I don't think it's something big enough to say "Hey, I remove this!!!!" because in reality, many mods remove "small" things that I wouldn't even consider "features".

@Yoshi - Me too. I never use the PM popup cause it's annoying when you can just look in the menu.

@Kindred - Actually, I think the counter stays as long as the array location stays the same, the count is added in later down in Subs.php, to the location of the PM button, you might actually get undefined errors if you move the PM button and don't correct the PM counter location.
Title: Re: Menu Editor Lite
Post by: IchBin™ on April 17, 2012, 01:19:04 PM
Quote from: Labradoodle-360 on April 17, 2012, 12:20:47 PM
@Brad - I don't believe something as small as a counter is really a "feature". I agree it'd be nice, but I don't think it's something big enough to say "Hey, I remove this!!!!" because in reality, many mods remove "small" things that I wouldn't even consider "features".

That's fine if you don't agree, but software development disagree's with you. :D I could see removing a link, or text, or image or something not being a feature. But a feature usually serves some functionality in most cases. Like being able to tell if you have unread PM's. It's fine if you don't want to let everyone know, but it'll save you from having to answer to the next person that comes along wondering why their PM notification option disappeared from their menu. :)
Title: Re: Menu Editor Lite
Post by: Matthew K. on April 17, 2012, 01:22:56 PM
I never said I don't think it should be included, but simply not in this version. But I also don't think it's specifically a PROBLEM.
Title: Re: Menu Editor Lite
Post by: Josh101 on April 17, 2012, 02:56:00 PM
He just simply said the pm counter is a PRO feature not a FREE feature. I guess this may sound bad making what once was a free feature now you must pay for it if you want any support but I assume that he has to provided extra coding for this to work and in such this extra coding is what you will pay for in the PRO version. I hope this helps.
Title: Re: Menu Editor Lite
Post by: NanoSector on April 17, 2012, 02:56:30 PM
The Pro version will be free ;)
Title: Re: Menu Editor Lite
Post by: Matthew K. on April 17, 2012, 02:58:22 PM
Thank you for explaining it, Josh! :) Basically, I don't want to spend time patching up the lite version with improvements when the Pro version will contain everything you can dream of, including a PM button counter (optional).

But Yoshi is also right, the pro version will also be free.
Title: Re: Menu Editor Lite
Post by: Josh101 on April 17, 2012, 08:54:08 PM
Free both ways ok cool. So I got tiny portal for my "Page editor"  ;) Which oddly are called articles. So is there a way or will be a way to add articles aka pages to the navigation using lite/pro mods. 
Title: Re: Menu Editor Lite
Post by: Matthew K. on April 17, 2012, 08:58:29 PM
Menu Editor Pro will provide support for portal pages, to easily add buttons for them. You can use an external link to it now.
Title: Re: Menu Editor Lite
Post by: OCJ on April 17, 2012, 11:21:26 PM
It was great to see this mod when it first arrived... except that the free version had  'side effects' like losing other mod menu items etc ... but not the pro version.
And the pro version was to be 50$/yr.

I guess you spent a lot of time on it but people get several professional themes for that with a years support and upgrade. Just for 1 mod doing what SMF should really do is pushing it.

I decided straight away I wouldn't be paying that price. It seems like a few others don't like the pro version offering features that recover changes made by the free version.

Then the free pro version comment...

I think better to have a donation for it, and really make it clear without a minimum donation it might not be maintained. I personally would give something - it is a much needed mod until hopefully this functionality is included in smf 3.0.
Or perhaps only offer customizing support with small paypal payment. I think people who make those requests can pay a little.

Title: Re: Menu Editor Lite
Post by: Mstcool on April 28, 2012, 03:55:08 PM
It removes the forum link
how can i prevent that from happening
Title: Re: Menu Editor Lite
Post by: Matthew K. on April 28, 2012, 04:02:42 PM
Add your own :)
Title: Re: Menu Editor Lite
Post by: Mstcool on April 28, 2012, 10:23:28 PM
But still why does it
Title: Re: Menu Editor Lite
Post by: Matthew K. on April 29, 2012, 12:42:04 AM
Read the readme..........that helps
Title: Re: Menu Editor Lite
Post by: NanoSector on April 29, 2012, 04:31:15 AM
Quote from: Mstcool on April 28, 2012, 03:55:08 PM
It removes the forum link
how can i prevent that from happening
That's the whole point of this mod, allowing you to edit the menu buttons...
Title: Re: Menu Editor Lite
Post by: Greybrow on May 01, 2012, 07:52:11 PM
I just love this menu editor. It made my life a lot easier.
But I wanted to have pm count on menu, so I hacked a bit and found a solution.

in Sources\menu_source\resources\main.php (should be line 899) change:
$buttons[$value['id_button']] = array(
'title' => $value['name'],
'href' => $value['href'],
'show' => true,
'target' => $value['target'],
'sub_buttons' => array(
),
'is_last' => $value['id_button'] == $menu_editor['last_button'] ? !$context['right_to_left'] : '',
'level' => 0
);
// Do we have Children?
if (!empty($menu_editor['children']['actual'][$value['id_button']]))
{
$buttons[$value['id_button']]['sub_buttons'] = array();
foreach ($menu_editor['children']['actual'][$value['id_button']] as $act => $sub_value)
{
// Introduce the Grandchildren - If we have any.
if (!empty($menu_editor['grandchildren']['actual'][$sub_value['id_button']]))
$temp[$sub_value['id_button']]['sub_buttons'] = $menu_editor['grandchildren']['actual'][$sub_value['id_button']];
else
$temp[$sub_value['id_button']]['sub_buttons'] = array();

// Actually add the Children!
$buttons[$sub_value['id_parent']]['sub_buttons'][$sub_value['id_button']] = array(
'title' => $sub_value['title'],

to:
// lets check if there are some unread pm and add the count if any
$title = '';
if ($context['user']['unread_messages'] > 0 && $value['href'] == $scripturl . '?action=pm')
$title = $value['name'] .' [<strong>' . $context['user']['unread_messages'] . '</strong>]';
else
$title = $value['name'];
// there goes the menu item
$buttons[$value['id_button']] = array(
'title' => $title,
'href' => $value['href'],
'show' => true,
'target' => $value['target'],
'sub_buttons' => array(
),
'is_last' => $value['id_button'] == $menu_editor['last_button'] ? !$context['right_to_left'] : '',
'level' => 0
);
// Do we have Children?
if (!empty($menu_editor['children']['actual'][$value['id_button']]))
{
$buttons[$value['id_button']]['sub_buttons'] = array();
foreach ($menu_editor['children']['actual'][$value['id_button']] as $act => $sub_value)
{
// lets check again if there are some unread pm and add the count if any to children
$title = '';
if ($context['user']['unread_messages'] > 0 && $sub_value['href'] == $scripturl . '?action=pm')
$title = $sub_value['title'] .' [<strong>' . $context['user']['unread_messages'] . '</strong>]';
else
$title = $sub_value['title'];
// Introduce the Grandchildren - If we have any.
if (!empty($menu_editor['grandchildren']['actual'][$sub_value['id_button']]))
$temp[$sub_value['id_button']]['sub_buttons'] = $menu_editor['grandchildren']['actual'][$sub_value['id_button']];
else
$temp[$sub_value['id_button']]['sub_buttons'] = array();

// Actually add the Children!
$buttons[$sub_value['id_parent']]['sub_buttons'][$sub_value['id_button']] = array(
'title' => $title,


It adds unread pm counter to menu item if you set it as internal link to personal messages.
I claim no copyright (it all goes to Labradoodle-360) and give no warranty that it works or destroys your forum.
But it works for me so I hope it helps.
Title: Re: Menu Editor Lite
Post by: Matthew K. on May 01, 2012, 07:54:32 PM
Thank you very much for your contribution, I just didn't have time to write the edit up for people. You could make it more streamline, although your code will still work efficiently, and for any link with ?action=pm in it, so even an external link, theoretically.

Although I would appreciate if you removed the package with the change, the code edit is great though :)

Thanks,
Matthew "Labradoodle-360" K.
Title: Re: Menu Editor Lite
Post by: Greybrow on May 01, 2012, 07:56:32 PM
Done :)
It should work only for internal links as it is $scripturl + ?action=pm
Title: Re: Menu Editor Lite
Post by: Yngwiedis on May 01, 2012, 08:25:29 PM
Hello...

When i make the above edit i get this error:
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/********/public_html/Sources/menu_source/resources/main.php on line 900

Can you please help ?

Thank you.
Title: Re: Menu Editor Lite
Post by: Greybrow on May 01, 2012, 08:52:55 PM
Check again if you replaced the code properly.
Have you clicked [Select] and then copy?
Title: Re: Menu Editor Lite
Post by: Yngwiedis on May 01, 2012, 09:03:40 PM
Yes. I already try over 5 times.

The error is related with that line:
$title = '';
Title: Re: Menu Editor Lite
Post by: Greybrow on May 01, 2012, 09:54:06 PM
And you have replaced the old code with new, not just added it?
Title: Re: Menu Editor Lite
Post by: Yngwiedis on May 01, 2012, 10:02:20 PM
Yes. I replace the old code with the new code.
I am not so noob :)
Title: Re: Menu Editor Lite
Post by: Greybrow on May 01, 2012, 10:05:57 PM
:)
I don't know what could go wrong. It works for me just fine :)
So maybe try replace whole subsFunc1() function?
/**
* subsFunc1()
*
* @return
*/
function subsFunc1()
{

// Globalize everything we'll need...
global $scripturl, $context, $txt, $menu_editor;

// Redefine the array
$buttons = array();

// Call our items.
MenuItems();

// Top Level
if (!empty($menu_editor['actual']))
{
$menu_editor['first_button'] = reset($menu_editor['actual']);;
$menu_editor['last_button'] = end($menu_editor['actual']);
foreach ($menu_editor['actual'] as $key => $value)
{
// lets check if there are some unread pm and add the count if any
$title = '';
if ($context['user']['unread_messages'] > 0 && $value['href'] == $scripturl . '?action=pm')
$title = $value['name'] .' [<strong>' . $context['user']['unread_messages'] . '</strong>]';
else
$title = $value['name'];
// there goes the menu item
$buttons[$value['id_button']] = array(
'title' => $title,
'href' => $value['href'],
'show' => true,
'target' => $value['target'],
'sub_buttons' => array(
),
'is_last' => $value['id_button'] == $menu_editor['last_button'] ? !$context['right_to_left'] : '',
'level' => 0
);
// Do we have Children?
if (!empty($menu_editor['children']['actual'][$value['id_button']]))
{
$buttons[$value['id_button']]['sub_buttons'] = array();
foreach ($menu_editor['children']['actual'][$value['id_button']] as $act => $sub_value)
{
// lets check again if there are some unread pm and add the count if any to children
$title = '';
if ($context['user']['unread_messages'] > 0 && $sub_value['href'] == $scripturl . '?action=pm')
$title = $sub_value['title'] .' [<strong>' . $context['user']['unread_messages'] . '</strong>]';
else
$title = $sub_value['title'];
// Introduce the Grandchildren - If we have any.
if (!empty($menu_editor['grandchildren']['actual'][$sub_value['id_button']]))
$temp[$sub_value['id_button']]['sub_buttons'] = $menu_editor['grandchildren']['actual'][$sub_value['id_button']];
else
$temp[$sub_value['id_button']]['sub_buttons'] = array();

// Actually add the Children!
$buttons[$sub_value['id_parent']]['sub_buttons'][$sub_value['id_button']] = array(
'title' => $title,
'href' => $sub_value['href'],
'show' => true,
'target' => $sub_value['target'],
'sub_buttons' => $temp[$sub_value['id_button']]['sub_buttons'],
'is_last' => '',
'level' => 1
);
}
}
}
}
// No menu items? And we can admin? Show two items so we're not stuck! # Saves support time ::angel_smiley::
elseif (empty($menu_editor['actual']) && $context['allow_admin'])
{
$buttons = array(
'home' => array(
'title' => $txt['home'],
'href' => $scripturl,
'show' => true,
'target' => '_self',
'sub_buttons' => array(
),
'is_last' => $context['right_to_left'],
'level' => 0
),
'admin' => array(
'title' => $txt['admin'],
'href' => $scripturl . '?action=admin',
'show' => $context['allow_admin'],
'target' => '_self',
'sub_buttons' => array(
),
'is_last' => !$context['right_to_left'],
'level' => 0
)
);
}

// Then return the array to Subs.php!
return $buttons;

}
Title: Re: Menu Editor Lite
Post by: Yngwiedis on May 01, 2012, 10:27:26 PM
Now is working fine :)

Thank you very very much ;)
Title: Re: Menu Editor Lite
Post by: Greybrow on May 02, 2012, 05:09:02 AM
I suppose you deleted accidentally '{' from before $title='';
Glad it works :)
Title: Re: Menu Editor Lite
Post by: Yngwiedis on May 02, 2012, 05:13:53 AM
As i said before i just copy and paste.
Is very difficult to "delete accidentally" something for 5 times. 
:)
Title: Re: Menu Editor Lite
Post by: Matthew K. on May 02, 2012, 11:41:35 AM
There's no way you did a complete copy and paste...because his code is fine syntax wise. You had to have accidentally messed up some of the syntax prior to the block, or in the block.
Title: Re: Menu Editor Lite
Post by: Yngwiedis on May 03, 2012, 11:49:20 AM
I can give you my file to check for yourself.
I did everything as should be and i get the error i said.

Maybe is something incompatible with PHP version on my server or something like it...
Title: Re: Menu Editor Lite
Post by: Matthew K. on May 03, 2012, 12:14:05 PM
Nothing changed between the code he says to use, and the function he gave you...
Title: Re: Menu Editor Lite
Post by: Yngwiedis on May 03, 2012, 12:47:22 PM
OK then. Maybe i am crazy and i don't know what i do...
Title: Re: Menu Editor Lite
Post by: Tony_R on May 10, 2012, 06:20:45 AM
Hello !

I was asked in a different Thread to post my Errors here :-

http://xxxxxxxxxxx/index.php?action=admin;area=logs;sa=errorlog;desc;start=0
2: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array
Datei: /www/htdocs/xxxxxxx/xxxxxxx/Sources/PortaMx/PortaMxIntegrate.php

Without Menu Editor Lite installed, I do definately not become these Errors.

I have a total of 167 Errors !

Many Thanks
Title: Re: Menu Editor Lite
Post by: Matthew K. on May 10, 2012, 10:49:11 AM
This probably was actually brought up earlier in the topic.
Title: Re: Menu Editor Lite
Post by: trekkie2444 on May 16, 2012, 04:46:59 AM
How is the pro version coming along?
Title: Re: Menu Editor Lite
Post by: gpflyfishing on May 16, 2012, 04:31:35 PM
There are a lot of reply's on this issue that I am having but was hoping to get a consolidated answer.  I updated my smf forum with menu lite 1.05 and all of my menu options disappeared.  Is there an easy fix for this?  http://www.gpflyfishing.com/forum/index.php
Title: Re: Menu Editor Lite
Post by: Kindred on May 16, 2012, 08:30:40 PM
You have to manually add all of the menu items after adding the mod
Title: Re: Menu Editor Lite
Post by: gpflyfishing on May 17, 2012, 09:17:46 AM
Gave this a shot and still nothing when using my desired theme.  I changed themes and everything is working.  How do I go about updating the theme I want to be compatible with menu editor?
Title: Re: Menu Editor Lite
Post by: Kindred on May 17, 2012, 11:42:03 AM
you'll have to manually edit the theme template files.
Title: Re: Menu Editor Lite
Post by: IchBin™ on May 17, 2012, 01:26:47 PM
I don't believe there are any templates files in this mod that need to be edited. It uses the hooks to tie into the menu system in Subs.php IIRC.

gpflyfishing (love fishing by the way :D) I'm guessing you are using a theme that is creating it's own custom menu. Which theme are you using? Does it do this on all themes for you, or just the one in particular?
Title: Re: Menu Editor Lite
Post by: Matthew K. on May 17, 2012, 01:35:57 PM
This modification does not utilize hooks to modify the menu, although I basically do the same thing hooks do. And there are no template edits in the modification as IchBin has already stated.
Title: Re: Menu Editor Lite
Post by: IchBin™ on May 17, 2012, 01:41:52 PM
Ah so you're hackin it up? ;) I remembered seeing a hooks file in your package at one time....
Title: Re: Menu Editor Lite
Post by: Matthew K. on May 17, 2012, 01:42:34 PM
Yep. And yeah, it uses hooks, just not for the actual menu items.
Title: Re: Menu Editor Lite
Post by: Kindred on May 17, 2012, 02:15:04 PM
right...   which makes sense, since, in this case, you are REPLACING the menu, not adding to it.
Title: Re: Menu Editor Lite
Post by: Matthew K. on May 17, 2012, 02:37:38 PM
Correct...
Title: Re: Menu Editor Lite
Post by: AndreasN on May 26, 2012, 04:30:28 PM
After installing my webpage turns completely blanc. What happened and what can i do to change this????

Forget it, i got it fixed by reading the forum. Thanks anyway. ;)
Title: Re: Menu Editor Lite
Post by: Matthew K. on May 27, 2012, 12:17:37 AM
Fantastic, glad to hear you got your forum fixed :)
Title: Re: Menu Editor Lite
Post by: AndreasN on May 27, 2012, 04:08:57 AM
Sure! The only thing is your mod doesn't work. Any clues?
Title: Re: Menu Editor Lite
Post by: Kindred on May 27, 2012, 09:31:16 AM
well, the fact is... the mod works just fine, when it is installed correctly.

I tried this mod out on a site with 160+ mods, and it worked just peachy.

If the mod is not working for you, then (likely)
a) there were errors in the installation that you did not work around/correct
b) you did a manual installation and missed something
Title: Re: Menu Editor Lite
Post by: Iomega0318 on May 29, 2012, 10:01:40 AM
So I installed this and two of my menu items disappeared.. they were added in by other mods, any ideas?
Title: Re: Menu Editor Lite
Post by: Kindred on May 29, 2012, 10:02:29 AM
you have to manually add in EVERY menu item for the lite version....

in other words, if mods tried to add new links, you will have to add them manually.
Title: Re: Menu Editor Lite
Post by: Iomega0318 on May 29, 2012, 10:13:35 AM
Quote from: Kindred on May 29, 2012, 10:02:29 AM
you have to manually add in EVERY menu item for the lite version....

in other words, if mods tried to add new links, you will have to add them manually.
Well the links were already there, I assume that means that this mod also removes links installed by mods before installing this mod?.. Weirdness but ok.. I went ahead and re-added the links, luckily there were only two of them lol..
Title: Re: Menu Editor Lite
Post by: Kindred on May 29, 2012, 02:20:24 PM
no, this mod does not remove ANY links...

the mod replaces the menu completely...   which means that EVERYTHING in the menu will have to be entered after installing this mod.
Title: Re: Menu Editor Lite
Post by: Iomega0318 on May 29, 2012, 08:27:41 PM
Quote from: Kindred on May 29, 2012, 02:20:24 PM
no, this mod does not remove ANY links...

the mod replaces the menu completely...   which means that EVERYTHING in the menu will have to be entered after installing this mod.
Ahh ok, so basically it replaces the old menu with it's own so the links that "were" installed never really existed on this mod.. I think I got you now.
Title: Re: Menu Editor Lite
Post by: Mstcool on May 29, 2012, 10:33:30 PM
Well to be honest you have to add them again
Takes less then a min to add more then 2 ya know

Just put the link LOL
Title: Re: Menu Editor Lite
Post by: Iomega0318 on May 30, 2012, 12:28:05 PM
So just made a link using the Unread posts/reply options and guests can see it.. that's not right is it?
Title: Re: Menu Editor Lite
Post by: Mstcool on May 30, 2012, 03:41:35 PM
Well i think it is a good mod and its perfect
your opinion
Title: Re: Menu Editor Lite
Post by: Kindred on May 30, 2012, 03:51:51 PM
huh, MSTCool, what was that in response to?

IOmega...  if you put the link in the menu and did not restrict it, then, yes... it will show up for guests (and no, it should not, so you will have to edit the permissions for the menu item)
Title: Re: Menu Editor Lite
Post by: Mstcool on May 30, 2012, 05:55:51 PM
Nvm
Title: Re: Menu Editor Lite
Post by: Iomega0318 on May 30, 2012, 07:19:58 PM
Quote from: Kindred on May 30, 2012, 03:51:51 PM
huh, MSTCool, what was that in response to?

IOmega...  if you put the link in the menu and did not restrict it, then, yes... it will show up for guests (and no, it should not, so you will have to edit the permissions for the menu item)
Umm through the mod lol? Sorry for being dumb but never noticed any restrictions for it.. or permissions to see it lol..
Title: Re: Menu Editor Lite
Post by: trekkie2444 on June 02, 2012, 10:12:05 PM
Is there a tutorial for keeping the hooks for at least the messages button? (and maybe how to find the hooks for other buttons)
Title: Re: Menu Editor Lite
Post by: Matthew K. on June 02, 2012, 10:33:24 PM
Hooks for the messages button...?
Title: Re: Menu Editor Lite
Post by: MovedGoalPosts on June 10, 2012, 12:07:47 PM
Is it possible to get the menu buttons added by this mod to highlight when selected and active?  i.e if you click SMF's "Profile" link the button highlights orange when you are on that link, presumably something to do with the action= in the clicked link.

I'm trying to add a number of portal created pages, and whilst I can create those as external http type links, if they are selected the highlighted button reverts to "Home".

I'm even noting that the menu link I had to add back to "Forum" as I run a portal, looses it's highlight back to "home" once you click within the forum to board categories, etc.

If it isn't possible to highlight the active menu area, then can the active area thing be completely disabled?

SMF 2.0.2
SimplePortal 2.3.5
Quite a few mods added...
Title: Re: Menu Editor Lite
Post by: KarmicStigmata on June 23, 2012, 11:16:15 PM
I love your mod and I have used it for a while...
Yet I am encountering a problem, I suddenly can't use it.
It installs perfectly fine (no errors)... but when I click Internal Link or External Link I am no longer getting the secondary url or drop down box O_O.  I have no options after that point...
Title: Re: Menu Editor Lite
Post by: Matthew K. on June 24, 2012, 12:52:26 AM
Do you have JavaScript enabled? Any errors in the console (debugging console, NOT SMF)?
Title: Re: Menu Editor Lite
Post by: KarmicStigmata on June 24, 2012, 03:19:26 AM
I'm not seeing any errors, I think its from one of my mods.  I'm uninstalling them and seeing which one it is... Because I did a clean install and it was fine... I'll tell you which mod has the issue.
Title: Re: Menu Editor Lite
Post by: SoSad on June 24, 2012, 04:23:52 AM
How can I HIDE my custom menus from GUESTS? Please help. Thank you soo much.
Title: Re: Menu Editor Lite
Post by: Matthew K. on June 24, 2012, 10:39:47 AM
Quote from: KarmicStigmata on June 24, 2012, 03:19:26 AM
I'm not seeing any errors, I think its from one of my mods.  I'm uninstalling them and seeing which one it is... Because I did a clean install and it was fine... I'll tell you which mod has the issue.
yeah, definitely let me know. I have an idea about what it is, but we'll see.

Quote from: SoSad on June 24, 2012, 04:23:52 AM
How can I HIDE my custom menus from GUESTS? Please help. Thank you soo much.
you can't hide custom buttons on a permission level in the lite version.
Title: Re: Menu Editor Lite
Post by: SoSad on June 24, 2012, 03:29:45 PM
Is there another version? Can you send me a link?
Title: Re: Menu Editor Lite
Post by: KarmicStigmata on June 24, 2012, 03:31:24 PM
To help ease myself as well as you, I'll list all the mods I am using so you have a compatibility list for Menu Editor Lite too, and yes my website is heavily modded for what I need it to do.  Hence why Menu Editor is so epic !

Mods Tested to Work



EZPortal
Activity Bar
Ad Management
Admin Toolbox
ADK Avatar User State
ADK Blog
Custom Action Mod
Custom Form Mod
eNotify
AutoAward
SMFShop

Avatar Select
BK-SMF Favicon and Custom Global HTML
Caps Lock Detection on Login
Count descendants posts in total
RSS Feed Icon
Advance Fake Guests n Users Online
Global Headers and Footers
Google Member Map
Google Translate
Medal of Honor for Years
Membergroup Prefixes

More Spiders
Nice Tooltips
Quick Indication Change
Reg Bar Warning
Event Registration Mod for SMF2
Event Reminder
RSS Feed Poster
SA Facebook Integration
Separated Birthdays From Events
SMF Bay Lite
SMF Quiz
SMF Archive
SMF Articles
Contact Page
SMF Gallery Lite Edition
SMF Social Network Lite
SMF Staff
Tagging System
Topic Rating Bar
Transparent Offline Avatars
Voter Visibility
Welcome Topic

Conflicting Mods

SA Chat - When attempting an install it states that there are no conflicts; however, when loading up Menu Editor Lite it does not display Internal/External Link.  This is kind of strange because I have used the two together in the past.


Hopefully, that is enough information to help you figure it out.  I am going to back up my site from here and attempt to figure it myself as well.  If one of us can figure out the issue it will be of great help ^_^
Title: Re: Menu Editor Lite
Post by: Matthew K. on June 24, 2012, 03:56:56 PM
Quote from: SoSad on June 24, 2012, 03:29:45 PM
Is there another version? Can you send me a link?
Haven't had a chance yet to finish Menu Editor Pro, it'll be paid though most likely.

Quote from: KarmicStigmata on June 24, 2012, 03:31:24 PM
To help ease myself as well as you, I'll list all the mods I am using so you have a compatibility list for Menu Editor Lite too, and yes my website is heavily modded for what I need it to do.  Hence why Menu Editor is so epic !

Mods Tested to Work



EZPortal
Activity Bar
Ad Management
Admin Toolbox
ADK Avatar User State
ADK Blog
Custom Action Mod
Custom Form Mod
eNotify
AutoAward
SMFShop

Avatar Select
BK-SMF Favicon and Custom Global HTML
Caps Lock Detection on Login
Count descendants posts in total
RSS Feed Icon
Advance Fake Guests n Users Online
Global Headers and Footers
Google Member Map
Google Translate
Medal of Honor for Years
Membergroup Prefixes

More Spiders
Nice Tooltips
Quick Indication Change
Reg Bar Warning
Event Registration Mod for SMF2
Event Reminder
RSS Feed Poster
SA Facebook Integration
Separated Birthdays From Events
SMF Bay Lite
SMF Quiz
SMF Archive
SMF Articles
Contact Page
SMF Gallery Lite Edition
SMF Social Network Lite
SMF Staff
Tagging System
Topic Rating Bar
Transparent Offline Avatars
Voter Visibility
Welcome Topic

Conflicting Mods

SA Chat - When attempting an install it states that there are no conflicts; however, when loading up Menu Editor Lite it does not display Internal/External Link.  This is kind of strange because I have used the two together in the past.


Hopefully, that is enough information to help you figure it out.  I am going to back up my site from here and attempt to figure it myself as well.  If one of us can figure out the issue it will be of great help ^_^
Just a suggestion completely off topic of Menu Editor Lite, check out the updates for Global Headers and Footers, and Regbar Warning, I updated them both recently.

The problem here is related to jQuery, I'd have to look at how SA Chat implements jQuery,
Title: Re: Menu Editor Lite
Post by: Arantor on June 24, 2012, 03:57:43 PM
The reason why most of those work is not because they're awesome but because most of them don't actually edit the menu bar. Virtually any mod that edits the menu bar will have issues one way or another...
Title: Re: Menu Editor Lite
Post by: Matthew K. on June 24, 2012, 04:02:26 PM
The problem the user is experiencing is an issue related to jQuery not functioning. So most likely both of our modifications are conflicting their jQuery edits.
Title: Re: Menu Editor Lite
Post by: KarmicStigmata on June 24, 2012, 04:33:42 PM
The issue has nothing to do with the menu bar and all the mod I've downloaded are up to date.  Unless you upgraded them today... but.. yeah I think it is an eas
Quote from: Arantor on June 24, 2012, 03:57:43 PM
The issue isn't stemming from the menu, it is a part of the mod in question not working.  Its not an essential mod, so its not a big issue to me.
Quote from: Labradoodle-360 on June 24, 2012, 04:02:26 PM
The problem the user is experiencing is an issue related to jQuery not functioning. So most likely both of our modifications are conflicting their jQuery edits.
That's what it seems to be, I'm going to compare and see what I have to fix.
Title: Re: Menu Editor Lite
Post by: SoSad on June 24, 2012, 04:57:45 PM
Quote from: movedgoalposts on June 10, 2012, 12:07:47 PM
Is it possible to get the menu buttons added by this mod to highlight when selected and active?  i.e if you click SMF's "Profile" link the button highlights orange when you are on that link, presumably something to do with the action= in the clicked link.

I'm trying to add a number of portal created pages, and whilst I can create those as external http type links, if they are selected the highlighted button reverts to "Home".

I'm even noting that the menu link I had to add back to "Forum" as I run a portal, looses it's highlight back to "home" once you click within the forum to board categories, etc.

If it isn't possible to highlight the active menu area, then can the active area thing be completely disabled?

SMF 2.0.2
SimplePortal 2.3.5
Quite a few mods added...

We have the same problem. Can anyone help?
Title: Re: Menu Editor Lite
Post by: Matthew K. on June 24, 2012, 05:22:21 PM
All actions should be highlighted if you are visiting the action using this modification. However ?page= support is not yet added, and will not be added to the lite version of Menu Editor.
Title: Re: Menu Editor Lite
Post by: SoSad on June 24, 2012, 05:28:04 PM
Quote from: Labradoodle-360 on June 24, 2012, 05:22:21 PM
All actions should be highlighted if you are visiting the action using this modification. However ?page= support is not yet added, and will not be added to the lite version of Menu Editor.

Okiez. Thanks. I hope the pro version is just cheap so I can afford. :)
This limitation makes me wanna learn PHP too. :))
Title: Re: Menu Editor Lite
Post by: Matthew K. on June 24, 2012, 05:30:56 PM
A lot of the things that have been requested here are relatively easy to implement, or small. But all of them are in the pro version, plus a lot more big features, enhancements, additions, and changes.

I'd love to implement more things into the lite version, but then I am kind of wasting my time rather than putting the time into finishing the pro version.
Title: Re: Menu Editor Lite
Post by: Kat9119 on June 27, 2012, 12:47:40 PM
Just installed this on a test forum on my local machine, its fairly free of other mods, and I'm using the Core theme with color changes.

I noticed as soon as I installed this - before adding any new links to the menu (and after) - the end of the menu image was cut off. Here's a photo attached to show you.

Not sure which code to show to fix this

EDIT: I just noticed it also removed "My  Bookmarks" from the menu. Strange
Title: Re: Menu Editor Lite
Post by: Mstcool on June 27, 2012, 03:45:03 PM
for the removing part uhm
This mod removes all the menus and you will have to add them again

for the cut off part idk :P
Title: Re: Menu Editor Lite
Post by: NanoSector on June 27, 2012, 05:30:45 PM
Quote from: Kat9119 on June 27, 2012, 12:47:40 PM
Just installed this on a test forum on my local machine, its fairly free of other mods, and I'm using the Core theme with color changes.

I noticed as soon as I installed this - before adding any new links to the menu (and after) - the end of the menu image was cut off. Here's a photo attached to show you.

Not sure which code to show to fix this

EDIT: I just noticed it also removed "My  Bookmarks" from the menu. Strange
Which SMF version are you using?
Title: Re: Menu Editor Lite
Post by: Kat9119 on June 27, 2012, 09:04:58 PM
Quote from: Yoshi2889 on June 27, 2012, 05:30:45 PM
Quote from: Kat9119 on June 27, 2012, 12:47:40 PM
Just installed this on a test forum on my local machine, its fairly free of other mods, and I'm using the Core theme with color changes.

I noticed as soon as I installed this - before adding any new links to the menu (and after) - the end of the menu image was cut off. Here's a photo attached to show you.

Not sure which code to show to fix this

EDIT: I just noticed it also removed "My  Bookmarks" from the menu. Strange
Which SMF version are you using?

Oops, sorry I'm using 2.0.2 with only a few mods installed:

Ad Management
Bookmarks
Inline Hover Spoiler
MetaTags Modification
Related Topics (not installed any longer, but still uploaded)
Separate Replies & Views Colum (not installed yet but will be shortly)
The Rules
Treasury
Ultimate Profile
Users Online Today

I installed Menu Editor Lite as the 2nd mod installed, but when I didn't get the results I wanted I uninstalled until I could get an answer and went on installing others ;)
Title: Re: Menu Editor Lite
Post by: Matthew K. on June 30, 2012, 11:43:09 PM
The issue with the menu being cut off is most likely due to it not putting 'is_last' => true for the logout button.
Title: Re: Menu Editor Lite
Post by: Kat9119 on June 30, 2012, 11:56:25 PM
Quote from: Labradoodle-360 on June 30, 2012, 11:43:09 PM
The issue with the menu being cut off is most likely due to it not putting 'is_last' => true for the logout button.

I'll have to give it another install and pay closer attention to whats going on with everything. Not sure if I need to use it now I got the banner linked back to my homepage. We'll see.
Title: Re: Menu Editor Lite
Post by: Matthew K. on June 30, 2012, 11:59:14 PM
Okay, well, definitely let me know if you have any further questions or problems.
Title: Re: Menu Editor Lite
Post by: AlkaSeltxer on July 06, 2012, 04:50:24 PM
Quote from: KarmicStigmata on June 23, 2012, 11:16:15 PM
I love your mod and I have used it for a while...
Yet I am encountering a problem, I suddenly can't use it.
It installs perfectly fine (no errors)... but when I click Internal Link or External Link I am no longer getting the secondary url or drop down box O_O.  I have no options after that point...


I had a similar problem. After uninstalling all my mods, and still not seeing it. I parsed the Menu Editor Lite mod and noticed it included some of its own related sub-directories in the default theme.

Move the included directory "/resources/menu_templates" to "./Themes/default".
Move the included directory "/resources/menu_language" to "./Themes/default/languages".
Move the included directory "/resources/menu_images" to "./Themes/default/images".
Move the included directory "/resources/menu_css" to "./Themes/default/css".
Move the included directory "/resources/menu_scripts" to "./Themes/default/scripts".

One that stuck out was Themes\default\scripts\menu_scripts. So I copied that folder over to my custom theme's script folder, and that fixed it for me.

Afterwords I moved the rest to my custom theme directory as well, just to make sure nothing else was missed. But just moving Themes\default\scripts\menu_scripts to my custom themes script folder actually fixed that problem for me.

My theme is Argentum for SMF2.0/TinyPortal.
Title: Re: Menu Editor Lite
Post by: Rionrace on July 21, 2012, 01:46:16 PM
I have just installed this mod and I got the following:

QuoteFatal error: Call to undefined function subsfunc1() in /home/klaasenb/domains/riflescommunity.com/public_html/forums/Sources/Subs.php on line 4153

Now I don't have any functionality left in my forum.
Title: Re: Menu Editor Lite
Post by: Matthew K. on July 21, 2012, 02:55:24 PM
Make sure all of the files were added.
Title: Re: Menu Editor Lite
Post by: NanoSector on July 21, 2012, 03:36:56 PM
Quote from: Rionrace on July 21, 2012, 01:46:16 PM
I have just installed this mod and I got the following:

QuoteFatal error: Call to undefined function subsfunc1() in /home/klaasenb/domains/riflescommunity.com/public_html/forums/Sources/Subs.php on line 4153

Now I don't have any functionality left in my forum.
Can you attach said file in your next post, please?
Title: Re: Menu Editor Lite
Post by: eastfishville on August 10, 2012, 05:34:57 PM
Please help! I installed this along with many other packages last night, and after installing, I can not get back in my forum at all. I keep getting the message:

Parse error: syntax error, unexpected T_IF in /home/a6885587/public_html/forum/Sources/Subs.php on line 4335

I'm very new at this, I don't know how to manually uninstall or There was nothing I could do but reinstall SMF, which was fine as far as all my data still being there, but all my mods were gone. Today I deleted the mod I thought was the culprit, but it turns out I was wrong and it happened again. Is there anything I can do to uninstall the mod without starting over again?
Title: Re: Menu Editor Lite
Post by: Matthew K. on August 10, 2012, 05:38:45 PM
Hey there, welcome to the SMF Community!

Sorry to see that you are experiencing an issue with your forum. Go ahead and attach ./forum/Sources/Subs.php and I'll help you fix it :)
Title: Re: Menu Editor Lite
Post by: eastfishville on August 10, 2012, 05:54:51 PM
Wow, that was quick!

I actually was just coming back to say never mind, it occurred to me that I could just restore the files from the .php~ versions, so I started with the Subs.php and I'm back in!  :D

Not going to try installing it again, though - I'm sure it works fine, there's nothing wrong with the mod, but I put in so many mods at the same time I'm amazed I didn't end up with a problem sooner. Thanks for getting back to me so quickly!
Title: Re: Menu Editor Lite
Post by: Matthew K. on August 10, 2012, 05:56:57 PM
Oh okay, well not a problem. If you want me to try and install it for you, I can definitely do that. At any point, feel free to send me a PM if you have any questions or need help with anything.

Note to others reading this topic: Please don't think the above offer stands for everyone. Only PM me if I ask.
Title: Re: Menu Editor Lite
Post by: Kindred on August 10, 2012, 07:50:38 PM
also, please note a few things...

First, you should never install "many" packages at once.
You should always install one, check to make sure it works and did not mess up anything and then install the next.
It also helps to take backups between installs.

second, deleting a mod does not actually remove it.. you have to uninstall BEFORE you delete it.
Title: Re: Menu Editor Lite
Post by: sayl3r on August 11, 2012, 05:13:05 PM
can i remove any menu in smf with this mod?
Title: Re: Menu Editor Lite
Post by: Matthew K. on August 11, 2012, 05:17:43 PM
Any main menu item, yes.
Title: Re: Menu Editor Lite
Post by: sayl3r on August 11, 2012, 05:24:14 PM
how?!i instaled this mod.....but i cant remove the menus.
Title: Re: Menu Editor Lite
Post by: Matthew K. on August 11, 2012, 05:28:45 PM
Go to the menu editor admin panel page...
Title: Re: Menu Editor Lite
Post by: sayl3r on August 11, 2012, 05:34:42 PM
Quote from: Labradoodle-360 on August 11, 2012, 05:28:45 PM
Go to the menu editor admin panel page...
tnx.
my forum had 1 problem when i fixed it this editor worked.....
Title: Re: Menu Editor Lite
Post by: eastfishville on August 11, 2012, 06:15:11 PM
Labradoodle-360, thank you, I appreciate it, it was something I felt might be handy down the road somewhere, I just don't need it at the present time.

Kindred, I did check to make sure things worked before installing the next mod, thank you, I may be new to SMF but I'm not an idiot. Not too sure how that made any difference in this situation, though, since I really have no way of knowing whether a new mod is going to play well with the previously installed mods until I install it. As for backups, I got over 90 mods installed just fine, about half of them twice, and did a complete reinstall of SMF, in less time that it would have taken me to do a dozen backups. And again, not sure what difference that would have made since I now know the affected files are already being backed up, and all I had to do was look at which ones were changed and copy them over from the .php~ backups.
Title: Re: Menu Editor Lite
Post by: Kindred on August 11, 2012, 08:48:49 PM
well, depending on the auto backup is making some assumptions... I always take a full backup of my files before installing mods. That way, I just restore the backup rather than working my way through individual files.
Title: Re: Menu Editor Lite
Post by: eastfishville on August 12, 2012, 03:44:06 PM
Sorry, I didn't mean to sound snippy, and for others who might be reading this, let me be clear that I agree with your advice 100% for most instances. In my case, I haven't even 'opened the doors' yet, it's just me and a few fictional members for testing purposes - the worst case scenario is having to do a complete reinstallation of SMH (but no critical data loss). That's a significant risk for a forum that's already in operation with a large membership and lot of traffic, where the potential consequences are much worse.
Title: Re: Menu Editor Lite
Post by: Matthew K. on August 12, 2012, 04:19:32 PM
Meh, you just be careful and know how to handle things.
Title: Re: Menu Editor Lite
Post by: Aplion on August 19, 2012, 06:18:43 AM
Please excuse me if this has been reffered already, but when I'm installing this mod, the TP menu button is vanishing ... is there any way to solve this ?

(excuse me for my bad English)


Aplion
Title: Re: Menu Editor Lite
Post by: Matthew K. on August 19, 2012, 12:16:58 PM
You can add the button back using Menu Editor Lite?
Title: Re: Menu Editor Lite
Post by: Aplion on August 19, 2012, 12:26:06 PM
Quote from: Labradoodle-360 on August 19, 2012, 12:16:58 PM
You can add the button back using Menu Editor Lite?

This can be done using the page link but without dropdown menu functions ...

Ignore it please ... everything is fine.

Thanks
Title: Re: Menu Editor Lite
Post by: Matthew K. on August 19, 2012, 01:19:40 PM
Fantastic, great to hear it! :)
Title: Re: Menu Editor Lite
Post by: Chris.Aynsley on September 03, 2012, 09:21:28 PM
I installed this mod, and it has crashed my forum.

I get this error

Table 'tlsjumpn_smfv1.smf_menu_items' doesn't exist
File: /home/tlsjumpn/public_html/forum/Sources/menu_source/resources/main.php
Line: 62

Any ideas what to do?

Chris
Title: Re: Menu Editor Lite
Post by: Chris.Aynsley on September 03, 2012, 09:43:10 PM
And no, unfortunatly my last backup was before i installed this forum, hoping not have to start all over again if i can't fix the issue.

*hits self in back of head for not doing a cpanel backup before installing mod*

Chris.
Title: Re: Menu Editor Lite
Post by: Kindred on September 04, 2012, 12:22:56 AM
Look in the mod and fin the database instructions file. Extract and run it from your forum directory.

For some reason, that did not happen during the auto install
Title: Re: Menu Editor Lite
Post by: Chris.Aynsley on September 04, 2012, 02:06:37 AM
I have found a file called

menu_db_install.php when i extracted the zip file locally on my mac.

Not sure what you mean, do I upload that to the server, then run the php file?

Do i just run it in the root smf folder, eg, domain.com/forum?

Chris.
Title: Re: Menu Editor Lite
Post by: Chris.Aynsley on September 04, 2012, 02:45:43 AM
I coppied the PHP File to

http://forum.mytls.com.au/menu_db_install.php

However i then get


Database Error
Table 'tlsjumpn_smfv1.smf_menu_items' doesn't exist
File: /home/tlsjumpn/public_html/forum/Sources/menu_source/resources/main.php
Line: 62

Any ideas?
Title: Re: Menu Editor Lite
Post by: Kindred on September 04, 2012, 06:52:47 AM
if you are still getting the error, then the script is not creating the database table....
Title: Re: Menu Editor Lite
Post by: Chris.Aynsley on September 04, 2012, 07:08:21 AM
Yup still same  error.

Is there anything I can do?

Chris.
Title: Re: Menu Editor Lite
Post by: Kindred on September 04, 2012, 10:55:09 AM
manually create the tables in phpmyadmin?
Title: Re: Menu Editor Lite
Post by: Matthew K. on September 04, 2012, 01:07:11 PM
Quote from: Chris.Aynsley on September 04, 2012, 02:06:37 AM
I have found a file called

menu_db_install.php when i extracted the zip file locally on my mac.

Not sure what you mean, do I upload that to the server, then run the php file?

Do i just run it in the root smf folder, eg, domain.com/forum?

Chris.
Yep, that's exactly what you need to do :)
Title: Re: Menu Editor Lite
Post by: iain sherriff on September 25, 2012, 04:53:14 AM
wonderfull
worked straight from the box.

I was going to ask when Pro would be available but Lite really does what I need I think?

ANy update on pro anyway ?


thanks again......wonderfull Mod :)


Later................. having played a bit I would like
to be able to add children to buttons
to be able to select groups for buttons
Title: Re: Menu Editor Lite
Post by: Matthew K. on September 25, 2012, 12:08:13 PM
I don't plan on finishing the pro version any time soon...I'd need to have quite a few people lined up to purchase it. The time I'd spend would be more than my profit for the most part...

And thanks! You can add children and grandchildren in the lite version. Permissions and membergroups are part of Pro.
Title: Re: Menu Editor Lite
Post by: Bugo on September 28, 2012, 06:16:12 AM
There is hardcoded text in main.template.php:
(Select Link Type)

Also, there is no space in hint (see attachment). It should be "No Children", isn't it?
Title: Re: Menu Editor Lite
Post by: Matthew K. on September 28, 2012, 01:02:23 PM
Thanks for catching the text...the NoChildren thing was probably a small typo with the variable concatenation.
Title: Re: Menu Editor Lite
Post by: ollybaba on October 13, 2012, 12:22:59 AM
I love this mod. But it messes up the default menu system in the smf4mobile theme (I have that enabled for use only on smartphones). Anyone know how to fix that?
Title: Re: Menu Editor Lite
Post by: Matthew K. on October 13, 2012, 01:38:12 AM
You have to give more details than that bro...and if it's a theme issue, it's exactly that. Talk to the theme author.
Title: Re: Menu Editor Lite
Post by: ollybaba on October 13, 2012, 02:50:03 AM
Gotcha. I'm a newbie at SMF. Thanks anyway!
Title: Re: Menu Editor Lite
Post by: Matthew K. on October 13, 2012, 02:53:22 PM
Not a problem...but feel free to give some more details, what exactly is happening?
Title: Re: Menu Editor Lite
Post by: ollybaba on October 13, 2012, 08:40:06 PM
Basically the smfmobile theme doesn't use the regular menu - in order to save space presumably - it "hardcodes" the menu items. i think that since menu editor lite replaces the standard menu functions, then somehow the theme can't call the menu properly? i'm not sure. but there is no array of menu buttons when MEL is installed.

here is a screenshot of the theme with "search, media, login, register" at the top: http://smf-media.com/community/index.php?action=media;sa=item;in=1

here is the code that calls the menu in the index.template.php function:
function template_menu()
{
global $context;

echo '
<div data-role="navbar">
<ul>';

// This is a hardcoded list of buttons that can be shown
// The reason they are hardcoded is so that we do not show menu items that are not in the reach of this theme
$button_list = array('forum', 'search', 'login', 'register', 'logout', 'pm', 'media');
foreach ($context['menu_buttons'] as $id => $button)
if (in_array($id, $button_list))
echo '
<li><a href="', $button['href'], '"', $button['active_button'] ? ' class="ui-btn-active"' : '', '>', $button['title'], '</a></li>';
echo '
</ul>
</div>';


any insights would be very welcome!
Title: Re: Menu Editor Lite
Post by: Matthew K. on October 14, 2012, 04:13:15 AM
Ah...that's exactly why, good call. Try replacing $button_list = array('forum', 'search', 'login', 'register', 'logout', 'pm', 'media'); with: $button_list = array_keys($context['menu_buttons']);
Title: Re: Menu Editor Lite
Post by: ollybaba on October 14, 2012, 05:22:59 AM
interesting. that returned a lot of buttons! but too many! the purpose of that code was to reduce the amount of menu items on the mobile theme. making this change makes it so that half of the screen is taken up by menu buttons.

still, i like where this is going. very educational. but is there a way to just have the 'forum', 'search', 'login', 'register', 'logout', 'pm', 'media' buttons only? i don't understand why if this theme hardcodes the buttons that menu editor lite somehow disables them.

i understand that this might be outside the scope of this plugin, but i appreciate any help you can provide. it's such a crucial plugin but i also need the mobile theme.

many thanks!
Title: Re: Menu Editor Lite
Post by: Matthew K. on October 14, 2012, 01:33:43 PM
It really shouldn't be returning anything that's not on Menu Editor Lite...is it?
Title: Re: Menu Editor Lite
Post by: ollybaba on October 14, 2012, 10:49:31 PM
That's exactly the point - swapping out the code produces a lot of buttons (menu items) - the same ones i have on the regular web theme. so your solution works fine, except that there's no room for so many buttons on the mobile theme.

what the mobile theme does is restrict the number of buttons (menu items) to the basic ones i mentioned. but for some reason menu editor lite interferes with the "hardcoding" (see comment in the original code) of the buttons, and the result is that with the original code in place, no menu items show at all. thus there's no way to log in or read private messages.

is there anything you see in the original code that would indicate a call to a function that menu editor lite disables?

thanks for your time and attention. very much appreciated.
Title: Re: Menu Editor Lite
Post by: Matthew K. on October 15, 2012, 12:28:33 AM
Oh, so you want the mobile theme to have even less menu items than your main theme?
Title: Re: Menu Editor Lite
Post by: ollybaba on October 15, 2012, 12:42:53 AM
yes, exactly. that's why the theme hardcodes the menu items - so that there are only a few. i'd love to have the entire menu editor lite menu on the mobile theme but it's just not feasible.

i'd love to be able to keep menu editor lite on the main theme while allowing the smf4mobile theme to keep just the indicated selection of menu items i mentioned before.

here is my site, for reference: www.dudeism.com/smf
Title: Re: Menu Editor Lite
Post by: Matthew K. on October 15, 2012, 12:53:39 AM
Eh...it becomes a little bit more difficult with Menu Editor Lite due to how the array is defined. I really don't have much extra time on my hands. Try just modifying the keys to what you want.
Title: Re: Menu Editor Lite
Post by: dkjones on October 23, 2012, 04:57:14 AM
Ths is a great mod but apparently it's useless..  I am using simple portal as well and when menu editor is installed I have no forum button ?

(http://i50.tinypic.com/33z2qlc.png)

Shot taken while logged into admin account
Title: Re: Menu Editor Lite
Post by: Shambles on October 23, 2012, 05:25:05 AM
Quote from: dkjones on October 23, 2012, 04:57:14 AM
...I am using simple portal as well and when menu editor is installed I have no forum button ?

Already mentioned in this very thread  ::)

http://www.simplemachines.org/community/index.php?topic=470478.msg3323861#msg3323861
Title: Re: Menu Editor Lite
Post by: dkjones on October 23, 2012, 12:43:55 PM
Yes I see that but as I stated when you install menu editor it removes the forum button, In the add button feature the only 2 options are Forum stats & Forum Home...  Now if you are also running simple portal ez potal etc  the Home button then becomes your portal and you have to use the Forum button for forums..   The Menu editor only allows you to add an internal link to Forum Home.. Which is the home button and not the actual forum button. So you end up with no way to access the forums.  Essentially with simple portal installed as well as menu editor  both the home and forum button you can create with menu editor both take you to your portal...

The add internal links choice called  Forum home directs you here  /index.php

A new internal link should be added for when a portal is installed

Forum with portal     directs to  /index.php?action=forum
Title: Re: Menu Editor Lite
Post by: Matthew K. on October 23, 2012, 01:31:03 PM
Oh, so because the button disappears Menu Editor is useless? Also, you don't need to explain how SimplePortal works, I know how portals work.

If I ever decide to release Menu Editor Pro, it has way more support for things, including Portals.

However, for now, you can use an external link, name it "Forum", click "External Link" for link type, put the link as yourdomain.com/index.php?action=forum and it will automatically highlight the tab if you are in ?action=forum, this is because I added a broad method for implementing highlighted buttons that supports actions outside of the defined ones in Menu Editor Lite to catch instances such as this one from being an issue, I thought it through.
Title: Re: Menu Editor Lite
Post by: dkjones on October 23, 2012, 04:49:53 PM
Well first of all let me apologize for seeming rude was not my intention.. I now have menu editor back install and with your suggestion fixed my problem as well as added some external links I needed..  If I wasn't always in such a hurry what I meant to say in my post's is with menu editor install it renders the portals useless..  menu editor is far from useless it's now my favorite mod of all of them. ingenious little idea..

Now all I have to do is figure out how to add new pages and have them work with SMF open from within it and not open a blank crappy page..
This is very easy in clip-bucket to add new pages but SMF is proving to be a learning curve for me

Don't suppose you might have a link in mid explaining how to add a page that works with a button and still loads within SMF ?

Heheheh

Thank you for the fantastic plugin and the speedy responses.
Title: Re: Menu Editor Lite
Post by: Matthew K. on October 23, 2012, 05:37:33 PM
Why thank you very much :) Welcome to the SMF Community, by the way.

You can make the page with a portal, and then add the page with Menu Editor. Although there isn't pages support for highlighting the button yet with portal pages.

Not a problem, thank you for the kind words.
Labradoodle-360
Title: Re: Menu Editor Lite
Post by: dkjones on October 24, 2012, 09:59:31 AM
Since you are so kind I though I might ask..  Is there anyway to integrate paid subscriptions into the signup process so new users siging up have the option to choose a free account or paid script ?
Title: Re: Menu Editor Lite
Post by: Matthew K. on October 24, 2012, 10:16:47 AM
No, it's not possible. You'd have to have someone code it for you, and it'd be difficult.
Title: Re: Menu Editor Lite
Post by: dkjones on October 24, 2012, 04:54:30 PM
Actually that's what i figured but does seem stupid there is nothing out there that allows a new user to signup and while making an account choose say 1 mo 6 mo 1 year etc and make a payment..  As it is now the only way I see for people to do it is create an account once logged in go to profile actions paid subscriptions..  This seems almost useless because without telling each and every new member how to do it most people may never even notice it..  As much as I love SMF I am almost leaning towards an alternative if I can find one. for me this is a must feature
Thanks again for your responses.
Title: Re: Menu Editor Lite
Post by: Arantor on October 24, 2012, 04:55:51 PM
Well, none of the other systems offer that out of the box either, so you're talking custom coding.
Title: Re: Menu Editor Lite
Post by: dkjones on October 24, 2012, 05:00:11 PM
No kidding thats good for me in a way really not liking thought of starting over guess I will have to come up with some kind of compromise
Title: Re: Menu Editor Lite
Post by: Arantor on October 24, 2012, 05:03:41 PM
What I'm wondering is how important the paid content is, whether people are likely to sign up *just* to create paid accounts; I don't know any forum where that's likely to occur.

If it was actually that important, you could install something like the PM to New Members mod and create a message that goes to new members to tell them about the paid options.

That said, it sounds like it's going to look like "Quick, gimme your money'... as in 'desperate'.
Title: Re: Menu Editor Lite
Post by: dkjones on October 24, 2012, 08:47:22 PM
Actually that's not the intent at all I own a home buis I sell all kinds of car alarms wiring harness adapters  bypass kits  for current anti-theft systems..  You prob own a car with a chip or transponder in the key. Ford / Gm fail constantly and both refuse to recall these systems can cost thousands to have replaced only for it to happen again.  The site is based on support impossible to find wiring diagrams etc etc
You would be surprised how may people end up bypassing these systems.. After all its over 150$ to replace a GM ignition key.. Once bypassed key is 2$ walmart.. I have a 1999 Volvo S70 Turbo 450$ for new key and programming at the dealer !  they can go **** themselves lol
Title: Re: Menu Editor Lite
Post by: Matthew K. on October 25, 2012, 10:02:02 AM
Sounds interesting. If this topic is going to continue on in here, I'm going to split it off. Way outside of Menu Editor's support topic now. That's custom programming, you'll have to pay someone a decent amount to get it done right. Not many people around here would be capable of it, either.
Title: Re: Menu Editor Lite
Post by: MotRude on October 25, 2012, 10:09:49 AM
I Like this mod..Thank you!
Title: Re: Menu Editor Lite
Post by: Matthew K. on October 25, 2012, 10:13:30 AM
Thanks for the comment :) glad you like it!
Title: Re: Menu Editor Lite
Post by: inkvfd on November 13, 2012, 02:09:35 PM
My drop down is not working. I put a link in the child and it will not show when I click the parent. Am I doing something wrong?
Any kind of help would be great.

PS, using 2.0.2   
Title: Re: Menu Editor Lite
Post by: Matthew K. on November 13, 2012, 05:13:20 PM
Have a link and admin details handy that you could PM me so I can look at the configuration?
Title: Re: Menu Editor Lite
Post by: FireDitto on December 14, 2012, 03:02:18 AM
Quote from: mdj on March 18, 2012, 03:39:07 PM
Quote from: Labradoodle-360 on March 15, 2012, 10:56:18 AM
It doesn't include the count in the menu...

thats a shame, could it be easily modified to allow for the count?

What editing would be required to put the count for Personal Messages back in the menu? It's being heavily missed.

Thank you.
Title: Re: Menu Editor Lite
Post by: Badboy on December 14, 2012, 10:02:54 AM
Quote from: FireDitto on December 14, 2012, 03:02:18 AM

What editing would be required to put the count for Personal Messages back in the menu? It's being heavily missed.

Thank you.

Quote from: Greybrow on May 01, 2012, 07:52:11 PM
I just love this menu editor. It made my life a lot easier.
But I wanted to have pm count on menu, so I hacked a bit and found a solution.

in Sources\menu_source\resources\main.php (should be line 899) change:
$buttons[$value['id_button']] = array(
'title' => $value['name'],
'href' => $value['href'],
'show' => true,
'target' => $value['target'],
'sub_buttons' => array(
),
'is_last' => $value['id_button'] == $menu_editor['last_button'] ? !$context['right_to_left'] : '',
'level' => 0
);
// Do we have Children?
if (!empty($menu_editor['children']['actual'][$value['id_button']]))
{
$buttons[$value['id_button']]['sub_buttons'] = array();
foreach ($menu_editor['children']['actual'][$value['id_button']] as $act => $sub_value)
{
// Introduce the Grandchildren - If we have any.
if (!empty($menu_editor['grandchildren']['actual'][$sub_value['id_button']]))
$temp[$sub_value['id_button']]['sub_buttons'] = $menu_editor['grandchildren']['actual'][$sub_value['id_button']];
else
$temp[$sub_value['id_button']]['sub_buttons'] = array();

// Actually add the Children!
$buttons[$sub_value['id_parent']]['sub_buttons'][$sub_value['id_button']] = array(
'title' => $sub_value['title'],

to:
// lets check if there are some unread pm and add the count if any
$title = '';
if ($context['user']['unread_messages'] > 0 && $value['href'] == $scripturl . '?action=pm')
$title = $value['name'] .' [<strong>' . $context['user']['unread_messages'] . '</strong>]';
else
$title = $value['name'];
// there goes the menu item
$buttons[$value['id_button']] = array(
'title' => $title,
'href' => $value['href'],
'show' => true,
'target' => $value['target'],
'sub_buttons' => array(
),
'is_last' => $value['id_button'] == $menu_editor['last_button'] ? !$context['right_to_left'] : '',
'level' => 0
);
// Do we have Children?
if (!empty($menu_editor['children']['actual'][$value['id_button']]))
{
$buttons[$value['id_button']]['sub_buttons'] = array();
foreach ($menu_editor['children']['actual'][$value['id_button']] as $act => $sub_value)
{
// lets check again if there are some unread pm and add the count if any to children
$title = '';
if ($context['user']['unread_messages'] > 0 && $sub_value['href'] == $scripturl . '?action=pm')
$title = $sub_value['title'] .' [<strong>' . $context['user']['unread_messages'] . '</strong>]';
else
$title = $sub_value['title'];
// Introduce the Grandchildren - If we have any.
if (!empty($menu_editor['grandchildren']['actual'][$sub_value['id_button']]))
$temp[$sub_value['id_button']]['sub_buttons'] = $menu_editor['grandchildren']['actual'][$sub_value['id_button']];
else
$temp[$sub_value['id_button']]['sub_buttons'] = array();

// Actually add the Children!
$buttons[$sub_value['id_parent']]['sub_buttons'][$sub_value['id_button']] = array(
'title' => $title,


It adds unread pm counter to menu item if you set it as internal link to personal messages.
I claim no copyright (it all goes to Labradoodle-360) and give no warranty that it works or destroys your forum.
But it works for me so I hope it helps.
Title: Re: Menu Editor Lite
Post by: FireDitto on December 15, 2012, 05:32:13 AM
My bad; Many thanks! =)
Title: Re: Menu Editor Lite
Post by: Silvershark78 on January 05, 2013, 12:43:16 PM
OK. because I am trying to get this fixed ASAP because it messed things up, I ma using the most recent version of simple portal. It erased the Forum button. I tried an internal link and it is not there. It also erased the gallery button for smf hacks pro gallery. I set both of these up as external links but is there a quick fix to this. Im sorry I didnt read but I have members complaining within like 60 seconds of install. Thanks
Title: Re: Menu Editor Lite
Post by: Matthew K. on January 05, 2013, 01:40:33 PM
You can add the forum as an external link, with your forum URL such as: http://yourdomain.com/forum_path/index.php?action=forum and it will automatically be highlighted if you're not on the portal homepage or another action that's on the menu.

Note for the gallery button, it's custom permissions will not be added in, unfortunately. But you can put your own permissions on it which should be fairly comparable.
Title: Re: Menu Editor Lite
Post by: Silvershark78 on January 05, 2013, 01:51:23 PM
Yeah I just did an external link to it too. Do the external links for the buttons open me up for security issues. I asume not. Just curious
Title: Re: Menu Editor Lite
Post by: Matthew K. on January 05, 2013, 01:52:38 PM
No, they do not open up any security issues. The only difference is "Internal Links" automatically select their associated SMF permissions, and make it easy for you by not needing a URL. While external links to not automatically gain their associated SMF Permissions and you have to type the link.
Title: Re: Menu Editor Lite
Post by: Skaty on January 11, 2013, 03:02:57 PM
when i install this mod it is deleting my other pages. Any idea to fix ?

(http://i.imgur.com/AOAwm.png)

(http://i.imgur.com/lSQEK.png)
Title: Re: Menu Editor Lite
Post by: Kindred on January 11, 2013, 03:13:57 PM
you have to add them into the list
Title: Re: Menu Editor Lite
Post by: Skaty on January 11, 2013, 03:59:55 PM
Quote from: Kindred on January 11, 2013, 03:13:57 PM
you have to add them into the list

Oh, sorry my bad. 

Now i'm adding them but i change the name of personal message tab and now it is not given me the sign when new pm is came ?
Title: Re: Menu Editor Lite
Post by: Kindred on January 11, 2013, 04:03:29 PM
and, as far as I know, it will not...    if you read back in this thread, you will note that the author has indicated just that
Title: Re: Menu Editor Lite
Post by: FireDitto on January 14, 2013, 11:25:42 PM
The code offered in the post at the top of this page gives a replacement to make PMs appear in the menu. Link (http://www.simplemachines.org/community/index.php?topic=470478.msg3453043#msg3453043)
Title: Re: Menu Editor Lite
Post by: Skaty on January 15, 2013, 04:21:00 AM
Thank you @FireDitto.            @Kindred, now i understand your post :) my english isn't s good for sarcasms sorry :D i should read at least this page you right.
Title: Re: Menu Editor Lite
Post by: Skaty on January 15, 2013, 04:48:07 AM
btw can we give a color for this little notification :)
Title: Re: Menu Editor Lite
Post by: IchBin™ on January 15, 2013, 10:53:14 AM
Quote from: Skaty on January 15, 2013, 04:48:07 AM
btw can we give a color for this little notification :)

Of course you can. You just add something like a span tag with color attribute around the text.

<strong><span style="color: red;">' . $context['user']['unread_messages'] . '</span></strong>
Title: Re: Menu Editor Lite
Post by: Skaty on January 15, 2013, 01:15:30 PM
(http://i.imgur.com/XPYF4.png)   Thank You  (http://i.imgur.com/CWwz7.gif)
Title: Re: Menu Editor Lite
Post by: FireDitto on January 21, 2013, 07:53:17 AM
o_O

Somewhere along the line I did something, and it's killed my ability to add children; the bar has been bitten off at 'Childre' >>

Where will I have screwed this up? I know its not in any of the 'menu_source' since I overlaid that with a healthy set of files from the test site.

Thanks x.x
Title: Re: Menu Editor Lite
Post by: Matthew K. on January 21, 2013, 11:43:44 AM
Any errors in the error log? Screenshot? Link?
Title: Re: Menu Editor Lite
Post by: FireDitto on January 23, 2013, 05:46:35 AM
No, there doesn't appear to be any errors in the log.

Ah, a screen shot; Link (http://i46.tinypic.com/v3murr.png).
I have tried on all layouts; it isn't just that one on which is it not appearing correctly. I tried uninstalling and reinstalling, so I'm not quite sure what's going on. o_O

At the moment I'm just adding children as needed via;
?action=admin;area=menueditor;sa=add;parent=## where ## is the parent menu item's ID.
Title: Re: Menu Editor Lite
Post by: electricwildflower on January 23, 2013, 08:47:23 AM
i must congratulate you on this it's fantastic i have just come across it and it's much better than editing subs.php but i have some questions.

What i want to do is have a drop down menu to forum sections example below

I create a button called Forum and under this i want a sub menu which has the names of all my forum categories and under each category there will be buttons to link to sections of the forum example below.

General (this is just a menu name)
           Shout (this is a link)
           General Discussion (this is a link)
           Arguments (this is a link)

Music (this is just a menu name)
         goth rock (this is a link)
         deathrock (this is a link)
         post-punk (this is a link)
         other (this is a link)

and so on

This way it will be easier for my members to navigate through the forums so can i add a menu name which does nothing but drops down to the categories if you get me ?
Title: Re: Menu Editor Lite
Post by: Kindred on January 23, 2013, 08:58:15 AM
the trick is - if you must have a link to trigger the drop down, use "#" (with no quotes)
Title: Re: Menu Editor Lite
Post by: electricwildflower on January 23, 2013, 09:04:01 AM
Thanks i didn't think of doing it that way :)
Title: Re: Menu Editor Lite
Post by: electricwildflower on January 23, 2013, 10:15:33 AM
Not sure if anyone has asked or i am missing something but i got an idea for you.

When you add a button how about an option to add a button to other levels aswell example below.

you create a button called forum and in this a child button called general category and under general category a child button called shout out.

at the moment if i wanted to add a button under shout which is under general category i would have to enter forum actions and then enter general category actions so i could add a button under shout wouldn't it be easier to be able to pick where a button can go besides just on the first level if you get me.

would save alot of time for editing ?
Title: Re: Menu Editor Lite
Post by: Matthew K. on January 23, 2013, 02:36:35 PM
I do not intend on extending Menu Editor Lite any further. It was written specifically to be light-weight and small.
Title: Re: Menu Editor Lite
Post by: electricwildflower on January 24, 2013, 04:35:40 AM
I was thinking in the pro version if you ever decide to release it i understand about keeping things lite :)
Title: Re: Menu Editor Lite
Post by: Matthew K. on January 24, 2013, 04:03:48 PM
Yeah, that's definitely in the pro version.
Title: Re: Menu Editor Lite
Post by: Arantor on January 24, 2013, 04:14:02 PM
I'd quite like to see this pro version, even be willing to put some cash in.
Title: Re: Menu Editor Lite
Post by: FireDitto on January 24, 2013, 05:29:17 PM
Agreed! I don't have money to put forth atm (between jobs. ugh) but I am eager to see the Pro version, and get my mitts on it when it's available XD I love this mod so much haha.
Title: Re: Menu Editor Lite
Post by: Matthew K. on January 31, 2013, 01:29:51 AM
Did a little bit of work on Menu Editor Pro tonight just for fun. I began removing some inline CSS and I ended up doing a PSD and then implementing it for the icon selection system so it flows a lot more beautifully, I went ahead and attached a screenshot if anyone is interested.

Edit: I was still playing around with the layout, and came up with another design mockup in Photoshop.
Title: Re: Menu Editor Lite
Post by: FireDitto on February 03, 2013, 02:06:56 AM
That's really cool!

Will there be the ability to add our own icons to the collection? Or even images as the entire button as opposed to text? I see one of the options is to select Icon + Text. Ooh! Or would it be possible to use theme based images, so if you it calls the images from the individual themes so that they can look different on each layout?! That would be amazing!

I'm excited :D;;
Title: Re: Menu Editor Lite
Post by: Matthew K. on February 03, 2013, 02:37:29 AM
There's a dynamic image loader that pulls icon sets from a specific theme directory. Add a new directory that contains images and they are instantly available for selection. The dynamic part is what I've been working on - how to store the results efficiently and what not. As of now it's tied into the default theme only.

There are three display options: Icon | Icon + Name | Name + Icon
Title: Re: Menu Editor Lite
Post by: FireDitto on February 03, 2013, 05:34:24 AM
Would it be possible to work like, say, the display.template.php where if you put it into a new theme, it'll read it from that theme, but if you don't, it automatically reads from the default? That way, if someone (such as myself) wanted different images on a per-layout, we could take the time to personally create a folder in each Theme with the images using the same file name (similar to like the user badges), but if someone didn't, then it would automatically read from the default theme's source?

Those display options are great :D This is one of my favourite mods, I love it. Especially when you end up with so many mods that all want to put something in the menu x.x

On that. Is there any easy way to make the Menu read things like, if there are items on the Moderator list that require moderation (user groups, posts, etc) it'll show up? Similar to how there was an edit given on the previous page for the (#) to show up beside Personal messages? Or would that be getting into the complications? I'm no coder, so once you're outside of basic HTML it's all complicated to me :P
Title: Re: Menu Editor Lite
Post by: Matthew K. on February 03, 2013, 04:26:54 PM
Trust me, I knew what you meant...and believe me when I say that I know it works and could easily implement it. As of now, I'm not going to do so.

No.
Title: Re: Menu Editor Lite
Post by: pastorvictor on February 18, 2013, 06:03:57 PM
This looks like a really great mod. How could I install it manually? The package manager is asking me for FTP details and whenever I've give them to it, it breaks my forum; it messes with my site's permissions and then I have to ask my host to revert the changes to get my forums back up.
Title: Re: Menu Editor Lite
Post by: Matthew K. on February 18, 2013, 10:48:42 PM
http://wiki.simplemachines.org/smf/Manual_installation_of_mods
Title: Re: Menu Editor Lite
Post by: FireDitto on February 20, 2013, 12:32:13 AM
Quote from: Badboy on December 14, 2012, 10:02:54 AM
Quote from: FireDitto on December 14, 2012, 03:02:18 AM

What editing would be required to put the count for Personal Messages back in the menu? It's being heavily missed.

Thank you.

Quote from: Greybrow on May 01, 2012, 07:52:11 PM
I just love this menu editor. It made my life a lot easier.
But I wanted to have pm count on menu, so I hacked a bit and found a solution.

in Sources\menu_source\resources\main.php (should be line 899) change:
$buttons[$value['id_button']] = array(
'title' => $value['name'],
'href' => $value['href'],
'show' => true,
'target' => $value['target'],
'sub_buttons' => array(
),
'is_last' => $value['id_button'] == $menu_editor['last_button'] ? !$context['right_to_left'] : '',
'level' => 0
);
// Do we have Children?
if (!empty($menu_editor['children']['actual'][$value['id_button']]))
{
$buttons[$value['id_button']]['sub_buttons'] = array();
foreach ($menu_editor['children']['actual'][$value['id_button']] as $act => $sub_value)
{
// Introduce the Grandchildren - If we have any.
if (!empty($menu_editor['grandchildren']['actual'][$sub_value['id_button']]))
$temp[$sub_value['id_button']]['sub_buttons'] = $menu_editor['grandchildren']['actual'][$sub_value['id_button']];
else
$temp[$sub_value['id_button']]['sub_buttons'] = array();

// Actually add the Children!
$buttons[$sub_value['id_parent']]['sub_buttons'][$sub_value['id_button']] = array(
'title' => $sub_value['title'],

to:
// lets check if there are some unread pm and add the count if any
$title = '';
if ($context['user']['unread_messages'] > 0 && $value['href'] == $scripturl . '?action=pm')
$title = $value['name'] .' [<strong>' . $context['user']['unread_messages'] . '</strong>]';
else
$title = $value['name'];
// there goes the menu item
$buttons[$value['id_button']] = array(
'title' => $title,
'href' => $value['href'],
'show' => true,
'target' => $value['target'],
'sub_buttons' => array(
),
'is_last' => $value['id_button'] == $menu_editor['last_button'] ? !$context['right_to_left'] : '',
'level' => 0
);
// Do we have Children?
if (!empty($menu_editor['children']['actual'][$value['id_button']]))
{
$buttons[$value['id_button']]['sub_buttons'] = array();
foreach ($menu_editor['children']['actual'][$value['id_button']] as $act => $sub_value)
{
// lets check again if there are some unread pm and add the count if any to children
$title = '';
if ($context['user']['unread_messages'] > 0 && $sub_value['href'] == $scripturl . '?action=pm')
$title = $sub_value['title'] .' [<strong>' . $context['user']['unread_messages'] . '</strong>]';
else
$title = $sub_value['title'];
// Introduce the Grandchildren - If we have any.
if (!empty($menu_editor['grandchildren']['actual'][$sub_value['id_button']]))
$temp[$sub_value['id_button']]['sub_buttons'] = $menu_editor['grandchildren']['actual'][$sub_value['id_button']];
else
$temp[$sub_value['id_button']]['sub_buttons'] = array();

// Actually add the Children!
$buttons[$sub_value['id_parent']]['sub_buttons'][$sub_value['id_button']] = array(
'title' => $title,


It adds unread pm counter to menu item if you set it as internal link to personal messages.
I claim no copyright (it all goes to Labradoodle-360) and give no warranty that it works or destroys your forum.
But it works for me so I hope it helps.


How would I go about doing this, but for the Help Desk alerts?
Title: Re: Menu Editor Lite
Post by: sangham.net on February 22, 2013, 02:45:01 AM
Thanks for this mod! (http://sangham.net/Smileys/sadhu_sangham.gif) More than just helpful (http://sangham.net/Smileys/thumb_sangham.gif)

A question. Is there a simple way to make it useable also if there are more languages used?
Title: Re: Menu Editor Lite
Post by: Matthew K. on February 22, 2013, 05:05:23 PM
Not in Lite. By the time Menu Editor Pro hits 1.0 or 1.1, it will contain fully translatable options.
Title: Re: Menu Editor Lite
Post by: sangham.net on February 22, 2013, 08:12:20 PM
Thanks a lot for the answer. (http://sangham.net/Smileys/sadhu_sangham.gif)
Title: Re: Menu Editor Lite
Post by: Matthew K. on February 22, 2013, 08:15:04 PM
Not a problem, thanks for posting :)
Title: Re: Menu Editor Lite
Post by: sangham.net on February 22, 2013, 11:20:30 PM
Would it be useful to have the menu and text of this mod in German as well? (http://sangham.net/Smileys/well_sangham.gif) If so, maybe I am able to do this.
Title: Re: Menu Editor Lite
Post by: Matthew K. on February 22, 2013, 11:23:24 PM
The pro version will definitely need translations once my text strings are finalized :)
Title: Re: Menu Editor Lite
Post by: sangham.net on February 23, 2013, 01:35:36 AM
Dear Labradoodle-360,

Now I would be available, so if it would be good to have such for the existing version, please let me know. I am not sure what tomorrow or later will be. Of course you can try contact me later as well (if you wish) but generally I am more on the way to work my way out of the internet realm.  (http://sangham.net/Smileys/smile_sangham.gif)

(http://sangham.net/Smileys/sadhu_sangham.gif)
Title: Re: Menu Editor Lite
Post by: MiY4Gi on February 23, 2013, 11:49:04 AM
Urg! This mod broke my forum. Managed to fix it by replacing subs.php with the backup subs.php~. Not sure what caused the problem. I'll try installing it again at a later stage for troubleshooting. Currently running 2.0.2 in case you're wondering.
Title: Re: Menu Editor Lite
Post by: Matthew K. on February 23, 2013, 11:50:59 AM
What error came up? This modification didn't break your forum, there just must've been a conflict.
Title: Re: Menu Editor Lite
Post by: MiY4Gi on February 23, 2013, 12:19:14 PM
I'm not sure hey. It was a php syntax error, so my forum didn't load at all. I tried to find the error, and remove the offending line, but the error persisted, so I just replaced the subs.php file with the backup. I'll try installing it again either this weekend, or next weekend. It might have been a conflict that cause the error, but seldom do I run into a syntax error when a mod conflict occurs.
Title: Re: Menu Editor Lite
Post by: Matthew K. on February 23, 2013, 12:34:54 PM
There's no syntax error in my modification. Let me know what the error is specifically when you find it.
Title: Re: Menu Editor Lite
Post by: MiY4Gi on February 23, 2013, 01:32:01 PM
Will do.
Title: Re: Menu Editor Lite
Post by: sangham.net on February 26, 2013, 12:01:25 AM
Dear Labradoodle-360, it seems as it there is some developmet going on. Maybe it's a place to join and work with since it seems that it could be sad it potential (time, knowledge, experiences...) is not put together.

[WIP] Menu Button Manager mod (http://www.simplemachines.org/community/index.php?topic=498146.0)

(http://sangham.net/Smileys/sadhu_sangham.gif)
Title: Re: Menu Editor Lite
Post by: Matthew K. on February 26, 2013, 12:06:35 AM
Thanks for stopping by. However, I do not intend on partnering with anyone on this project. I have been developing this modification for 3-4 years and it's nearly complete. It has literally everything you could think of pertaining to the navigation system and is written extremely efficiently and has had months of thought put into each individual aspect and the best approach possible. Kays PM'd me before he posted the topic, as a friendly gesture (we're friends,) which I definitely appreciated, I also in turn gave him some suggestions with some improvements for his modification, I wish him the best.
Title: Re: Menu Editor Lite
Post by: sangham.net on February 26, 2013, 12:11:44 AM
Real great to hear that! Great common community attitude! (http://sangham.net/Smileys/thumb_sangham.gif)

I real would have been wondering if it would have been different.

Thanks both for their great work and for the great sample of side by side work!
(http://sangham.net/Smileys/sadhu_sangham.gif)



Title: Re: Menu Editor Lite
Post by: Matthew K. on March 12, 2013, 02:06:21 AM
Menu Editor Pro 1.0 released! Check out the welcome topic for more information: http://www.simplemachines.org/community/index.php?topic=499547.msg3506264#msg3506264
Title: Re: Menu Editor Lite
Post by: FireDitto on March 22, 2013, 06:31:10 PM
Quote from: FireDitto on January 21, 2013, 07:53:17 AM
o_O

Somewhere along the line I did something, and it's killed my ability to add children; the bar has been bitten off at 'Childre' >>

Where will I have screwed this up? I know its not in any of the 'menu_source' since I overlaid that with a healthy set of files from the test site.

Thanks x.x

Screenshot:
http://oi49.tinypic.com/351z3aa.jpg

I've tried uninstalling, and reinstalling... nothing is working. It is like this across all themes except SMF4Mobile.

I have no idea what is going on. It works perfectly fine on my other site, and I did a complete reinstall not long ago so O.O

Any help would be great!
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 22, 2013, 06:57:22 PM
Theme issue
Title: Re: Menu Editor Lite
Post by: FireDitto on March 22, 2013, 07:05:45 PM
Quote from: Labradoodle-360 on March 22, 2013, 06:57:22 PM
Theme issue

That... isn't very helpful Lab :| and it isn't working on the Default..?

But, more to the point: It is working on my other site, and that has all the same Themes installed, all of them from Dzinerstudio, so I'm confused as to why it would be faulty on one site, but not the other.
Title: Re: Menu Editor Lite
Post by: Matthew K. on March 23, 2013, 12:56:15 PM
Can you PM me a link and admin login so I can investigate please?
Title: Re: Menu Editor Lite
Post by: OCJ on March 23, 2013, 03:30:53 PM
Finally got around to using it... does look nice - easy to use.


I have a problem though, it doesn't switch/use the default language strings for the top (standard) menu items - everything stays in English.  Is there a way to set alternative menu language titles in say, a mod language file?
Title: Re: Menu Editor Lite
Post by: Arantor on March 23, 2013, 06:27:46 PM
No there isn't, and nor is there in the paid version at this time either.
Title: Re: Menu Editor Lite
Post by: Aome on May 03, 2013, 11:07:42 PM
Stopping by to say that I was really happy with my Menu editor lite, but now im thrilled with the pro version.

Thank you so much :) it is now in my forum, making it look fierce ;)
Title: Re: Menu Editor Lite
Post by: Tavsih on May 10, 2013, 04:45:10 AM
Hi
this mod is great :)
Where i can find the added tabs?I cant find them in subs.php .
Title: Re: Menu Editor Lite
Post by: Kindred on May 10, 2013, 07:45:46 AM
???


the whole point of this mod is to remove the menu from subs.php and put it in the database
Title: Re: Menu Editor Lite
Post by: Tavsih on May 10, 2013, 10:05:44 AM
Actually i am trying to add icons to the menu buttons.Where i can find the added tabs of menu editor.
Title: Re: Menu Editor Lite
Post by: Matthew K. on May 10, 2013, 10:11:06 AM
{db_prefix}menu_items...although that'll be slightly more difficult.
Title: Re: Menu Editor Lite
Post by: Kindred on May 10, 2013, 10:13:37 AM
Quote from: terrible on May 10, 2013, 10:05:44 AM
Actually i am trying to add icons to the menu buttons.Where i can find the added tabs of menu editor.

you don't seem to understand...    you can't without some code changes.

Using this mod is not compatible with ANY OTHER mod that works on the menu.
This mod puts all of your menu items into the database, so that they can be set, modified and called....

this also limits you to what the author has designed, without some significant code changes.

You can ask the author...   maybe the pro version allows icons.
Title: Re: Menu Editor Lite
Post by: Arantor on May 10, 2013, 11:16:19 AM
The pro version does allow icons. But unless there's been some major changes to it, I'm not sure I could recommend it :(
Title: Re: Menu Editor Lite
Post by: Matthew K. on May 10, 2013, 11:20:50 AM
Theoretically, you could probably add raw HTML to the database rows, but I definitely can't say that's a good idea, because it's a bad idea for a lot of reasons. The pro version has a small cluster of icons included in the base, and then allows you to add as many icon sets as you want.
Title: Re: Menu Editor Lite
Post by: Burt on June 05, 2013, 08:24:50 PM
Quote from: FireDitto on January 23, 2013, 05:46:35 AM
No, there doesn't appear to be any errors in the log.

Ah, a screen shot; Link (http://i46.tinypic.com/v3murr.png).
I have tried on all layouts; it isn't just that one on which is it not appearing correctly. I tried uninstalling and reinstalling, so I'm not quite sure what's going on. o_O

At the moment I'm just adding children as needed via;
?action=admin;area=menueditor;sa=add;parent=## where ## is the parent menu item's ID.

Hello there, Thanks for suggesting this workaround, as now I have the same problem. Everything works fine, but the button to add the child is gone!??? Well half is still there  :laugh: Has anyone found a way to fix this?
Title: Re: Menu Editor Lite
Post by: Galaxy Computers on June 11, 2013, 06:06:42 PM
I have install this mod,,,, The problem is I have Simple Portal and I added a page for my video's and when I add an button for the menu. I don't see a internal link to go to that page. When I add the button for the menu it goes to the main page. How can I fix this?
Title: Re: Menu Editor Lite
Post by: OCJ on June 13, 2013, 09:50:11 AM
Try using it as an external url
Title: Re: Menu Editor Lite
Post by: Burke ♞ Knight on June 14, 2013, 08:54:16 AM
For some reason, on one of my sites, the drop down does not work.
Even when I uninstall Menu Editor Lite, it still does not work.
Since I need this mod, I was wondering if there was a fix that I can do.
Title: Re: Menu Editor Lite
Post by: Kindred on June 14, 2013, 09:49:35 AM
your theme may not support the dropdown menus...
Title: Re: Menu Editor Lite
Post by: Burke ♞ Knight on June 14, 2013, 12:45:52 PM
Using Ambassador by Crip.
Him and I tried a few ideas, and they did not work.
Title: Re: Menu Editor Lite
Post by: Matthew K. on June 14, 2013, 05:19:05 PM
Unfortunately, to resolve that issue then if it's not part of the theme would be to hack up index.template.php and index.css to do it yourself, which frankly, I can't do as I'm not familiar with the theme or how it "should look".
Title: Re: Menu Editor Lite
Post by: Burke ♞ Knight on June 14, 2013, 05:58:39 PM
That's kind of what I figured would have to be done.
Thanks anyway for the help.
I love the mod and installed it into all my sites, so please keep me in mind if you want a tester for some changes to it. :)
Title: Re: Menu Editor Lite
Post by: Matthew K. on June 14, 2013, 06:15:42 PM
I'll update the lite version for 2.1, and fix the PM bug with a couple other things, but beyond that future development is going in Menu Editor Pro. Thanks for the offer! :) sorry I couldn't be more of a help.
Title: Re: Menu Editor Lite
Post by: Burke ♞ Knight on June 14, 2013, 06:20:53 PM
I have no idea what just happened. The drop down is now working again.
I was not even doing anything more than setting up the settings of the site and other mods...LOL

/me shrugs shoulders
Title: Re: Menu Editor Lite
Post by: Kindred on June 14, 2013, 07:56:31 PM
cache?
Title: Re: Menu Editor Lite
Post by: Burke ♞ Knight on June 14, 2013, 08:44:25 PM
Unknown. Now, they don't work again, except on another PC using IE 10's compatibility view mode.
Yet, all my other sites are fine. Just this one:

http://www.strpg.cu.cc/
Title: Re: Menu Editor Lite
Post by: Sido on July 15, 2013, 06:08:05 PM
little pm problem

(http://img823.imageshack.us/img823/5928/5go3.png)

on all themes, tested.

and it also hide by default some buttons, in my case a custom one ''shop'' from smf shop mod. actually its getting deleted since I must create it from scratch again.
Title: Re: Menu Editor Lite
Post by: Matthew K. on July 15, 2013, 06:17:54 PM
Menu Editor Lite doesn't show the PM count on the PM button. There is a previous post in this topic explaining how to hack that in. I do intend on adding that in a future version of Menu Editor Lite.
Title: Re: Menu Editor Lite
Post by: Sido on July 15, 2013, 06:43:30 PM
you should since is a base feature of smf

ty for answer and excuse me for not reading all pages.
Title: Re: Menu Editor Lite
Post by: Matthew K. on July 15, 2013, 07:06:12 PM
My answer for that has been consistent: even though it's a base feature of SMF does not mean it has to be a part of my system which strips base menu and overhauls it.

I do agree though I probably should've added it. The pro version definitely has it.
Title: Re: Menu Editor Lite
Post by: Burke ♞ Knight on August 02, 2013, 07:17:27 PM
In the css, drop down section,  how do I change it so it is set to show longer menu names without line break?
If go to BK Modding site, look in the Community menu and you'll see what I mean. :)
Title: Re: Menu Editor Lite
Post by: Matthew K. on August 03, 2013, 10:40:43 AM
I normally wouldn't take the time to dig up manual edits for someone that doesn't quite relate to the mod, and on a custom theme. But, since you're SHOTM, I figure it'd be nice for someone to give back to you and show some appreciation for your help.

./Themes/YOUR_THEME/css/index.css
In the "#topnav li ul" selector, change the width to: 250px

In the "#topnav li li a" selector, change the width to: 214px

Obviously you can adjust those slightly if you want but that worked when I played with it. Note the anchor has to be smaller so it fits inside the list item.
Title: Re: Menu Editor Lite
Post by: Burke ♞ Knight on August 03, 2013, 10:47:34 AM
Perfection! :)

I was half asleep last night, and when saw the way the css was there, was not sure what to think...LOL
(Been working on 4 sites for other people, as well as personal issues. Got maybe 4 hours sleep last few days.)

Thank you for both the fix and comment. :)
Title: Re: Menu Editor Lite
Post by: Matthew K. on August 03, 2013, 10:51:54 AM
You're welcome, enjoy!
Title: Re: Menu Editor Lite
Post by: electricwildflower on August 03, 2013, 04:09:38 PM
Have  a question if you can help me that's if i haven't missed anything.

Is there anyway to have a menu button open up as a pop up window sort of like the annoying pop up ads. Reason being is i have a chatroom that when clicked opens up in a pop up window and if i can i will have the button on my nav bar. ?

Cheers
Title: Re: Menu Editor Lite
Post by: Matthew K. on August 03, 2013, 05:12:04 PM
Have you tried using target blank?
Title: Re: Menu Editor Lite
Post by: electricwildflower on August 04, 2013, 01:49:33 AM
Yes it opens up in a new tab which is half of what i want to do. I want it to open in a new window as a pop up ?
Title: Re: Menu Editor Lite
Post by: NanoSector on August 04, 2013, 11:48:40 AM
Not all browsers support that nowadays, iirc. Try both targets (target new and blank) and see which one works.
Title: Re: Menu Editor Lite
Post by: Aome on September 01, 2013, 01:18:11 AM
Sorry to duplicate here, as this is a Menu editor Pro question, but need all the help I can get :)

I installed a different theme and now the icons in the menu are upper than they should, reviewing the code in the navigator i see the following:

img.mep_icon { /index.php?action=forum
margin-top: 2px;
margin-right: 2px;
vertical-align: top;


when I disable the vertical-align the icons go back to their places, but im not able to find where is that piece of code to make that change and save it.  I've looked in root, in sources, in default (in themes) but so far no luck... any help will be highly appreciated.

Thanks!
Title: Re: Menu Editor Lite
Post by: Matthew K. on September 01, 2013, 03:46:30 PM
For Menu Editor Pro customers there is a dedicated support board on SMF Hacks. Look in ./Themes/default/css/menu_css/main.css. To just modify it on your new theme you'd have to duplicate the file in your theme.
Title: Re: Menu Editor Lite
Post by: Ricky. on September 06, 2013, 08:48:54 AM
Hi Lab, I haven't gone through all 19 pages, however, does anyone happen to ask to add support for multiple MENU  and then allowing them author to add menu at multiple locations ?
May be in pro version ?
Title: Re: Menu Editor Lite
Post by: Matthew K. on September 06, 2013, 12:14:33 PM
It's been requested a lot, although it's not possible in Lite or Pro and I will not ever be adding support for multiple menu locations. Reason being is that it'd more than likely require a template edit or multiple and then it becomes a question of whether or not that edit has been made...if it wasn't made, or isn't working on all themes, what then happens with the backend? It's just a big mess.

There are a few locations that I suppose you *could* hack in a menu without a template edit...although I won't be getting into that unless there was a large donation to make it worth my time because I don't think it's worth it honestly.
Title: Re: Menu Editor Lite
Post by: Ricky. on September 07, 2013, 08:07:13 AM
I understand, it was just my advice. You know I do skinning in WP and Drupal sometimes and both have feature to have multiple menu and generally we end up using it very creatively.

I have not seen how your this mod is coded but  you can simply let people to create new menu and add it anywhere in template through piece of code generated or add it with some available hooks (may be in 2.1 which is I suppose going to have some more template hooks).
Title: Re: Menu Editor Lite
Post by: Matthew K. on September 07, 2013, 01:21:15 PM
Really? Simply? Please, by all means do it then. I can't speak this about Menu Editor Lite, but Menu Editor Pro is everything but "simple". And even now it could be improved on a lot with how compat works with the caching that's done.

You can't add multiple menu locations with SMF because of the lack of template hooks and all of the compatibility issues that doing so would bring. A support nightmare and on top of that, it wouldn't be consistent 3 out of 10 times which wouldn't be good enough.
Title: Re: Menu Editor Lite
Post by: Ricky. on September 09, 2013, 02:26:34 PM
Quote from: Labradoodle-360 on September 07, 2013, 01:21:15 PM
Really? Simply? Please, by all means do it then. I can't speak this about Menu Editor Lite, but Menu Editor Pro is everything but "simple".

Arr.. uh.. aah.. ahem.. oops...
Re-read .. I never say its simple mod, I said Simply Let Poeple........blah blah .. which in other words, I would say.. allow people to add code simply to create multiple menu.

Its  ok though ;) , I have your point.

Title: Re: Menu Editor Lite
Post by: Arantor on September 09, 2013, 02:29:54 PM
I believe Kays' mod can do that.
Title: Re: Menu Editor Lite
Post by: Matthew K. on September 09, 2013, 04:22:56 PM
It honestly wouldn't be too difficult to implement, but it becomes tricky dealing with the template edits that wouldn't be avoidable to one extent or another.
Title: Re: Menu Editor Lite
Post by: cguidry21 on November 26, 2013, 06:48:05 PM
Please bear with my question until this past Sunday I didn't even know what a  css or smf was and there is only so much I can learn in a 48 hr. period. I added this mod to my forum because it seemed like it would help what I am trying to do. I am also thinking about using the 6 buttons but here is my question, can I make a button with a drop down menu that has an internal link and an external link. Even if this mod doesn't do it is it possible to do with out hacking the php? It will probably take me another week to learn how to hack the php. I am using 2.0.6 SMF
Title: Re: Menu Editor Lite
Post by: Kindred on November 26, 2013, 07:04:34 PM
to one button?

Each "button" can only have a single link....

However, we do have a very nice tutorial
http://wiki.simplemachines.org/smf/Buttons_-_How_do_I_add_buttons_to_SMF_2.0

Title: Re: Menu Editor Lite
Post by: Matthew K. on November 30, 2013, 11:35:00 AM
Sure...you can have internal and external children on a parent.
Title: Re: Menu Editor Lite
Post by: Kindred on November 30, 2013, 07:04:05 PM
well, sure... if you have DIFFERENT (aka children) buttons...

but the user asked for two links on a single button.
Title: Re: Menu Editor Lite
Post by: Jessica. on February 08, 2014, 02:00:14 PM
I installed this mod; no issues apart from one thing; when I click on "x Children" (x is a number) the page darkens and a popup of the list of children appears, but I know it's messed up because I can't close out and the whole page is dark.

EDIT: Now all of the sudden clicking it does nothing. :/
Title: Re: Menu Editor Lite
Post by: Matthew K. on February 08, 2014, 05:41:57 PM
Right click, inspect element, console. Any errors?
Title: Re: Menu Editor Lite
Post by: Jessica. on February 08, 2014, 06:16:31 PM
Well I have these:

captureEvents() is deprecated. This method doesn't do anything.
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.

Those are warnings, though, not errors..
Title: Re: Menu Editor Lite
Post by: Matthew K. on February 08, 2014, 06:38:19 PM
Any errors in the SMF error log?
Title: Re: Menu Editor Lite
Post by: Jessica. on February 08, 2014, 07:17:46 PM
Nope, none.
Title: Re: Menu Editor Lite
Post by: Jessica. on February 08, 2014, 07:45:11 PM
Okay I'm going crazy. I removed it temporarily but then I went and reinstalled it. Now I can't find the link to add a child menu to a parent menu...like for example, I'm trying to add add a new child to the "Admin" menu but I can't figure out how to do that. I swore I was able to do it BEFORE I went and reinstalled it...geez -_-

Just not appearing at all

(http://i.imgur.com/tKBX4NB.png)
Title: Re: Menu Editor Lite
Post by: Matthew K. on February 09, 2014, 09:39:22 PM
How about now? Any errors in the log? Default theme?
Title: Re: Menu Editor Lite
Post by: lord alibaski on February 16, 2014, 03:45:31 PM
Hi Labradoodle

Sorry I haven't gone through all 20 pages to see if anyone else has asked this but

I have created a new menu button but Is it possible to hide the new menu button once it's installed so only forum members can view it when they have logged in.
Title: Re: Menu Editor Lite
Post by: Burt on February 16, 2014, 09:12:56 PM
Quote from: lord alibaski on February 16, 2014, 03:45:31 PM
Hi Labradoodle

Sorry I haven't gone through all 20 pages to see if anyone else has asked this but

I have created a new menu button but Is it possible to hide the new menu button once it's installed so only forum members can view it when they have logged in.

No you can't at least on the version I'm using 1.0.5, but you can add the restriction to whatever the button is point at, by using the regular permission built in SMF, so that if a guest clicks on it it get the page that says: an error has occurred!. The page you request cannot be found.

Burt
Title: Re: Menu Editor Lite
Post by: Matthew K. on February 17, 2014, 11:55:21 AM
Menu Editor Pro provides full ability to change both SMF Associated Permissions, and add them. In addition to allow or disallow all regular and post-based membergroups. Not something in Lite though.
Title: Re: Menu Editor Lite
Post by: Burt on February 18, 2014, 04:56:04 AM
Quote from: Labradoodle-360 on February 17, 2014, 11:55:21 AM
Menu Editor Pro provides full ability to change both SMF Associated Permissions, and add them. In addition to allow or disallow all regular and post-based membergroups. Not something in Lite though.

Sorry LD, I forgot that you also have the Pro version available... :-[

Burt
Title: Re: Menu Editor Lite
Post by: player.samp on April 04, 2014, 09:11:15 AM
Quote from: Labradoodle-360 on March 06, 2012, 01:05:26 PM

  • Add Button
    • Button Name
    • Button Placement (Before / After | Above / Below)
    • Link Type (Internal Link [dropdown list] | External Link [define URL]
    • Target (Self, Parent, Top, Blank)
  • Modify Button
  • Remove Button

I have 2 problems:

The add button does not work for me. After I choose everything, when I choose the External Link [define URL], I have no option for writing the URL or anything. :/

And after I install it, it changes all the tabs of my forum which I have already changed with some packages automatic and not automatic. For example, I have Simple Portal, with 'Home' and 'Forum' tab, and after I install this Meny Editor Lite, the 'Forum' button just disappears. :/

This package really seems to be great and it has awesome features, but it's bugged.
Title: Re: Menu Editor Lite
Post by: Matthew K. on April 04, 2014, 10:09:54 AM
It's not "bugged". It doesn't re-add buttons that were added from mods. Since you also PM'd me...I replied there. But "Restoration" is a section in Menu Editor Pro that allows you to put back any items or even the full menu from other modifications, not lite. It's a fairly complicated process and not something that is needed in a lite version.

Add button doesn't work? Sounds to me like your forum has JavaScript issues or it's disabled in your browser.
Title: Re: Menu Editor Lite
Post by: k0der on April 05, 2014, 12:53:55 AM
this mod is not perfect enough and it 's need to improve it.

Type:
Whether the link is internal or external.

once i choose  internal ......

there should be something more action  create our  own specity internal  link name..

but there was no..

maybe add more feature on  Internal Link:
let edit create own other Specify the action to link to..??


Title: Re: Menu Editor Lite
Post by: Matthew K. on April 05, 2014, 12:43:30 PM
That makes no sense. And this mod is great for a lite version. If you want more, buy the Pro version which will do considerably more.
Title: Re: Menu Editor Lite
Post by: Destrogath on June 20, 2014, 05:55:08 PM
I created an external link with two children (drop down style). However, I would like the menu to only be visible to specific membergroups. Is this possible with the Lite version?
Title: Re: Menu Editor Lite
Post by: Matthew K. on June 21, 2014, 12:25:18 PM
No, the lite version only provides control for permissions that are incorporated by default in SMF (ie. only admins can see the admin button). In the pro version, you can add permissions or membergroup control to each button.
Title: Re: Menu Editor Lite
Post by: lastlight2703 on August 22, 2014, 03:21:20 PM
i had installed the mod but this error came out

Table 'www12345_forum2014.smf_menu_items' doesn't exist
File: /home/www12345/public_html/Sources/menu_source/resources/main.php
Line: 62


can anybody help ?

i had upload my back up Subs.php and  the problem is cleared

but now i do not dare to unistall the Mod afraid it will break my forum again  :'(
Title: Re: Menu Editor Lite
Post by: Matthew K. on August 22, 2014, 04:27:42 PM
It appears that the installation PHP file was not run. Extract the package, and run it in your browser after you've uploaded the file.
Title: Re: Menu Editor Lite
Post by: lastlight2703 on August 22, 2014, 06:35:14 PM
Quote from: Labradoodle-360 on August 22, 2014, 04:27:42 PM
It appears that the installation PHP file was not run. Extract the package, and run it in your browser after you've uploaded the file.

Sorry can you explain 

what do you mean run it in you browser ?
upload which file?
upload to where?
menu_db_install.php?

do i need to unistall the mod first ?

thanks
Title: Re: Menu Editor Lite
Post by: lastlight2703 on August 23, 2014, 07:42:51 PM
i had found the files under public_html/Packages/temp

and on my brpswer i type in http://www.xxxxx.com/Packages/temp/menu_db_install.php

You don't have permission to access /Packages/temp/menu_db_install.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Title: Re: Menu Editor Lite
Post by: Matthew K. on August 24, 2014, 09:57:00 AM
Copy the file to your main forum directory (where index.php, Settings.php, and SSI.php) are.
Title: Re: Menu Editor Lite
Post by: lastlight2703 on August 24, 2014, 06:22:24 PM
ok i got it.

Its really an awesome mod

Cheers !!!!  ;D
Title: Re: Menu Editor Lite
Post by: Matthew K. on August 25, 2014, 08:35:19 PM
Thanks, good luck! :)
Title: Re: Menu Editor Lite
Post by: ben sisko on September 10, 2014, 02:58:22 AM
first of all thanks for creating this mod.

i have installed it and it's running ok. still it generates lots (more like tons) of errors on my site. i guess is a conflict with another mod installed.

the examples bellow are from right after installation:

Quotehttp://xxx/index.php?action=admin;area=menueditorApply Filter: Only show the errors with the same message8:
Undefined index: titleApply Filter: Only show the errors from this file File: /home/xxx/public_html/Themes/default/index.template.php
Line: 422

Quotehttp://xxx/index.php?action=admin;area=menueditorApply Filter: Only show the errors with the same message2: array_merge(): Argument #1 is not an arrayApply
Filter: Only show the errors from this file File: /home/xxx/public_html/Sources/PortaMx/PortaMxIntegrate.php
Line: 284

any help would be appreciated. this mod is a nice addition to my forum and i would hate to drop it because of these errors.
Title: Re: Menu Editor Lite
Post by: Matthew K. on September 12, 2014, 10:35:25 AM
Thanks for the kind words. Unfortunately, PortaMX is one of two portals that aren't compatible with Menu Editor. There is very little third-party support in Menu Editor Lite. I tried making sure that Menu Editor Pro was compatible with all of the portals, but PortaMX does some very weird things to the menu, and DreamPortal has it's own menu management system that replaces the menu, so neither of them are compatible as of now.
Title: Re: Menu Editor Lite
Post by: live627 on September 12, 2014, 12:17:24 PM
QuoteDreamPortal has it's own menu management system that replaces the menu
It's a supplement.
Title: Re: Menu Editor Lite
Post by: Burke ♞ Knight on September 12, 2014, 12:39:09 PM
I still use Menu Editor Lite on all my sites, along with SimplePortal, with it's pages feature.
With these two, I can make any SMF forum into a complete site. :)

Thank you again, Labradoodle-360, for a great mod, and the help you gave me a while back. :)
Title: Re: Menu Editor Lite
Post by: MyTime on October 24, 2014, 07:16:45 PM
I tried adding a button but it's not working out for me. It gives me this error
"Sorry! But we encountered 1 error. Here it is...
Internal Link Selection is required."

I'v tried External link with no luck also.

I'm not sure how to check if I have javascript enabled or not.
I have a premium theme.

Edit: I went to inspect elements>console, and it's ready a lot of errors. Should I list them here?
What would you guys suggest?



Any help please? This is mod should help me get closer too finishing my site!
Title: Re: Menu Editor Lite
Post by: Mstcool on October 24, 2014, 08:07:57 PM
When you chose the internal link option, did you choose a link from the option underneath it? For external, did you put a link in the url field? :P
Title: Re: Menu Editor Lite
Post by: MyTime on October 24, 2014, 08:12:17 PM
It does not give me those options  :o
Title: Re: Menu Editor Lite
Post by: Mstcool on October 24, 2014, 11:09:20 PM
hmm, seems like ur mod didn't get installed properly. Uninstall it, and delete it and then install a fresh file again :p
Title: Re: Menu Editor Lite
Post by: Matthew K. on October 26, 2014, 08:47:12 PM
No, it probably did indeed install properly. It sounds like you have JavaScript disabled, or another modification's JavaScript is conflicting with Menu Editor Lite's. Can you open your browser's console and see if there are any JavaScript errors?
Title: Re: Menu Editor Lite
Post by: ovidole91 on November 24, 2014, 04:41:21 AM
hello
labradoodle-360 i  want to ask for you help on  a issue that i have

on smf editor menu lite  i create  a  section name : Moduri ( Mods) then a  child of this section named Tractors then i create  a subchild of the Tractors  name Claas ,and when i came on the first page  in menu  i can't reach the subchild of Tractors

like in this image:

http://prntscr.com/59l196

please help me
Title: Re: Menu Editor Lite
Post by: Matthew K. on November 24, 2014, 09:41:10 AM
That's an issue with your theme, not my modification.
Title: Re: Menu Editor Lite
Post by: ovidole91 on November 24, 2014, 12:38:37 PM
can you help me to fix it please?
or suggest me what to do ?
Title: Re: Menu Editor Lite
Post by: Matthew K. on November 25, 2014, 09:58:30 AM
Contact your theme author, and request that they add support for grandchildren menu items.
Title: Re: Menu Editor Lite
Post by: SilverKnight on December 16, 2014, 06:06:00 PM
I find that with smf 2.0.8 the menu editor lite link box for either internal\external no longer appear. But did in previous versions? I have No issues\errors uninstalling\re installing.
Title: Re: Menu Editor Lite
Post by: Burke ♞ Knight on December 16, 2014, 06:15:18 PM
Strange, I have this mod installed on every one of my sites, all were 2.0.8 and now are 2.0.9 and not have that issue.
Have you tried to go to the default theme, and see if they show then?
Title: Re: Menu Editor Lite
Post by: SilverKnight on December 18, 2014, 06:15:59 PM
Quote from: ♞ Burke Knight ♞ on December 16, 2014, 06:15:18 PM
Strange, I have this mod installed on every one of my sites, all were 2.0.8 and now are 2.0.9 and not have that issue.
Have you tried to go to the default theme, and see if they show then?

Tried it with the default theme and it appears, not sure why my custom theme is hiding it.. bizarre. Maybe something todo with the bootstrap integration i did..


Edit:

With further analysis, its being hidden for whatever reason, i don't know why. Perhaps because both elements are shown as hidden at first bootstrap by default does  not instigate one to be visible. I am not sure.

<div id="internal_link_group"[b] class="hidden"[/b] style="margin-top: 5px;">
<div class="floatleft" style="width: 30%;">
<label for="internal_link">
<span class="bold">Internal Link:</span>
</label>
<div class="smalltext">Specify the action to link to.</div>
</div>
<div class="floatright" style="text-align: left; width: 70%;">
<select class="big_select" name="internal_link" id="internal_link">
<option value="">(Select Internal Link)&nbsp;</option>
<!-- GUEST ONLY LINKS -->
<optgroup label="Guest Only Links::"><option value="?action=login">Login</option><option value="?action=register">Register</option></optgroup>
<!-- MEMBER ONLY LINKS -->
<optgroup label="Member Only Links:"><option value="?action=admin">Admin</option><option value="?action=logout">Logout</option><option value="?action=moderate">Moderate</option><option value="?action=pm">Personal Messages</option><option value="?action=profile">Profile</option><option value="?action=unread">Unread Posts</option><option value="?action=unreadreplies">Unread Replies</option></optgroup>
<!-- OTHER INTERNAL LINKS -->
<optgroup label="------- Other -------"><option value="?action=calendar">Calendar</option><option value="?action=clock">Clock</option><option value="?action=groups">Groups</option><option value="?action=help">Help</option><option value="?action=mlist">Memberlist</option><option value="?action=search">Search</option><option value="?action=stats">Forum Stats</option><option value="?action=who">Who's Online</option><option value="?action=.xml;type=rss">RSS Feed</option>
<option value="01001001010011000100110001001101">Forum Home</option>
</optgroup>
</select>
</div>
<br class="clear">
</div>


css for hidden class in bootstrap:

.hidden {
display: none !important;
visibility: hidden !important;
}
Title: Re: Menu Editor Lite
Post by: ge master on December 23, 2014, 02:53:41 AM
I just wanted to say thanks for this mod. Absolutely fantastic! A 'must have' for sure!
Title: Re: Menu Editor Lite
Post by: Matthew K. on December 26, 2014, 10:48:01 AM
Quote from: SilverKnight on December 18, 2014, 06:15:59 PM
Quote from: ♞ Burke Knight ♞ on December 16, 2014, 06:15:18 PM
Strange, I have this mod installed on every one of my sites, all were 2.0.8 and now are 2.0.9 and not have that issue.
Have you tried to go to the default theme, and see if they show then?

Tried it with the default theme and it appears, not sure why my custom theme is hiding it.. bizarre. Maybe something todo with the bootstrap integration i did..


Edit:

With further analysis, its being hidden for whatever reason, i don't know why. Perhaps because both elements are shown as hidden at first bootstrap by default does  not instigate one to be visible. I am not sure.

<div id="internal_link_group"[b] class="hidden"[/b] style="margin-top: 5px;">
<div class="floatleft" style="width: 30%;">
<label for="internal_link">
<span class="bold">Internal Link:</span>
</label>
<div class="smalltext">Specify the action to link to.</div>
</div>
<div class="floatright" style="text-align: left; width: 70%;">
<select class="big_select" name="internal_link" id="internal_link">
<option value="">(Select Internal Link)&nbsp;</option>
<!-- GUEST ONLY LINKS -->
<optgroup label="Guest Only Links::"><option value="?action=login">Login</option><option value="?action=register">Register</option></optgroup>
<!-- MEMBER ONLY LINKS -->
<optgroup label="Member Only Links:"><option value="?action=admin">Admin</option><option value="?action=logout">Logout</option><option value="?action=moderate">Moderate</option><option value="?action=pm">Personal Messages</option><option value="?action=profile">Profile</option><option value="?action=unread">Unread Posts</option><option value="?action=unreadreplies">Unread Replies</option></optgroup>
<!-- OTHER INTERNAL LINKS -->
<optgroup label="------- Other -------"><option value="?action=calendar">Calendar</option><option value="?action=clock">Clock</option><option value="?action=groups">Groups</option><option value="?action=help">Help</option><option value="?action=mlist">Memberlist</option><option value="?action=search">Search</option><option value="?action=stats">Forum Stats</option><option value="?action=who">Who's Online</option><option value="?action=.xml;type=rss">RSS Feed</option>
<option value="01001001010011000100110001001101">Forum Home</option>
</optgroup>
</select>
</div>
<br class="clear">
</div>


css for hidden class in bootstrap:

.hidden {
display: none !important;
visibility: hidden !important;
}

That definitely could be causing the issue. You could change all instances of Menu Editor's "hidden" class to "mep_hidden" and it would fix that for you. (including the CSS file: .hidden -> .mep_hidden and class="hidden" -> class="mep_hidden")

Quote from: ge master on December 23, 2014, 02:53:41 AM
I just wanted to say thanks for this mod. Absolutely fantastic! A 'must have' for sure!
Thank you kindly :)
Title: Re: Menu Editor Lite
Post by: Destrogath on January 08, 2015, 09:01:18 PM
Hey all,

I added a custom button that links to an external site. I would like this button to only be visible to a specific membergroup, how can I do this? I checked subs.php, and a few other places, not having any luck.
Title: Re: Menu Editor Lite
Post by: Antechinus on January 09, 2015, 03:08:19 PM
Hey Doodle, I have a suggestion. Your mod loads jQ, but doesn't check to see if it's already loaded by custom themes. How about throwing in an extra check to sort that?
Title: Re: Menu Editor Lite
Post by: Bruce the Shark on January 09, 2015, 03:20:57 PM
I had similar issue as Silver Knight a while back.
I did use this mod and my logout button disappeared on me, so i uninstalled the mod. I dont know why and i used another mod to add extra button to my navigation menu.
Not to complicate matter here furthur, i just never reported this issue
Title: Re: Menu Editor Lite
Post by: Chipicao on January 24, 2015, 05:31:37 AM
Hi!

Is there any way to set a string from the DB as the name of a menu item?

For example instead of "Profile" I want to have the actual username.
I could do this my modifying Subs.php
'profile' => array(
'title' => $context['user']['name'],


But how to do it with Menu Editor?

Edit:
I managed to do "something" by modifying \menu_source\resources\main.php:
if ($menu_editor['actual'][$data['name']]['name'] == 'Profile') {
$menu_editor['actual'][$data['name']]['name'] = $context['user']['name'];
}


It seems to work, but as I'm not a PHP programmer, I'm sure there's a better way to do this.
Perhaps an if condition that checks if the menu item name begins with "$context"?

Edit2: I found a much better way by using Greybrow's modification from here (http://www.simplemachines.org/community/index.php?topic=470478.msg3325825#msg3325825)
if ($value['href'] == $scripturl . '?action=profile')
$title = $context['user']['name'];


So thank you Greybrow, and of course Thank you very much Labradoodle-360 for this awesome mod!
Title: Re: Menu Editor Lite
Post by: Matthew K. on February 03, 2015, 10:40:39 AM
Quote from: Destrogath on January 08, 2015, 09:01:18 PM
Hey all,

I added a custom button that links to an external site. I would like this button to only be visible to a specific membergroup, how can I do this? I checked subs.php, and a few other places, not having any luck.
Not possible in Menu Editor Lite. That's one of the Menu Editor Pro features.

Quote from: Antechinus on January 09, 2015, 03:08:19 PM
Hey Doodle, I have a suggestion. Your mod loads jQ, but doesn't check to see if it's already loaded by custom themes. How about throwing in an extra check to sort that?
That's a great idea. It's done that way in Menu Editor Pro, not sure why it wasn't in Menu Editor Lite. I agree :P

Quote from: Chipicao on January 24, 2015, 05:31:37 AM
Hi!

Is there any way to set a string from the DB as the name of a menu item?

For example instead of "Profile" I want to have the actual username.
I could do this my modifying Subs.php
'profile' => array(
'title' => $context['user']['name'],


But how to do it with Menu Editor?

Edit:
I managed to do "something" by modifying \menu_source\resources\main.php:
if ($menu_editor['actual'][$data['name']]['name'] == 'Profile') {
$menu_editor['actual'][$data['name']]['name'] = $context['user']['name'];
}


It seems to work, but as I'm not a PHP programmer, I'm sure there's a better way to do this.
Perhaps an if condition that checks if the menu item name begins with "$context"?

Edit2: I found a much better way by using Greybrow's modification from here (http://www.simplemachines.org/community/index.php?topic=470478.msg3325825#msg3325825)
if ($value['href'] == $scripturl . '?action=profile')
$title = $context['user']['name'];


So thank you Greybrow, and of course Thank you very much Labradoodle-360 for this awesome mod!
That's probably the easiest way to do it. And you're very welcome! :)
Title: Re: Menu Editor Lite
Post by: Miker1029 on May 08, 2015, 10:17:31 AM
Hey, I searched here for this and didn't find anything, SOOO Here goes..

My Question is Rather a Simple one, Is there a Way Of Creating Buttons to have a Variable in the Link...

My Problem Is that ALL My Edits I Do On Localhost (With Xampp), So say When I go to a Custom Button it Goes to "www.Mysite.com/Whatever", So it puts me back online with my Live forum... I've trashed it once when I didn't realize it happened...

Is there a way to set the Button to say "{ROOTHOME}/Whatever"  That way it will go to whatever the Server Config Settings Are?!?!?

Thanks,

Mike
Title: Re: Menu Editor Lite
Post by: Kindred on May 08, 2015, 02:27:08 PM
definitely not with the free version...   probably not with the paid version
Title: Re: Menu Editor Lite
Post by: Miker1029 on May 08, 2015, 07:29:12 PM
Quote from: Kindred on May 08, 2015, 02:27:08 PM
definitely not with the free version...   probably not with the paid version

Lol, OK, But THAT Would Make the PRO Version BAD!!!
Title: Re: Menu Editor Lite
Post by: AE1PT on May 19, 2015, 06:47:53 PM
There does not appear to be anyone home over at the smfhacks.com support forum, so I will try posting this here!  Although this thread is primarily concerning the "Lite" version, I might think that resolution of the problem would be the same for either.  A similar issue was posted some bit back in this thread, yet the "solution" proposed was vague and inconclusive.

As seen in the image below, the icons are displaying at the top of the menu and submenu list boxes.  The major change to the template index.css (Wrap) was to increase the size of the header box to accommodate the site logo, and to push the menu display font to 14pt in order for older readers (the bulk of the membership) to see it larger natively.  Changing the font back to 11 does not solve the problem.

If I uncheck the vertical align:top in both of the inline css instructions, the icons fall back to their proper, inline display.  But I am completely baffled how to find somewhere that this instruction is made.  I have run through the ./default/css/index.css and ./default/css/menu-editor-pro/main.css files to no avail.  I understand enough about coding to make obvious function and style changes--darned if I can iron this one out.

Any suggestions?  I found reference to this sort of issue here:

http://www.simplemachines.org/community/index.php?topic=470478.360

but it did not help as there were really no pointers except for looking in the main.css file.


(http://mypipeclub.com/support/iconshift.jpg)
Title: Re: Menu Editor Lite
Post by: Miker1029 on June 18, 2015, 12:11:46 PM
Ok I've run into a NEW Problem, I'm trying to Set up a "Button" > "Grandchild Button" > "Great Grandchildbutton", Works Fine for the 1st Great G.C. I go to add a Second Great G.C. And it gives me an error saying it already exits, No I've Deleted the Grandchild Button and started over from the beginning and it still does it no matter what I put the Name of the Button, Then I go to Modify the Supposed "Existing" button and it's blank, I entered 5 for the Name (Curious) and clicked Modify (In the Error Block) and it to me to the Moderate Menu?!?!?!

Anyone else run into this?? And or does anyone know how to fix it?

Here's the Drill down: Downloads > 5.x.y. Android > Stable and the dropdown here would list all the types of builds...

See Screenshots...

Any help Appreciated...

Mike

EDIT: The Last Pic is what you get when you Click the Modify button in the error window...
Title: Re: Menu Editor Lite
Post by: sangham.net on June 22, 2015, 01:18:21 AM
Hope your are fine Labradoodle.

Would it be possible to give text-strings instead of text?
Title: Re: Menu Editor Lite
Post by: Kindred on June 22, 2015, 06:38:18 AM
no...   this pulls from the database, not a text string file
Title: Re: Menu Editor Lite
Post by: sangham.net on June 22, 2015, 11:31:40 AM
Thanks Mr Kindred, is there a "simple" way to change it in the php's or would some coding be necessary?
Title: Re: Menu Editor Lite
Post by: Kindred on June 22, 2015, 11:34:22 AM
some fairly major coding...
Title: Re: Menu Editor Lite
Post by: sangham.net on June 22, 2015, 02:41:37 PM
Thanks for your care, Mr Kindred!
Title: Re: Menu Editor Lite
Post by: OCJ on June 23, 2015, 09:44:36 AM
http://www.simplemachines.org/community/index.php?topic=470478.msg3773113#msg3773113


I have this problem now with the link input box not displaying. Im using Redsy theme installed from the beginning before any mods.

If you switch back to default curve theme and do menu edits it works, then switch themes back to custom.

Is this a javascript problem?
Title: Re: Menu Editor Lite
Post by: shadowcrew on November 15, 2015, 01:56:49 PM
Hi Guys,

I know this is an older thread but thought it the best place to ask.

I have installed the lite version and thus far I have one, niggly problem that I need to sort out. Basically I have added 2 new menu items, one for the SMF gallery and one for a custom 'home' page. Both are marked as external links when I set them up in menu editor but when I am on that page the menu border to show which page you are on stays on 'forum'

If I am on a different page, for instance profile and I hover over each menu item then the border appears whilst I am hovering over that item so that works fine. Its just when I select the page.

Using smf 2.0.11

Thank you for any assistance offered.

Picture 1 is visiting the profile page.
Picture 2 is what I get when I am visiting the gallery page (or home page) you can see 'forum' has a border. Please note that gallery ONLY has a border because I was hovering the cursor over it but this doesnt show on the pic.

cheers guys.

Title: Re: Menu Editor Lite
Post by: shadowcrew on November 21, 2015, 06:31:39 AM
HI guys,

I posted the above a week ago so didn't think it too rude to try to bump it again.

Does anyone have any ideas? I can't be the first one to encounter this problem, can I?

I love the mod, its easy to use but unless I can sort this out I will have to think of another way to link to extra pages, which would be a shame as I really want this to work.

Thanks for any suggestions.
Title: Re: Menu Editor Lite
Post by: Kindred on November 21, 2015, 07:24:24 AM
you have marked them as external pages...   so, the system has no idea what menu item to highlight - so it highlights the default (forum)

it's actually working exactly as intended.
Title: Re: Menu Editor Lite
Post by: shadowcrew on November 21, 2015, 07:53:12 AM
Quote from: Kindred on November 21, 2015, 07:24:24 AM
you have marked them as external pages...   so, the system has no idea what menu item to highlight - so it highlights the default (forum)

it's actually working exactly as intended.
Thanks Kindred.

OK, I understand that for the home page as it is new page that I have made externally from the forum and did select 'external link'. The Gallery is part of the forum set up but I didn't see that in the list to select as an internal link.

All this being equal is there a way to add some code somewhere to identify the external pages so they highlight when you are on that page?
Title: Re: Menu Editor Lite
Post by: Kindred on November 21, 2015, 08:06:57 AM
I suspect that what you want might be available in the "pro"(aka paid) version of this mod... but maybe not.

There is an array in Subs.php that tells the system when to highlight certain menu items which would otherwise be incorrect...  but that array depends on the action= value in the URL...   So, basically... no, I know of no simple way to make it recognize the display of EXTERNAL links.

The gallery item is probably not one of the predefined actions... so you'd have to add it to the mod's recognized actions.

You might want to try the OTHER menu control mod... or talk to the author of this one about what his paid version does...
Title: Re: Menu Editor Lite
Post by: shadowcrew on November 21, 2015, 12:26:54 PM
Thanks again Kindred. I appreciate your comments. The paid mod maybe the way to go but right now its a new start up and I have no idea if it will take off or not  :D IF it does then I wont mind paying for some of the mods I will need further down the line.

Once again I really appreciate your explanation.

Thank you.
Title: Re: Menu Editor Lite
Post by: Kindred on November 21, 2015, 07:46:02 PM
Check with the author first, before spending money...

Also, there is another menu mod...

Finally...  I don't know that there is any way to do what you are asking if the first place....
Title: Re: Menu Editor Lite
Post by: Matthew K. on December 01, 2015, 10:14:31 AM
Menu Editor Pro has a full actions list that includes any modifications that add actions from file edit or hook. It also does the same for all permissions within SMF to add to a button - so that you can properly protect a page that should have certain permissions associated to it. There are also a large handful of other nice features available in Menu Editor Pro.
Title: Re: Menu Editor Lite
Post by: Zennia on February 22, 2016, 09:41:58 PM
We've recently installed the Lite version of this mod and ran into a problem with it. When Personal Messages are sent there is no longer a notice in the menu. On the default SMF Menu it would do this: My Messages [3] so users would know they have X new messages. Is there a way we can get the notice to show up?
Title: Re: Menu Editor Lite
Post by: lurkalot on February 23, 2016, 03:20:37 AM
Quote from: Zennia on February 22, 2016, 09:41:58 PM
We've recently installed the Lite version of this mod and ran into a problem with it. When Personal Messages are sent there is no longer a notice in the menu. On the default SMF Menu it would do this: My Messages [3] so users would know they have X new messages. Is there a way we can get the notice to show up?

Read this and the next few posts. http://www.simplemachines.org/community/index.php?topic=470478.msg3313457#msg3313457
Title: Re: Menu Editor Lite
Post by: Zennia on February 23, 2016, 06:13:33 PM
ah alright, thank you.
Title: Re: Menu Editor Lite
Post by: Matthew K. on February 29, 2016, 11:06:17 AM
Quote from: Zennia on February 23, 2016, 06:13:33 PM
ah alright, thank you.
Refer to: http://www.simplemachines.org/community/index.php?topic=470478.msg3325825#msg3325825 or checkout the Pro version.
Title: Re: Menu Editor Lite
Post by: Zennia on March 23, 2016, 08:51:47 PM
thanks!
Title: Re: Menu Editor Lite
Post by: badon on April 21, 2016, 01:57:03 AM
Quote from: goran on April 13, 2012, 05:36:46 PM
Hi.
After installing this great modification there are no more notifies about new PM like this: "My messages (1) - this number has disappeared. Is there a way to fix it?
Thank you.

Quote from: Matthew K. on April 14, 2012, 03:34:58 AM
It's not a problem, so it's not something that needs fixing, that's how it was designed. And no, I don't intend on offering a workaround for it in Menu Editor Lite. There will be a Pro option to cover that.

Quote from: goran on April 14, 2012, 07:53:59 PM
Well it is a problem for me and I have to remove this modification. I don't understand this logic that disabling of new PM notification is normal.

1. Making software that breaks stuff is bad.
2. INTENTIONALLY making software that breaks stuff is malicious.
3. Offering to "fix" the problem for a fee is helpful....EXCEPT, when the problem is not disclosed.

Failing to disclose that the mod will cause damage (disabling features), and requires payment to repair the damage, is indistinguishable from extortion or ransomware. I installed this mod unaware of the problems it would cause. If I had not found goran's post, I would have let this mod screw over the operation of the forum for weeks, months, etc, unaware of why people suddenly stopped responding to PM's. I ASSUME (I'm going to do this next) removing the mod will repair the damage, and that's the only thing that separates this mod from any other malicious software, like viruses and ransomware.

I'm a capitalist, and I understand you want to be paid. Fine. Just tell people in advance that your software will interfere with the normal operation of their forums until it is either removed or paid-for, and all is well. I had a high opinion of smfhacks.com and I would have had no problem buying something if it's useful, and in fact I was shopping there right now to see if there was something I could benefit from buying. The only reason I had such a high opinion was because I felt it was trustworthy, high quality, and well-maintained. Now I can see it's NOT trustworthy, and suddenly I don't care if it's high quality or well-maintained. I may have bought this exact software after I finished figuring out what the differences are between the free version and the paid version.

I'm not going to pay you to cause harm, and I don't want to be even remotely associated with people who think this is a good way to make money. I hope you will reconsider your business strategy here, and either disclose these facts, or eliminate the problem somehow.

Thank you goran for making me aware of what this mod is doing to the forums I administrate.
Title: Re: Menu Editor Lite
Post by: badon on April 21, 2016, 02:02:00 AM
This mod should be removed from the SMF site because it is malicious:

http://www.simplemachines.org/community/index.php?topic=470478.msg3871351#msg3871351
Title: Re: Menu Editor Lite
Post by: nend on April 21, 2016, 02:12:43 AM
This board is for reporting bugs in the SMF software itself, not third party modifications.

However looking over your claim, it is void. You should really look at the license.
Title: Re: Menu Editor Lite
Post by: badon on April 21, 2016, 02:23:08 AM
FYI, I decided it is in the public interest to report this mod and request its removal until the disclosure and/or malice issues are resolved: Menu Editor Lite mod is malicious and should be removed (http://www.simplemachines.org/community/index.php?topic=545267.0). If you quickly added disclosure to the mod's information page, that would probably reduce my concerns sufficiently for me to withdraw my removal request.
Title: Re: Menu Editor Lite
Post by: nend on April 21, 2016, 02:31:41 AM
Like I stated in the other post, your claim is void. It is clearly stated in the license for this mod in section 7.
https://www.mozilla.org/en-US/MPL/1.1/

You either have the option to use the mod or not.
Title: Re: Menu Editor Lite
Post by: live627 on April 21, 2016, 02:35:01 AM
use this form http://custom.simplemachines.org/mods/index.php?action=report;mod=3310
Title: Re: Menu Editor Lite
Post by: badon on April 21, 2016, 02:39:41 AM
Here, have this nice bowl of cherries. Oh, forgot to tell you they're poisoned. You should have read the MSDS for the paint on the bowl.
Title: Re: Menu Editor Lite
Post by: badon on April 21, 2016, 02:42:28 AM
Here are some alternatives I'm testing right now, if anybody reading this needs them:

* Add or Remove buttons (http://custom.simplemachines.org/mods/index.php?mod=2650)
* Ultimate Menu (http://custom.simplemachines.org/mods/index.php?mod=3674)
Title: Re: Menu Editor Lite
Post by: badon on April 21, 2016, 04:43:05 AM
Thanks live627, I reported with the following message:

Quote
Menu Editor Lite maliciously cripples normal function of SMF to compel payment for the commercial version, as described here:

http://www.simplemachines.org/community/index.php?topic=470478.msg3871351#msg3871351

Since the malicious behavior appears to be reversible by uninstallation of the mod, this wouldn't be a problem if the malicious behavior were disclosed. Since it is not disclosed, it is indistinguishable from any other malware that uses an extortion strategy, with malicious actions to compel victims to pay for relief.
Title: Re: Menu Editor Lite
Post by: nend on April 21, 2016, 08:53:53 AM
Quote from: badon on April 21, 2016, 02:39:41 AM
Here, have this nice bowl of cherries. Oh, forgot to tell you they're poisoned. You should have read the MSDS for the paint on the bowl.
Since the bowl manufacturer didn't read the MSDS, it would be liable, not the paint manufacturer.

I am not saying it is right, but from a legal standpoint they covered themselves. They don't have to make sure the bowl manufacturer reads the MSDS, they just have to make it available.

I can see where the dev is coming from. The modification loads the array and probably stores it for you to modify . This may have some negative effects in that some dynamic generated menu items will have to be recoded back into the modification.

I can see where your coming from, your loosing a feature that once was there to add another feature.
Title: Re: Menu Editor Lite
Post by: Kindred on April 21, 2016, 09:03:59 AM
You really need to know what mods do before you install them.

Sorry, but this mod does not fit the criteria of "malicious code" no matter how you want to twist it.

It might not do what YOU want or might do what you want in a way YOU don't like.... that does not make it malicious...   and the author makes no bones about the free version being limited.
Title: Re: Menu Editor Lite
Post by: badon on April 22, 2016, 12:45:06 PM
I guess my integrity standards are too high. Shame on me. I would never do this. I've met a lot of business people over the years, and I'm always shocked at how many of them will choose a business strategy that involves deception, often without even realizing it, and still pressing forward with it after I point it out even when the honest strategy is much superior. In this case, the deception is facilitated by not making clear what the difference is between the free version and the paid version. In other words, sales are being sacrificed to protect the deception.

Noticing little details like this tells me a lot about the people I'm considering doing business with. Nobody is born evil, but for various reasons, some people have learned to like it - and they like it so much they will screw you over in the first moment they get your attention, instead of delivering an effective, profitable sales pitch.

nend, I'm not going to argue fine points of law with you, but I would like to say a few things in response nonetheless. Firstly, disclaimers generally do not apply to intentional malice. If they did, it would be the ultimate loophole for every every bullet ever fired. Secondly, might-makes-right. It always has and it always will. I have watched people spend years crafting a series of perfect accidents to kill someone...eventually. Was it really an accident. Yes, absolutely it was. But, intentionally increasing the odds of accidental death does not mean it's not murder. Not in my eyes, even if I'm the only person that sees it happening.

It won't even do any good for me to warn the target, they don't want to believe that evil can be so incredibly powerful, but still completely unseen from beginning to end, even when it's sitting on your chest. It's like dark energy and/or dark matter. You can prove it's there mathematically, but people don't want to believe that their own adult children are trying to kill them by giving a "gift" of a hand-made slippery rug on a polished hardwood floor right at the top of the stairs. Or... nevermind,
Title: Re: Menu Editor Lite
Post by: nend on April 22, 2016, 02:10:00 PM
You do know you didn't pay a thing for the lite version and at your desecration can uninstall it. You also know I don't get a penny either way as I am not affiliated in any way with this modification. I am just stating the obvious which you apparently missed.

From my perspective it looks like your demanding the author make this free. Something he had to put in extra labor in making it work within the modification.

IMHO anyone that supplies code for free even if it doesn't do what I expected has went above and beyond. It takes time to develop, time the author could of used for themselves but being charitable decided to give back to the community.
Title: Re: Menu Editor Lite
Post by: Matthew K. on April 28, 2016, 01:32:54 PM
Sorry for the lack of responses here from me. I've been busy with Real LifeTM and now see how much this has blown up.

As others have stated...your claims are just ridiculous. First off, I honestly didn't even think about the PM counter not being included in Menu Editor Lite's menu when I developed it, because it isn't added in where I was modifying, and so I just forgot about it. There are countless modifications that remove "features", a modification can add, change, or remove things from SMF and as Kindred stated, just because it removes something you want, doesn't make it malicious or even CLOSE to ransomware. I'm not going to waste my time adding in the PM counter on Menu Editor Lite for people like you who aren't willing to shell out cash for things you want that people spent months working hard on, but are very quick to attack when it's not 100% exactly what you're looking for.

Best Regards
Title: Re: Menu Editor Lite
Post by: badon on April 28, 2016, 10:09:30 PM
I'm only asking you to disclose the fact the mod will disable some features. One sentence, 9 words. All the other noises you're making are an irrelevant red-herring that distracts from that. I especially dislike the straw-man argumentation where people here put words in my mouth about what I want, and then you beat down the straw-man to show I'm being unreasonable. Let's review what you've said about me so far:

* "aren't willing to shell out cash for things you want"
* "are very quick to attack when it's not 100% exactly what you're looking for"

* "didn't pay a thing for the lite version"
* "your demanding the author make this free"
* "you apparently missed [the obvious]."
* "You should really look at the license [because license]"
* "your claim is void [because license]"

* "you want to twist it [to be viewed as malicious]"
* "the free version being limited [is your reason to claim it's malicious]"
* "[it does] not do what YOU want"
* "[it] might do what you want in a way YOU don't like"

None of that is relevant, and it still wouldn't be relevant even if all of it were true.

Will you disclose the fact the mod will disable some features? Yes or no. You only need one word to answer that, and conclusively demonstrate your posture toward your users as either benevolent or hostile.
Title: Re: Menu Editor Lite
Post by: badon on April 28, 2016, 10:13:16 PM
Quote from: badon on April 21, 2016, 02:39:41 AM
Here, have this nice bowl of cherries. Oh, forgot to tell you they're poisoned. You should have read the MSDS for the paint on the bowl.

Quote from: nend on April 21, 2016, 08:53:53 AM
Since the bowl manufacturer didn't read the MSDS, it would be liable, not the paint manufacturer.

I am not saying it is right, but from a legal standpoint they covered themselves. They don't have to make sure the bowl manufacturer reads the MSDS, they just have to make it available.

I can see where the dev is coming from. The modification loads the array and probably stores it for you to modify . This may have some negative effects in that some dynamic generated menu items will have to be recoded back into the modification.

I can see where your coming from, your loosing a feature that once was there to add another feature.

My point was that it doesn't matter who is responsible for the paint. The jury would still be very angry with me if I deliberately killed you with a bowl of poisoned cherries. That's murder. I might try to make your murder look like an accident, but it's still murder.
Title: Re: Menu Editor Lite
Post by: Kindred on April 28, 2016, 11:41:06 PM
Bacon, sorry, but you are the one that is in the wrong here...

You called his mod malicious code...
It is not
Title: Re: Menu Editor Lite
Post by: badon on April 29, 2016, 12:10:21 AM
I disagree. I asserted the mod is malicious because you knowingly allow it to cripple forums, and you refuse to disclose that fact. You also do not try to sell the paid version by explaining it fixes that problem, which leaves us with a crime that has no purpose. I made the logical leap to conclude the mod is malicious because it does harm without benefiting the author. Maybe I should have called it vandalism instead.

Either way, embracing and perpetuating accidental damage is no better than intentional damage. I urge you to stop the arguing, and just disclose the one important fact people should know before they cripple their forums by installing your mod. Alternatively, you could just answer "No" to this question:

Quote from: badon on April 28, 2016, 10:09:30 PM
Will you disclose the fact the mod will disable some features? Yes or no. You only need one word to answer that, and conclusively demonstrate your posture toward your users as either benevolent or hostile.
Title: Re: Menu Editor Lite
Post by: Arantor on April 29, 2016, 07:11:35 AM
This argument is pointless. We have someone who once roused to a cause will not give it up, even when he learns the person he is browbeating has a history of depression. It just seems to encourage him somehow.

I think I might have been the one to mention the number not showing up for PMs originally. It's actually hard to get it right and I totally get why it isn't a thing. I also think I've given this mod's author some critique of the paid version too. So you might say I can see both sides of this, knowing the people involved, as well as the mod.

Honestly at this point, I'd be inclined to add it as a disclaimer to the mod page. Whilst I don't condone badon's attitude and grandstanding for attention, he does have a point buried under the melodrama; the mod page should really list that this is a known issue of the mod. Not because the self-righteous one in the corner says so, but because it is a legitimate defect that for whatever reason won't be rectified and it's good and responsible practice to disclose that.

It just doesn't need all the melodramatics to make that happen. Worst case, one of the Cust team can just add it as a one line mention to the mod page.
Title: Re: Menu Editor Lite
Post by: Kindred on April 29, 2016, 08:16:12 AM
heya Arantor...

I wouldn't normally disagree that a one line comment might be in order... but badon's melodramatic and exaggerated chicken little impression using emotionally charged words to "prove" his point in page right out of Trump's book gets my dander up (and I suspect does to Matthew as well).

I do maintain the insistence that this mod is not malicious.
It does not "cripple" forums.
There is no "crime".
There is no "damage".
there is no "vandalism".
etc etc etc...

the mod does one thing...
it takes the menu out of the coded array and puts it into the database.
It makes no claims as to anything else... and yes, there are downsides to doing it the way Matthew has chosen to do it...
two of those downsides are actually mentioned in this support thread.

If someone installs the mod without reading the comments...  and it does something that individual does not like (still without reading the support comments), then uninstall the mod and move on...  asserting that the code is "malicious" and continuing to do so in the face of evidence otherwise is just childish and "malicious" behavior in itself... :)

Are there mods which do the same thing? (yes)
do they do it better? (IMO, yes...)
that does not detract from the fact that this mod does what it says... nothing more, nothing less.
Title: Re: Menu Editor Lite
Post by: Arantor on April 29, 2016, 08:21:28 AM
It isn't so much that it has downsides. It's that the downsides should really be disclosed on the mod page. No one is going to read a 20+ page thread on the off chance something had a downside.
Title: Re: Menu Editor Lite
Post by: Kindred on April 29, 2016, 08:25:45 AM
they should (read, that is) - however - when it does something that they don't expect :)

mind you...  I actually agree that mod authors should update their description/first post when something is discovered (whether it be an issue with a fix that has not made it into the updates yet or an unexpected side effect...)

I'm just being obstreperous due to badon's attitude...

Title: Re: Menu Editor Lite
Post by: nend on April 29, 2016, 08:31:14 AM
Finding a desktop environment would of been a breeze if every environment gave a full list of expectations and problems. How malicious of them, the one I currently use it is very difficult to get the notification tray to pull out with the mouse and I have to resort to use the keyboard.

I also just learned my card reader on the desktop is junk, it does not support a few large capacity cards. Even though the card reader is a little aged, how dare them not to foresee this.

You don't want to get me started with the Windoze laptop.

I don't mind a disclosure, but going about this whole thing like the victim, yeah let me  :'(, yeah.
Title: Re: Menu Editor Lite
Post by: Matthew K. on April 29, 2016, 11:58:49 AM
I have toyed around with the idea of releasing the Pro version for free on the SMF mod site, and closing this one permanently. I'll give badon the fact that it may be wise to include it in the listing, however, none of the reasoning or claims are well-informed or accurate. I added a note in the bottom of the description on the mod site: "Note: This modification does remove the unread PM counter from the "PM" menu item. The pro version allows you to add it or remove it.". Best Regards. I'm not interested in the rude and out of line attacking and arguing.
Title: Re: Menu Editor Lite
Post by: badon on April 29, 2016, 10:09:14 PM
THANK YOU!




---edited to remove pointless and inflammatory blather
Title: Re: Menu Editor Lite
Post by: Arantor on April 29, 2016, 10:16:55 PM
And you wonder why you get the reactions you do.

It's this attitude that drives people away from open source development. I have dozens of mods I could release via this site but I won't precisely because if I did I'd then have to deal with this sort of attitude, whether it was you personally or someone else.
Title: Re: Menu Editor Lite
Post by: Antes on April 29, 2016, 10:27:08 PM
Quote from: Arantor on April 29, 2016, 10:16:55 PM
And you wonder why you get the reactions you do.

It's this attitude that drives people away from open source development. I have dozens of mods I could release via this site but I won't precisely because if I did I'd then have to deal with this sort of attitude, whether it was you personally or someone else.

Release via GitHub ;)
Title: Re: Menu Editor Lite
Post by: Arantor on April 29, 2016, 10:30:50 PM
I don't even want to do that if I can help it. There is one on GitHub because the intended user can just grab it easily when a new feature is ready for testing, but it's sufficiently niche I didn't bother releasing.

But I'm in the same boat, or similar, t Matthew - taking a previously paid mod and looking to release it, only to deal with people who come across as obnoxious because they can't get their own way and resort to ad hominems and character assassinations because they can't get what they want.
Title: Re: Menu Editor Lite
Post by: Antes on April 29, 2016, 10:39:58 PM
Quote from: Arantor on April 29, 2016, 10:30:50 PM
I don't even want to do that if I can help it. There is one on GitHub because the intended user can just grab it easily when a new feature is ready for testing, but it's sufficiently niche I didn't bother releasing.

But I'm in the same boat, or similar, t Matthew - taking a previously paid mod and looking to release it, only to deal with people who come across as obnoxious because they can't get their own way and resort to ad hominems and character assassinations because they can't get what they want.

That's why you need community manager. Otherwise people like you always and always end up giving up on their work. The money never ever pay the "social pressure or whatever you call" cost upon you.

One thing I observed over-time is mods on GitHub less-likely get weird requests due to people are lazy to go there.
Title: Re: Menu Editor Lite
Post by: nend on April 29, 2016, 11:47:39 PM
Let's not start flaming each other and spamming the forums.

The modification author has agreed to list the disclaimer you requested.
Title: Re: Menu Editor Lite
Post by: ohandy1 on April 30, 2016, 01:34:41 PM
Hope the previous matter is settled...
I'm trying to decide whether I'd rather have Pretty URLs or Menu Editor.  When I have both, certain menu items (like Admin) don't work so I can't have both unless there's something I haven't figured yet.

I completely understand that compatibility with other 3rd party mods isn't remotely testable since they come/go/change all the time.  If the author or anyone else knows of a way to make these two play nice I'd love to hear about it.
Title: Re: Menu Editor Lite
Post by: Antes on April 30, 2016, 01:45:43 PM
Quote from: ohandy1 on April 30, 2016, 01:34:41 PM
Hope the previous matter is settled...
I'm trying to decide whether I'd rather have Pretty URLs or Menu Editor.  When I have both, certain menu items (like Admin) don't work so I can't have both unless there's something I haven't figured yet.

I completely understand that compatibility with other 3rd party mods isn't remotely testable since they come/go/change all the time.  If the author or anyone else knows of a way to make these two play nice I'd love to hear about it.

disallow admin action from prettyurls ?
Title: Re: Menu Editor Lite
Post by: live627 on April 30, 2016, 04:57:44 PM
Does Ultimate Menu work with Pretty URLs?
Title: Re: Menu Editor Lite
Post by: Kindred on April 30, 2016, 10:09:13 PM
Removed the continuing off topic crap, including comments from badon, arantor and myself.

Let's keep it on topic from here on out since the "issue" is solved.
Title: Re: Menu Editor Lite
Post by: IzzySoft on May 12, 2016, 01:59:43 AM
(http://img.prntscr.com/img?url=http://i.imgur.com/WWzDtVH.png)

to have the Child Options show Again, change index.css in the Active theme to


div.cat_bar
{
background: url(../images/theme/main_block.png) no-repeat 0 -160px;
padding-left: 9px;
height: 31px;
overflow: hidden;
margin-bottom: 1px;
width: 99%; /* ADD NEW */
}
Title: Re: Menu Editor Lite
Post by: PatrickPriest on September 12, 2016, 11:52:14 AM
I'm having an issue with the messages notification showing up.  Before I installed this mod, it would show the number of new messages beside the "My Messages" tab in the menu.  I installed this mod and that is no longer the case.  Is there a fix for this?  Thank you.

UPDATE:  Nevermind.  Found fix on page 8 of this thread.
Title: Re: Menu Editor Lite
Post by: twc1968 on September 19, 2016, 04:45:51 PM
I'm have a problem with this MOD working in a custom theme. When I change them to the default theme it works fantastic but when I switch back to the custom theme the drop downs do not show up.

I have been reading the thread and trying to see if anybody else has had this problem and only found one person but did not see a fix.

Any help would be appreciated. I love this mod and would like to get it to work on my site.

I'm using SMH 2.0.11 and the custom theme is GamerZ

Thanks for any help that anybody can give me!

Tim
Title: Re: Menu Editor Lite
Post by: Matthew K. on September 23, 2016, 12:13:53 PM
Your theme does not support menu items beyond the main level. Which is extremely unfortunate, also meaning there's nothing I can do to assist you. Try reaching out to the theme designer to see if they'll give you the code to add them.
Title: Re: Menu Editor Lite
Post by: freddy123 on February 01, 2017, 12:04:17 AM
I don't know if you still check this thread, but I am experiencing a possible conflict problem with your mod.

Once installed it makes the 'Like Stats' from the top menu disappear. (This is from the 'Like Posts' mod) In case you are interested.

This just happened now, so I will try and work it out, or maybe you you or someone else has an idea?

Thanks
Title: Re: Menu Editor Lite
Post by: Kindred on February 01, 2017, 09:31:17 AM
this is the same issue that occurs with the PM notification...   you might check how they solved that, but I suspect that you can't have both this mod and the stats in the menu
Title: Re: Menu Editor Lite
Post by: meylodie on May 14, 2017, 12:51:15 PM
Hi,
I have added a Paypal button in the navigation bar, I wonder if it would be possible to put the Paypal icon image besides? If yes, how can I do that?

Thanks!
Title: Re: Menu Editor Lite
Post by: pijo on September 11, 2017, 07:37:01 AM
Forks flawless on SMF 2.0.13 (Gumus and Gumus Mobile) and placed idealy between Home and Help buttons (so 2nd from left).

I have 21 categories listed verticaly (a little long to scroll down), how can I have 2 vertical columns (12 and 9) instead of a unique verical column ?

     (http://neeeeext.com/download/GO-TO-vertical-drop-menu.jpg)


Thanks for help.

Button "GO TO >>" visible on my website : http://www.neeeeext.com/index.php










Title: Re: Menu Editor Lite
Post by: pijo on September 15, 2017, 08:59:54 AM
Hi everyone,
I am running SMF 2.0.13 and I added the MOD "Menu Editor Lite" (MOD here : http://custom.simplemachines.org/mods/index.php?mod=3310) (http://custom.simplemachines.org/mods/index.php?mod=3310)).
A button "GO TO >>" was added on the main menu buttons (2nd from the left, see picture).
The dropdown menu is now very long verticaly (20 categories !!), so ... how to split this dropdown menu in 2 (or 3) vertical columns (say 10 and 10) ? No option to do so inside the MOD.

My actual menu  :

            (http://neeeeext.com/download/GO-TO-vertical-drop-menu.jpg)

My website : http://www.neeeeext.com/index.php


The css code (from index.css) is :

#main_menu{padding-left:55px;margin-bottom:15px;width:100%;height:1px;}
.Tekmenu{}
.dropmenu, .dropmenu ul{list-style:none;line-height:1em;padding:0;margin:0;}
.dropmenu{padding:0 0em;}
.dropmenu a{display:block;color:#313131;text-decoration:none;background:#ffd155;background-image:-moz-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:-webkit-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:-ms-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:-o-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));border-radius:0px 13px;box-shadow:1px 1px 5px 1px #000;margin:2px 7px;}
.dropmenu a span{display:block;padding:2px 4px 2px 4px;font-size:1em;}
.dropmenu li a.firstlevel{}
.dropmenu li a.firstlevel span.firstlevel{display:block;position:relative;height:36px;line-height:29px;white-space:pre;}
.dropmenu li{padding: 0px 0px 10px 0px !important;float:left;padding:0;margin:0;position:relative;min-width:30px;text-align:center;}
.dropmenu li ul{z-index:90;display:none;position:absolute;width:11em;font-weight:normal;background:none;background-image:-moz-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:-webkit-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:-ms-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:-o-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));border-radius:5px;padding:7px 0 0 0;}
.dropmenu li li{text-align:left;width:17em;margin:0;margin-bottom:3px;}
.dropmenu li li a span{display:block;padding:8px;}
.dropmenu li ul ul{margin:-1.8em 0 0 13em;}
.dropmenu li a.active{background:#0466F9;background-image:-moz-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:-webkit-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:-ms-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:-o-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));border-radius:0px 13px;box-shadow:1px 1px 5px 1px #000;color:#fff;font-weight:bold;}
.dropmenu li a.firstlevel:hover, .dropmenu li:hover a.firstlevel{background:#0466F9;background-image:-moz-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:-webkit-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:-ms-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:-o-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));border-radius:0px 13px;box-shadow:1px 1px 5px 1px #000;color:#fff;cursor:pointer;text-decoration:none;}
.dropmenu li a.firstlevel:hover span.firstlevel, .dropmenu li:hover a.firstlevel span.firstlevel{}
.dropmenu li li a:hover, .dropmenu li li:hover>a{background:#0466F9;background-image:-moz-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:-webkit-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:-ms-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:-o-linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));background-image:linear-gradient(30deg, rgba(255, 255, 255,0), rgba(255, 255, 255,0.7), rgba(255, 255, 255,0));border-radius:0px 13px;box-shadow:1px 1px 5px 1px #000;color:#fff;text-decoration:none;}
.dropmenu li:hover ul ul, .dropmenu li:hover ul ul ul{top:-999em;}
.dropmenu li li:hover ul{top:auto;}
.dropmenu li:hover ul{display:block;}
#menu_toggle{float:right;margin-right:10px;padding-top:3px;}
#menu_toggle span{position:relative;right:5000px;}


Any help greatly appreciated.
Thanks in advance.




Title: Re: Menu Editor Lite
Post by: Gwenwyfar on September 15, 2017, 09:25:38 AM
You can use your browser's inspector to help you with this kind of change.

To change the space available for the list, find this on index.css:

.dropmenu li ul {
    z-index: 90;
    display: none;
    position: absolute;
    width: 19.2em;


Replace width: 19.2em with 40em. This will double the space available, allowing two columns. If you want to tweak this, the width of each item is defined here:


.dropmenu li li {
    text-align: left;
    width: 19em;
Title: Re: Menu Editor Lite
Post by: pijo on September 15, 2017, 11:17:12 AM
Thanks man, you saved my day (already lost 3 to search the web without success !!).

Following your advice, I applied 40em and VOILA !!! 2 columns !!


          (http://neeeeext.com/download/dropmenu.jpg)

Modifying the number of "em" didn't imrove the submenu so I left it at 19em.

.dropmenu li li {
    text-align: left;
    width: 19em;


As I see you know very well the codes of SMF, here are my last 2 questions (if I don't bother you too much) :

- is there a way to remove the big "blank" spaces between the buttons (like between "Unconventional Sciences ..." and "HEALTH" and between "USEFUL PRODUCTIVITY TOOLS" and "General Topics") ?

- is there a way to "desactivate" the button "GO TO >>" ? Actually it is set to go to "Home Page" (no much choice in fact within the settings of Menu Editor Lite).
On the mobile version, when I click on it, he sends me to Home Page (and not showing the submenu as it should).
On the desktop version, when the mouse hovers on it, it shows the submenu, but not on the mobile version (because no mouse to use).
Can I "desactivate" it, just showing the submenu and nothing else when clicked or hovered ?

Thanks again for your invaluable help and your time.

Regards,
Joel
Title: Re: Menu Editor Lite
Post by: Gwenwyfar on September 15, 2017, 11:27:01 AM
That space is because these two items have higher height (two lines of text), and don't line up with the others. The simplest solution would be to move both  to be side-by-side, or reduce the text content. Fixing the source of the problem would require a few edits in how this menu works.
Title: Re: Menu Editor Lite
Post by: pijo on September 16, 2017, 05:04:57 AM
Thanks Gwenwyfar,
I solved the issue of these big spaces by changing the background color to blue, less ugly than the white.

To deactivate the "GO TO" link I think I should modify the link "Home page" by adding ""nofollow" for this external link only.
But ... where to find this code ?

Here is my list of folders :     

                     (http://neeeeext.com/download/ThemesandLayoutSettingsNEEEEEXT.jpg)

The full image (not tronqued) is in attachment.


Any idea where to go in this list ?

Thanks again.
Title: Re: Menu Editor Lite
Post by: Dwev on December 18, 2017, 10:00:25 AM
I've installed this mod in a custom template and though it works great, I don't get any options to add links when I try to edit the original buttons.

I do have the Internal and External dropdown menu, but when I choose the first option nothing can be defined and when I choose the second option there's no field to enter an external link.

Does anybody know what might cause this?
(I presume this isn't the normal behaviour for this mod).
Title: Re: Menu Editor Lite
Post by: sbartelski on May 27, 2021, 06:13:54 PM
Unable to (re) install MEL due to install error (replace) in Sources/Subs.php

What other info required top help me (SMF version 2.18 MEL 1.0.5)

Stefan
Title: Re: Menu Editor Lite
Post by: Shambles on May 28, 2021, 03:37:29 AM
Quote from: sbartelski on May 27, 2021, 06:13:54 PM
Unable to (re) install MEL due to install error (replace) in Sources/Subs.php


https://wiki.simplemachines.org/smf/Error_in_mod_installation

Title: Re: Menu Editor Lite
Post by: sbartelski on June 03, 2021, 02:11:41 PM
@shambles THANKS!