Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: live627 on January 16, 2010, 07:55:28 PM

Title: Menu Order
Post by: live627 on January 16, 2010, 07:55:28 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2348)

Menu Order

Created By:
the7thGhost (http://www.simplemachines.org/community/index.php?action=profile;u=232950)
(View my other mods (http://custom.simplemachines.org/mods/index.php?action=profile;u=232950))
Latest Version:
0.2.6
Languages:
(http://www.simplemachines.org/site_images/lang/english.gif) (http://www.simplemachines.org/site_images/lang/english_british.gif) (http://www.simplemachines.org/site_images/lang/arabic.gif) (http://www.simplemachines.org/site_images/lang/danish.gif) (http://www.simplemachines.org/site_images/lang/german.gif) (http://www.simplemachines.org/site_images/lang/italian.gif) (http://www.simplemachines.org/site_images/lang/romanian.gif) (http://www.simplemachines.org/site_images/lang/spanish.gif) (http://www.simplemachines.org/site_images/lang/russian.gif) (http://www.simplemachines.org/site_images/lang/turkish.gif)
Mod Bugtracker (http://bugtracker.codematicaly.com/search.php?project_id=2&sortby=last_updated&dir=DESC&hide_status_id=-2) | Donate (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=10296963)

Summary
Let's you rearrange the main menu buttons on the top of the page to show up in a different order, and change the text they have. For example, if you want to put "Help" after "Logout," or if you want to change "Home" to "Forum."

If the text of a certain buttons should not be changed, set it to "_no_change_". This will mainly be used when you have a button with dynamically changing text, like "My Messages".

Installing
The package manager should be used to install this mod. If for some reason that doesn't work, you can still do a manual install, but several files will need changed.

IMPORTANT: Older versions should be un-installed before installing a newer version! There is no upgrader. Don't worry, your settings will not be lost.

Support
Questions should be posted to the mod support topic. Anything that is a bug or feature request should be reported to the Mod Bugtracker (http://bugtracker.codematicaly.com/search.php?project_id=2&sortby=last_updated&dir=DESC&hide_status_id=-2).

Translations
Translators are wanted! If you know a language this mod does not support, please translate and post to the mod support topic. All languages are welcome!

$txt['menu_order'] = 'Menu Order';
$txt['menuorder_howsort?'] = 'How do you want to sort menu items?';
$txt['menuorder_sortbybuttons'] = 'Up/Down Buttons';
$txt['menuorder_sortbyjs'] = 'Javascript';
$txt['menuorder_hide'] = 'hide';
$txt['menuorder_show'] = 'show';
$txt['menuorder_edit'] = 'edit';
$txt['menuorder_up'] = 'up';
$txt['menuorder_down'] = 'down';
$txt['menuorder_save'] = 'Save';
$txt['menuorder_saveorder'] = 'Save Order';
$txt['menuorder_sortchanged'] = 'Menu sort method has been changed to "%s".';
$txt['menuorder_jssortsuccess'] = 'Menu item order has been saved.';
$txt['menuorder_hidesuccess'] = '"%s" has been hidden.';
$txt['menuorder_showsuccess'] = '"%s" is now visible.';
$txt['menuorder_renamesuccess'] = '"%s" has been renamed to "%s".';
$txt['menuorder_upsuccess'] = '"%s" has been moved up.';
$txt['menuorder_downsuccess'] = '"%s" has been moved down.';


Changelog
Numbers are bug IDs in the bugtracker
0.2.5
New Feature:    SMF 2.0 RC4 compatibility

0.2.4
20: Added Language: German
21: Added Language: Danish
22: Added Language: Italian

0.2.3
18: New Feature:    SMF 2.0 RC3 compatibility
16: Added Language: Spanish

0.2.2
15: Bugfix:         Errors in Error Log

0.2.1
12: Bugfix:         _no_change_ bug
11: Text:           Update Romanian text
10: Text:           Update Russian text
9:  Added Language: Arabic Translation

0.2
4:  New Feature:    Hide menu items
5:  New Feature:    Javascript menu sort
7:  Bugfix:         Dynamic menu item text doesn't show
8:  Added Language: Russian
3:  Added Language: Romanian

Files modified by Menu Order
Modified:
./Sources/Subs.php
./Sources/Admin.php
./Themes/default/languages/Modifications.english.php

New Files:
./Sources/MenuOrder.php
./Themes/default/MenuOrder.template.php
./Themes/default/scripts/menuorder.js
./Themes/default/scripts/menuorder.php

Optional:
./Themes/default/languages/Modifications.english-utf8.php
./Themes/default/languages/Modifications.english_british.php
./Themes/default/languages/Modifications.english_british-utf8.php
./Themes/default/languages/Modifications.arabic-utf8.php
./Themes/default/languages/Modifications.danish.php
./Themes/default/languages/Modifications.danish-utf8.php
./Themes/default/languages/Modifications.german.php
./Themes/default/languages/Modifications.german-utf8.php
./Themes/default/languages/Modifications.italian.php
./Themes/default/languages/Modifications.italian-utf8.php
./Themes/default/languages/Modifications.romanian.php
./Themes/default/languages/Modifications.romanian-utf8.php
./Themes/default/languages/Modifications.spanish_es.php
./Themes/default/languages/Modifications.spanish_es-utf8.php
./Themes/default/languages/Modifications.spanish_latin.php
./Themes/default/languages/Modifications.spanish_latin-utf8.php
./Themes/default/languages/Modifications.russian.php
./Themes/default/languages/Modifications.russian-utf8.php
Title: Re: Menu Order
Post by: KensonPlays on January 16, 2010, 11:43:06 PM
I can't find the option to edit them.

(first commenter! and 9th downloader!)
Title: Re: Menu Order
Post by: ~DS~ on January 17, 2010, 03:19:59 AM
Perfect, love this mod. It makes a combo with Page Management mod.

However it needs some improvement...

1) Slow but can be better, simliar the way you can move the boards in SMF.
2) Have the option the hide them.

What happen if I uninstall it? Will it restore the order?
Title: Re: Menu Order
Post by: -=[Vyorel]=- on January 17, 2010, 04:55:54 AM
Very nice mod.  ;) :o

Romanian
// begin "Menu Order" edit //
$txt['menu_order'] = 'Ordonare Meniu';
$txt['menuorder_edit'] = 'modifica';
$txt['menuorder_up'] = 'sus';
$txt['menuorder_down'] = 'jos';
$txt['menuorder_save'] = 'Salveaza';
$txt['menuorder_renamesuccess'] = '"%s" a fost redenumit in "%s".';
$txt['menuorder_upsuccess'] = '"%s" a fost mutat sus.';
$txt['menuorder_downsuccess'] = '"%s" a fost mutat jos.';
Title: Re: Menu Order
Post by: the7thGhost on January 18, 2010, 08:15:02 PM
Quote from: Kcmartz on January 16, 2010, 11:43:06 PM
I can't find the option to edit them.
Admin section > Configuration > Menu Order

Quote from: Dismal Shadow on January 17, 2010, 03:19:59 AM
1) Slow but can be better, similar the way you can move the boards in SMF.
2) Have the option the hide them.

What happen if I uninstall it? Will it restore the order?
1) I thought about doing it that way, but it would take slightly longer to code, and personally, I don't really like that way. Perhaps in the future it will have both ways of moving.
2) Good suggestion, I'll implement it in a later version.
When you uninstall it it will revert to the original order.

Quote from: -=[Vyorel]=- on January 17, 2010, 04:55:54 AM
Romanian
Thanks for the translation, it will appear in the very next release.


I hope to have the next version out very soon, but with homework and other more important stuff, it might take a while. If it does I will just add the new language in the next release and that's it, save the other new features for 0.3 or later.

EDIT: The bugtracker now allows anonymous logins, you can see the status of your suggestions there if you wish. http://bugtracker.codematicaly.com/ (http://bugtracker.codematicaly.com/)
Title: Re: Menu Order
Post by: ABCDiamond on January 19, 2010, 08:09:30 AM
Is there anything like this for v1.1.11 ?
Title: Re: Menu Order
Post by: SN on January 19, 2010, 08:28:10 AM
Really like this mod
Title: Re: Menu Order
Post by: the7thGhost on January 19, 2010, 07:07:52 PM
Quote from: ABCDiamond on January 19, 2010, 08:09:30 AM
Is there anything like this for v1.1.11 ?
Not that I know of. I don't have plans to make a 1.1.x version unless a lot of people request it. Then I would have to spend time finding out how 1.1 works...
Title: Re: Menu Order
Post by: ABCDiamond on January 19, 2010, 07:10:38 PM
Quote from: the7thGhost on January 19, 2010, 07:07:52 PM
Not that I know of. I don't have plans to make a 1.1.x version unless a lot of people request it. Then I would have to spend time finding out how 1.1 works...
Pity.  Maybe I will have to look at v2...
Title: Re: Menu Order
Post by: kingkingston on January 20, 2010, 03:17:53 AM
This mod is pretty good,just a suggestion for future realeases,maybe add the ability to create tabs and rearange the links in certain catorgories or sections that you create,it might be a good addition so that users can make the link list look tidy and fancy :)
Title: Re: Menu Order
Post by: SN on January 20, 2010, 03:18:09 AM
i think it would be reallu hard to do it in 1.1.x

1.1.x uses index.template.php for buttons, and every theme has a index.template.php

2.0 uses subs.php for buttons and there is only one of them so its alot easier to do this on 2.0

Quote from: kingkingston on January 20, 2010, 03:17:53 AM
This mod is pretty good,just a suggestion for future realeases,maybe add the ability to create tabs and rearange the links in certain catorgories or sections that you create,it might be a good addition so that users can make the link list look tidy and fancy :)

would like to see that also
Title: Re: Menu Order
Post by: Stigmartyr on January 22, 2010, 11:17:07 PM
Very great mod!  Very great.

However there is one major flaw:  When I am using Ajax Chat or Aeva Media gallery, the button that would normally display dynamic content such as Chat (#users) will no longer display the number of users.

Can you please give me some direction on how to make this work properly?

If not for that, I'd reinstall it.  :o
Title: Re: Menu Order
Post by: Bugo on January 23, 2010, 01:27:00 AM
Russian language files
Title: Re: Menu Order
Post by: Stigmartyr on January 23, 2010, 02:03:41 PM
Can anyone tell me why this mod does not respect dynamic behaviors for buttons?  As in my chat button should print the number of users (in text) when they're in chat, and my gallery will normally show number of new items.

When I use this mod, that behavior goes away.  Is there something that needs to be added for the Subs.php file perhaps?  Please help?
Title: Re: Menu Order
Post by: the7thGhost on January 25, 2010, 06:45:26 PM
Sorry it took so long for me to reply, I had a LOT of stuff going on the past few days.

Quote from: kingkingston on January 20, 2010, 03:17:53 AM
This mod is pretty good,just a suggestion for future realeases,maybe add the ability to create tabs and rearange the links in certain catorgories or sections that you create,it might be a good addition so that users can make the link list look tidy and fancy :)
I was thinking about that when I first made it, but decided to make it really simple to start with. I might put that into a future release.

