News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Lazy Admin Menu

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

Previous topic - Next topic

dougiefresh

@Steve: I just updated v2.2 again because of an error that I missed before uploading the previous v2.2 mod.  Please download again....

Steve

Awesome! Works now! Thanks for all your hard work. :D
DO NOT pm me for support!

dougiefresh

Thank you for all your feedback!  It's been appreciated!

dougiefresh

Uploaded v2.3 - December 31st, 2016
o Modified SMF bug fix to make it compatible with upcoming SMF 2.0.13 patch.

Steve

Hopefully that comes out soon so I can see if there are any problems with your update. I know it works a treat right now. :)
DO NOT pm me for support!

SMiFFER

I cannot uninstall the old L.A.M version1.16 to update to the new one v2.3.

Screenshot of the error:



what do I have to do?
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

Steve

What does clicking on the clipboard icon at the left in the error line tell you?
DO NOT pm me for support!

dougiefresh

In Sources/Load.php, look for the function declaration for loadLanguage.  If you find this:
function loadLanguage($template_name, $lang = '', $fatal = true, $force_reload = false)
you are good to uninstall the mod, ignoring the error that was brought up by Package Manager.

If you find this (or something similar to this):
function loadLanguage($template_name, $lang = '', $fatal = true, $force_reload = false, $get_already_loaded = false)
You need to modify the line so that it matches what is expected before you can uninstall the mod.  If you need help, attach your Sources/Load.php and I'll try to fix your source file for you.

SMiFFER

Quote from: Steve on February 01, 2017, 08:26:33 AM
What does clicking on the clipboard icon at the left in the error line tell you?
Click on UPPER clipboard (as shown on the screenshot) brings:


Click on LOWER clipboard (as shown on the screenshot) brings:
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

SMiFFER

@Dougie:

It so appears as if I find the latter.
What do I need to fix or do here?
Do my newly posted screenshots help ya?
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

dougiefresh

Quote from: SMiFFER on February 09, 2017, 04:23:15 AM
@Dougie:

It so appears as if I find the latter.
What do I need to fix or do here?
Do my newly posted screenshots help ya?
I'm betting that you had older versions of both the Lazy Admin Menu and Better Profile Menu mods installed at the same time, since they both make code changes at the same place.... 

In Sources/Load.php, change:
Code (Find) Select
function loadLanguage($template_name, $lang = '', $fatal = true, $force_reload = false, $get_already_loaded = false)
to this:
Code (Replace) Select
function loadLanguage($template_name, $lang = '', $fatal = true, $force_reload = false)
If you don't find the "Find" portion, then just ignore it and uninstall the mod.  (You probably aren't going to find it, since you have an error at that operation).  If it is anything other than the "Find" or "Replace" operations I just told you, send your Sources/Load.php and I'll take a look.

SMiFFER

Quote from: dougiefresh on February 09, 2017, 09:30:52 AM
I'm betting that you had older versions of both the Lazy Admin Menu and Better Profile Menu mods installed at the same time, since they both make code changes at the same place.... 
That is true!


Quote from: dougiefresh on February 09, 2017, 09:30:52 AM
If you don't find the "Find" portion, then just ignore it and uninstall the mod.  (You probably aren't going to find it, since you have an error at that operation).  If it is anything other than the "Find" or "Replace" operations I just told you, send your Sources/Load.php and I'll take a look.
I found only the "Replace" portion.
Ok, I uninstall Lazy Admin Menu 1.16 now as you said.
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

SMiFFER

Deleted the old files then.
And then installed the NEW L.A.M.  Message confirmed all went good.

But weird: The menu does not present me the extra functions. I just "lost" them now.

Pkg Manager shows
Lazy Admin Menu 2.3 installed OK.

Where did I possibly go wrong?
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

dougiefresh

Quote from: SMiFFER on February 09, 2017, 03:08:42 PM
Deleted the old files then.
And then installed the NEW L.A.M.  Message confirmed all went good.

But weird: The menu does not present me the extra functions. I just "lost" them now.

Pkg Manager shows
Lazy Admin Menu 2.3 installed OK.

Where did I possibly go wrong?
I just installed Lazy Admin Mod on a clean 2.0.13 forum and could not reproduce the issue you reported.  What forum version and mods do you have installed?

SMiFFER

1.    SMF 2.0.12 Update    1.0     
2.    Signature Option Post    1.1.1    
3.    Better Profile Menu    2.4    
4.    Activity Bar    1.1    
5.    Sorted BBCode List for SMF 2.0.x    1.1    
6.    Global Topics    2.2    
7.    Unknown Actions    1.2    
8.    SimpleColorizer    1.1    [ Install Mod ]   
9.    Admin Notepad    2.0.2    
10.    Display Signatures Only Once Per Page    1.0.3    
11.    Hide ip stuff for users    1.05    
12.    Activity in Profile    1.1    
13.    Indent BBC    1.0.1    
14.    Alternate User Posting    1.0.1    
15.    Last Active On MemberList    1.4    
16.    Tidy Child Boards    2.0    
17.    Lazy Admin Menu    2.3    
18.    SMF Mailing List Mod    2.03    
19.    Redirection Topics    1.0.3    
20.    Post History    1.03    
21.    Join Reason    1.5    
22.    Personal Messages to Membergroups    1.4.3     
23.    SMF 2.0.13 Update    1.0    
24.    SMF Notify Group    2.2    
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

dougiefresh

I'll need some time to search through the mods and see what might be interfering with the Lazy Admin mod......  Please be patient.

SMiFFER

Thanks for offering your help.
I will be patient.
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

dougiefresh

Damn...  Your issue fell off the radar!  I'll look into the issue tomorrow, as I'm at work until 10pm and then from 7am to 4pm tomorrow....

dougiefresh

Quote from: SMiFFER on February 09, 2017, 03:08:42 PM
Deleted the old files then.
And then installed the NEW L.A.M.  Message confirmed all went good.

But weird: The menu does not present me the extra functions. I just "lost" them now.

Pkg Manager shows
Lazy Admin Menu 2.3 installed OK.

Where did I possibly go wrong?
I look through the mods and I can't see that any of the mods would interfere with the Lazy Admin Mod.  Have you cleared the cache?  You can do so either by (1) manually deleting the cache files and/or (2) go into the Admin panel under Forum Maintenance and empty the file cache.....

I just noticed that you said you "deleted the old files".  Does that mean that you uninstalled the older version of the mod?  If not, you need to uninstall it PROPERLY in order to make sure that the hooks are "unhooked" and PROPERLY install the new mod so that any hooks required are made.....

dougiefresh

Uploaded v2.4 - February 26th, 2018
o Now uses safe_serialize/safe_unserialize functions when available.

Advertisement: