Please upgrade here. These earlier versions are no longer being updated and have security issues.

Edit The Profile Page?

edited January 2012 in Vanilla 2.0 - 2.8

I've been custom theming a forum on my site and everything is pretty smooth except one detail that I can't figure out how to fix. The sidebar of the profile is outside of the content div, and instead inside panel. I want it to be on the left side, not the right, like it is on these forums. They were originally that way and I'm not sure how I broke it.

Here's an example profile page (mine):

Best Answer


  • sahotataransahotataran Developer, Bay Area - CA ✭✭✭
    Accepted Answer

    @kori i guess your custom theme and problem with adding the proper id's and classes to html body of your theme.

    please add

    " class="<?php echo $this->CssClass; ?>">

    you are missing classes to your theme.

  • thank you very much. I'm not sure how that happened. :)

  • @kori That's a great theme, with a lot of potential!

  • Thanks! It's meant to integrate with the site :p

  • Well now I have yet another issue with the profile page. I changed my profile picture and then this happened:

    It seems to be pulling in the index stuff into the profile for whatever reason. It did it ONLY after I changed the picture.

  • Domos123Domos123 New
    edited January 2012

    It is VERY broken when not logged in...
    Go to;Target=profile/notifications
    when not logged in (for reference, I am using google chrome 16.0.912.75 m

    Also, check inside the div class "Tabs ProfileTabs", that's where the problem lies, according to chrome

  • sahotataransahotataran Developer, Bay Area - CA ✭✭✭

    To see your notifications you have to log in.

  • sahotataran said:
    To see your notifications you have to log in.

    Yes, there is a problem, in that discussions are shown in the navigation of the notification page

  • edited January 2012

    I don't know what I did but somehow I fixed the profile page problem. Sign-in, on the other hand... you're not supposed to be able to go to the page by itself. As in it should only be a pop-up.

    But I see the issue with that is the .Entry style, I modified the values for things like div.Popup h1, div.Popup h2, .Entry h1, .Entry h2 collectively, not knowing it would effect single pages. I found a way around it and that has been fixed too :D

  • edited January 2012

    I take that back. It is no longer doing it on my profile, but it is doing it on the profile @Domos123 just made...

    ( )

    I'm very confused - it's not a style issue afaik. I've looked in the profile php pages and I can't seem to find anything.

    It would appear the issue lies in /forums/applications/dashboard/controllers/class.profilecontroller.php somewhere (since that's where the tabs and what not are generated).

  • edited January 2012

    Terribly sorry for spamming... but I can't edit my own posts after 30 minutes :|

    With the help of my boyfriend we have figured out that this bug stems from discussions / comments / notifications / activity being 0, or to be more specific the function that handles the counts. On his profile, he's posted once (so it's disappeared under the discussions).

    Compare his:

    To Domo123:

    What's happening is the index boards are appearing in between the <span class="Popin">...</span> where the count would go.

    For some reason though it's attempting to put the Popin next to comments even though he doesn't have any (when it's 0 it shouldn't do this) and THEN it pulls in the actual discussions list (from the discussions page).

  • @kori
    Quick question for you. I'm trying to edit my profile page because the main theme is fine, but the profile page is all broken.
    Which file or where can I edit the HTML?
    e.g. here is an example.

    I need to edit the html to change the css classes, but cant find where to do it from.

Sign In or Register to comment.