News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Faster Parsecode

Started by Anguz, October 22, 2004, 06:28:53 PM

Previous topic - Next topic

Anguz

No, SMF is perfectly capable of parsing bb code without this mod. :)
Cristián Lávaque http://cristianlavaque.com

agridoc

I did a test install of SMF 1.06 in my PC today and Faster Parsecode for 1.05 doesn't install.

My main concern is Table from CSV but Faster Parsecode must be installed first.

I understand this must be a headneck for you Anguz   :(
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

RoarinRow

I had to un-install Faster Parsecode 1.0.9 for my now 1.0.6 forum.  Any fixes for 1.0.6.  I do notice a performance difference without it.

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Anguz

I just checked and there's a small difference in 9 lines of the original parsecode function between 1.0.5 and 1.0.6, which I have to change in the mod file when searching and also in the faster parsecode function.

I'll have it done tomorrow, packaged and uploaded in the mod site. Sorry I can't finish it right now. As usual, I'll post a reply here when the update is up.
Cristián Lávaque http://cristianlavaque.com

agridoc

#244
Thank you Anguz  :) I hope you will also have a look at Table from CSV to see if something is needed there too.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Anguz

1.10
  • Updated for SMF 1.0.6.

    agridoc, Table From CSV should install fine after Faster Parsecode. If you have any trouble, let me know in its topic.

    I actually packaged the update last night, but had some trouble uploading the file. It's there now.

    FasterParsecode1-10_SMF1-0-6.zip
Cristián Lávaque http://cristianlavaque.com

RoarinRow

#246
I just tried it on one my test forum and got a failure.  :(  The other worked o.k.

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Anguz

Is your test forum a clean 1.0.6 or an update from a previous version, or does it have another mod installed already?
Cristián Lávaque http://cristianlavaque.com

RoarinRow

#248
Quote from: Anguz on January 31, 2006, 02:34:01 PM
Is your test forum a clean 1.0.6 or an update from a previous version, or does it have another mod installed already?

I was previously on 1.0.5 and applied the 1.0.6 update this past weekend.

Edit - no other mod other than the 1.0.6 patch.

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

agridoc

I tried Faster Parsecode for SMF 1.06 in a fresh 1.06. No problems with install, forum seems to work OK.

Unfortunatately Table From CSV for 1.05 couldn't be installed after that
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Anguz

Just posted the update for Table From CSV, agridoc, let me know how it goes.
Cristián Lávaque http://cristianlavaque.com

RoarinRow

Quote from: RoarinRow on January 31, 2006, 02:37:11 PM
Quote from: Anguz on January 31, 2006, 02:34:01 PM
Is your test forum a clean 1.0.6 or an update from a previous version, or does it have another mod installed already?

I was previously on 1.0.5 and applied the 1.0.6 update this past weekend.

Edit - no other mod other than the 1.0.6 patch.

I resolved the issue myself.  Just took my original subs.php file from my working site and copied over to my test site, then ran the install again. 

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Anguz

Cristián Lávaque http://cristianlavaque.com

Skipdawg

Quote from: Anguz on January 31, 2006, 01:03:10 PM
1.10
  • Updated for SMF 1.0.6.

    agridoc, Table From CSV should install fine after Faster Parsecode. If you have any trouble, let me know in its topic.

    I actually packaged the update last night, but had some trouble uploading the file. It's there now.

    FasterParsecode1-10_SMF1-0-6.zip
Thanks very much. I can see already this has made a bit of a difference. Cool beans!  ;D ;)
Skipdawg's Community

Powered by SMF 1.1.3

agridoc

 It really does Skipdawg.

Anguz, have you noticed the topic Wrong parsing of UTF characters in board names categories and posts in 1.1 RC2?

Altough I would like to follow a more simplified approach for multilingual (Multilingual in SMF 1.1RC2 without UTF for Greek and other languages?) I think it' s an interesting programming challenge to do a Faster Parsecode Mod for 1.1 RC2 without these UTF problems.  ;)
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Anguz

Heh, thanks for the challenge.

I really don't know what to do with this mod for 1.1 yet, though. I don't really feel like re-writting the whole thing, so if actually did release it, it'd probably be the same code. I still am not sure what disadvantages it'd pose compared to the new function, really.

I'll look into the UTF thing, which I'm not familiar with, and see if I can think of something.

Thanks, Skipdawg, I'm glad you like it. :)
Cristián Lávaque http://cristianlavaque.com

agridoc

I believe you will come with a surprise Anguz  8)
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Washi

I had to manually add this and the spoiler tag on one of the forums (post-upgrade). I got a failure in Subs.php on the Faster Parse code, so I just modded everything myself.
Everything works nicely when you do it yourself, but I think there might be a mistake in the coding of the mod. I might be wrong. As for the spoiler tag, we just need to change the 1.0.5 to 1.0.6 for it to work.
I'm afraid of even trying this on my other forum, because I have so many mods, and I don't wanna make everything go poof.

Anguz

Hmm... I wonder if the function's code is different in a clean install compared to an upgrade or update. I'll check.

Regarding things going poof, if you don't have any mods that modified the parsecode function, then it's as safe as installing it in an unmodified forum.
Cristián Lávaque http://cristianlavaque.com

Anguz

Well, I updated a 1.0.5 install to 1.0.6 and then installed Faster Parsecode v1.10 and it went fine. Dunno what the problem is. If you have a failure when trying to install the mod to your other forum, could you please copy your parsecode function in Subs.php and paste it here between code tags so I see what the problem could be? If you know that you don't have another mod that changed that code, that is. What other mods did you have installed in the forum you modified by hand?
Cristián Lávaque http://cristianlavaque.com

Advertisement: