Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 12

CurtisOdenTodddoncsaulericgillette +8 guests

Discussion Expiration

This discussion is related to the Discussion Expiration addon.
Discussion Expiration
«1

Comments

  • Posts: 5,574
    Lookin good!
  • VazVaz
    Posts: 292
    Can you please tell me what the 'expiration' actually is? Does the discussion get closed or deleted? Thanks.
  • Posts: 1,799
    closed.
    i should mention this
  • Posts: 74
    I love it man! Thanks for stepping up to the request.
  • Posts: 74
    Help! This version totally stopped working. It does not appear when I select the specific category from the drop down (when it has been enabled). The Expiry field also appears on all categories when no categories are chosen.
  • Posts: 1,799
    try loggin in as admin.
    let me know what happens.
    seems to be working on my comp

    in Line 84 of default.php I'm using this
    if ($Context->Session->User->RoleID != 4 ) { //User is not admin
    remove it if u want the old behaviour back.
  • Posts: 74
    I can log in as admin and set all the settings and I see it for all cats being an admin.

    Its just acting REALLY odd. I am not even getting the calendar to pop. It wont appear like it used to when I select a category its active on. just weird.

    I will try on a test machine tonight. It may be something bad with jquery or something.
  • Posts: 1,799
    if ur the admin then the appearing disappearing is disabled. so u can expire all discussions
    If ur not the admin then the appearing disappearing act is done.
  • Posts: 5,574
    Schizo how come you just dont set up a permission for this extension to check by instead of seeing if the role id is 4? That's a pretty big issue if someone has their roles set up differently and permissions are so simple to create in vanilla..
  • Posts: 1,799
    ok done. the admin can select the role that should not have the category restrictions.
  • Posts: 5,574
    What do you mean? Just set up a vanilla permission so that admins can choose which roles have the permission to expire discussions in the same way you can choose what other stuff Roles can do.
  • Uploaded version 1.0.2 of Discussion Expiration.
  • Posts: 1,799
    Minisweeper I'll look into how to do that.
  • Posts: 1,799
    OK I'll do that right now.
    have to fix the blog extension to use $Context->Configuration[$PermissionKey] as well
  • Uploaded version 1.0.3 of Discussion Expiration.
  • Posts: 4
    Why let the expiration date follow the discussion title?Just like Update Discussion Expiration 1.0.3 expired @ June 6,2007
  • Posts: 74
    Sorry I got sidetracked setting up a bunch of new hires.

    I have tried installing the current version on a clean install of vanilla and unfortunately, I cannot get it to work properly in IE. It works prefect in Firefox, but in IE, there seems to be a glitch. Lets say I have

    Category A
    Category B
    Category C

    and discussion Exp available on Category C. In IE, when I change it to C, it does not appear (it does in firefox). The only way to get it to work is by having all Categories enabled and thus no display toggle.

    Anyone else experience this?
  • Posts: 74
    Thanks! Its a great extension and I can't wait to implement it
  • Posts: 74
    Oh, if you have a "test" system, you can just uninstall IE7 from add / remove programs. After reboot, it will revert back to 6
  • Posts: 27
    I don't get the date picker showing - using MAMP on localhost, so maybe its because of that...

    Is it possible to get a list of the closed discussions, then have the option to delete them?
  • Posts: 74
    Are you trying in it IE? If so there is a bug with the javascript. Try it in Firefox. If it works, your setup is fine.

    I have let MySchizoBuddy know and he is looking into it.
  • Posts: 27
    Hi, thanks for the reply. I use Safari on OSX with MAMP as a localhost.

    The date picker does not display in FF either - I assumed it might be the relative paths or something like that, but in FF, Firebug gives this error:

    $(".date-pick") has no properties
    [Break on this error] $(".date-pick").datePicker();
  • Posts: 74
    Did you install AND enable jquery? Is it the latest version? It needs it to run and that may be why you are getting that error.

    Outside of that, I don't know. May be a conflict with another extension or some other bug that is specific to safari.
  • Posts: 27
    JQuery 1.1.6 is what I have - and yes, its enabled. I have JQThickBox too and that works fine, so I don't think its jQuery.

    Don't know about a conflict with another extension - but its not just Safari, the date picker does not show in Firefox either.

    Edit: I have this issue too with another extension:
    Discussion Tags # 20

    Maybe its related?
  • Posts: 5,574
    Was jQuery enabled before the other extensions?
  • Posts: 27
    Yes, it was. I shall remove jQuery and try again, then report back..

    Edit: No change after removing, then replacing jQuery (and enabling it first)
  • Posts: 74
    .
  • Posts: 74
    Bump...
  • me looking into it.
  • Posts: 74
    Great! thanks
This discussion has been closed.