Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: DareDevil1990 on March 18, 2009, 04:13:18 AM

Title: xml created what to do now?
Post by: DareDevil1990 on March 18, 2009, 04:13:18 AM
hi i have created a xml for my mod now how do i pack it so that it can install through package options in smf  :-[

Will someone help me
Title: Re: xml created what to do now?
Post by: JBlaze on March 18, 2009, 05:35:59 AM
Try going here...

http://www.simplemachines.org/community/index.php?topic=20319.0
Title: Re: xml created what to do now?
Post by: DareDevil1990 on March 18, 2009, 05:59:12 AM
okay with help of Mas i also created package-info.xml but when i am trying to install the package on my test site it is giving error :(
Title: Re: xml created what to do now?
Post by: Rumbaar on March 18, 2009, 07:25:31 PM
Post your contents of package-info.xml.  What is the error?
Title: Re: xml created what to do now?
Post by: DareDevil1990 on March 18, 2009, 11:55:15 PM
i have attached both  package-info.xml as well as my main file ...i think the error is in my main file...but cant figure out what the error :(
Title: Re: xml created what to do now?
Post by: Rumbaar on March 19, 2009, 12:27:39 AM
What is the EXACT error? You've hardcoded it to only work on 1.1.7 version of SMF, if that is the issue?
Title: Re: xml created what to do now?
Post by: DareDevil1990 on March 19, 2009, 12:36:59 AM
the error when i pack these two file in a zip and try to install package manager it gives test failed error
heres the screeny
http://img23.imageshack.us/img23/6883/dasdasds.jpg
Title: Re: xml created what to do now?
Post by: Rumbaar on March 19, 2009, 12:42:37 AM
You've use the wrong search code then, make sure you've copied the exact 'replace' code from an un-edited version of 1.1.7 Subs.php.

As from looking again the spacing is off for one thing.
Title: Re: xml created what to do now?
Post by: DareDevil1990 on March 19, 2009, 01:43:14 AM
okay its all done now working with smf 1.1.x now i want to add a readme when users install the mod...how do i do this ? i have already created a file called readme.txt in the package however when  install i dont see tht readme :(

wht to do ?
Title: Re: xml created what to do now?
Post by: Rumbaar on March 19, 2009, 03:06:47 AM
Package SDK, anyone? (http://www.simplemachines.org/community/index.php?topic=20319.0)