Quote from: Stigmartyr on January 22, 2010, 11:17:07 PM
However there is one major flaw:  When I am using Ajax Chat or Aeva Media gallery, the button that would normally display dynamic content such as Chat (#users) will no longer display the number of users.
I'll look into it. Thanks for letting me know.

Quote from: Bugo on January 23, 2010, 01:27:00 AM
Russian language files
Thanks!
Title: Re: Menu Order
Post by: Stigmartyr on January 25, 2010, 07:37:58 PM
Tha
Quote from: the7thGhost on January 25, 2010, 06:45:26 PM

I'll look into it. Thanks for letting me know.


No problem - happy to help test it when you're ready.
Title: Re: Menu Order
Post by: the7thGhost on January 27, 2010, 12:07:16 AM
Version 0.2 released!

The bug reported by Stigmartyr is fixed, so far as I can tell.

You can now drag-and-drop the menu items by selecting "Javascript" mode. There is no handle to drag with, just drag anywhere.

Russian and Romanian language files are added, but I've doubled the amount of text in this version, so half is still in English... :P

As Dismal Shadow suggested, you can now hide menu items. When on the admin page all menu items are shown, regardless of whether they should be hidden or not. If you hide the admin page itself, just go to index.php?action=admin - the pages aren't disabled, just hidden from the menu.
Title: Re: Menu Order
Post by: KensonPlays on January 27, 2010, 12:13:55 AM
Cool! Drag and drop!
Title: Re: Menu Order
Post by: ~DS~ on January 27, 2010, 01:02:10 AM
I must say, wow. This mod had potential and a must have mod for anyone who want to rename, move order and hide. Damn, I'm impressive. This make a great combo with "page mod" and "Site Menu"

One problem...the drag in drop doesn't work on my end with Javascript enabled.
Title: Re: Menu Order
Post by: -=[Vyorel]=- on January 27, 2010, 04:43:48 AM
Romanian translate for SMF 2.0 RC2


$txt['menu_order'] = 'Ordonare Meniu';
$txt['menuorder_howsort?'] = 'Cum doriti sa ordonati meniul?';
$txt['menuorder_sortbybuttons'] = 'Butoane Sus/Jos';
$txt['menuorder_sortbyjs'] = 'Script java';
$txt['menuorder_hide'] = 'ascunde';
$txt['menuorder_show'] = 'arata';
$txt['menuorder_edit'] = 'modifica';
$txt['menuorder_up'] = 'sus';
$txt['menuorder_down'] = 'jos';
$txt['menuorder_save'] = 'Salveaza';
$txt['menuorder_saveorder'] = 'Salveaza Ordinea';
$txt['menuorder_sortchanged'] = 'Metoda de ordonare a meniului a fost schimbata in "%s".';
$txt['menuorder_jssortsuccess'] = 'Ordinea meniului a fost salvata.';
$txt['menuorder_hidesuccess'] = '"%s" a fost ascuns.';
$txt['menuorder_showsuccess'] = '"%s" este acum vizibil.';
$txt['menuorder_renamesuccess'] = '"%s" a fost modificat in "%s".';
$txt['menuorder_upsuccess'] = '"%s" a fost mutat sus.';
$txt['menuorder_downsuccess'] = '"%s" a fost mutat jos.';
Title: Re: Menu Order
Post by: Stigmartyr on January 27, 2010, 04:48:28 AM
Thank you, Ghost, but oddly the dynamic behaviors are still not working for me.  Dynamic behaviors still wont show on my site.

I am running SMF2 RC2, with a curve derived theme.

I join my Ajax Chat room and the chat button should say: Chat [1] but it still shows no number of users.  I have tried to copy theme and scripts files to my theme (5th RC2) trying to see if that was the issue and it does not work.

The javascript feature works fine for me however.  Is this an issue with the Curve based theme perhaps?  Or is there still something I need to correct on my end?
Title: Re: Menu Order
Post by: TheListener on January 27, 2010, 05:44:36 AM
Quote from: Stigmartyr on January 27, 2010, 04:48:28 AM
Thank you, Ghost, but oddly the dynamic behaviors are still not working for me.  Dynamic behaviors still wont show on my site.

I am running SMF2 RC2, with a curve derived theme.

I join my Ajax Chat room and the chat button should say: Chat [1] but it still shows no number of users.  I have tried to copy theme and scripts files to my theme (5th RC2) trying to see if that was the issue and it does not work.

The javascript feature works fine for me however.  Is this an issue with the Curve based theme perhaps?  Or is there still something I need to correct on my end?

It may be an idea to mention this problem in the chats own topic.

I also use ajax chat integration mod and like the potential this menu order mod has.
Title: Re: Menu Order
Post by: kingkingston on January 27, 2010, 12:00:50 PM
Quote from: the7thGhost on January 27, 2010, 12:07:16 AM
Version 0.2 released!

The bug reported by Stigmartyr is fixed, so far as I can tell.

You can now drag-and-drop the menu items by selecting "Javascript" mode. There is no handle to drag with, just drag anywhere.

Russian and Romanian language files are added, but I've doubled the amount of text in this version, so half is still in English... :P

As Dismal Shadow suggested, you can now hide menu items. When on the admin page all menu items are shown, regardless of whether they should be hidden or not. If you hide the admin page itself, just go to index.php?action=admin - the pages aren't disabled, just hidden from the menu.
How ?
Title: Re: Menu Order
Post by: Stigmartyr on January 27, 2010, 12:31:26 PM
Quote from: kingkingston on January 27, 2010, 12:00:50 PM
Quote from: the7thGhost on January 27, 2010, 12:07:16 AM
Version 0.2 released!

The bug reported by Stigmartyr is fixed, so far as I can tell.

You can now drag-and-drop the menu items by selecting "Javascript" mode. There is no handle to drag with, just drag anywhere.

Russian and Romanian language files are added, but I've doubled the amount of text in this version, so half is still in English... :P

As Dismal Shadow suggested, you can now hide menu items. When on the admin page all menu items are shown, regardless of whether they should be hidden or not. If you hide the admin page itself, just go to index.php?action=admin - the pages aren't disabled, just hidden from the menu.
How ?

It's listed in the right above the menu settings page itself.  Look there you should find a drop down menu.
Title: Re: Menu Order
Post by: Stigmartyr on January 27, 2010, 12:41:09 PM
Quote from: Brack1 on January 27, 2010, 05:44:36 AM
Quote from: Stigmartyr on January 27, 2010, 04:48:28 AM
Thank you, Ghost, but oddly the dynamic behaviors are still not working for me.  Dynamic behaviors still wont show on my site.

I am running SMF2 RC2, with a curve derived theme.

I join my Ajax Chat room and the chat button should say: Chat [1] but it still shows no number of users.  I have tried to copy theme and scripts files to my theme (5th RC2) trying to see if that was the issue and it does not work.

The javascript feature works fine for me however.  Is this an issue with the Curve based theme perhaps?  Or is there still something I need to correct on my end?

It may be an idea to mention this problem in the chats own topic.

I also use ajax chat integration mod and like the potential this menu order mod has.

It doesn't work with Aeva Media Gallery either, though..  I do see personal messages interacting and reporting a number on new msgs..
Title: Re: Menu Order
Post by: kingkingston on January 27, 2010, 01:27:38 PM
Quote from: Stigmartyr on January 27, 2010, 12:31:26 PM
Quote from: kingkingston on January 27, 2010, 12:00:50 PM
Quote from: the7thGhost on January 27, 2010, 12:07:16 AM
Version 0.2 released!

The bug reported by Stigmartyr is fixed, so far as I can tell.

You can now drag-and-drop the menu items by selecting "Javascript" mode. There is no handle to drag with, just drag anywhere.

Russian and Romanian language files are added, but I've doubled the amount of text in this version, so half is still in English... :P

As Dismal Shadow suggested, you can now hide menu items. When on the admin page all menu items are shown, regardless of whether they should be hidden or not. If you hide the admin page itself, just go to index.php?action=admin - the pages aren't disabled, just hidden from the menu.
How ?

It's listed in the right above the menu settings page itself.  Look there you should find a drop down menu.
This is the menu settings page right,i still don't see the drag and drop feature
Title: Re: Menu Order
Post by: ~DS~ on January 27, 2010, 01:28:59 PM
Same here in my previous message...
Title: Re: Menu Order
Post by: Stigmartyr on January 27, 2010, 04:31:25 PM
Once you have javascript mod saved and you go to grab a row and move it around will it work?  It doesn't look any different, you have to actually click and drag the row.

@ Ghost - reported that dynamic behaviors are still now working with Ajax Chat and Aeva Media gallery.  My above posts explain my site specs.
Title: Re: Menu Order
Post by: ~DS~ on January 27, 2010, 04:55:55 PM
Quote from: Stigmartyr on January 27, 2010, 04:31:25 PM
Once you have javascript mod saved and you go to grab a row and move it around will it work?  It doesn't look any different, you have to actually click and drag the row.

Not on my end.
Title: Re: Menu Order
Post by: Stigmartyr on January 27, 2010, 05:07:48 PM
Quote from: Dismal Shadow on January 27, 2010, 04:55:55 PM
Quote from: Stigmartyr on January 27, 2010, 04:31:25 PM
Once you have javascript mod saved and you go to grab a row and move it around will it work?  It doesn't look any different, you have to actually click and drag the row.

Not on my end.


If you're using a custom theme, does that theme come with its own scripts folder by any chance?
Title: Re: Menu Order
Post by: ~DS~ on January 27, 2010, 05:15:45 PM
Good point, my custom theme does have the script folder with no menuorder.js but the default does. However I switched to default theme, the issue is the same, cannot drag in drop.
Title: Re: Menu Order
Post by: Stigmartyr on January 27, 2010, 07:07:50 PM
Quote from: Dismal Shadow on January 27, 2010, 05:15:45 PM
Good point, my custom theme does have the script folder with no menuorder.js but the default does. However I switched to default theme, the issue is the same, cannot drag in drop.

What happens if you copy the script files to your custom theme folder along with the menuorder php file that goes in /Themes/default ?
Title: Re: Menu Order
Post by: the7thGhost on January 27, 2010, 07:45:40 PM
Thanks for the new translations, Bugo and Vyorel.
@Bugo sorry, my bad. I forgot to change the language file for Romanian to change the correct file... I had duplicated the russian file, then replaced the text...

I'll look into the dynamic text and JS more. I've only tested it on Core, so I'll try another theme.
Title: Re: Menu Order
Post by: the7thGhost on January 27, 2010, 08:30:52 PM
Everything works fine for me, Aeva shows the dynamic text and javascript works. This is using CS4, which has its own scripts file.

Which Aeva version are you using, which chat mod are you using (I couldn't find it), and what theme are you using?
Also are you using RC2 or RC1.2?
Title: Re: Menu Order
Post by: Stigmartyr on January 27, 2010, 09:35:40 PM
Quote from: the7thGhost on January 27, 2010, 08:30:52 PM
Everything works fine for me, Aeva shows the dynamic text and javascript works. This is using CS4, which has its own scripts file.

Which Aeva version are you using, which chat mod are you using (I couldn't find it), and what theme are you using?
Also are you using RC2 or RC1.2?

Im using the Aeva Media beta that is the aeva and gallery rolled into one.  That would be Aeva Media version 1.0 beta 2.  I am also using the latest Ajax Chat file version: 3.2.1

My SMF: SMF 2.0 RC2, and my theme is the 5th_RC2 theme, which is curve based I believe..  Link to that theme: http://custom.simplemachines.org/themes/index.php?lemma=1724

My theme does not have it's own scripts folder.


p.s. Thank you again for your time.
Title: Re: Menu Order
Post by: eslao on January 29, 2010, 08:59:00 PM
Türkçe/Turkish translation
$txt['menu_order'] = 'Menü Sırası';
$txt['menuorder_howsort?'] = 'Menü öğelerini nasıl sıralamak istersiniz ?';
$txt['menuorder_sortbybuttons'] = 'Yukarı/Aşağı Buttonları';
$txt['menuorder_sortbyjs'] = 'Javascript';
$txt['menuorder_hide'] = 'gizle';
$txt['menuorder_show'] = 'göster';
$txt['menuorder_edit'] = 'düzenle';
$txt['menuorder_up'] = 'yukarı';
$txt['menuorder_down'] = 'aşağı';
$txt['menuorder_save'] = 'Kaydet';
$txt['menuorder_saveorder'] = 'Sıralamayı Kaydet';
$txt['menuorder_sortchanged'] = 'Menü düzeni "%s".' şeklinde değiştirildi;
$txt['menuorder_jssortsuccess'] = 'Menü sıralaması kaydedildi.';
$txt['menuorder_hidesuccess'] = '"%s" gizlendi.';
$txt['menuorder_showsuccess'] = '"%s" görünür oldu.';
$txt['menuorder_renamesuccess'] = '"%s" buttonu "%s" olarak değiltirildi.';
$txt['menuorder_upsuccess'] = '"%s" yukarı taşındı.';
$txt['menuorder_downsuccess'] = '"%s" aşağı taşındı.';
Title: Re: Menu Order
Post by: the7thGhost on January 29, 2010, 10:06:48 PM
Version 0.2.1 released!

Changelog:
12: Bugfix:         _no_change_ bug
13: Bugfix:         PHP Error next to show button
11: Text:           Update Romanian text
10: Text:           Update Russian text
9:  Added Language: Arabic Translation
14: Added Language: Turkish Translation

Thanks for the translations, eslao and 3wasef (on the bugtracker)
Title: Re: Menu Order
Post by: Groundhog on January 31, 2010, 01:31:59 AM
Very useful mod the7thGhost.

Thanks very much  :)
Title: Re: Menu Order
Post by: ~DS~ on February 12, 2010, 12:58:49 AM
Ghost can you have a look here, hope this will help you solve the issue in this mod.

http://www.simplemachines.org/community/index.php?topic=364747.0
Title: Re: Menu Order
Post by: farao25 on February 13, 2010, 07:04:05 PM
Nice mod
Everything works fine except from the fact i can't get it work with custom menu buttons (http://custom.simplemachines.org/mods/index.php?mod=1421). I see the custom menu buttons but i can't move them up/down. Is there any fix ?
Title: Re: Menu Order
Post by: Stigmartyr on February 13, 2010, 07:45:56 PM
Quote from: farao25 on February 13, 2010, 07:04:05 PM
Nice mod
Everything works fine except from the fact i can't get it work with custom menu buttons (http://custom.simplemachines.org/mods/index.php?mod=1421). I see the custom menu buttons but i can't move them up/down. Is there any fix ?

Works for me, but if you're using javascript mode there aren't any links to move them around, you just grab a row and drag it.  Not sure if that's the problem.
Title: Re: Menu Order
Post by: SikLiFe on March 02, 2010, 07:49:03 PM

Love the mod, however it gives me thousands of log errors, works fine, but things are undefined so the mod needs to be finished, i hope this all works out soon, i could really use it!

this was my problem if you know how to fix it let me know thanks =]
http://www.simplemachines.org/community/index.php?topic=368230.0
Title: Re: Menu Order
Post by: live627 on March 02, 2010, 08:30:50 PM
Woww.. six errors right after install

Notice: Undefined index: active_button in C:\wamp\www\smf\Themes\default\Packages.template.php (body_above sub template - eval?) on line 446
firstlevel" href=""
Notice: Undefined index: href in C:\wamp\www\smf\Themes\default\Packages.template.php (body_above sub template - eval?) on line 446
">

Notice: Undefined index: title in C:\wamp\www\smf\Themes\default\Packages.template.php (body_above sub template - eval?) on line 447
Notice: Undefined index: active_button in C:\wamp\www\smf\Themes\default\Packages.template.php (body_above sub template - eval?) on line 446
firstlevel" href=""
Notice: Undefined index: href in C:\wamp\www\smf\Themes\default\Packages.template.php (body_above sub template - eval?) on line 446
">

Notice: Undefined index: title in C:\wamp\www\smf\Themes\default\Packages.template.php (body_above sub template - eval?) on line 447
Title: Re: Menu Order
Post by: TheListener on March 02, 2010, 08:56:43 PM
http://www.xxxxx/index.php?action=admin;area=menu_order;edit=media
Apply Filter: Only show the errors with the same message
2: Invalid argument supplied for foreach()
Apply Filter: Only show the errors from this file
File: /home/xxxxx/public_html/Sources/Subs.php
Line: 4434


Attachment supplied
Title: Re: Menu Order
Post by: live627 on March 02, 2010, 09:18:33 PM
@Brack1: Fixed Subs.php attached

If anyone else has the same problem,

Code (Find) Select
foreach($menutitles as $key => $value) {

Code (Replace with) Select
if (!empty($menutitles)
{
foreach($menutitles as $key => $value)





I played with the menu looking for a way to quash those errors and found this code belowworks qquite well

Code (Find) Select
// end "Menu Order" edit //

Code (Add after) Select

foreach($context['menu_buttons'] as $key => $button)
if (empty($button['href'])) unset($context['menu_buttons'][$key]);


Oh, and it's in ./Sources/Subs.php
Title: Re: Menu Order
Post by: TheListener on March 02, 2010, 09:29:59 PM
Tried the attachment.

Gave me a whole page of errors.

Mainly timezone related ( didn't read the whole lot).
Title: Re: Menu Order
Post by: live627 on March 02, 2010, 09:34:04 PM
Does the list of errors include active_button, title, href?
Title: Re: Menu Order
Post by: ~DS~ on March 02, 2010, 09:36:56 PM
I am not sure if the bugs you found and the code you posted fixed this issue...?
http://www.simplemachines.org/community/index.php?topic=364747.0#lastPost
Title: Re: Menu Order
Post by: live627 on March 02, 2010, 10:02:39 PM
You were getting the exact samee errors as me. Did you try the code edit?
Title: Re: Menu Order
Post by: ~DS~ on March 02, 2010, 10:24:35 PM
Quote from: live627 on March 02, 2010, 10:02:39 PM
You were getting the exact samee errors as me. Did you try the code edit?
I can try, unfortunately, I use a dropdown list now.
Title: Re: Menu Order
Post by: SikLiFe on March 03, 2010, 12:44:48 AM
Quote from: live627 on March 02, 2010, 10:02:39 PM
You were getting the exact samee errors as me. Did you try the code edit?

I'm getting the same errors now. all 3 of them, seemly only happends when guest view,


Apply Filter: Only show the error messages of this URL
http://www.**********.com/forum/index.php?board=20.0
Apply Filter: Only show the errors with the same message
8: Undefined index: title
Apply Filter: Only show the errors from this file
File: /home/****/****/forum/Themes/*****/MessageIndex.template.php (eval?)
Line: 335



Title: Re: Menu Order
Post by: the7thGhost on March 04, 2010, 09:36:24 PM
Hey,
Sorry it took so long to get to this, I've had a LOT of homework lately, and that always has to come before programming...

Try the attached mod and see if it fixes the problem; if it does, please let me know.
Title: Re: Menu Order
Post by: TheListener on March 04, 2010, 09:48:28 PM
Tried it on my test forum.

Had over 3 pages of errors.
Title: Re: Menu Order
Post by: the7thGhost on March 04, 2010, 10:27:55 PM
 :'( Are they all from after you installed this version of the mod? If they are, can I see a screenshot?
Title: Re: Menu Order
Post by: ~DS~ on March 04, 2010, 10:33:08 PM
Quote from: the7thGhost on March 04, 2010, 10:27:55 PM
:'( Are they all from after you installed this version of the mod? If they are, can I see a screenshot?
I don't mind giving you an admin test account if you want? I have a test site which shows some errors.
Title: Re: Menu Order
Post by: SikLiFe on March 05, 2010, 12:10:45 AM
Quote from: the7thGhost on March 04, 2010, 09:36:24 PM
Hey,
Sorry it took so long to get to this, I've had a LOT of homework lately, and that always has to come before programming...

Try the attached mod and see if it fixes the problem; if it does, please let me know.


The errors only come when GUEST view..
Title: Re: Menu Order
Post by: the7thGhost on March 05, 2010, 09:46:08 PM
Version 0.2.2 released!
This should fix the errors people have been having.

Changelog:
15: Bugfix:         Errors in Error Log

For those of you who are having trouble with the Javascript, chmod (change permissions) /Theme_dir/scripts/menuorder.php to 644. It's probably 666 if it doesn't work. I'm not sure if this will fix the problem for everyone or not.

Download (http://custom.simplemachines.org/mods/index.php?mod=2348)
Title: Re: Menu Order
Post by: SikLiFe on March 05, 2010, 10:00:36 PM
Seems to be working! Great job! Great mod!
Title: Re: Menu Order
Post by: the7thGhost on March 05, 2010, 10:14:59 PM
Quote from: siklife on March 05, 2010, 10:00:36 PM
Seems to be working! Great job! Great mod!
You're welcome. Shadow found a bug caused by one of my bugfixes, if you're having trouble with the Show/Hide buttons not showing the right text you'll want to download it.
Title: Re: Menu Order
Post by: ~DS~ on March 05, 2010, 10:30:32 PM
The issue had been fixed. Thanks Ghost.
Title: Re: Menu Order
Post by: the7thGhost on March 05, 2010, 10:49:37 PM
No problem! I'm kinda glad I got it fixed, now it won't be on my mind when I take third quarter exams next week. My grades suffer when I'm distracted  :P
Title: Re: Menu Order
Post by: Membre on March 05, 2010, 10:52:00 PM
Spanish_es / Spanish_latin / Spanish ( add utf8 also please :) )

$txt['menu_order'] = 'Orden del Menú';
$txt['menuorder_howsort?'] = 'Como quieres ordenar los objetos del menú?';
$txt['menuorder_sortbybuttons'] = 'Botones Arriba/Abajo';
$txt['menuorder_sortbyjs'] = 'Javascript';
$txt['menuorder_hide'] = 'esconder';
$txt['menuorder_show'] = 'mostrar';
$txt['menuorder_edit'] = 'editar';
$txt['menuorder_up'] = 'arriba';
$txt['menuorder_down'] = 'abajo';
$txt['menuorder_save'] = 'Guardar';
$txt['menuorder_saveorder'] = 'Guardar Orden';
$txt['menuorder_sortchanged'] = 'Método de ordenado del menú fue cambiado a "%s".';
$txt['menuorder_jssortsuccess'] = 'Objeto del menú fue guardado.';
$txt['menuorder_hidesuccess'] = '"%s" fue escondido.';
$txt['menuorder_showsuccess'] = '"%s" es ahora visible.';
$txt['menuorder_renamesuccess'] = '"%s" fue renombrado a "%s".';
$txt['menuorder_upsuccess'] = '"%s" fue movido arriba.';
$txt['menuorder_downsuccess'] = '"%s" fue movido abajo.';
Title: Re: Menu Order
Post by: SikLiFe on March 05, 2010, 10:53:26 PM
Quote from: the7thGhost on March 05, 2010, 10:14:59 PM
Quote from: siklife on March 05, 2010, 10:00:36 PM
Seems to be working! Great job! Great mod!
You're welcome. Shadow found a bug caused by one of my bugfixes, if you're having trouble with the Show/Hide buttons not showing the right text you'll want to download it.


Not quite sure what your talking about, but so far everything seems okay, on the menu order admin, panel ? if so that looks fine to.
Title: Re: Menu Order
Post by: ~DS~ on March 05, 2010, 11:01:11 PM
Quote from: siklife on March 05, 2010, 10:53:26 PM
Quote from: the7thGhost on March 05, 2010, 10:14:59 PM
Quote from: siklife on March 05, 2010, 10:00:36 PM
Seems to be working! Great job! Great mod!
You're welcome. Shadow found a bug caused by one of my bugfixes, if you're having trouble with the Show/Hide buttons not showing the right text you'll want to download it.


Not quite sure what your talking about, but so far everything seems okay, on the menu order admin, panel ? if so that looks fine to.
The bug was if you use javascript drag-in-drop  enabled, the show/hide button are not showing the right text even though you clicked them. Hope that clears up for you. :)
Title: Re: Menu Order
Post by: the7thGhost on March 05, 2010, 11:14:21 PM
Quote from: Membre on March 05, 2010, 10:52:00 PM
Spanish_es / Spanish_latin / Spanish ( add utf8 also please :) )

Thanks!
Title: Re: Menu Order
Post by: ~DS~ on March 06, 2010, 04:20:00 AM
Quote from: Dismal Shadow on March 05, 2010, 11:01:11 PM
Quote from: siklife on March 05, 2010, 10:53:26 PM
Quote from: the7thGhost on March 05, 2010, 10:14:59 PM
Quote from: siklife on March 05, 2010, 10:00:36 PM
Seems to be working! Great job! Great mod!
You're welcome. Shadow found a bug caused by one of my bugfixes, if you're having trouble with the Show/Hide buttons not showing the right text you'll want to download it.


Not quite sure what your talking about, but so far everything seems okay, on the menu order admin, panel ? if so that looks fine to.
The bug was if you use javascript drag-in-drop  enabled, the show/hide button are not showing the right text even though you clicked them. Hope that clears up for you. :)

I take it back...it's not fixed.
Title: Re: Menu Order
Post by: the7thGhost on March 06, 2010, 11:33:44 PM
Quote from: Dismal Shadow on March 06, 2010, 04:20:00 AM
I take it back...it's not fixed.

Are the show/hide links still not working right? Did you try it on your live site?
Title: Re: Menu Order
Post by: Snogmarr on March 07, 2010, 06:12:23 PM
Cant seem to hide the buttons
Title: Re: Menu Order
Post by: ~DS~ on March 07, 2010, 08:19:30 PM
Quote from: the7thGhost on March 06, 2010, 11:33:44 PM
Quote from: Dismal Shadow on March 06, 2010, 04:20:00 AM
I take it back...it's not fixed.

Are the show/hide links still not working right? Did you try it on your live site?
Right, and oh...btw, the menu that was already hide show all up when you click "admin" if you are a admin.
Title: Re: Menu Order
Post by: the7thGhost on March 10, 2010, 05:16:44 PM
If you click the show/hide button, it might fix it. I hope.
Title: Re: Menu Order
Post by: SikLiFe on March 10, 2010, 06:40:10 PM
Just upgraded to RC3, is this compatible for anyone else? doesn't work for me all of a sudden, I'll be watching for a update if this is the case, thanks!
Title: Re: Menu Order
Post by: Snogmarr on March 10, 2010, 10:32:04 PM

Just installed it on 3

works fine except but will not allow me to use JScript,,,,,,,,,,

loads of error logs when moving or editing buttons but they clear and don't return once I have moved the buttons around.

so apart fron the JS they work fine.
Title: Re: Menu Order
Post by: the7thGhost on March 10, 2010, 10:36:54 PM
At some point tonight or tomorrow I'll install it on RC3, which I haven't done yet. If it doesn't function I'll make a new version, however, I'm not going to set any deadlines on when it's released. I have to code around my school time. :P
Title: Re: Menu Order
Post by: aussieherps on April 01, 2010, 09:37:52 PM
Quote from: siklife on March 10, 2010, 06:40:10 PM
Just upgraded to RC3, is this compatible for anyone else? doesn't work for me all of a sudden, I'll be watching for a update if this is the case, thanks!
Works fine for me. The only issue I have is that I now have a message that is not there....

Eg My Messages [1] is always there. When I uninstall the mod that dissapears.
Any fixes for this would be good
Title: Re: Menu Order
Post by: giveaway365.com on April 02, 2010, 12:24:56 AM
does it work on RC3?
Title: Re: Menu Order
Post by: aussieherps on April 04, 2010, 09:18:45 PM
Have fixed the issue for now but when reading your first post I see this:

QuoteIf the text of a certain buttons should not be changed, set it to "_no_change_". This will mainly be used when you have a button with dynamically changing text, like "My Messages".

I can not find the _no_change_ option anywhere. Please help
Title: Re: Menu Order
Post by: the7thGhost on April 08, 2010, 12:40:25 AM
It's not an option, you have to manually type it in.

When you click "Edit", there is a place to change the words the button shows. Type in "_no_change_" in that box, and click Save.
Title: Re: Menu Order
Post by: the7thGhost on April 08, 2010, 12:40:58 AM
Version 0.2.3 released!

Changelog:
18: New Feature:    SMF 2.0 RC3 compatibility
16: Added Language: Spanish
Title: Re: Menu Order
Post by: MATTEK on April 20, 2010, 08:16:05 PM
Awesome mod. Thank you!
Title: Re: Menu Order
Post by: Snogmarr on April 21, 2010, 07:09:50 AM
I dont understand this

on my other forums when I use javascript it will let me click and move the button.
I hav a new forum and used new mod but javascript does not work?
Title: Re: Menu Order
Post by: Raffaele1977 on May 08, 2010, 03:00:34 AM
italian translation... :)
Title: Re: Menu Order
Post by: cro.senator on May 08, 2010, 06:21:06 AM
how to edit buttons (like "Login" or "Register") which u cannot access while working in admin center... tnx
Title: Re: Menu Order
Post by: AK_CCM on June 03, 2010, 06:25:49 AM
Here's the german translation:

$txt['menu_order'] = 'Menü Reihenfolge';
$txt['menuorder_howsort?'] = 'Wie wollen Sie Ihre Menüpunkte ordnen?';
$txt['menuorder_sortbybuttons'] = 'Oben-/ Unten-Schaltflächen';
$txt['menuorder_sortbyjs'] = 'Drag & Drop (Javascript)';
$txt['menuorder_hide'] = 'verstecken';
$txt['menuorder_show'] = 'anzeigen';
$txt['menuorder_edit'] = 'bearbeiten';
$txt['menuorder_up'] = 'nach oben';
$txt['menuorder_down'] = 'nach unten';
$txt['menuorder_save'] = 'Speichern';
$txt['menuorder_saveorder'] = 'Reihenfolge speichern';
$txt['menuorder_sortchanged'] = 'Die Methode der Menü Reihenfolge wurde geändert: "%s".';
$txt['menuorder_jssortsuccess'] = 'Die Reihenfolge der Menüpunkte wurde gespeichert.';
$txt['menuorder_hidesuccess'] = '"%s" wurde versteckt.';
$txt['menuorder_showsuccess'] = '"%s" ist jetzt sichtbar.';
$txt['menuorder_renamesuccess'] = '"%s" wurde umbenannt in "%s".';
$txt['menuorder_upsuccess'] = '"%s" wurde nach oben verschoben.';
$txt['menuorder_downsuccess'] = '"%s" wurde nach unten verschoben.';


Could anyone help me to convert the translation to UTF-8 and integrate the language file into the package?

Thanks in advance.
Title: Re: Menu Order
Post by: Vandreaben on June 10, 2010, 06:22:17 AM
Danish translation:

$txt['menu_order'] = 'Menu-placering';
$txt['menuorder_howsort?'] = 'Hvilken teknologi ønsker du at anvende til at placerer menupunkterne?';
$txt['menuorder_sortbybuttons'] = 'Op/Ned Knapper';
$txt['menuorder_sortbyjs'] = 'Javascript';
$txt['menuorder_hide'] = 'skjul';
$txt['menuorder_show'] = 'vis';
$txt['menuorder_edit'] = 'omdøb';
$txt['menuorder_up'] = 'op';
$txt['menuorder_down'] = 'ned';
$txt['menuorder_save'] = 'Gem';
$txt['menuorder_saveorder'] = 'Gem placering';
$txt['menuorder_sortchanged'] = 'Menupunkternes placering ændres nu via "%s".';
$txt['menuorder_jssortsuccess'] = 'Menupunkternes placering er nu blevet gemt.';
$txt['menuorder_hidesuccess'] = '"%s" er nu skjult.';
$txt['menuorder_showsuccess'] = '"%s" bliver nu vist.';
$txt['menuorder_renamesuccess'] = '"%s" er blevet omdøbt til "%s".';
$txt['menuorder_upsuccess'] = '"%s" er flyttet op.';
$txt['menuorder_downsuccess'] = '"%s" er flyttet ned.';

Title: Re: Menu Order
Post by: C4G-TK on June 10, 2010, 11:13:29 PM
Very sweet mod.  It really cleans up the menu area, too, when you can change the tabs in one fell swoop.
Thanks for a great enhancement!
Title: Re: Menu Order
Post by: cyberwolf000 on June 20, 2010, 07:55:16 PM
OK, this is probably a very dumb question, but I am very new to the whole SMF Forum thing.  I have installed the Menu Order mod, now, how do I use it?
Title: Re: Menu Order
Post by: C4G-TK on June 20, 2010, 10:36:32 PM
Quote from: cyberwolf000 on June 20, 2010, 07:55:16 PM
OK, this is probably a very dumb question, but I am very new to the whole SMF Forum thing.  I have installed the Menu Order mod, now, how do I use it?

Go into ADMIN, hover over CONFIGURATION, and click on MENU ORDER.

You can then EDIT the names on the navigation menu and change the order.  Pretty self-explanatory.  Can hide them, too.


What was it that you were having trouble with?
Title: Re: Menu Order
Post by: cyberwolf000 on June 20, 2010, 10:46:12 PM
OK, this helps me move the buttons around, but what I need and can't find is a way to add buttons to SMF 2.0 RC3?  Can you point me to something.  I tried using these instructions, but it only put a gap in the links and when I look at it in Menu Order it is blank.  http://www.simplemachines.org/community/index.php?topic=261880.0
Title: Re: Menu Order
Post by: C4G-TK on June 20, 2010, 11:58:42 PM
If you just want to add Tabs, try this:
http://custom.simplemachines.org/mods/index.php?mod=1402

Title: Re: Menu Order
Post by: cyberwolf000 on June 21, 2010, 01:18:39 PM
Quote from: C4G-TK on June 20, 2010, 11:58:42 PM
If you just want to add Tabs, try this:
http://custom.simplemachines.org/mods/index.php?mod=1402

Unfortunately, this only works up to RC2.  I am running RC3.  I tried to edit the subs.php file by hand, but it wouldn't show the new link.  It just put a small break between the links I put it between.  I did try installing the mod from the above link, but it would add any links, it did nothing when I filled in the 2 text fields and hit save.
Title: Re: Menu Order
Post by: C4G-TK on June 21, 2010, 01:27:34 PM
Emulate RC2

I am using RC3 and it works fine.


Go into PACKAGES > BROWSE PACKAGES

and at the bottom of the page there is a link that says ADVANCED.

Click ADVANCED and then in the box change the forum version from SMF 2.0 RC3 to SMF 2.0 RC2 and hit APPLY

Then upload the package and install.

After you are done, go back and change it back to SMF 2.0 RC3 and hit APPLY again.




If it doesn't work, attach your Subs.php file
Title: Re: Menu Order
Post by: cyberwolf000 on June 21, 2010, 03:44:04 PM
That worked perfectly.  Thank you so much.  Just one other question.  Can I open that link in another tab or window?
Title: Re: Menu Order
Post by: SN on June 30, 2010, 03:17:23 AM
Hide button isn't working for me...?
Title: Re: Menu Order
Post by: timmytimmy on August 16, 2010, 06:08:01 PM
Quote from: cyberwolf000 on June 21, 2010, 03:44:04 PM
That worked perfectly.  Thank you so much.  Just one other question.  Can I open that link in another tab or window?

Yes, I would like to be able to do this as well!
Title: Re: Menu Order
Post by: live627 on August 16, 2010, 06:46:21 PM
Hold down the Control key while clicking
Title: Re: Menu Order
Post by: timmytimmy on August 16, 2010, 10:40:48 PM
Quote from: live627 on August 16, 2010, 06:46:21 PM
Hold down the Control key while clicking

hilarious!  ::)
Title: Re: Menu Order
Post by: the7thGhost on August 17, 2010, 01:00:30 AM
Sorry I didn't get to this sooner, for some reason when you posted your translations I didn't get an email notifying me of new replies, but today I did... Anyway, thanks for the translations!

If you're using a mod to add a button and it's blank in Menu Order, you can try editing it and changing it to something. I'm not really sure if that will work, but it's worth a try. :P




Version 0.2.4 released!

Changelog:
20: Added Language: German
21: Added Language: Danish
22: Added Language: Italian

http://custom.simplemachines.org/mods/index.php?mod=2348 (http://custom.simplemachines.org/mods/index.php?mod=2348)
Title: Re: Menu Order
Post by: Raffaele1977 on August 17, 2010, 10:31:30 AM
i have 0.23

it's not possible to change the "register" entry...
so i manually changed it by ftp files...

can be changed only the voices i can read when i'm logged...

am i right?
Title: Re: Menu Order
Post by: the7thGhost on August 17, 2010, 12:39:27 PM
You can only change the menu items you can see while you are logged in as the administrator.

This means register and login cannot be changed.
Title: Re: Menu Order
Post by: Shades. on November 06, 2010, 02:12:26 PM
Cool! This mod works on RC4 too! :)
Title: Re: Menu Order
Post by: Verso on November 11, 2010, 05:34:05 AM
I get this when installing on RC4

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: Menu Order
Post by: Bugo on November 11, 2010, 05:40:09 AM
Can you try use Emulate Version?
Title: Re: Menu Order
Post by: the7thGhost on November 11, 2010, 11:53:27 AM
Version 0.2.5 released!

