Simple Machines Bug and Feature Tracker
|Anonymous | Login||07-29-2015 09:28 AM|
|My View | View Issues|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004987||SMF 1.1||General||public||2012-06-01 14:21||2012-10-14 14:17|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Summary||0004987: Smiley mods installing wrong|
|Description||Sorry for the sucky title.|
I recently helped a 1.1.16 forum, the guy had installed smileys through the smileys of the moment function.
These smileys werent working.
When I looked in FTP it looked like he had extracted the mod into a folder by the zips name and shoved it into the smileys folder....so..
/BlueSmileyAnimation_2 (package/install files here)
/bsa (smileys here)
Essentially it's downloading the smileys and extracting the contents into a folder....but if the smiley is a mod it's not actually installing them through the package manager?
|Steps To Reproduce||1.1.16 forum > Admin > Smileys|
Install a smiley of the moment, such as BlueSmileyAnimation_2 or ANY of the others
Visit FTP and see for yourself they wont work.
MantisBT 1.2.8 (Modified)[^] Copyright © 2000 - 2010 Mantis Group
That's something funny.
The smiley packages are usually manually installed from the package manager, the install from the url is probably there to allow a sort of "one-click install", unfortunately it simply extract the package into the target directory without taking in consideration the package-info.xml.
Now the funny part: the url is provided by simplemachines.org (yes, the server here).
So: the simplest way to fix it is ask the site team to change the url:
var actionurl = '?action=admin;area=smileys;sa=install;set_gz=';
to point to the package manager instead:
var actionurl = '?area=packages;sa=download;get;package=';
that will increase the number of clicks needed to install a smiley pack, but in the end it will work as expected! :D
To make the "one-click install" works I we need a bit more work...
Alundra (Beta Tester)
That's what I was trying to explain, thanks!
I considered it more of a preview thing, as opposed to a one click thing. More of a "don't have to go to SMF to find smileys - but you should ha ha"
Couldnt you make it run the package in the background then? Make it extract in packages and run it in one click without confirmation?
Date: Sun Oct 14 2012
And finally the smiley "one click install" works as expected using (half of) the power of pacman! [Bug 4987] - there is still a log way to make everything consistent...