Howdy, Stranger!

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

Try Vanilla Forums Cloud product

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Vanilla 2.3 fully supports PHP 7. Get it now!
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

This discussion is related to the (old blue) addon.
MarkMark Vanilla Staff
edited April 2010 in Vanilla 2.0 - 2.2


  • this doesn't have a preview image, i thought this was a requirement to upload a theme.
  • I receive an fatal error when using this theme: "Undefined property: stdClass::$CountUnreadConversations"
  • MarkMark Vanilla Staff
    @iamkeir - how old is your version of Vanilla 2 & Garden? That field is in the core now.
  • I downloaded it today so I thought it was the most recent - how can I find out the exact version? :/
  • MarkMark Vanilla Staff
    If you downloaded it today, then that is the most recent version.

    What page do you get that error on, and what is the entire error?
  • MarkMark Vanilla Staff
    Uploaded new version for updated html in master branch.
  • Awesome ill update later as i have already edited it for my own site :D
  • Hi @Mark, thanks for that - for info, the error was:

    Fatal Error in PHP.ErrorHandler();

    Undefined property: stdClass::$CountUnreadConversations

    The error occurred on or near: /

    29: $CountUnreadConversations = $Session->User->CountUnreadConversations;

    [/] PHP::include();
    [/] PHP::ErrorHandler();
    [/] PHP::include();
    [/] Gdn_Controller->RenderMaster();
    [/] Gdn_Controller->xRender();
    [/] Gdn_Pluggable->__call();
    [/] DiscussionsController->Render();
    [/] DiscussionsController->Index();
    [/] Gdn_Dispatcher->Dispatch();

    Additional information for support personnel:
    Application: Garden
    Application Version: 1.0
    PHP Version: 5.2.11
  • MarkMark Vanilla Staff
    @iamkeir - Your database is missing a field that was added recently. You can make sure it adds it by signing in with whatever user has UserID 1 (the user created when the forum was installed the first time), and visiting these pages:
  • Thanks @mark, I'll look into that. I realised I can tell the version of my install from the error page... but is there anywhere else I can find it out in future?

    By the way, I've used vanilla for many years and just recently been rolling out garden for my community and, even though it's still in dev/beta, there is very, very good feedback. I hope you realise that vanilla really stands out in the forum arena. Thank you for all your hard work over the years :)
  • @mark - signed in as UserID 1 and visited those links. Received database update messages but error still occurs... perhaps I need to download the latest version of the forum to be safe?
  • MarkMark Vanilla Staff
    On those pages, underneath the update messages, you need to click a link to implement the changes (it's something like "click here to apply these changes").

    Thanks for the kudos!
  • @Mark - I never saw those links initially, and now I'm receiving "The database structure does not have to be updated."

    It's not a *massive* issue for me to be honest, but just making sure I'm reporting problems.
  • MarkMark Vanilla Staff
    And you ran the script on all three links?

  • To be honest, I do not remember there being any links on each page you gave me - just a confirmation message. I'm going to download latest copy and reinstall - see if that fixes it.
  • Hi Mark,
    Today, I downloaded the vanilla 2 and theme theme too, but my forum doesn't have look like original, and search box is missing as well.
    Any suggestions?
    Thank you.
  • MarkMark Vanilla Staff
    We've done some upgrades to the theme to work with the latest version of Vanilla in master. But, this site hasn't been upgraded yet - so the search bar is gone, and the core stuff is a *little* bit different in this version of the addon. It will get updated again once we've got the Vanilla 2 release candidate out (that's our goal right now).
  • How do I download vanilla 2 from GitHub? Is there a download link? I can't seem to find it. Thanks!
  • Links in the menu are not valid.
  • does not work with Vanilla 2 RC1.
  • isn't working right now:

    urlencode() expects parameter 1 to be string, array given
  • Yep not working either.

    @mark Care to fix this for us? :D

  • RaizeRaize vancouver ✭✭
    Works great with Vanilla 2 RC1. Should be fun customizing this for my site
  • RaizeRaize vancouver ✭✭
    Sorry, I meant Vanilla 2 do I edit my post?
  • MarkMark Vanilla Staff
    I haven't done any work on this for a while b/c we're working on a new version of the .org site...
  • RaizeRaize vancouver ✭✭
    No worries @Mark, I'm using this theme with RC2 and it's working great, there were only a few minor things I had to fix up. Using your Custom Pages plugin and the Route Manager in the dashboard, I'm well on my to having a full blown site.

    Can you tell me how I can get the other menu buttons to be highlighted when they are clicked on, the way they are on the current site?

    By default in this theme, only the Home button is highlighted when you click it...the rest just stay the same. I think this is something I can modify in the CSS if you let me know the code.
  • MarkMark Vanilla Staff
    @Raize - Yes, it is done with CSS. I did it by identifying something unique in the body class attribute, and applying it down to the menu. For example, on this page you can see how I did it like this:

    body.Addons .Banner ul li.Addons a {<br /> background:url("tab_right.png") no-repeat right center;<br />}<br />body.Addons .Banner ul li.Addons {<br /> background:url("tab_left.png") no-repeat left center;<br />}
  • MarkMark Vanilla Staff
    err. HTML FAIL. Here goes again:

    body.Addons .Banner ul li.Addons a {
    background:url("tab_right.png") no-repeat right center;
    body.Addons .Banner ul li.Addons {
    background:url("tab_left.png") no-repeat left center;
Sign In or Register to comment.