Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Poll 1.3 does not working with Friendly Urls.

edited January 2008 in Vanilla 1.0 Help
Just you let it be known.

Comments

  • Options
    Are you using these rules?
  • Options
    Perhaps a bump is in place. What I think monst is aiming at is the problem that when using the rewrite rules below you can only make either the Add or Edit links work. If you use the one which Dinoboff link to you will get working "Add Poll" links in the sidebar. #Poll extension RewriteRule ^extension/([0-9]+)/$ extension.php?DiscussionID=$1 [QSA,L] RewriteRule ^discussion/$ comments.php [QSA,L] However, the "Edit this discussion poll" links will not work as the RewriteRule transforms the PollID key to DiscussionID... (And if you edit extension.php?DiscussionID=$1 to state extension.php?PollID=$1 your Edit-links will work but not the Add-links..) I've tried to come up with an fix for this, aiming primarly to add another key-value pair to be sent to the rewrite-manager but couldn't get it to work with the GetUrl()-function. Perhaps something for Jazzman to look into for the next release.
  • Options
    edited January 2008
    I'm having the same problem as you Jetthe. In the end I hardcoded in non-friendly URLs inside default.php for Poll: $Panel->AddListItem($Options, $Context->GetDefinition('EditPollDiscussion'), '/extension.php?PollID='. $Poll->PollID . '&PostBackAction=Poll'); $Panel->AddListItem($Options, $Context->GetDefinition('DeletePollDiscussion'), '/extension.php?PollID='. $Poll->PollID . '&PostBackAction=ProcessPollRemove'); $Panel->AddListItem($Options, $Context->GetDefinition('AddPollToDiscussion'), '/extension.php?DiscussionID='. $DiscussionID. '&PostBackAction=Poll'); I've remmed out the old lines, so that if this does get resolved I can easily go back. But I don't think we really need poll management to be SEO friendly.
This discussion has been closed.