Advertisement:

Author Topic: Package Parser  (Read 17631 times)

Offline tyty1234

  • SMF Hero
  • ******
  • Posts: 2,132
  • Gender: Male
  • <?php give_support(); ?>
    • tyty1234's SMF Site
Re: Package Parser
« Reply #20 on: September 02, 2011, 02:41:45 PM »
Funny how I missed that...

In $context['temp_dir'], replace $root_dir with dirname(__FILE__)
My Activity: Semi-Active
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Offline phantomm

  • Sr. Member
  • ****
  • Posts: 883
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
Re: Package Parser
« Reply #21 on: September 02, 2011, 03:07:18 PM »
Thanks for this quick fix ;)
Polskie wsparcie SMF na simplemachines.org

My mods

Offline Kimmie

  • Sophist Member
  • *****
  • Posts: 1,258
Re: Package Parser
« Reply #22 on: September 07, 2011, 01:16:26 AM »
doesnt work

Offline tyty1234

  • SMF Hero
  • ******
  • Posts: 2,132
  • Gender: Male
  • <?php give_support(); ?>
    • tyty1234's SMF Site
Re: Package Parser
« Reply #23 on: September 07, 2011, 01:19:54 AM »
Please explain.
My Activity: Semi-Active
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Offline Kimmie

  • Sophist Member
  • *****
  • Posts: 1,258
Re: Package Parser
« Reply #24 on: September 07, 2011, 01:36:52 AM »
When I upload the mod and parse it, you cannot "expand" the categories you need to "see" the edits. There are also tons of "warnings" down at teh bottom of the page.

Hang tight and I will show

Offline Kimmie

  • Sophist Member
  • *****
  • Posts: 1,258
Re: Package Parser
« Reply #25 on: September 07, 2011, 01:41:10 AM »
Red arrows>> These areas will not expand so that you can see the necessary edits





Bottom of page with tos of warning errors:


Offline tyty1234

  • SMF Hero
  • ******
  • Posts: 2,132
  • Gender: Male
  • <?php give_support(); ?>
    • tyty1234's SMF Site
Re: Package Parser
« Reply #26 on: September 07, 2011, 01:43:38 AM »
My guess is it has to do with the mod you're trying to parse. Maybe try parsing a different mod? What mod are you trying to parse?
My Activity: Semi-Active
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Offline Kimmie

  • Sophist Member
  • *****
  • Posts: 1,258
Re: Package Parser
« Reply #27 on: September 07, 2011, 01:44:59 AM »
its not an official mod listed on the smf site. I am trying to parse this one that someone redid

http://www.simplemachines.org/community/index.php?topic=176565.1640


ha;f way down posted by "Skipper"

Offline tyty1234

  • SMF Hero
  • ******
  • Posts: 2,132
  • Gender: Male
  • <?php give_support(); ?>
    • tyty1234's SMF Site
Re: Package Parser
« Reply #28 on: September 07, 2011, 02:13:41 AM »
Ahh I see where the error is. It's in the xml file that is created when the .mod file is converted to xml. I don't know why authors still use the .mod format...but that's why I have my package parser, to parse those .mod modifications. Once I have time, I will get to work on it and fix it. Thanks for reporting :)
My Activity: Semi-Active
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Offline Kimmie

  • Sophist Member
  • *****
  • Posts: 1,258
Re: Package Parser
« Reply #29 on: September 07, 2011, 04:21:42 PM »
Ahh I see where the error is. It's in the xml file that is created when the .mod file is converted to xml. I don't know why authors still use the .mod format...but that's why I have my package parser, to parse those .mod modifications. Once I have time, I will get to work on it and fix it. Thanks for reporting :)

no problem :) I really dont want to use that version (because its mostly unsupported), and I am anxiously awaiting the official re-release of that mod, but glad to know I was able to help you out with your parser as well :)

Offline BigMike

  • Full Member
  • ***
  • Posts: 594
  • Gender: Male
    • Marlin Crawler, Inc.
Re: Package Parser
« Reply #30 on: April 25, 2012, 06:47:04 PM »
I realize this hasn't been posted to in awhile but I just came across this parser and I have to say it's a real life saver! Thank you very much for your time in building this!!

Regards,
BigMike

Offline Tony_R

  • Semi-Newbie
  • *
  • Posts: 16
Re: Package Parser
« Reply #31 on: April 27, 2012, 02:01:14 AM »
Hello !

Fully agree with my pre Poster  :D

Is it possible to manually add one or two lines to this script to accomodate
2.0.1 and 2.0.2 (when that's no problem, I could do it myself).

Only asking, because I am not really into PHP.....  ::)

Offline phantomm

  • Sr. Member
  • ****
  • Posts: 883
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
Re: Package Parser
« Reply #32 on: April 29, 2012, 03:27:47 AM »
@Tony_R, open parser.php and:
Code: (Find) [Select]
'SMF 2.0 Branch' => array(
'2.0',
Code: (Replace with) [Select]
'SMF 2.0 Branch' => array(
'2.0.2',
'2.0.1',
'2.0',
Polskie wsparcie SMF na simplemachines.org

My mods

Offline N3RVE

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,906
  • Gender: Male
    • N3RVE.COM
Re: Package Parser
« Reply #33 on: May 05, 2012, 01:01:57 PM »
Fantastic Job. Thanks! :)
Ralph "[n3rve]" Otowo
Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote
“Somewhere, something incredible is waiting to be known.” - Carl Sagan

Offline Tony_R

  • Semi-Newbie
  • *
  • Posts: 16
Re: Package Parser
« Reply #34 on: May 08, 2012, 07:10:06 AM »
@Tony_R, open parser.php and:
Code: (Find) [Select]
'SMF 2.0 Branch' => array(
'2.0',
Code: (Replace with) [Select]
'SMF 2.0 Branch' => array(
'2.0.2',
'2.0.1',
'2.0',

Many, Many Thanks !!!

Offline Gryzor

  • Full Member
  • ***
  • Posts: 454
  • Gender: Male
  • CPCwiki.eu - The Amstrad CPC Encyclopaedia!
    • CPCWiki
Re: Package Parser
« Reply #35 on: January 23, 2013, 05:30:18 AM »
Just found this while looking for those other parsers and just wanted to thank you so much, even after all this time. Thanks :)