1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add Account Wrapper to Conversations 1.0.1

Adds the My Account wrapper (sidebar) to Conversations pages

  1. Chris D

    Chris D XenForo Developer Staff Member

    Chris Deeming submitted a new resource:

    Add Account Wrapper to Conversations (version 1.0.0) - Adds the My Account wrapper (sidebar) to Conversations pages

    Read more about this resource...
  2. Morgain

    Morgain Well-Known Member

    Wondering about compatibility with Syndol's Conversation essentials as his addon replaces several Conversation templates.
  3. Russ

    Russ Well-Known Member

    Looks fantastic Chris, great job this might be a new default standard for me :)
    DRE likes this.
  4. DRE

    DRE Well-Known Member

    Thanks! I knew I was going to have problems though. My sidebar is on the left so it looks weird as hell.

    So basically I just need to remove my Conversation sidebar? That sucks.

    I'm going to try to put conversation sidebar info above the wrapper or something.

    Screen Shot 2013-03-29 at 10.36.26 PM.png
  5. DRE

    DRE Well-Known Member

    I was worried no one would make it cause it was such an obvious request.
  6. DRE

    DRE Well-Known Member

    How can I disable this in conversation view?
  7. Steve F

    Steve F Well-Known Member

    Looks great except in conversation_view with a fixed width style. Can you possibly add a option to remove it from that view, or I can use CSS but not my first choice.
  8. Steve F

    Steve F Well-Known Member

    .conversation_view .accountSideBar
        display: none !important;
    DRE likes this.
  9. DRE

    DRE Well-Known Member

    This is nice but it sucks cause I still want the account wrapper. I should've said, how do I disable the sidebar in conversation_view

    I'm guessing I go in conversation_view template and remove the sidebar there, but that's not a good idea. I'm gonna see if I can add it to the wrapper somehow.
  10. Steve F

    Steve F Well-Known Member

    Can't you just move the sidebar back to the right just in the conversation view? Be far easier/better if you could.
  11. DRE

    DRE Well-Known Member

    I don't know how. I tried it and it didn't work. I don't want to move the whole sidebar because that's how the rest of the site is set up. http://www.8thos.com
  12. Chris D

    Chris D XenForo Developer Staff Member

    It adds a wrapper around the conversations so templates are unaffected. It will work fine.
  13. DRE

    DRE Well-Known Member

    I wonder if I can add the wrapper to the sidebar.
  14. Chris D

    Chris D XenForo Developer Staff Member

    Nope. It's a wrapper. It wraps around what's there it can't go inside.
  15. DRE

    DRE Well-Known Member

    I was able to put it inside conversation_view so it worked. I just gotta figure out how to keep it from being duplicated.

  16. DRE

    DRE Well-Known Member

    Okay I got it working the way I want now, I just am not able to do it on my site because I don't have write permissions. Can you check my account please?

    I copied the whole account_wrapper template and put it inside the conversation_view template.

    Then in library/ConversationsWrapper/ControllerPublic/Conversation.php


        public function actionView()
            $parent = parent::actionView();
            return $this->_getWrapper(
                'conversations', 'view',
            return $parent;
  17. DRE

    DRE Well-Known Member

    Alright I got it looking the way I want after removing
        <div class="accountContent section sectionMain">
            <xen:hook name="account_wrapper_content">{xen:raw $_subView}</xen:hook>
    from my account_wrapper edit inside conversation_view then removed the if can start convo permission from the account_wrapper edit as well.

    Looks like this now:

    improved convo.jpg
  18. DRE

    DRE Well-Known Member

    This ended up breaking my conversations so I'm just gonna put manual template edits instead. Thanks anyway!

    Server Error

    Undefined index: conversations
    1. XenForo_Application::handlePhpError() in ConvEss/ControllerPublic/Conversation.php at line 23
    2. ConvEss_ControllerPublic_Conversation->actionIndex() in XenForo/FrontController.php at line 310
    3. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
    4. XenForo_FrontController->run() in /home/user/public_html/index.php at line 13
  19. Chris D

    Chris D XenForo Developer Staff Member

    That error is thrown by Conversations Essentials.

    My add-on doesn't even call the "conversations" index.

    You should report this to Syndol, there's nothing there for me to fix.
  20. FredC

    FredC Well-Known Member

    this plugin seems to break the fluidness of the text area when enabled.. This puts the right sidebar over the content on smaller resolution screens. At least those are the reports im getting from members

Share This Page