Advertisement:

Author Topic: Board Sort Methods  (Read 38012 times)

Offline Dharshan

  • Full Member
  • ***
  • Posts: 423
  • Gender: Male
  • Free as wind!
    • pcguide
Re: Board Sort Methods
« Reply #20 on: October 10, 2009, 04:34:07 AM »
I have tried the 2.0.1 & 2.0 packages and both are giving same errors..... have attached a SS of the installation page....Help!

R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Board Sort Methods
« Reply #21 on: October 10, 2009, 08:56:01 AM »
This is not really an error as such, its a test performed before modifying the file, it either passes of fails, there is no fix for this.

All you can do get the parsing instructions for the mod (from the mod site and install those "test failed" files yourself

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Offline Dharshan

  • Full Member
  • ***
  • Posts: 423
  • Gender: Male
  • Free as wind!
    • pcguide
Re: Board Sort Methods
« Reply #22 on: October 10, 2009, 11:41:59 PM »
oki, but the thing is that,When I tried  to install the mod on a local test server, which had a fresh SMF 1.1.10 running,
still it gave me all those errors and when i tried to apply SMF crashed..



Snaps....It says this mod for SMF 2 ONLY!
link : http://custom.simplemachines.org/mods/index.php?action=parse;mod=1677;attach=90820;smf_version=1.0.10
« Last Edit: October 10, 2009, 11:46:43 PM by Dharshan »
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,432
    • Arantor on GitHub
Re: Board Sort Methods
« Reply #23 on: October 20, 2009, 11:01:01 AM »
The reason is that mods internally can specify which version(s) it works on.

This mod doesn't, so the package manager doesn't check what version it should run on. Thus it'll parse for 1.1.10.

However as you've discovered there are a number of changes from 1.1.10 in 2.0 that the mod will not work on. If you want a 1.1 compliant mod try http://custom.simplemachines.org/mods/index.php?mod=382
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline Dharshan

  • Full Member
  • ***
  • Posts: 423
  • Gender: Male
  • Free as wind!
    • pcguide
Re: Board Sort Methods
« Reply #24 on: October 22, 2009, 12:16:52 AM »
thanks Arnator,
i found another mod which does the same.
thanks.
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline Dharshan

  • Full Member
  • ***
  • Posts: 423
  • Gender: Male
  • Free as wind!
    • pcguide
Re: Board Sort Methods
« Reply #25 on: November 23, 2009, 02:33:57 AM »
trying this again with my smf 2 install
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline kai920

  • Sr. Member
  • ****
  • Posts: 855
  • Gender: Male
  • its != it's
Re: Board Sort Methods
« Reply #26 on: December 03, 2009, 12:04:33 PM »
Does this work with SMF 2.0 RC2?

Offline Dharshan

  • Full Member
  • ***
  • Posts: 423
  • Gender: Male
  • Free as wind!
    • pcguide
Re: Board Sort Methods
« Reply #27 on: December 06, 2009, 04:52:54 AM »
nopes..... :S

I'm stuck with no board sort mod available for SMF2 rc2......
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline kai920

  • Sr. Member
  • ****
  • Posts: 855
  • Gender: Male
  • its != it's
Re: Board Sort Methods
« Reply #28 on: December 06, 2009, 11:19:00 AM »
I did a quick try with the install, I think the admin interface edits need to be updated for RC2. Will see if I have time to look into this.

Offline Dharshan

  • Full Member
  • ***
  • Posts: 423
  • Gender: Male
  • Free as wind!
    • pcguide
Re: Board Sort Methods
« Reply #29 on: December 11, 2009, 06:23:11 AM »
I did a quick try with the install, I think the admin interface edits need to be updated for RC2. Will see if I have time to look into this.

if you could make that happen,
It'll make me the most happiest person in the world!
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline kai920

  • Sr. Member
  • ****
  • Posts: 855
  • Gender: Male
  • its != it's
Re: Board Sort Methods
« Reply #30 on: December 13, 2009, 09:25:17 AM »
I got the manual edits working for RC2, but I'm having trouble with the CDATA search part in the install.xml. I'll read some tuts and tinker with it a bit and try to get it to pass the search & replace test in ManageBoards.template.php.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,432
    • Arantor on GitHub
Re: Board Sort Methods
« Reply #31 on: December 13, 2009, 09:43:07 AM »
You leave the <![CDATA[ itself in along with the ]]> at the end though...
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline kai920

  • Sr. Member
  • ****
  • Posts: 855
  • Gender: Male
  • its != it's
Re: Board Sort Methods
« Reply #32 on: December 13, 2009, 09:59:39 AM »
You leave the <![CDATA[ itself in along with the ]]> at the end though...

I left those in there, but I'm not sure why the test is failing for this one edit. When the test fails on an install, it's usually because it can't find the matching code?

Are tabs/spaces etc. important?
« Last Edit: December 13, 2009, 10:03:32 AM by kai920 »

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,432
    • Arantor on GitHub
Re: Board Sort Methods
« Reply #33 on: December 13, 2009, 10:05:18 AM »
Tabs and spaces and newlines are all important.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline kai920

  • Sr. Member
  • ****
  • Posts: 855
  • Gender: Male
  • its != it's
Re: Board Sort Methods
« Reply #34 on: December 13, 2009, 10:12:08 AM »
Tabs and spaces and newlines are all important.

OK, I got it sorted now. I turned on the invisible tab characters, and could see that TextMate was auto-formatting my "paste" by removing tabs.

Edit - while the package s installing now, it's not working fully yet. Not sure I have the skills to debug, so don't hold your breath ;)
« Last Edit: December 13, 2009, 11:30:32 AM by kai920 »

