Lazy Admin Menu

Started by dougiefresh, July 21, 2014, 09:15:48 AM

Previous topic - Next topic

dougiefresh

Uploaded v1.5 - August 17th, 2014
o Forced loading of Simple Portal language file if logged in user is an admin

Thank you for the bug report, NekoJonez!!!

NekoJonez

Hey, everything to help people out :)
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Ninja ZX-10RR

Again dougie it doesn't work :( I haven't got SImplePortal installed and shows an error with SUbs-Portal (a file that I don't have and that is being created during the installation), and if I just go on the menu just doesn't show up like the other time :( no errors in error log, SMF 2.0.8 installed and default theme. *reverting again to 1.1*
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

dougiefresh

Quote from: Ninja ZX-10RR on August 19, 2014, 04:32:20 PM
Again dougie it doesn't work :( I haven't got SImplePortal installed and shows an error with SUbs-Portal (a file that I don't have and that is being created during the installation), and if I just go on the menu just doesn't show up like the other time :( no errors in error log, SMF 2.0.8 installed and default theme. *reverting again to 1.1*
I tested it (again) against a clean no-mods-installed copy of SMF 2.0.8.  With exception of the SimplePortal part of the mod, it installed fine and works fine. Since I'm not sure what is going on with your install, I am going to request a picture of what is going on when you click on the Admin link in the top menu....

Ninja ZX-10RR

The usual as the mod wasn't installed. :(

I can also provide my mods list but... As the 1.1 was working perfectly I don't think it's related to some sort of incompatibility...
*reverts back again to 1.1*
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

dougiefresh

Quote from: Ninja ZX-10RR on August 20, 2014, 04:51:36 PM
The usual as the mod wasn't installed. :(
Um....  The picture isn't helpful if the mod isn't installed on the forum when you take the screenshot.....

Quote from: Ninja ZX-10RR on August 20, 2014, 04:51:36 PM
I can also provide my mods list but... As the 1.1 was working perfectly I don't think it's related to some sort of incompatibility...
*reverts back again to 1.1*
Indeed, a list of mods might be helpful.

Ninja ZX-10RR

Quote from: dougiefresh on August 20, 2014, 05:55:07 PM
Quote from: Ninja ZX-10RR on August 20, 2014, 04:51:36 PM
The usual as the mod wasn't installed. :(
Um....  The picture isn't helpful if the mod isn't installed on the forum when you take the screenshot.....

Quote from: Ninja ZX-10RR on August 20, 2014, 04:51:36 PM
I can also provide my mods list but... As the 1.1 was working perfectly I don't think it's related to some sort of incompatibility...
*reverts back again to 1.1*
Indeed, a list of mods might be helpful.
You misunderstood LOL the mod was installed when I got that screenshot. What I tried to say is that it doesn't change anything if I install the 1.5 or I uninstall it, it's the same thing, it just doesn't work at all and like I said I don't really think that it's related to a modification as the 1.1 version works as it should :)
Anyway as requested:
1. Anonymous Boards 1.1 N/A [ Install Mod ] [ List Files ] [ Delete ]
2. Browser Language Detection and Loading 0.1.0 N/A [ Install Mod ] [ List Files ] [ Delete ]
3. CheckBeforePosting 0.3.3 N/A [ Install Mod ] [ List Files ] [ Delete ]
4. detectBrowser Update 1.0.1 N/A [ Install Mod ] [ List Files ] [ Delete ]
5. Enhanced PM System 1.4 N/A [ Install Mod ] [ List Files ] [ Delete ]
6. nneonneo's AJAX ShoutBox 1.22 N/A [ Install Mod ] [ List Files ] [ Delete ]
7. Slash through Banned Usernames 2.0 N/A [ Install Mod ] [ List Files ] [ Delete ]
8. SMF Likes Plus 1.5 N/A [ Install Mod ] [ List Files ] [ Delete ]
9. User Agreement Update 1.0.3 N/A [ Install Mod ] [ List Files ] [ Delete ]
10. Allocate More RAM mod 1.0  April 19, 2014, 06:23:02 PM [ Uninstall ] [ List Files ] [ Delete ]
11. Delete Spam Posts 1.6  April 21, 2014, 06:33:04 PM [ Uninstall ] [ List Files ] [ Delete ]
12. ShowBannedMessage 1.3  April 21, 2014, 06:35:20 PM [ Uninstall ] [ List Files ] [ Delete ]
13. Move Topic Notification 1.2  April 21, 2014, 06:36:28 PM [ Uninstall ] [ List Files ] [ Delete ]
14. Bot Buster 1.1  April 21, 2014, 06:41:43 PM [ Uninstall ] [ List Files ] [ Delete ]
15. Rank Image Drop Down 1.0  April 21, 2014, 06:43:16 PM [ Uninstall ] [ List Files ] [ Delete ]
16. open mod reports 1.0  April 21, 2014, 06:43:56 PM [ Uninstall ] [ List Files ] [ Delete ]
17. Admin Notes 2.0  April 21, 2014, 06:45:28 PM [ Uninstall ] [ List Files ] [ Delete ]
18. Karma/Rep Limit 1.0.1  April 21, 2014, 06:48:26 PM [ Uninstall ] [ List Files ] [ Delete ]
19. Anti Bot: Are You Human/Bot? 3.0  April 21, 2014, 06:49:20 PM [ Uninstall ] [ List Files ] [ Delete ]
20. Quick Ban on Account Delete 1.0.1  April 22, 2014, 02:07:56 AM [ Uninstall ] [ List Files ] [ Delete ]
21. SMFPacks Shoutbox 1.0.5  April 22, 2014, 02:08:43 AM [ Uninstall ] [ List Files ] [ Delete ]
22. Order Custom Profile Fields 1.1.1  April 22, 2014, 02:26:56 AM [ Uninstall ] [ List Files ] [ Delete ]
23. Disable to send EMail with Forum-System for Users lower than Admin 1.0  April 22, 2014, 02:59:53 AM [ Uninstall ] [ List Files ] [ Delete ]
24. TalkBox3 2.0  April 22, 2014, 06:11:20 AM [ Uninstall ] [ List Files ] [ Delete ]
25. last login 2.9  April 23, 2014, 04:44:41 AM [ Uninstall ] [ List Files ] [ Delete ]
26. Next Post Level 1.3.3  April 24, 2014, 11:27:35 PM [ Uninstall ] [ List Files ] [ Delete ]
27. Post History 1.03  April 25, 2014, 02:31:33 AM [ Uninstall ] [ List Files ] [ Delete ]
28. Topic Solved 1.1.1  April 26, 2014, 06:35:12 AM [ Uninstall ] [ List Files ] [ Delete ]
29. Bad Behavior mod 1.5.18  April 26, 2014, 04:05:42 PM [ Uninstall ] [ List Files ] [ Delete ]
30. CloudFlare 1.1  April 26, 2014, 04:58:14 PM [ Uninstall ] [ List Files ] [ Delete ]
31. Users Online Today 2.1  April 26, 2014, 09:11:12 PM [ Uninstall ] [ List Files ] [ Delete ]
32. Increase Number of Visitors (cheat) 1.0  April 26, 2014, 11:15:20 PM [ Uninstall ] [ List Files ] [ Delete ]
33. Ban List 2.0  April 27, 2014, 01:48:40 AM [ Uninstall ] [ List Files ] [ Delete ]
34. 'Read the Rules' Link Above Post Button 2.0  April 27, 2014, 02:28:50 AM [ Uninstall ] [ List Files ] [ Delete ]
35. Enhanced PM Popup 1.0.1  April 27, 2014, 02:54:16 AM [ Uninstall ] [ List Files ] [ Delete ]
36. Advanced Signature 0.3.0 beta 1  April 29, 2014, 04:21:19 AM [ Uninstall ] [ List Files ] [ Delete ]
37. Sortable Packages (and Installed Time) 1.3.5  April 30, 2014, 01:45:39 AM [ Uninstall ] [ List Files ] [ Delete ]
38. Anti-Spam Links 1.0.1  April 30, 2014, 02:36:24 PM [ Uninstall ] [ List Files ] [ Delete ]
39. Add Facebook Like to Posts 1.1  May 01, 2014, 12:40:38 AM [ Uninstall ] [ List Files ] [ Delete ]
40. PM to New Members 1.2  May 02, 2014, 06:25:55 PM [ Uninstall ] [ List Files ] [ Delete ]
41. Allow Access while in Maintenance Mode 1.2  May 03, 2014, 09:19:17 PM [ Uninstall ] [ List Files ] [ Delete ]
42. Activity in Profile 1.1  May 03, 2014, 09:27:56 PM [ Uninstall ] [ List Files ] [ Delete ]
43. Ad Managment 3.2  May 03, 2014, 09:54:28 PM [ Uninstall ] [ List Files ] [ Delete ]
44. Custom Copyright 1.0.4  May 04, 2014, 02:57:46 AM [ Uninstall ] [ List Files ] [ Delete ]
45. Fake Topic Views 0.1  May 06, 2014, 12:01:47 AM [ Uninstall ] [ List Files ] [ Delete ]
46. Ban Filter 1.0  May 06, 2014, 12:05:46 AM [ Uninstall ] [ List Files ] [ Delete ]
47. Ohara YouTube Embed 1.2  May 09, 2014, 09:12:30 AM [ Uninstall ] [ List Files ] [ Delete ]
48. Bookmarks 2.5  May 17, 2014, 12:36:49 AM [ Uninstall ] [ List Files ] [ Delete ]
49. Global Topics 2.2  May 20, 2014, 12:30:45 AM [ Uninstall ] [ List Files ] [ Delete ]
50. Register Redirect 1.0  May 28, 2014, 10:20:43 AM [ Uninstall ] [ List Files ] [ Delete ]
51. Install & Uninstall Mods Quickly 1.4  May 31, 2014, 09:49:56 PM [ Uninstall ] [ List Files ] [ Delete ]
52. Tinypic Plugin 1.0.0  May 31, 2014, 09:51:08 PM [ Uninstall ] [ List Files ] [ Delete ]
53. SimpleDesk - Integrated Helpdesk for Simple Machines Forum 2.0  May 31, 2014, 10:37:17 PM [ Uninstall ] [ List Files ] [ Delete ]
54. To Buddies 1.01  June 01, 2014, 11:06:29 PM [ Uninstall ] [ List Files ] [ Delete ]
55. Time Online on Memberlist 1.00  June 04, 2014, 06:30:40 AM [ Uninstall ] [ List Files ] [ Delete ]
56. Profile Song Player 1.0 Beta  June 06, 2014, 05:42:26 PM [ Uninstall ] [ List Files ] [ Delete ]
57. Permissions Info 1.6  June 06, 2014, 05:48:00 PM [ Uninstall ] [ List Files ] [ Delete ]
58. Buddies List 1.0.1  June 10, 2014, 12:17:24 AM [ Uninstall ] [ List Files ] [ Delete ]
59. Ignore Topics 2.3  June 14, 2014, 12:33:12 AM [ Uninstall ] [ List Files ] [ Delete ]
60. SMF 2.0.8 Update 1.0  June 19, 2014, 01:56:09 AM [ Uninstall ] [ List Files ] [ Delete ]
61. Caps_Lock_Detection_on_Login 1.1.0.2  June 21, 2014, 09:45:33 AM [ Uninstall ] [ List Files ] [ Delete ]
62. SimpleColorizer 1.1  June 23, 2014, 08:46:32 PM [ Uninstall ] [ List Files ] [ Delete ]
63. Board Index Unread Icon Fix 1.0  June 27, 2014, 02:28:34 PM [ Uninstall ] [ List Files ] [ Delete ]
64. Country Flags 2.1  June 28, 2014, 05:27:51 PM [ Uninstall ] [ List Files ] [ Delete ]
65. PM Settings 1.0.1  June 29, 2014, 09:13:36 PM [ Uninstall ] [ List Files ] [ Delete ]
66. Undeletables topics PMs and users 0.1.5  June 30, 2014, 05:09:57 AM [ Uninstall ] [ List Files ] [ Delete ]
67. Working top level links for drop menus 1.0  July 04, 2014, 04:21:40 AM [ Uninstall ] [ List Files ] [ Delete ]
68. Email Inactive Users 1.1  July 15, 2014, 02:10:39 PM [ Uninstall ] [ List Files ] [ Delete ]
69. Similar Topics 0.6  July 15, 2014, 03:08:26 PM [ Uninstall ] [ List Files ] [ Delete ]
70. Custom Pages and Tabs (2) SMF 2 - RC3 1.1  July 15, 2014, 06:06:40 PM [ Uninstall ] [ List Files ] [ Delete ]
71. Highslide 4 SMF 0.8.1  July 19, 2014, 03:37:10 PM [ Uninstall ] [ List Files ] [ Delete ]
72. Add [li] Button 1.0  July 24, 2014, 05:49:39 PM [ Uninstall ] [ List Files ] [ Delete ]
73. Multiple QA support 1.0.1  July 24, 2014, 05:53:51 PM [ Uninstall ] [ List Files ] [ Delete ]
74. Add Honey Pot to Track IP 1.1  August 04, 2014, 03:56:46 PM [ Uninstall ] [ List Files ] [ Delete ]
75. Misc Anti Spam 1.0  August 04, 2014, 04:00:43 PM [ Uninstall ] [ List Files ] [ Delete ]
76. Stop Forum Spam 1.0  August 04, 2014, 04:06:56 PM [ Uninstall ] [ List Files ] [ Delete ]
77. Word Censor List 1.1  August 04, 2014, 06:29:11 PM [ Uninstall ] [ List Files ] [ Delete ]
78. Better Profile Menu 1.2  August 06, 2014, 06:29:50 AM [ Uninstall ] [ List Files ] [ Delete ]
79. Personalized BBC 1.5  August 06, 2014, 06:46:24 AM [ Uninstall ] [ List Files ] [ Delete ]
80. Prevent Topic View Increase by Author 1.0  August 06, 2014, 06:51:58 AM [ Uninstall ] [ List Files ] [ Delete ]
81. Confirmation message to Mark as Read 1.00  August 06, 2014, 06:53:27 AM [ Uninstall ] [ List Files ] [ Delete ]
82. Add [nobbc] button 1.1  August 06, 2014, 06:58:31 AM [ Uninstall ] [ List Files ] [ Delete ]
83. Invitation Message In Your Face (IMIYF) 0.3.2  August 06, 2014, 07:12:18 AM [ Uninstall ] [ List Files ] [ Delete ]
84. Admin Ban Button in Post 3.0  August 06, 2014, 07:38:48 AM [ Uninstall ] [ List Files ] [ Delete ]
85. Change All Subjects 1.3  August 06, 2014, 07:46:52 AM [ Uninstall ] [ List Files ] [ Delete ]
86. Drafts 2.0.5  August 06, 2014, 08:23:17 PM [ Uninstall ] [ List Files ] [ Delete ]
87. Minimum Characters for Search 1.2.1  August 06, 2014, 08:43:28 PM [ Uninstall ] [ List Files ] [ Delete ]
88. Member Color Link 3.1  August 06, 2014, 09:26:41 PM [ Uninstall ] [ List Files ] [ Delete ]
89. Order Stickied Topics 1.01  August 06, 2014, 09:38:34 PM [ Uninstall ] [ List Files ] [ Delete ]
90. Referrals System 3.1  August 06, 2014, 09:45:02 PM [ Uninstall ] [ List Files ] [ Delete ]
91. Annoy User 1.2.4  August 06, 2014, 11:24:46 PM [ Uninstall ] [ List Files ] [ Delete ]
92. Enhancements to reattribute posts 1.5.6  August 06, 2014, 11:34:33 PM [ Uninstall ] [ List Files ] [ Delete ]
93. Restrict Email Providers on Registration 1.2  August 06, 2014, 11:40:08 PM [ Uninstall ] [ List Files ] [ Delete ]
94. Groups See Hidden Users 1.0  August 06, 2014, 11:51:30 PM [ Uninstall ] [ List Files ] [ Delete ]
95. BBC In Custom Title 2.0r2 - SMF 2.0.x August 07, 2014, 12:08:24 AM [ Uninstall ] [ List Files ] [ Delete ]
96. Integration Hooks Report 1.5.3  August 07, 2014, 10:03:01 PM [ Uninstall ] [ List Files ] [ Delete ]
97. SA Chat 0.1.2 Rev102 August 07, 2014, 10:05:51 PM [ Uninstall ] [ List Files ] [ Delete ]
98. Reason For Editing Mod 2.3.2  August 08, 2014, 03:32:01 PM [ Uninstall ] [ List Files ] [ Delete ]
99. Lazy Admin Menu 1.1  August 20, 2014, 10:54:37 PM [ Uninstall ] [ List Files ] [ Delete ]

Yeah they are many, but no errors in the error log 8)
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

dougiefresh

Uploaded v1.6 - August 21th, 2014
o Reverted some code back to v1.1 that detects whether Admin menu should be modified.




@Ninja ZX-10RR: Thank you for the bug report!

I looked to see what was different between v1.5 and v1.1 and found that the line making the decision whether to modify the Admin menu had been changed.  I also looked at Subs.php and found that it uses the same variable that v1.1 uses, but v1.5 uses a different one.  Why the changed line makes much difference, I dunno.  But I reverted a single line of code back to version 1.1 in order to properly modify the Admin menu.....  This should fix the issue.  Sorry it took so long for me to figure out what was happening.....

P.S.: If you want, you can also remove your mod list from the above post, since I also didn't pay attention to your statement that the mod list is irrelevant to the issue at hand.....

Steve

Works a treat for me now. :D
DO NOT pm me for support!

Ninja ZX-10RR

Quote from: dougiefresh on August 21, 2014, 04:57:30 PM
@Ninja ZX-10RR: Thank you for the bug report!
You're welcome! Thank you for the mod actually!

Quote from: dougiefresh on August 21, 2014, 04:57:30 PM
This should fix the issue.
It does. N1.
 
Quote from: dougiefresh on August 21, 2014, 04:57:30 PM
Sorry it took so long for me to figure out what was happening.....
Shut up you rock dude it took you less than a day! Awesome!

Quote from: dougiefresh on August 21, 2014, 04:57:30 PM
P.S.: If you want, you can also remove your mod list from the above post, since I also didn't pay attention to your statement that the mod list is irrelevant to the issue at hand.....
Don't worry ;)
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

dougiefresh

Quote from: Ninja ZX-10RR on August 21, 2014, 06:13:48 PM
Quote from: dougiefresh on August 21, 2014, 04:57:30 PM
Sorry it took so long for me to figure out what was happening.....
Shut up you rock dude it took you less than a day! Awesome!
Actually, it's more like a month.....  But who's counting!  :P

Ninja ZX-10RR

The mod works just fine since the last update but I found something that made me swear multiple times... When I point the mouse over the menu created by this mod it works as intended but if I get even only a pixel out of it it just closes and leaves my pointer in mid air often making me click something wrong that was hidden by the menu a second before -.-" is there a way to put some kind of a delay before closing the menu? Thanks in advance dougie, love it anyway :)
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

Arantor

Same thing happens in all standard SMF menus and is somewhat hard to fix.

Ninja ZX-10RR

But in this case it's worse since the menu is on the top and if I scroll the page I often get out of it despite I try not to >_<
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

dougiefresh

Quote from: ♦ Ninja ZX-10RR ♦ on August 25, 2014, 09:59:13 PM
The mod works just fine since the last update but I found something that made me swear multiple times... When I point the mouse over the menu created by this mod it works as intended but if I get even only a pixel out of it it just closes and leaves my pointer in mid air often making me click something wrong that was hidden by the menu a second before -.-" is there a way to put some kind of a delay before closing the menu? Thanks in advance dougie, love it anyway :)
I don't feel like this is within the already-defined scope of this mod....  I'd have to write something new if I were to tackle that problem, and chances are pretty good it would conflict with anything else using jQuery and the like.....

Ninja ZX-10RR

Yeah I already understood that from Arantor's message >_< that's a pity though. Anyway still thank you for the mod as it's superb :) and no worries it was just a suggestion, if it can't be done then whatever :)
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

dougiefresh

Quote from: ♦ Ninja ZX-10RR ♦ on August 26, 2014, 05:38:55 PM
no worries it was just a suggestion, if it can't be done then whatever :)
Never said it can't be done....  It just won't be a part of this mod.

Ninja ZX-10RR

Quote from: ‽ on August 26, 2014, 03:13:59 AM
is somewhat hard to fix.
If Arantor says that it's quite hard to fix everywhere I think of it as "not doable without inhuman effort"  :)
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

Arantor

It's not so much that it's technically difficult in its own right - because against Curve on its own it's not entirely terrible. But from a mod support angle, it's significantly more difficult because of how all the other things interact with it in other themes.

NekoJonez

I now have only massive error log dumping from the global moderators :/

It's those Simple Portal errors again. :c
Retro video game blogger, writer, actor, podcaster and general amazing dude.

Twitter
My Blog

Advertisement: