News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Faster Parsecode

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

Previous topic - Next topic

Anguz

1.02 tells you it's an older version when you have 1.01 installed? weird. Does it give you the link to apply the mod anyway?
Cristián Lávaque http://cristianlavaque.com

Tercel

No, just - Show Files & Delete. Not funny :-)
But it shows all 3 (incl. Install) when 1.01 is not installed.

Tercel

Tercel

Man, don´t make yourself trouble, might be a failure due to some Mods, i´ve allready installed:

   Mod Name Mod Version   
1. Faster Parsecode 1.01  [ Modifikation anwenden ] [ Dateien auflisten ] [ Löschen ] 
2. OnLine Users Today 1.1   [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ] 
3. Buddy List 1.11   [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ] 
4. Fuse Box 1.22   [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ] 
5. The Bar Of Experience 1.1   [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ] 
6. Faster Parsecode 1.02  [ Modifikation anwenden ] [ Dateien auflisten ] [ Löschen ] 
7. Ultimate Shoutbox 1.2   [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ] 
8. Message Icon Manager (Quick Reply) 1.2   [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ] 
9. Coloured Jumpbox 1.11   [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ] 
10. Manage Holidays MOD 1.01   [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ] 
11. SMF 1.0 RC2 Fix Package 1.0   [ Dateien auflisten ] [ Löschen ] 

When I install 101, embendet Pictures are not shown and Tables are desroyed, even after adding 102 manualy, there´s no clue. It won´t work. But I´m shure this is no problem of your MOD.

Keep on Your good Work - You just can´t have everything in life :-)

Tercel

Anguz

Hmm... could you post a copy of a message with an image and table the way you had problems with? I'd like to test this.
Cristián Lávaque http://cristianlavaque.com

Eris Siva

Won't let me install this mod at all....

Perhaps because I'm using 1.0 pre?

Anguz

Quote from: Eris Siva on November 21, 2004, 03:29:46 AM
Won't let me install this mod at all....

Perhaps because I'm using 1.0 pre?

Yes. I'll release the next version when SMF 1.0 gets released publicly. Soon. :)
Cristián Lávaque http://cristianlavaque.com

Tercel

Of course

[table]
    [tr]
      [td]
      [url=http://...maddogs.info][img width=38 height=38]http://independence-somewhere/Bilder/erv_schweinfurt.jpg[/img][/url][hr][/td]
      [td]Schweinfurt Mad Dogs[hr][/td]
      [td][url=http://...maddogs.info]...maddogs.info[/url][br][url=http://independence-hockey.com][b]INDEPENDENCE[/b][/url][/td]
[/tr]
    [tr]
      [td]
      [url=http://...bayreuth-tigers...][img width=38 height=38]http://independence-somewhere/Bilder/bayreuth_the_tigers.jpg[/img][/url][hr][/td]
      [td]Bayreuth Tigers[hr][/td]
      [td][url=http://...bayreuth-tigers...]...bayreuth-tigers...[/url][/td]
    [/tr]
    [tr]
      [td]
      [url=http://...bschc-preussen...][img width=38 height=38]http://independence-somewhere/Bilder/bschc_preussen_60.gif[/img][/url][hr][/td]
      [td]Berliner SCHC Preussen[hr][/td]
      [td][url=http://...bschc-preussen...]bschc-preussen...[/url][/td]
      [/tr]
    [tr]
      [td]
      [url=http://...revier-loewen...][img width=38 height=38]http://independence-somewhere/Bilder/revier_loewen.jpg[/img][/url][hr][/td]
      [td]Revier Löwen Oberhausen[hr][/td]
      [td][url=http://...revier-loewen...]...revier-loewen...[/url][br][url=http://...revierloewenfans.../]...revier-loewenfans...[/url][/td]
      [/tr]
    [tr]
      [td]
      [url=http://...ehc-le...][img width=38 height=38]http://independence-somewhere/Bilder/blue_lions_leipzig.jpg[/img][/url][hr][/td]
      [td]Blue Lions Leipzig[hr][/td]
      [td][url=http://...ehc-le...]...ehc-le...[/url][br][url=http://82.97.68.153/startseite.php]Hauptseite[/url][/td]
      [/tr]
   [tr]
      [td]
      [url=http://...eisbaerenjuniors...][img width=38 height=38]http://independence-somewhere/Bilder/eisbaeren_juniors.jpg[/img][/url][hr][/td]
      [td]Eisbären Juniors e.V. Berlin[hr][/td]
      [td][url=http://...eisbaerenjuniors...]...eisbaerenjuniors...[/url][/td]
      [/tr]
       [tr]
      [td]
      [url=http://...eisloewen.com][img width=38 height=38]http://independence-somewhere/Bilder/esc_dresden.jpg[/img][/url][hr][/td]
      [td]Dresdner Eislöwen[hr][/td]
      [td][url=http://...eisloewen.com]...eisloewen.com[/url][br][url=http://...eisloewen...]...eisloewen...[/url][/td]
    [/tr]
    [tr]
      [td]
      [url=http://...hannover-eishockey...][img width=38 height=38]http://independence-somewhere/Bilder/hannover_indians.jpg[/img][/url][hr][/td]
      [td]Hannover Indians[hr][/td]
      [td][url=http://...hannover-eishockey...]...hannover-eishockey...[/url][br][url=http://...kev-hannover-indians...]...kev-hannover-indians...[/url][/td]
    [/tr]
    [tr]
      [td]
      [url=http://...hassfurt-sharks...][img width=38 height=38]http://independence-somewhere/Bilder/erc_hassfurt.jpg[/img][/url][hr][/td]
      [td]Hassfurt Sharks[hr][/td]
      [td][url=http://...hassfurt-sharks...]...hassfurt-sharks...[/url][br][url=http://...sharks-fans.info/forum/index.php]...sharks-fans.info/forum/index.php[/url][/td]
    [/tr]
    [tr]
      [td]
      [url=http://...hoechstadt-alligators...][img width=38 height=38]http://independence-somewhere/Bilder/hoechstadt_alligators.jpg[/img][/url][hr][/td]
      [td]Aischtal Alligators Höchstadt[hr][/td]
      [td][url=http://...hoechstadt-alligators...]...hoechstadt-alligators...[/url][/td]
      [td] [/td]
    [/tr]
    [tr]
      [td]
      [url=http://...sc-mittelrhein...][img width=38 height=38]http://independence-somewhere/Bilder/scmittelrhein.jpg[/img][/url][/td]
      [td]Mittelrhein Bären[hr][/td]
      [td][url=http://...sc-mittelrhein...]...sc-mittelrhein...[/url][/td]
      [td] [/td]
    [/tr][/table]

[b]Oberliga Süd[/b][hr]
[table]
    [tr]
      [td]
      [url=http://...starbulls...][img width=38 height=38]http://independence-somewhere/Bilder/star_bulls_rosenheim.jpg[/img][/url][hr][/td]
      [td]Starbulls Rosenheim[hr][/td]
      [td][url=http://...starbulls...]...starbulls...[/url][/td]
      [/tr]
    [tr]
      [td]
      [url=http://...ehc-muenchen.com][img width=38 height=38]http://independence-somewhere/Bilder/ehc_muenchen.jpg[/img][/url][hr][/td]
      [td]EHC München[hr][/td]
      [td][url=http://...ehc-muenchen.com]...ehc-muenchen.com[/url][/td]
      [/tr]
    [tr]
      [td]
      [url=http://...ec-peiting...][img width=38 height=38]http://independence-somewhere/Bilder/ec_peiting.jpg[/img][/url][hr][/td]
      [td]EC Peiting[hr][/td]
      [td][url=http://...ec-peiting...]...ec-peiting...[/url][/td]
      [/tr]
    [tr]
      [td]
      [url=http://...evr-online...][img width=38 height=38]http://independence-somewhere/Bilder/ev_ravensburg.jpg[/img][/url][hr][/td]
      [td]EV Ravensburg[hr][/td]
      [td][url=http://...evr-online...]...evr-online...[/url][/td]
      [/tr]
    [tr]
      [td]
      [url=http://...stuttgart-wizards...][img width=38 height=38]http://independence-somewhere/Bilder/stuttgart_wizards.jpg[/img][/url][hr][/td]
      [td]Stuttgart Wizards[hr][/td]
      [td][url=http://...stuttgart-wizards...]...stuttgart-wizards...[/url][/td]
      [/tr]
    [tr]
      [td]
      [url=http://...ev-fuessen...][img width=38 height=38]http://independence-somewhere/Bilder/fuessen.jpg[/img][/url][hr][/td]
      [td]Leopards Füssen[hr][/td]
      [td][url=http://...ev-fuessen...]...ev-fuessen...[/url][/td]
      [/tr]
[tr]
      [td]
      [url=http://...ehc-klostersee...][img width=38 height=38]http://independence-somewhere/Bilder/ehc_klostersee.jpg[/img][/url][hr][/td]
      [td]EHC Klostersee[hr][/td]
      [td][url=http://...ehc-klostersee...]...ehc-klostersee...[/url][/td]
      [/tr]
    [tr]
      [td]
      [url=http://...tev-miesbach...][img width=38 height=38]http://independence-somewhere/Bilder/tev_miesbach.jpg[/img][/url][hr][/td]
      [td]TEV Miesbach[hr][/td]
      [td][url=http://...tev-miesbach...]...tev-miesbach...[/url][/td]
      [/tr]
    [tr]
      [td]
      [url=http://...scr...][img width=38 height=38]http://independence-somewhere/Bilder/sc_riessersee.jpg[/img][/url][hr][/td]
      [td]SC Riessersee Garmisch-Partenkirchen[hr][/td]
      [td][url=http://...scr...]...scr...[/url][/td]
      [/tr]
    [tr]
      [td]
      [url=http://...heilbronner-falken...][img width=38 height=38]http://independence-somewhere/Bilder/heilbronner_falken.jpg[/img][/url][hr][/td]
      [td]Heilbronner Falken[hr][/td]
      [td][url=http://...heilbronner-falken...]...heilbronner-falken...[/url][/td]
      [/tr]
    [tr]
      [td]
      [url=http://...esv-huegelsheim.../][img width=38 height=38]http://independence-somewhere/Bilder/esv_huegelsheim.jpg[/img][/url][/td]
      [td]ESV Hügelsheim Hornets[hr][/td]
      [td][url=http://...esv-huegelsheim...]...esv-huegelsheim...[/url][/td]
      [/tr]

  [/table]


Just like this.

Cu Tercel

Anguz

Thank for finding that Tercel, I should've have checked the table parsing when this problem was found in my CSV tables mod.

I'm uploading an update in a moment.

BTW, found a way around the no apply-mod link in the packages browser. Upload the package using the form in the Download New Packages area, right after doing it you'll be given the option to apply it. Even if you get a warning in the preview, you still have the proceed link, which will apply the mod without a problem. ;)
Cristián Lávaque http://cristianlavaque.com

Anguz

1.03


  • Fixed a problem with images and links inside tables.
Cristián Lávaque http://cristianlavaque.com

Kindred

Question:

Is 1.03 an update to 1.02 (in other words, do we install over 1.02 or uninstall 1.02 before installing 1.03?)
Сл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."

Anguz

Quote from: kindred on November 22, 2004, 09:46:31 AM
Is 1.03 an update to 1.02 (in other words, do we install over 1.02 or uninstall 1.02 before installing 1.03?)

It's in addition to 1.02. They handle different things and you need them both. 1.02 was for the tag's case sensitivity and 1.03 for the parsing inside tables.
Cristián Lávaque http://cristianlavaque.com

Tercel

@Anguz

The pictures inside the tables are shown now.! ;D
But - somehow your code inserts too much <br />'s where no <br> is in the message. Everytime when a new line´s beginning in the original, the script inserts them. This causes more Carriage Returns than Jerry Lewis did in his typewriter Comedy  :D

What happens:

for ex.:
[tr]        ->     <tr><br />
[td]        ->    <td><br />

like this you get 2 empty lines inside the table, where they shouldn´t be.
There are also some Spaces I donna know where they come from: This is the resulting HTML!

<hr /><br /><table><br />   <tr><br />     <td valign="top"><br />      <a href="

Hope I could help U

CU! Tercel


Anguz

#32
SMF turns newlines in messages into <br />s. If you have <br />s after the <td>s and <hr />s, that's because you put a newline after the [td]s and [hr]s, respectively. I checked and there's no <br />s after the <tr>s or <table>s. I checked this with the message you provided in reply 26.
Cristián Lávaque http://cristianlavaque.com

Tercel

So I´d have to edit my messages...  :(

Let´s see how much Coffee is in the House  ;)

CU Tercel

theantidote

They all work until 1.03 then:
Parse error: parse error, expecting `')'' in /home/www/xbfclan.freesuperhost.com/forum/Sources/Subs.php on line 833

Is is because I'm using MkPortal and I edited my default subs so it could work? I'm running RC2 with the patch

Heres the site with the errors: http://www.xbfclan.tk

theantidote

#35
Never mind I fixed it. The 'match a table' code was inside the code_to_from array( thing and it wanted an ending ) for it. I just moved it above that array( stuff and it doesn't give me error, but will it still work?

EDIT: Never mind it doesn't work, whats wrong? Now the smilies wont work on my forum when posting, neither will the other buttons. The smilies and all the stuff appear on my previous posts, but I can't put them into posts via the buttons. This is annoying, I might just go back to my earlier subs.php. Is anyone else having a problem with 1.03?

Anguz

Hmm... did you install 1.01 first? 1.02 and 1.03 don't replace 1.01. First install 1.01, then 1.02 and 1.03. I'm asking this cause you mentioned the $code_to_from array, which is in the original parsecode function, not in mine.
Cristián Lávaque http://cristianlavaque.com

theantidote

#37
I accidentaly installed 1.00, then the others. After realizing my mistake I uninstalled all of them and replaced my subs.php with the back-up. Then I did 1.01 and so on. I just uninstalled them, but I'll try it in order again.

EDIT: Okay installed the mod by hand and it worked without errors. I'm still getting problems with adding smileys and such to my posts. Can anybody help me or analyze my subs.php for me?

Anguz

If you could please save a copy of your Subs.php as .txt or zipped in your server and PM me the URL to it, I'll take a look at it. Do you have any other mods installed?
Cristián Lávaque http://cristianlavaque.com

theantidote

okay go here: http://xbfclan.freesuperhost.com/index.php?ind=downloads&op=entry_view&iden=1

And download it from my site. If you find the problem you can upload it back up to the site through that URL, just put it in the support section. I do have the following mods installed:


1.    SMF 1.0 RC2 Fix Package    1.0
2.    Visual Warning / Post Moderation    1.2
3.    Topic Solved    1.2

And I also had hide text installed, but I removed it because it wouldn't work with my theme.

Advertisement: