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.
    • CommentAuthorGrahack
    • CommentTimeDec 1st 2007 edited
     # 1
    I need a line in /themes/settings_applicants_form.php:

    $this->DelegateParameters['Applicant'] = &$Applicant;

    around line 38, right before
    $this->DelegateParameters['ApplicantList'] = &$ApplicantList;
    $this->CallDelegate('PostEmailAddress');


    This is for ApplicantsIP. Thanks.
  1.  # 2
    I need 3 delegates in /themes/discussion.php
    right after $LastUrl it looks like this
    $LastUrl = GetLastCommentQuerystring($Discussion, $this->Context->Configuration, $CurrentUserJumpToLastCommentPref);
    $this->CallDelegate('PreDiscussionRender');
    $DiscussionList .= '
    <li id="Discussion_'.$Discussion->DiscussionID.'" class="Discussion'.$Discussion->Status.($Discussion->CountComments == 1?' NoReplies':'').($this->Context->Configuration['USE_CATEGORIES'] ? ' Category_'.$Discussion->CategoryID:'').($Alternate ? ' Alternate' : '').'">';
    $this->CallDelegate('PreDiscussionOptionsRender');
    $DiscussionList .= '<ul>
    <li class="DiscussionType">


    and one right at the bottom
    </li>';
    $this->CallDelegate('PostDiscussionRender');
    ?>
  2.  # 3
    Also in that same file discussion.php the Delegate Parameters are assigned at the bottom, which means as it renders the very first Discussion it doesn't have the DiscussionList delegate parameter for me to use. I suggest moving it to the top right after the $LastUrl.
  3.  # 4
    in Vanilla.Class.Comment.php
    line 185 add a delegate parameter and call delegate
    $this->DelegateParameters['DataSet'] = &$DataSet;
    $this->CallDelegate('PostGetPropertiesFromDataSet');


    in Vanilla.Control.CommentGrid.php
    line 56 add a delegate parameter
    $this->DelegateParameters['CommentManager'] = &$CommentManager;
    •  
      CommentAuthorrel1sh
    • CommentTimeFeb 19th 2008
     # 5
    ^^^ bumpity bump. YES please I'd also like both of those in the previous post.

    Mark, are you still adding these or is dinoboff or someone doing this type of stuff now?
    •  
      CommentAuthorWallPhone
    • CommentTimeFeb 19th 2008
     # 6
    IIRC, all were added and will be in the next release of Vanilla. (svn export http://lussumo.com/svn/vanilla/trunk/) All except for the latest CommentManager request, a different workaround was found for that one so it wasn't added.
    •  
      CommentAuthorrel1sh
    • CommentTimeFeb 20th 2008
     # 7
    Oh, sweet! Thanks for the heads-up.

    Now, when you say "next release" do you mean Vanilla2?? :) Or is there going to be more releases in the 1.1 branch?
    •  
      CommentAuthorWallPhone
    • CommentTimeFeb 20th 2008
     # 8
    1.x will probably live on for bug and security fixes since it appears that Vanilla 2 will be PHP 5 only. There are quite a few bug fixes pending, so I suppose another release will come out when they get cleaned up--or if a security problem is found before that.
Add your comments
    Username Password
  • Format comments as