Changelog:
New Feature:    SMF 2.0 RC4 compatibility

http://custom.simplemachines.org/mods/index.php?mod=2348 (http://custom.simplemachines.org/mods/index.php?mod=2348)
Title: Re: Menu Order
Post by: Cyber-Burn on December 01, 2010, 11:38:16 PM
I love this mod :)

I am trying to get this to work with the Menu Links Management mod, and it appears I can't edit or arrange any of the buttons that were created with this mod.  I've had a look at the code, but I have not been able to figure out a way around this yet.  Has anyone else tried this?
Title: Re: Menu Order
Post by: onelund on December 02, 2010, 04:20:45 AM
Swedish translation!

$txt['menu_order'] = 'Meny ordning';
$txt['menuorder_howsort?'] = 'Hur vill du sortera menyn?';
$txt['menuorder_sortbybuttons'] = 'Upp/Ner knappar';
$txt['menuorder_sortbyjs'] = 'Javascript';
$txt['menuorder_hide'] = 'göm';
$txt['menuorder_show'] = 'visa';
$txt['menuorder_edit'] = 'editera';
$txt['menuorder_up'] = 'upp';
$txt['menuorder_down'] = 'ner';
$txt['menuorder_save'] = 'spara';
$txt['menuorder_saveorder'] = 'spara ordning';
$txt['menuorder_sortchanged'] = 'Menyn sorterad ock metoden sparad till "%s".';
$txt['menuorder_jssortsuccess'] = 'Menyobjektet har blivit sparad.';
$txt['menuorder_hidesuccess'] = '"%s" är gömd.';
$txt['menuorder_showsuccess'] = '"%s" är synlig.';
$txt['menuorder_renamesuccess'] = '"%s" har blivit döpt till "%s".';
$txt['menuorder_upsuccess'] = '"%s" har flyttat upp.';
$txt['menuorder_downsuccess'] = '"%s" har flyttat ner.';
Title: Re: Menu Order
Post by: ysNoi on December 07, 2010, 11:27:29 PM
I'm using SMF 2.0 RC4 and installed this mod..! Really nice...I love it..

Thanks the7thGhost for this mod...
Title: Re: Menu Order
Post by: the7thGhost on December 07, 2010, 11:38:10 PM
To all: Sorry I didn't reply sooner, I've had a busy couple weeks lately.

@Cyber-Burn: I'm not sure, but because of the way the code was written it isn't always going to work with other menu mods.

@onelund: Thank you! I'll have time probably after this week to make a new version and add your language in, and possibly look at the Menu Links mod.

@ysNoi: You're welcome, I'm glad you like it.
Title: Re: Menu Order
Post by: henrik1782 on January 26, 2011, 07:15:07 AM
Great and simpel mod. Thanks a lot
Title: Re: Menu Order
Post by: Madzgo on January 26, 2011, 11:28:53 AM
I like this mod!

Serbian_latin


$txt['menu_order'] = 'Menu Order';
$txt['menuorder_howsort?'] = 'Kako zelite da sortirate stavke menija?';
$txt['menuorder_sortbybuttons'] = 'Dugmad gore/dole';
$txt['menuorder_sortbyjs'] = 'Javaskript';
$txt['menuorder_hide'] = 'sakrij';
$txt['menuorder_show'] = 'prikazi';
$txt['menuorder_edit'] = 'izmeni';
$txt['menuorder_up'] = 'gore';
$txt['menuorder_down'] = 'dole';
$txt['menuorder_save'] = 'Sacuvaj';
$txt['menuorder_saveorder'] = 'Sacuvaj red';
$txt['menuorder_sortchanged'] = 'Metoda sortiranja je promenjena u "%s".';
$txt['menuorder_jssortsuccess'] = 'Red stavki u meniju je sacuvan.';
$txt['menuorder_hidesuccess'] = '"%s" je skriven.';
$txt['menuorder_showsuccess'] = '"%s" je vidljiv.';
$txt['menuorder_renamesuccess'] = '"%s" je preimenovan u "%s".';
$txt['menuorder_upsuccess'] = '"%s" je pomeren gore.';
$txt['menuorder_downsuccess'] = '"%s" je pomeren dole.';


Serbian_latin-utf8


$txt['menu_order'] = 'Menu Order';
$txt['menuorder_howsort?'] = 'Kako želite da sortirate stavke menija?';
$txt['menuorder_sortbybuttons'] = 'Dugmad gore/dole';
$txt['menuorder_sortbyjs'] = 'Javaskript';
$txt['menuorder_hide'] = 'sakrij';
$txt['menuorder_show'] = 'prikaži';
$txt['menuorder_edit'] = 'izmeni';
$txt['menuorder_up'] = 'gore';
$txt['menuorder_down'] = 'dole';
$txt['menuorder_save'] = 'Sačuvaj';
$txt['menuorder_saveorder'] = 'Sačuvaj red';
$txt['menuorder_sortchanged'] = 'Metoda sortiranja je promenjena u "%s".';
$txt['menuorder_jssortsuccess'] = 'Red stavki u meniju je sačuvan.';
$txt['menuorder_hidesuccess'] = '"%s" je skriven.';
$txt['menuorder_showsuccess'] = '"%s" je vidljiv.';
$txt['menuorder_renamesuccess'] = '"%s" je preimenovan u "%s".';
$txt['menuorder_upsuccess'] = '"%s" je pomeren gore.';
$txt['menuorder_downsuccess'] = '"%s" je pomeren dole.';
Title: Re: Menu Order mod problem, could use some help.
Post by: tekfrk on January 30, 2011, 02:40:31 PM
I had this mod working at one time, then i installed the you tube mod YIM that sorta broke everything, i had to re-upload the SMF package to get things back online. Since then, i cannot get the menu order link back in the admin config list.
But it still works, all my menus are in order based on pevious settings.
any ideas?
Title: Re: Menu Order
Post by: the7thGhost on January 30, 2011, 06:15:58 PM
Thanks for the translation madzgo! Unfortunately I do not have time right now to make a new version... Probably during spring break.

@tekfrk Did you try uninstalling, then re-installing Menu Order?
Title: Re: Menu Order
Post by: tekfrk on January 30, 2011, 07:47:12 PM
yeah, a few times, cleared all the site cache before, after durring, LOL
deleted mod files, re-uploaded, everything I could think of.
Title: Re: Menu Order
Post by: the7thGhost on January 30, 2011, 08:50:06 PM
Not sure what's going on then. What version do you have?
Title: Re: Menu Order
Post by: tekfrk on February 02, 2011, 06:43:33 PM
0.2.5
Do you need to see any particular files or anything?
Title: Re: Menu Order
Post by: the7thGhost on February 02, 2011, 09:45:31 PM
I meant which version of SMF.

There is one file that would be good to see, it's the one with the admin menu, but I can't remember the filename. I can look it up when I get home.
Title: Re: Menu Order
Post by: tekfrk on February 04, 2011, 10:18:55 PM
Im using SMF 2.0 RC4
Title: Re: Menu Order
Post by: the7thGhost on February 04, 2011, 10:55:33 PM
The file is /Sources/Admin.php

Install if first, then show it to me. If you don't want to post it you can PM me.
Title: Re: Menu Order
Post by: tekfrk on February 06, 2011, 02:23:39 PM
There are 2-admin.php files,
admin.php
admin.php~
Title: Re: Menu Order
Post by: live627 on February 07, 2011, 12:11:30 AM
Use the one without the tilde (~)
Title: Re: Menu Order
Post by: the7thGhost on February 07, 2011, 12:26:35 AM
Thanks Live, but we're working on this over PMs.
Title: Re: Menu Order
Post by: MartyS on March 01, 2011, 08:10:16 AM
Any chance of getting it to work with RC5?  This is one of the mods I use all the time, and I started a new board using RC5 and would like to add this mod over there.
Title: Re: Menu Order
Post by: Arantor on March 01, 2011, 08:22:54 AM
Can't see any reason why it shouldn't work with emulation.
Title: Re: Menu Order
Post by: henrik1782 on March 02, 2011, 05:30:21 AM
It works... no problem with RC5
Title: Re: Menu Order
Post by: jimbouk1977 on April 05, 2011, 09:06:59 AM
any chance of an update for 2.0 RC5

I think this is a good mod but since i updated my forum to RC5 it no longer works so will you be updating it to work for RC5 ? & if so how long before its ready :)
Title: Re: Menu Order
Post by: Yngwiedis on April 14, 2011, 08:16:11 AM
This is a very good mod, but i have a problem.

When i click on the "hide" text  all the menus are hidden and the text change to all menus to "show"
Problem occurs in both mods (javascript and no javascript).
I am using SMF 2.0 RC5 with SimplePortal 2.3.3

Anyone know any fix for that ?

Thank you very much.


EDIT: Nevermind... Problem fixed after uninstall and install the mod again.

Great mod :)
Title: Re: Menu Order
Post by: jimbouk1977 on April 14, 2011, 05:46:16 PM
Still not working for me on 2..0 RC5 and with simple portal new version  :'(
Title: Re: Menu Order
Post by: teos55 on April 30, 2011, 02:47:34 PM
 Seems everybody happy with 2.xx modification :-)
What about 1.1.13 runners ?.   I'm using "menu buttons" modification.  But put the new buttons after "logout" button.
It should be nice to have menu order in 1.1.13
Title: Re: Menu Order
Post by: live627 on April 30, 2011, 05:26:40 PM
Menu Order won't really work well in 1.1.13 because the menu buttons are hardcoded into the theme whereas in 2.0 they are not.
Title: Re: Menu Order
Post by: teos55 on April 30, 2011, 05:32:19 PM
Thanks. It was just a wish.   Nice mods by the way ..
Title: Re: Menu Order
Post by: the7thGhost on April 30, 2011, 10:02:21 PM
Hey all, sorry I haven't written back to any of the posts. It's been a hectic semester at school, plus work's very busy... After the semester's over I hope to have time to work on this, make sure it works with RC5, and possibly add a feature or two.

As Live said, it won't work properly in SMF 1 because of the way it does menus, it would need to be completely rewritten, but then it wouldn't work on SMF 2.
Title: Re: Menu Order
Post by: teos55 on May 01, 2011, 03:48:03 AM
info for 1.1.13 users :
  While surfing through modificications, I found "center the navigation bar" mod by Yigol for 1.1.x  It's a straight forward inst and
does what it says.

Thanks for the feedbacks. Waiting the final release of 2 to upgrade.
Title: Re: Menu Order
Post by: jimbouk1977 on May 02, 2011, 10:32:54 AM
Would be great if it can be done this is a great MOD that I think would make a great standard feature !  :P
Title: Re: Menu Order
Post by: Jessica. on June 29, 2011, 05:11:15 PM
perfect, really really useful

but if I choose Javascript as the way to order it, it won't work. I can't drag any of the 'boxes'. And I have Javascript enabled (always do!!)

I have to use Up/Down
Title: Re: Menu Order
Post by: Yngwiedis on June 29, 2011, 05:22:20 PM
Quote from: Jessica. on June 29, 2011, 05:11:15 PM
perfect, really really useful

but if I choose Javascript as the way to order it, it won't work. I can't drag any of the 'boxes'. And I have Javascript enabled (always do!!)

I have to use Up/Down


Quote from: the7thGhost on March 05, 2010, 09:46:08 PM

For those of you who are having trouble with the Javascript, chmod (change permissions) /Theme_dir/scripts/menuorder.php to 644. It's probably 666 if it doesn't work. I'm not sure if this will fix the problem for everyone or not.

Title: Re: Menu Order
Post by: Jessica. on June 29, 2011, 06:32:24 PM
oh didn't see that. thanks

edit: doesn't work for me
Title: Re: Menu Order
Post by: daziam on July 14, 2011, 09:33:01 PM
Not working on 2.0 Final with Simpleportal. Shame as I really needed this.

EDIT : I made the changes myself and now it works fine with my SMF 2.0 and SimplePortal, For anyone wanting to do this read below ...
1. Load up package-info.xml file with notepad and change the Install for and Uninstall for to just 2.0 and save, so they look like this - <install for="2.0"><uninstall for="2.0">
2. save and add it into the zip package and upload it again through the smf admin panel, or if you ftp your files just overwrite the old with your newly saved one

Hope it's of some help.
Title: Re: Menu Order
Post by: Matthew K. on July 14, 2011, 09:34:08 PM
Menu Editor will be released sometime this year hopefully, which should be a good solution to any menu related thing you need to accomplish.
Title: Re: Menu Order
Post by: the7thGhost on July 15, 2011, 03:01:23 AM
Version 0.2.6 released!

Changelog:
New Feature:    SMF 2.0 Final compatibility

http://custom.simplemachines.org/mods/index.php?mod=2348 (http://custom.simplemachines.org/mods/index.php?mod=2348)
Title: Re: Menu Order
Post by: Branko. on July 24, 2011, 07:19:03 PM
Croatian translation:
croatian
$txt['menu_order'] = 'Redoslijed izbornika';
$txt['menuorder_howsort?'] = 'Kako zelis da rasporedis stavke izbornika?';
$txt['menuorder_sortbybuttons'] = 'Gore/Dolje Dugmad';
$txt['menuorder_sortbyjs'] = 'Javaskript';
$txt['menuorder_hide'] = 'sakrij';
$txt['menuorder_show'] = 'prikazi';
$txt['menuorder_edit'] = 'uredi';
$txt['menuorder_up'] = 'gore';
$txt['menuorder_down'] = 'dolje';
$txt['menuorder_save'] = 'Sacuvaj';
$txt['menuorder_saveorder'] = 'Sacuvaj Redoslijed';
$txt['menuorder_sortchanged'] = 'Nacin sortiranja izbornika je promijenjen u "%s".';
$txt['menuorder_jssortsuccess'] = 'Redoslijed stavki izbornika je sacuvan.';
$txt['menuorder_hidesuccess'] = '"%s" je skriven.';
$txt['menuorder_showsuccess'] = '"%s" je sada vidljiv.';
$txt['menuorder_renamesuccess'] = '"%s" je preimenovan u "%s".';
$txt['menuorder_upsuccess'] = '"%s" je premjesten gore.';
$txt['menuorder_downsuccess'] = '"%s" je premjesten dolje.';


croatian UTF-8

$txt['menu_order'] = 'Redoslijed izbornika';
$txt['menuorder_howsort?'] = 'Kako zelis da rasporedis stavke izbornika?';
$txt['menuorder_sortbybuttons'] = 'Gore/Dolje Dugmad';
$txt['menuorder_sortbyjs'] = 'Javaskript';
$txt['menuorder_hide'] = 'sakrij';
$txt['menuorder_show'] = 'prikazi';
$txt['menuorder_edit'] = 'uredi';
$txt['menuorder_up'] = 'gore';
$txt['menuorder_down'] = 'dolje';
$txt['menuorder_save'] = 'Sacuvaj';
$txt['menuorder_saveorder'] = 'Sacuvaj redoslijed';
$txt['menuorder_sortchanged'] = 'Nacin sortiranja izbornika je promijenjen u "%s".';
$txt['menuorder_jssortsuccess'] = 'Redoslijed stavki izbornika je sacuvan.';
$txt['menuorder_hidesuccess'] = '"%s" je skriven.';
$txt['menuorder_showsuccess'] = '"%s" je sada vidljiv.';
$txt['menuorder_renamesuccess'] = '"%s" je preimenovan u "%s".';
$txt['menuorder_upsuccess'] = '"%s" je premjesten gore.';
$txt['menuorder_downsuccess'] = '"%s" je premjesten dolje.';


Note: Please, include previous Madzgo serbian translation
Title: Re: Menu Order
Post by: Jessica. on July 25, 2011, 11:01:02 AM
Quote from: Jessica. on June 29, 2011, 06:32:24 PM
oh didn't see that. thanks

edit: doesn't work for me

still doesn't work
Title: Re: Menu Order
Post by: the7thGhost on July 25, 2011, 08:29:29 PM
Quote from: Jessica. on July 25, 2011, 11:01:02 AM
still doesn't work
What browser are you using? The javascript drag-and-drop requires a modern browser.
Title: Re: Menu Order
Post by: Yngwiedis on August 05, 2011, 11:34:25 AM
Hello...

The mod is creating a lot of title and href errors in my forum.
Please read this thread:  http://www.simplemachines.org/community/index.php?topic=444266.0

Thank you very very much.

Title: Re: Menu Order
Post by: live627 on August 05, 2011, 12:25:50 PM
This may be quite tricky to nail.

Code (Find in ./Sources/Subs.php) Select
foreach($context['menu_buttons'] as $key => $button) {
if (empty($button['href'])) {
unset($context['menu_buttons'][$key]);
}
}


Code (Replace with) Select
foreach($context['menu_buttons'] as $key => $button) {
if (empty($button['href'])) {
unset($context['menu_buttons'][$key]);
}
if (empty($button['title'])) {
unset($context['menu_buttons'][$key]);
}
}
Title: Re: Menu Order
Post by: MotRude on August 05, 2011, 10:24:18 PM
This mod is Great!!! Thank you.
Title: Re: Menu Order
Post by: Branko. on August 06, 2011, 06:20:23 AM
Quote from: Yngwiedis on August 05, 2011, 11:34:25 AM
.....The mod is creating a lot of title and href errors in my forum....
Because you have  Simple Portal or something like that

Title: Re: Menu Order
Post by: Yngwiedis on August 06, 2011, 11:05:47 AM
Quote from: live627 on August 05, 2011, 12:25:50 PM
This may be quite tricky to nail.

Code (Find in ./Sources/Subs.php) Select
foreach($context['menu_buttons'] as $key => $button) {
if (empty($button['href'])) {
unset($context['menu_buttons'][$key]);
}
}


Code (Replace with) Select
foreach($context['menu_buttons'] as $key => $button) {
if (empty($button['href'])) {
unset($context['menu_buttons'][$key]);
}
if (empty($button['title'])) {
unset($context['menu_buttons'][$key]);
}
}



Hello...

Nothing changed with that.
Errors keep coming...

