Table From CSV

Started by Anguz, October 27, 2004, 06:34:53 AM

Previous topic - Next topic

Tony Reid

I just tested Fasans example on my site and its working fine (smf 1.01)
Tony Reid

johnm

mmm ive just tested that above and it worked this is what i had in the table (it was to test it)


[table=,]aaaa,aaaa,aaaa,aaaa
bbbb,bbbb,bbbb,bbbb
cccc,cccc,cccc,cccc
[/table]

Anguz

Hmm.. funny, I just tried your table and it worked fine for me, it let me do the sorting with all three columns. Were you able to reproduce the problem again?
Cristián Lávaque http://cristianlavaque.com

johnm

yes i can still produce the same problem

bit of a daft question but are you meant to upload .js files in binary or ASCII

Tony Reid

Tony Reid

Anguz

Updated to 1.20


  • Fixed a parsing problem.

Quote from: John on February 02, 2005, 03:45:25 PM
yes i can still produce the same problem

This version should fix it, could you tell me if it did?
Cristián Lávaque http://cristianlavaque.com

FaSan

Work fine for me.

Little problem... if i have a number value with comma, the table not work correctly es :

"0,01"



FaSan

Anguz

Quote from: FaSan on February 03, 2005, 01:39:14 PM
Work fine for me.

Good. :)

Quote
Little problem... if i have a number value with comma, the table not work correctly

Then you use a different separator that's not used in the values, just put it after the equal sign, even a tab will work:


[table= ]
col1 col2 col3
val1 val2 val3
[/table]


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

FaSan


johnm

ill try this when i get home :)

johnm

does v1.20 work with smf1.0.2 as when i try to install it vi package manager

i get

Install Actions for archive TableFromCsv12011.tar.gz:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

Kindred

yes and no...

The Table from CSV requires the faster Parsecode...

Faster Parsecode has not yet been updated for 1.0.2...  because 1.0.2 actually changed a section of the code in subs.php that FPC removes...

If you updated to 1.0.2 by using the package manager, thewn all your mods should be pretty much intact... if you did it by FTP, then you'll have to modify each of the mod files to install under 1.0.2 in the installation instructions that checks the version before installing...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

johnm

thats what i did and its working now.

thanks

Anguz

Faster Parsecode is updated for SMF 1.0.2 already. Table From CSV will work fine with it, it's just that I haven't yet modified the package-info.xml file in it to allow the install in 1.0.2. If you open that file and look for the bit that says for="1.0.1" and change that for 1.0.2, it'll work fine with the latest Faster Parsecode mod installed. Same with the other bbcode tags that work with Faster Parsecode. I'll be doing these version updates myself today or tomorrow, though, so if you can wait that much, it'll be done for you.
Cristián Lávaque http://cristianlavaque.com

Anguz

1.21


  • Updated for SMF 1.0.2.
Cristián Lávaque http://cristianlavaque.com

johnm

Quote from: Anguz on February 21, 2005, 05:56:52 PM
Faster Parsecode is updated for SMF 1.0.2 already. Table From CSV will work fine with it, it's just that I haven't yet modified the package-info.xml file in it to allow the install in 1.0.2. If you open that file and look for the bit that says for="1.0.1" and change that for 1.0.2, it'll work fine with the latest Faster Parsecode mod installed. Same with the other bbcode tags that work with Faster Parsecode. I'll be doing these version updates myself today or tomorrow, though, so if you can wait that much, it'll be done for you.

i didnt think of that i just followed the actions in the xml file this mod is so handy its well worth it!

Anguz

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

Anguz

1.22


  • Updated for SMF 1.0.3.
Cristián Lávaque http://cristianlavaque.com

agridoc

#58
Excellent mod Anguz.

I installed version 1.22 for SMF 1.03. I had to do it manually as my server runs in safe mode. Excellent results.

Altough the SMF editor has the possibility of adding a table while most others don' t, it' s not so easy if the table is large.

I usually added one by obtaining a "clean"(without formatting, font styles etc.) HTML code first. Then I did a global replace of "<" and ">" with "[" and "]" and copied the code for rows between a new table code in the editor.

This is not so easy for everyone and I had to do all the tables myself.

It' s much easier now. I think that now, with your mod installed, it will be easy for everybody to add a table.

The sorting script is useful in some cases too.

The new possibility, with full HTML power for the administrator, in version 1.1 is more flexible but is not available to everyone.

Your mod makes also editing data easier as all those cell tags are a headache in a large table with numbers.

Thank you very much for writing such a useful mod.

I hope it will be available for 1.1 too when it will be released as a stable version. I run it as a test now.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Anguz

#59
agridoc, it made me very happy to read your message. :D

Of course I plan to release it for 1.1 when it reaches a stable point. I'm really glad you found it so useful. I wrote it exactly for the reasons you mention.

Thank you again for taking the time to write this. :)

Edit: I searched your forum and found your tests, it's great to see it in use. Those tables really do look nice, don't they? ;P
Cristián Lávaque http://cristianlavaque.com

Advertisement: