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

Unmaintained Start Conversation from Post (Ajax) 1.2.5

Adds a "Start a Conversation" link in every post, next to "Report" and/or under User Info

  1. Hlchia

    Hlchia Active Member

    Hlchia submitted a new resource:

    Start Conversation from Post (Ajax) - Adds a "Start a Conversation" link in every post, next to "Report"

    Read more about this resource...
     
    rbharathi, sweetpotato and erich37 like this.
  2. Hlchia

    Hlchia Active Member

    This add-on adds 3 templates:
    1. "conversationpost_post" - this contains the link in the post. By adding some conditionals you can control to not show the link to guests.
    1. "conversationpost_userinfo" - this contains the link in the User Info Extra. By adding some conditionals you can control to not show the link to guests.
    2. "conversationpost_add" - this contains the conversation form in the ajax overlay

    The post controller is extended to add the ability to start conversation in a post, and redirecting back to the post where the conversation started.

    You can go to Admin CP -> Options -> Conversation Post to set the options of visibility in post and/or User Info

    Last Edit on 29 Apr 2013
     
  3. erich37

    erich37 Well-Known Member

    great idea (y)
     
  4. tyteen4a03

    tyteen4a03 Well-Known Member

    Can you add an option to put the link on the userInfoExtra instead?
     
  5. Robyn Unc Privette

    Robyn Unc Privette Active Member

    I second this!
     
  6. Hlchia

    Hlchia Active Member

    You can add this to the message_user_info template:


    Code:
        <dl class="conversationPostBitContainer">
            <a  class="OverlayTrigger PopupItemLink" data-cacheOverlay="false" href="{xen:link posts/conversation, '{$user}', 'to={$user.username}'}">{xen:phrase start_conversation}</a>
        </dl>
     
  7. Robyn Unc Privette

    Robyn Unc Privette Active Member

    Will it also show up under the post as well?
     
  8. Hlchia

    Hlchia Active Member

    Yes, for time being you can just remove the content in the conversationpost_post template

    I might repackage and release a version for postbit only
     
  9. tyteen4a03

    tyteen4a03 Well-Known Member

    Don't repackage, simply add an option in XenForo options.
     
  10. AndreaMarucci

    AndreaMarucci Well-Known Member

    Can you code it as an option or tell us what the code is to add this feature? I think it's better to add it as an option so when we'll upgrade we'll not have troubles...
     
  11. Hlchia

    Hlchia Active Member

    This is my first xenforo add-on development, when I am free I'll look at the part on including option, probably end of the week :)
     
  12. AndreaMarucci

    AndreaMarucci Well-Known Member

    Good work! I'll wait for the next release :)
     
  13. tyteen4a03

    tyteen4a03 Well-Known Member

    Access the option anywhere by doing:
    $option = XenForo_Application::get("options")->get("optionNameHere");

    The option edit page is very straightforward, and you can refer to other options to see how they did it.
     
  14. Hlchia

    Hlchia Active Member

  15. AndreaMarucci

    AndreaMarucci Well-Known Member

    Fantastic. Downloading now :)
     
  16. Tracy Perry

    Tracy Perry Well-Known Member

    One quick question... I found where to edit for CSS customization... Now, I can get the font size, style and even the background color to change - but the text color is fixed, even using an !important. Any suggestions.

    Solution:
    Code:
    .conversationPostBitContainer a:link, a:visited {
    color: rgb(248, 237, 176);
    background: rgb(142, 68, 4) url('images/default/xenforo/gradients/notice1.png') repeat-x top;
    border: 2px outset rgb(211, 135, 0);
    width: 83px;
    border-radius: 5px ;
    font-family: Ubuntu ;
    font-size:11px ;
    text-align:center ;
    padding: 1.5px;
    margin-left: 10px ;
    }
    will give you a result like this
    example.png
     
  17. Kerby

    Kerby Active Member

    Great Addon, missed it from phpBB.

    Request Quote
    When i start a conversation, it should quote the post into the conversation (like it works in phpBB).

    this could be configurable in ACP controls if this feature should be on/off.
     
  18. Tracy Perry

    Tracy Perry Well-Known Member

    This is just an extension of the existing conversation system. It is not a PM system like you are familiar with. It would require an add-on for what you want.
     
  19. Hlchia

    Hlchia Active Member

  20. Hlchia

    Hlchia Active Member

    Thanks for your suggestion, I just added the option in ACP for quoting post.
     
    Kerby likes this.

Share This Page