Not signed in (Sign In)

Categories

Vanilla 1.1.4 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.
    •  
      CommentAuthorMark
    • CommentTimeApr 7th 2006 edited
     # 1
    Adds two links to every comment: "Block Comment" and "Block User". If "Block Comment" is clicked, any fancy formatting in that comment is turned off. This allows you to disable images or multimedia in specific comments. If the "Block User" button is clicked, every comment by that user will be immediately blocked across the entire forum. So, if someone keeps posting a nasty image that you don't want to see, you can just block that user.

    These buttons are user-specific, so if I block a comment, I am the only one who sees it blocked. Everyone else will still see it in it's original form.
    • CommentAuthorwetcircle
    • CommentTimeFeb 8th 2008 edited
     # 2
    thanks.
    • CommentAuthormiquel
    • CommentTimeFeb 18th 2008
     # 3
    I've got a problem when running this extension:

    the names of the MySQL tables are hardcoded into LUM_CommentBlock and LUM_UserBlock, so if during the setup of the Vanilla another table prefix was defined, it results into an error.

    I'll try to fix it myself, anywhere to report the fixes? May be just here?

    PS: surprised -though happy- nobody got the same problem ;)
    • CommentAuthormiquel
    • CommentTimeFeb 18th 2008
     # 4
    well the solution i've worked out before, if anyone ever needs it:

    just replace LUM_ in the default.php of the extension for ".$Configuration['DATABASE_TABLE_PREFIX']."
    (note that the quotation is required)
    •  
      CommentAuthorFyorl
    • CommentTimeFeb 18th 2008 edited
     # 5
    You can ignore the quotes and just use:
    $Configuration[DATABASE_TABLE_PREFIX]
    Every extension should use this really. Extension authors should be aware that the table prefixes are not fixed.
    • CommentAuthorSCHIZO
    • CommentTimeMay 18th 2008
     # 6
    You don't respect translators and use poor coding. Every time i want to correct YOURS CODE!!! Because translation for my language dont't works if in default.php used $Context->Dictionary.

    PLEASE! Use $Context->SetDefinition instead $Context->Dictionary and be hero.

    Заебали пиндосы! Полсотни аддонов уже пришлось перелопатить из-за этой херни!!!

    P.S.
    Why you use $Context->GetDefinition if you don't set any definition ? ;)
    •  
      CommentAuthorWallPhone
    • CommentTimeMay 18th 2008
     # 7
    Schizo: Mark is actually the author of Vanilla itself. I'm sure he knows the proper way to set definitions.

    However, you should be aware of the fact that $Context->GetDefinition existed long before $Context->SetDefinition ever did. Many extensions were written before the better method of setting definitions existed.

    I do agree that there is no reason to use anything other than SetDefinition. Sadly, many extension authors of these old extensions aren't around to update their extensions.
    • CommentAuthorSCHIZO
    • CommentTimeMay 19th 2008 edited
     # 8
    WallPhone, thanks or you right code :) But i tired to edit more than 30 fuc*ng add-ons because it's authors don't use SetDefinition in default.php It's really no respect to translators.

    If author of Vanilla promote this stream (direct set via dict array) what wait from other develpers? It's very poor sample. I as Vanilla user and translator consider that with it is necessary to struggle.

    Make Vanilla better!
    • CommentAuthordlroberts
    • CommentTimeMay 29th 2008
     # 9
    Hey guys, I'm a relatively new forum admin on a vanilla forum. Unsurprisingly, we've had a little conflict on our forum and one of the users in question has asked if there is way to make it so all of the comments from another user just don't appear for her. I didn't read carefully enough before having this extension installed to realize that it won't block the entire comment. Would it be difficult to adapt this extension to do so? If not, is there another extension that I may have missed?

    Thanks!
Add your comments
    Username Password
  • Format comments as