Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

2Error after I update to vanilla 2

vicredvicred New
edited November 2009 in Vanilla 2.0 - 2.8
I have just updated my forum to vanilla 2(http://x.emstudy.cn), and there is a few questions. Due to my poor english, I show the error in the picture
1. Http://x.emstudy.cn/pic/1.jpg
the two url I marked in the picture should be the same, but they are not . And the url on the top can't include the discussions.Why?..You can find it in the below :
http://x.emstudy.cn/index.php/discussion/35
2. I login with an old administrator user, in the profile page, there is an error:
http://x.emstudy.cn/pic/2.jpg
and if a new user, no error:
http://x.emstudy.cn/pic/3.jpg
3. In vanilla 1, there is "Updates & Reminders", so i can keep up with the offical site. Now I cant find the "Updates & Reminders" again. So how to keep the site updating

Comments

  • 哦,sorry, it is all in one line.
  • MarkMark Vanilla Staff
    edited November 2009
    @vicred - it seems like your problems are translation-related, and we're still not completely ready for translations of Vanilla 2 :/

    I fixed your first issue by changing line 25 of /applications/garden/view/modules/categories.php from this:

    ?>><strong><?php echo Anchor(Format::Text($Category->Name), '/categories/'.url_encode($Category->Name)); ?></strong> <?php echo $Category->CountDiscussions; ?></li>

    to this:

    ?>><strong><?php echo Anchor(Format::Text($Category->Name), '/categories/'.Format::Url($Category->Name)); ?></strong> <?php echo $Category->CountDiscussions; ?></li>

    That fix will be in the next update I push to GitHub (later this week).
  • MarkMark Vanilla Staff
    The second bug is caused by the non-url friendly characters in your username. I've fixed it in development by changing line 105 of /applications/vanilla/settings/hooks.php to:

    'profile/discussions/'.Format::Url($Sender->User->Name).'/%1$s/'

    That should do the trick. The reason it didn't happen for new users is either (a) we don't allow non-url friendly characters in new usernames, or (b) those users don't have more than one page of discussions to page through, and the error was encountered in the pager module.
Sign In or Register to comment.