Offline kai920

  • Sr. Member
  • ****
  • Posts: 855
  • Gender: Male
  • its != it's
Re: Board Sort Methods
« Reply #35 on: December 13, 2009, 12:02:16 PM »
Actually, it does work: if caching is completely disabled, changes made in the sort settings are reflected immediately. If caching is on, $board_info['sort_method'] does not change immediately.


Here is the package if anyone wants to give it a shot. Not able to install through the package manager for some reason, but if you extract to /Packages/BoardSort and do it manually it will install.
« Last Edit: December 13, 2009, 01:04:14 PM by kai920 »

Offline Dharshan

  • Full Member
  • ***
  • Posts: 423
  • Gender: Male
  • Free as wind!
    • pcguide
Re: Board Sort Methods
« Reply #36 on: December 21, 2009, 05:50:00 AM »
Hi kai920,

downloaded it! i was waiting for this..thanks a lot......so this means i need to upload this manually right!

I'll give it a shot!

thanks
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline Dharshan

  • Full Member
  • ***
  • Posts: 423
  • Gender: Male
  • Free as wind!
    • pcguide
Re: Board Sort Methods
« Reply #37 on: December 21, 2009, 06:06:59 AM »
the package is installed..but it gave me a fatal error line... continuing....
will keep u updated..


 :D YAY! thanks a lot...it's working.....

check it out http://www.pcguide.exofire.net/forum/index.php/board,5.0.html
« Last Edit: December 21, 2009, 06:24:50 AM by Dharshan »
R I P  : Steve Jobs | you made the world today look how it is | Thank you

Offline kai920

  • Sr. Member
  • ****
  • Posts: 855
  • Gender: Male
  • its != it's
Re: Board Sort Methods
« Reply #38 on: December 22, 2009, 05:37:10 AM »
Great! I'm not sure why it won't install normally, probably some extra/orphan files in the zip archive because I use a Mac.

What was the fatal error line?

Offline Dharshan

  • Full Member
  • ***
  • Posts: 423
  • Gender: Male
  • Free as wind!
    • pcguide
Re: Board Sort Methods
« Reply #39 on: December 22, 2009, 10:29:41 PM »
i cannot rekon...... but everything works just fine.....which means it's not fatal although it gave that......
cheers!
R I P  : Steve Jobs | you made the world today look how it is | Thank you