Customizing SMF > SMF Coding Discussion

Question about parsing

(1/4) > >>

mudskipper:
Ok, this may be a simplton question, but this will be my first attemt at trying to parse something.  I want this mod on my 2.0.2 forum.  http://custom.simplemachines.org/mods/index.php?mod=1223

However, it wont upload properly through package upload, so I need to parse it.  My question is, do I upload it with the package manager and then parse it, or do I just parse it and it will be installed?

Thanks
Mike

ApplianceJunk:
Do you mean Emulate?

Administration Center » Package Manager » Browse Packages

At the bottom is a Advanced link.
Click on it.

Parse is something you do on the mod download page to receive the code and instructions on how to manually install it.

Arantor:
Going through the parse stage shows you what code changes the mod wants to make - and that one is very old so it's likely you'd have to rewrite it for current SMF 2.0.x.

MrPhil:
"Parsing" simply tells you the steps/changes to make by manually editing the files. It doesn't install anything for you. You could try installing a mod first through the package manager, and note which files it failed to update (or other steps it failed to perform). Then you need to "parse" the instructions and follow them to manually edit those files.

You say it "won[']t upload properly" -- do you mean it doesn't even get to the stage of looking through the files to change and whether or not it thinks it can successfully update them? If so, make sure your Packages directory is writable (usually 755, but it might need to be 775 or even 777 on your particular system). I believe you will also need a Packages/Temp directory with the same permissions. If it uploaded the file(s) OK but declares that it is unable to edit/update the files, then yes, you would need to parse and manually edit.

Also, the mod may be for an earlier version of SMF. Some people have luck with "emulating" the earlier SMF version, but it's no guarantee that it will install properly.

mudskipper:
I have already tried going through package manager and uploading the mod.  It fails several "test" when trying to install.  As for the emulation, I tried several version and none of them worked to allow it to install.  So I was under the impression that when you clicked on the parse button on the mod page and it returned various codes that need to be written to each file/folder, that is what is needed to be changed/added to install the mod for that version of SMF.  So am I wrong in thinking that?

Navigation

[0] Message Index

[#] Next page

Go to full version