Quote from: Branko. on August 06, 2011, 06:20:23 AM
Quote from: Yngwiedis on August 05, 2011, 11:34:25 AM
.....The mod is creating a lot of title and href errors in my forum....
Because you have  Simple Portal or something like that



What you mean by that ?
Is not Simple Portal which is creating the errors...
Title: Re: Menu Order
Post by: Hj Ahmad Rasyid Hj Ismail on August 06, 2011, 06:45:44 PM
Simple portal wont create that problem. At least not in my experience. Looking at the given code again, IMO there is something wrong with it.

Quote from: live627 on August 05, 2011, 12:25:50 PM
This may be quite tricky to nail.

Code (Find in ./Sources/Subs.php) Select
foreach($context['menu_buttons'] as $key => $button) {
if (empty($button['href'])) {
unset($context['menu_buttons'][$key]);
}
}


Code (Replace with) Select
foreach($context['menu_buttons'] as $key => $button) {
if (empty($button['href'])) {
unset($context['menu_buttons'][$key]);
}
if (empty($button['title'])) {
unset($context['menu_buttons'][$key]);
}
}


live627 you are putting "if" twice. Did you mean to put else on the second one as that what is most likely.
Title: Re: Menu Order
Post by: live627 on August 06, 2011, 07:54:27 PM
Quotelive627 you are putting "if" twice. Did you mean to put else on the second one as that what is most likely.
an elseif won't make a difference here
Title: Re: Menu Order
Post by: Hj Ahmad Rasyid Hj Ismail on August 06, 2011, 08:07:31 PM
It was just a thought. I highlighted it as Yngwiedis said it doesn't fix the errors. Perhaps it is something else that causes the errors.
Title: Re: Menu Order
Post by: the7thGhost on August 06, 2011, 08:29:13 PM
EDIT: Sorry, forgot to say which file: index.template.php

Replace this code (around line 484):
echo '
<li id="button_', $act, '">
<a class="', $button['active_button'] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>
<span class="', isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $button['title'], '</span>
</a>';


With this code:
if (!empty($button['href'])) {
echo '
<li id="button_', $act, '">
<a class="', $button['active_button'] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>
<span class="', isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $button['title'], '</span>
</a>';
}





Also replace (around line 525, it's the last piece of code like it in your file before it says "Generate a strip of buttons"):
echo '
</li>';


With:
if (!empty($button['href'])) {
echo '
</li>';
}


Be sure you include the closing curly brace } in both pieces of code
Title: Re: Menu Order
Post by: Yngwiedis on August 07, 2011, 11:42:13 AM
This is great.

With the above code changes the errors are gone.

Thank you very very much the7thGhost  :)
Title: Re: Menu Order
Post by: the7thGhost on August 07, 2011, 05:49:07 PM
No problem!
Title: Re: Menu Order
Post by: Jessica. on August 17, 2011, 04:25:30 PM
Quote from: the7thGhost on July 25, 2011, 08:29:29 PM
Quote from: Jessica. on July 25, 2011, 11:01:02 AM
still doesn't work
What browser are you using? The javascript drag-and-drop requires a modern browser.

I am using Chrome. the latest version
Title: Re: Menu Order
Post by: the7thGhost on August 17, 2011, 07:22:08 PM
Quote from: Jessica. on August 17, 2011, 04:25:30 PM
Quote from: the7thGhost on July 25, 2011, 08:29:29 PM
Quote from: Jessica. on July 25, 2011, 11:01:02 AM
still doesn't work
What browser are you using? The javascript drag-and-drop requires a modern browser.

I am using Chrome. the latest version
Can you open the Javascript console (Customize > Tools > JavaScript console), try to re-arrange them, and see if any messages show up?
The Customize button has a wrench icon, normally it's at the top right under the "X" to close Chrome.
Title: Re: Menu Order
Post by: Jessica. on August 17, 2011, 09:00:46 PM
okay I did as you said

However I was still unable to re-arrange them. There were no messages

edit: It doesn't work in Firefox either
Title: Re: Menu Order
Post by: the7thGhost on August 17, 2011, 09:46:36 PM
Can you type the following into the console, then press Enter:
alert($("#newmenuorder").val());
A message should come up with the names of your menu items, and some other stuff, if Javscript is working correctly. If it is not you should get an error message.
Title: Re: Menu Order
Post by: Jessica. on August 17, 2011, 10:03:22 PM
hmmm...I just get a blank pop up...

wait I think there are error messages (in the console, not pop up). I just didn't know they were:

Uncaught SyntaxError: Unexpected token <
index.php:58Uncaught ReferenceError: $ is not defined
Title: Re: Menu Order
Post by: the7thGhost on August 17, 2011, 10:38:01 PM
That helps, I know what's happening. We just have to find out why.

Check to make sure these files exists:
/Themes/default/scripts/menuorder.js
/Themes/default/scripts/menuorder.php

Also, if you right-click the page and select "View page source," is there a line like the following? (with your website name though)
<script type="text/javascript" src="http://forumurl.com/Themes/default/scripts/menuorder.php"></script>
Or, better, can you send me a PM with the page's source?
Title: Re: Menu Order
Post by: live627 on August 17, 2011, 11:58:14 PM
Sounds like jQuery and Mootools are clashing. That can be solved by using jQuery.noConflict() or similar.
Title: Re: Menu Order
Post by: Jessica. on August 18, 2011, 01:57:54 PM
Quote from: the7thGhost on August 17, 2011, 10:38:01 PM
That helps, I know what's happening. We just have to find out why.

Check to make sure these files exists:
/Themes/default/scripts/menuorder.js
/Themes/default/scripts/menuorder.php

Also, if you right-click the page and select "View page source," is there a line like the following? (with your website name though)
<script type="text/javascript" src="http://forumurl.com/Themes/default/scripts/menuorder.php"></script>
Or, better, can you send me a PM with the page's source?

checked files. they are there

I could not find that line in the page source at all. is that why I can't drag-n-drop?
Title: Re: Menu Order
Post by: the7thGhost on August 18, 2011, 11:55:07 PM
That probably is why. It's weird that it's not there though, as the rest of the code is.
Please send me a PM with the page's source, and check to see if you have any PHP errors. Depending on who your web host is this is done different ways.
Title: Re: Menu Order
Post by: jimbouk1977 on November 10, 2011, 06:25:25 PM
Hi sorry if this has been asked already but will you be doing an update for  SMF 2.0.1  As this mod is a great mod i used it all the way up untill now & i need my menu in order & not all over the show as it is right now GRRR

So if you are working on this then great if not will you be ?
Title: Re: Menu Order
Post by: Ozzie on November 10, 2011, 07:34:09 PM
works fine on my site just load it via emulation for smf2.0
Title: Re: Menu Order
Post by: jimbouk1977 on November 10, 2011, 11:56:21 PM
Yeah ive just done that & had to manulay add

// begin "Menu Order" edit //
'menu_order' => array(
'label' => $txt['menu_order'],
'file' => 'MenuOrder.php',
'function' => 'MenuOrder',
'icon' => 'server.gif',
),
// end "Menu Order" edit //

into my apmin.php  but still no joy unless im missing something
Title: Re: Menu Order
Post by: ScottyTooHotty on November 23, 2011, 06:21:58 AM
Quote from: jimbouk1977 on November 10, 2011, 11:56:21 PM
Yeah ive just done that & had to manulay add

// begin "Menu Order" edit //
'menu_order' => array(
'label' => $txt['menu_order'],
'file' => 'MenuOrder.php',
'function' => 'MenuOrder',
'icon' => 'server.gif',
),
// end "Menu Order" edit //

into my apmin.php  but still no joy unless im missing something

I too have just installed this on 2.0.1 using the emulate of smf 2.0. I had to make this same manual adjustment and it seems to be working fine except for the fact that there's no admin menu to make any adjustments.

Could you please let me know how I go about fixing this? Let me know if you need any other information
Title: Re: Menu Order
Post by: Branko. on November 23, 2011, 07:43:29 AM
Look this...
Title: Re: Menu Order
Post by: Shades. on April 17, 2021, 09:44:34 AM
I have this mod installed on my Live 2.0.18 forums and it works great on the front end for users but doesn't hide links in admin, only hides on the forum front end. would like to see this mod updated if you get a chance.  ;) 8)
Title: Re: Menu Order
Post by: Shades. on August 17, 2021, 01:57:30 AM
Works in 2.1RC4 just a little cluttered...but works lol! 8)
Title: Re: Menu Order
Post by: JustForFun on August 20, 2021, 01:20:16 PM
I uploaded your mod to the Packages directory. I can see the mod in the Package managment but there is no Install button/link. SMF version #20.0.18. Is there a solution to fix? Or are there some instructions to do a manual install somewhere? 

Thank you.
Title: Re: Menu Order
Post by: Shades. on August 20, 2021, 04:30:56 PM
You have to emulate to install. Go to the bottom right side of the Package Manager and click on "Advanced". Then where it says "Sometimes packages are locked to early versions of SMF but remain compatible with a newer version. Here you can choose to "emulate" a different SMF version within the package manager.

Emulate Version:" type in "2.0" and click "Apply" then the "Install" link should appear. 8)
Title: Re: Menu Order
Post by: JustForFun on September 03, 2021, 08:07:05 AM
Thank you Shades, that worked. Is it possible to move Moderate and Admin to the right side of the page?
Title: Re: Menu Order
Post by: Shades. on March 12, 2022, 08:52:59 PM
Quote from: Shades. on August 17, 2021, 01:57:30 AMWorks in 2.1RC4 just a little cluttered...but works lol! 8)
@live627 Same for 2.1.1 any chance to update this or just clean it up a little? O:)
Works great in 2.1.1 though! 8)