Automatic Package Version Emulation (SMF 2.0.x Only)

Started by dougiefresh, March 01, 2016, 06:58:02 PM

Previous topic - Next topic

Arantor

The licence is given in the opening post, including the copyright and rules about whether you can use it.

aegersz

#21
i went to install the new version of a few mods from dougiefresh because i love the extra functionality they offer BUT I got an error that I can see ((it's very vague message/line of code) and it looks like "uninstall emulation":

This was the error presented at the very top of the screen:

'empty($package['emulate_version']) ? $txt['uninstall_mod'] : $txt['uninstall_emulating'] . ': ' . strtoupper($package['emulate_version']), ' ]';

I think this is related to dougie's Automatic Version Emulation BUT EVEN after i uninstalled it, i still have this code fragment at the very top of my screen:

[ ', $txt['uninstall'], ' ]';

Please move this thread to the appropriate area, i'm sorry for dumping this here.
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

aegersz

#22
This mod has caused me some grief, even after uninstalling it.

The problem only presents in the Package Manager.

Please see https://www.simplemachines.org/community/index.php?topic=556174

Topic merged with this one, see post just before this one ~ Steve


What i would like to know (and fix) is why i am still seeing residual code (that i assume wasn't carefully undone upon uninstall (?))

I want to get my systems back to being stable. Don't get me wrong, I love your mods but they need some more love and attention as they are impacting on core SMF functions. I can only assume that you are over-delivering at a rapid rate ... but you can fix anything. Slow down brother !

dougie, i have made you an Admin again so log into my site and head for the Package Manager and look at the very top of the screen - try to mark it (it highlights) to catch the residual code fragment.

or take this link now: https://forum.drugs-and-users.org/index.php?action=admin;area=packages
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Steve

#23
Quote from: aegersz on September 13, 2017, 09:02:33 AMI can only assume that you are over-delivering at a rapid rate ... but you can fix anything. Slow down brother !

As you seem to be the only one having all these problems maybe you should consider the possibility that it's your system causing issues, not the other way around.

(I'm a fan of dougie and his mods so I'm quick to jump to his defense. :) )
DO NOT pm me for support!

Arantor

Yeah, I'd generally assume that having 100+ mods is automatically part of the problem, not part of the solution.

dougiefresh

@aegersz: I would guess you are running version 1.0 of the mod, which does have the "residual code leftover after uninstall" issue.  It appears to install just fine, so I don't understand what I messed up on in version 1.0...  But I fixed that with version 1.1...  I'm working on a version 1.3, which solves the issues that I've seen on my test forum....

Anyways, edit Themes/default/Packages.template.php and remove everything up to <?php.  That will take care of this issue.




@Steve and @Arantor:  No, he has a point.  I've delivered a few versions of mods with typos.  I really do need to slow down and verify the code/mod works before I release it.....  (Sigh)

But aegersz has been pointing out issues with my mods, and I'll happily fix whatever issues anybody finds if it is within my capability to fix them.

aegersz

#26
guys, there is no bigger fan of dougie's mods than me.

I did install and uninstall the first release so I will follow his advice.

then I will reinstall the mod. I just got a bit worried for a moment.

I always take any new mod or most existing mods and see how they coexist with others for the sake of adding functionality and helping out existing and future users of his mods - for everyone's benefit.

I only want to help him to build the best possible code so don't take me the wrong way. he takes pride in his work and always tries to add suggested functionality, if possible.

without doubt, the best overall mod contributer here (and possibly on the planet), IMO.

I am just in a good position to do so as I have so many mods (of his and others) so I might as well be useful.

he always fixes all his issues so it's a win-win situation for SMF, myself, dougie and all current/new/future users of his code.

it's the mods that make SMF the best forum software, as I see it, not to mention the fact that it's open source.

everyone involved playing their role, selflessly devoting time and energy and resources into this, does so for the pure satisfaction that it brings for themselves and others- it's a beautiful thing.
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

aegersz

@dougie, thanks - i did it and it's all good now.

I hope you didn't take my comments the wrong way ... you're a coding machine !

BTW, i tried to register on your site but got an error so i couldn't complete the registration.

The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

dougiefresh

I fixed the error on my website.  What do ya know, another syntax typo on the No Log Certain User Errors mod....  This one about one year old....

Gwenwyfar

Quote from: dougiefresh on September 15, 2017, 01:23:52 PM
I fixed the error on my website.  What do ya know, another syntax typo on the No Log Certain User Errors mod....  This one about one year old....
Time for a new keyboard or just typing too fast for good accuracy levels?  ;D
"It is impossible to communicate with one that does not wish to communicate"

dougiefresh

Hell, I dunno.....  I've done replaced my keyboard within the 9 months year....  Maybe a brain replacement is necessary, too...

dougiefresh

Uploaded v1.3 - November 20th, 2017
o Fixed code so that user-selected version emulation is taken into account.

-Rock Lee-

Recently I have seen this modification seems very curious, we will "break it a little" :laugh: in local to see how it goes lol. And in passing we leave the translation to Latin Spanish :), anything you tell me!


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

dougiefresh

Uploaded v1.5 - November 22th, 2017
o Added Spanish Latin translation, courtsey of Rock Lee!




@Rock Lee:  Thank you for the translation!  It's been included in this version!

@Everybody:  I noticed some version confusion with version 1.3, in that it will show up in Package Manager as version 1.4.  I decided to put this version at version 1.5, in order to reduce confusion.  I apologize for any confusion that mistake caused.....

dougiefresh

Uploaded v1.6 - October 10th, 2018
o No functionality change.
o Updated documentation to point to new website.

Advertisement: