Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorstuart
    • CommentTimeJul 25th 2005 edited
     # 1
    •  
      CommentAuthorlech
    • CommentTimeJul 25th 2005
     # 2
    lech waits for mark to come along and shoot stuart.
    • CommentAuthoromfg
    • CommentTimeJul 25th 2005
     # 3
    haha jesus, as far as I know the guy only has two arms.
    •  
      CommentAuthorstuart
    • CommentTimeJul 25th 2005
     # 4
    Im not fussed who does it, anyone will do - hell, I might even have a go meself once I've figured out where to start ;)
    •  
      CommentAuthorstuart
    • CommentTimeJul 25th 2005 edited
     # 5
    Infact, just had a quick look - I can do it myself, as long as no changes were made to the extension workings in .92 i'll have it done tomorrow.
    •  
      CommentAuthorvinay
    • CommentTimeJul 25th 2005
     # 6
    vinay will dance! Oddly enough, I was planning on doing this when I got home. But instead, I will work on something else.

    Thank you stuart. if you would, would you put comments in your code (so I can see what's going on?)
    •  
      CommentAuthorcae
    • CommentTimeJul 25th 2005
     # 7
    I will also cut a rug for such an extension. One Markup to rule them all!
    •  
      CommentAuthorMark
    • CommentTimeJul 26th 2005
     # 8
    Sweet - I was hoping someone would take this one on :)
    •  
      CommentAuthornifkin
    • CommentTimeJul 26th 2005 edited
     # 9
    I have a preliminary hacky version of it running (just cuz i never saw anyone else post a link to a working one), but it could use some cleaning up.

    Textile Extension 0.1

    Right now it's got this in there

    error_reporting(0);

    Because it was throwing a bunch of "undefined variable" errors.
    •  
      CommentAuthorichigo
    • CommentTimeJul 26th 2005
     # 10
    nifkin just installed your extention and it works great...
    thank you a lot!
    • CommentAuthorjonezy
    • CommentTimeJul 26th 2005
     # 11
    +100 nifkin
    •  
      CommentAuthorichigo
    • CommentTimeJul 26th 2005 edited
     # 12
    well it seems to screw up special characters somehow for me
    like üö
    becoming üö
    •  
      CommentAuthornifkin
    • CommentTimeJul 26th 2005 edited
     # 13
    weird, it's pretty much just a tie in from vanilla to textilePHP, so i assume it has to do with a limitation in there.
    •  
      CommentAuthorichigo
    • CommentTimeJul 26th 2005
     # 14
    yeah youre right...it seems to be a known problem
    http://jimandlissa.com/node/view/116

    is there something else than textilePHP which we could take to make a extention?
    •  
      CommentAuthorichigo
    • CommentTimeJul 26th 2005
     # 15
    ive changed line 2696 of your extention to

    $html = htmlentities($html,ENT_NOQUOTES,$this->options['input_encoding'])

    and it works now

    would be great if you could change that in your extention aswell
    •  
      CommentAuthorichigo
    • CommentTimeJul 26th 2005
     # 16
    by the way....is it just me or does it not work to set a default text formating thing.
    when i set it to markdown or textile for example...the preferences dont get saved.
    they default to text everytime :(
    •  
      CommentAuthornifkin
    • CommentTimeJul 26th 2005
     # 17
    updated it in extension on my server. good catch. :D

    i just tried changing the settings for my personal preferences on my vanilla install and it keeps them alright for me. dunno what's up with that one.
    •  
      CommentAuthorvinay
    • CommentTimeJul 26th 2005
     # 18
    ichigo i noted that bug earlier. I could change it with Firefox, but not with safari.
    •  
      CommentAuthorMark
    • CommentTimeJul 27th 2005 edited
     # 19
    SWEET.
    Will include in the next release.
    •  
      CommentAuthorichigo
    • CommentTimeJul 27th 2005
     # 20
    yeah i noticed that safari has some ajax glitches :(
    there are also other problems with safari.

    for example...do you ppl remember that when there are multiple versions of the same animated gif file...then only one is animated and the others are not?
    they fixed that if you include the gif with <img> but if you include the image like here...with css as background then the safari bug is there again..

    thats of course no fault of you mark...and you should not change it to fix safari in my opinion..because its something the safari ppl have to fix. just something i noticed...i wonder if anyone else has seen that...or if i was just too tired yesterday to think right :D
    •  
      CommentAuthornifkin
    • CommentTimeJul 28th 2005 edited
     # 21
    i just wanted to revive this real quick since someone added a note to the wiki saying that they couldn't get this to work for them, i just wanted to see what was up with that.

    it works fine on my install
    •  
      CommentAuthorichigo
    • CommentTimeJul 28th 2005
     # 22
    nifkin for me it works...i used your version and did the change which i wrote above.
    •  
      CommentAuthornifkin
    • CommentTimeJul 28th 2005
     # 23
    yeah, i merged that change into the one that i have up for download now, too.

    after talking with jonezy real quick the problem at hand could be this: MAKE SURE YOU SAVE THE FILE AS .PHP AND NOT .PHPS

    PHPS is for PHP Source files (on many but not all PHP servers that enables automatic syntax highlighting), but you need .php files for vanilla to pick it up and do the actual work with it.
    •  
      CommentAuthorstuart
    • CommentTimeJul 28th 2005
     # 24
    All works great on my forum, I loaded the sample text from textism and it all woked excellently cheers :)
    •  
      CommentAuthorichigo
    • CommentTimeJul 28th 2005
     # 25
    im sure mark will add it to his sort of download script then this possible error that can be made is out of the way :)

    and thank you nifkin...thanks thanks thanks...i love textile so much i couldnt live without it :D
    • CommentAuthorhostyle
    • CommentTimeJul 28th 2005
     # 26
    nifkin, that was me on the wiki. I've been waiting for my account here to be approved.

    Basically, I found Vanilla last week via kottkes blog. I installed it two days ago and did a little playing around. I found the Textile extension this morning. I cut and pasted the phps file and saved it as Textile2.php in the extensions folder. Then I went into Settings > Manage Extensions and enabled it. It now appears under every textarea, but when i tick it and type in *bold* or _emphasis_ textile formatting, nothing happens. They appear exactly as I've posted them here - plain text with the Textile formatting showing.

    What else do you need to know?

    // hostyle
    •  
      CommentAuthornifkin
    • CommentTimeJul 28th 2005
     # 27
    that's really really strange. it has all the <?php ?> stuff in it and everything? (just the first and very last line).

    are you using the newest version of vanilla (0.9.2.2)?

    if it's saved with the right extension it should be pretty much set.
    • CommentAuthorhostyle
    • CommentTimeJul 28th 2005
     # 28
    I'm using vanilla 0.9.2 on Apache/2.0.53 (Win32) PHP/4.3.10

    Yes, the PHP opening and closing tags are there (I highly doubt if it'd run without them) and after a look through the code, I can't see why it wouldn't work.

    Bit of a mystery if its working fine for everyone else, will look into it more later.
    •  
      CommentAuthoroutbreak
    • CommentTimeJul 28th 2005
     # 29
    not to get off the subject, but nifkin, that is a really sweet layout you have worked up there. i hope you'll be sharing it!
    • CommentAuthorEric
    • CommentTimeJul 30th 2005
     # 30
    There seem to be some character issues, probably Textile parses with ISO, whereas vanilla itself is utf-8 charset.
    •  
      CommentAuthornifkin
    • CommentTimeJul 30th 2005
     # 31
    yeah, there are a couple known issues with it.
    • CommentAuthorwebbunny
    • CommentTimeJul 30th 2005
     # 32
    Wooo, now there is textile there is no need for the "Text" format (well, theoretically there is, but for my forum there is not)

    Is there any way to automagically make "Textile" the default for all users, without them having to figure out what the hell it is?

    :D
    •  
      CommentAuthorichigo
    • CommentTimeJul 31st 2005
     # 33
    great udea webbunny id like to know that too
    • CommentAuthoriamroberto
    • CommentTimeJul 31st 2005
     # 34
    I just installed the Textile extension and it works fine but when I press "add your comments" it goes to post.php and it freezes there. If I press the Back button the text I wrote appears correctly posted. Has it anything to do with cookies?
    •  
      CommentAuthorlech
    • CommentTimeJul 31st 2005
     # 35
    It should put you back to the thread in question and link you down to your posting you just keyed up. At least in theory.
  1.  # 36
    I know it should put me back to te conversation, but the problem is that it doesn't work O_O Sniff, sniff. I will try it again without Textile, because maybe it's a problem in my server.
  2.  # 37
    The textile extension isn't showing up on my manage extensions list. Are there any known conflicting extensions?
    •  
      CommentAuthornifkin
    • CommentTimeAug 21st 2005
     # 38
    none that i'm aware of.
  3.  # 39
    Ergh I wonder why the extension doesn't show up in my manage extensions list.
    • CommentAuthorchanning
    • CommentTimeJan 27th 2006
     # 40
    Has anyone found a solution to the problem iamroberto mentioned? Clicking 'add your comments' results in a blank page :-(

    Channing
  4.  # 41
    hmmm... eeenteresting

    *looks around*

    *goes back into hiding*
    • CommentAuthorchanning
    • CommentTimeJan 29th 2006
     # 42
    Are there any logs produced by vanilla I could look at to see what the problem might be?
  5.  # 43
    No, actually. But that's not such a bad idea. Though i'm sure it'd take a *lot* of work on the codebase but log production might be a nifty feature.
    Vanilla does, however, print most errors to the screen (in a human format) so chances are really that the log would just contain what it would otherwise echo out. The only time it doesnt print errors is on the actual php function errors because theyre all silenced with the aim that the vanilla error checking thing will pick up the problem and tell us it more usefully. If you coud find the function thats being used when people click to save a comment and remove the @ from the front it'l echo any problems it's having if there are any. Which function it is i'm not sure, sorry.
    • CommentAuthorchanning
    • CommentTimeJan 30th 2006
     # 44
    Thanks minesweeper, I'll have a dig around.

    Channing
    •  
      CommentAuthorfolletto
    • CommentTimeMar 6th 2006
     # 45
    I've developed indipendently a TextileCode extension... I've seen this one just too late.
    but... I've used the original textile() function and adapted it... seems that this one doesn't have any encoding problem (at least for all my chars).

    Please, try it out ;)
    •  
      CommentAuthornifkin
    • CommentTimeMar 6th 2006
     # 46
    folletto: you have a URL for that?
    •  
      CommentAuthorfolletto
    • CommentTimeMar 6th 2006
     # 47
    Whoops ^^'

    Sorry, I forgot to mention that I linked it in the wiki:
    http://lussumo.com/docs/doku.php?id=vanilla:extensions

    It's here:
    http://www.digitalhymn.com/projects/vanilla
    • CommentAuthorjakob_r
    • CommentTimeApr 12th 2006
     # 48
    I've updated nifkin's textileformatter extension for forthcoming vanilla 1.0 and have it working fine with latest svn 294 on a local install. To be fair to nifkin, I've passed it back to him first to look over/adjust as he sees fit.
    •  
      CommentAuthorfolletto
    • CommentTimeApr 14th 2006
     # 49
    Just a question: are all the problems of the original extension still there (i.e. UTF-8, errors)?
    • CommentAuthorjakob_r
    • CommentTimeApr 14th 2006
     # 50
    In my test situation it does not throw up errors and works fine with German characters, quotes, double-dashes etc., but I do not know what problems the previous version threw up.

    I exchanged textile 2.08 wholesale for the current textile implementation from textpattern, primarily because I am more familiar with it and because it has gone through some rigorous testing in the txp community. It seems to work fine for me and I was able to remove the error_reporting(0) from the plug-in, whilst keeping nifkin's code to trip up javascript, onMouse... etc. and embed being executed.

    I've noticed that some small CSS modifications in vanilla or extensions may be necessary for the message windows and preview field as a result (one already mentioned on the dev forum), but that would apply in any case.