• Login
  • Register
  • Login Register
    Login
    Username:
    Password:
  • Home
  • Members
  • Team
  • Help
  • More
    • YouTube
    • Facebook
User Links
  • Login
  • Register
  • Login Register
    Login
    Username:
    Password:

    Quick Links Home Members Team Help
    More Subscribe YouTube Facebook
    D&D Forums - MyBB Plugins & Themes MyBB Ressources Free MyBB Themes Support Add some buttons

     
    • 0 Vote(s) - 0 Average
    Add some buttons
    rudizl
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: Jan 2019
    Reputation: 0
    #1
    01-26-2019, 08:48 AM
    Hi, is it possible to add "New reply" button at bottom of the board, near to "search thread" and theme selector on the index page?
    AmazOuz
    Offline

    Administrator

    Posts: 272
    Threads: 34
    Joined: Oct 2017
    Reputation: 11
    #2
    01-26-2019, 09:08 PM
    Can you explain more ? I didn't understand where do you want the new reply button
    rudizl
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: Jan 2019
    Reputation: 0
    #3
    01-27-2019, 07:45 AM (This post was last modified: 01-27-2019, 08:07 AM by rudizl.)
    Just like in the default theme, see the attachment. When the thread is larger its not very comfortable to scroll to the top.
    Also the new replay field is not shrinking for some reason.
    [Image: Screenshot-20190127-093550-Samsung-Internet.jpg]


    [Image: Screenshot-20190127-094111-Samsung-Internet.jpg]
    Cheers.
    rudizl
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: Jan 2019
    Reputation: 0
    #4
    01-28-2019, 12:09 PM
    Something like this:
    [Image: Capture-1.png]


    I've made the change trough Chrome developer tools, but I'm not sure if I can do it in .xml.
    AmazOuz
    Offline

    Administrator

    Posts: 272
    Threads: 34
    Joined: Oct 2017
    Reputation: 11
    #5
    01-28-2019, 07:47 PM
    You wanna do a reply button for the mobile version, isn't it ?
    rudizl
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: Jan 2019
    Reputation: 0
    #6
    01-29-2019, 07:10 PM
    (01-28-2019, 07:47 PM)AmazOuz Wrote: You wanna do a reply button for the mobile version, isn't it ?

    No, for both versions.
    rudizl
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: Jan 2019
    Reputation: 0
    #7
    02-09-2019, 07:04 PM
    Any ideas? Is there any payed support?
    AmazOuz
    Offline

    Administrator

    Posts: 272
    Threads: 34
    Joined: Oct 2017
    Reputation: 11
    #8
    02-11-2019, 02:22 AM
    I'm very sorry for the delay. No need to pay for this.
    Edit the showthread template to this one :

    Code:
    <html>
    <head>
    <title>{$thread['subject']}</title>
    {$headerinclude}
    <script type="text/javascript">
    <!--
        var quickdelete_confirm = "{$lang->quickdelete_confirm}";
        var quickrestore_confirm = "{$lang->quickrestore_confirm}";
        var allowEditReason = "{$mybb->settings['alloweditreason']}";
        lang.save_changes = "{$lang->save_changes}";
        lang.cancel_edit = "{$lang->cancel_edit}";
        lang.quick_edit_update_error = "{$lang->quick_edit_update_error}";
        lang.quick_reply_post_error = "{$lang->quick_reply_post_error}";
        lang.quick_delete_error = "{$lang->quick_delete_error}";
        lang.quick_delete_success = "{$lang->quick_delete_success}";
        lang.quick_delete_thread_success = "{$lang->quick_delete_thread_success}";
        lang.quick_restore_error = "{$lang->quick_restore_error}";
        lang.quick_restore_success = "{$lang->quick_restore_success}";
        lang.editreason = "{$lang->postbit_editreason}";
    // -->
    </script>
    <!-- jeditable (jquery) -->
    <script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1804"></script>
    <script src="{$mybb->asset_url}/jscripts/jeditable/jeditable.min.js"></script>
    <script type="text/javascript" src="{$mybb->asset_url}/jscripts/thread.js?ver=1804"></script>
    </head>
    <body>
        {$header}
        {$threadnotesbox}
        {$pollbox}
        <table border="0" cellspacing="{$theme['borderwidth']}" style="border-bottom:none;" cellpadding="{$theme['tablespace']}" class="tborder tfixed clear">
    <div>
                <div style="font-size: 20px; background: #F6F6F6; border:none; color:#2C3E50; " class="thead">
                    
        <div class="float_right">
            {$newreply}
        </div>
        {$ratethread}
                    <div>
                        <strong><i class="fa fa-comments"></i> {$thread['threadprefix']}{$thread['subject']}</strong>
                    </div>
                </div>
    </div>

    <tr><td id="posts_container">
        <div id="posts">
            {$posts}
        </div>
    </td></tr>
            <tr>
                <td class="tfoot">
                    {$search_thread}
                    <div class="float_right">
            {$newreply}
        </div>
                    <div style="padding:10px">
                        <strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong><br>{$usersbrowsing}
                    </div>
                </td>
            </tr>
        </table>
        <div class="float_left"><br>
            {$multipage}
        </div>
        <br class="clear" />
        {$quickreply}
        {$threadexbox}
        {$similarthreads}
        <br />
        <div class="float_left">
            <ul class="thread_tools">
                <li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
                {$sendthread}
                <li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
                {$addpoll}
            </ul>
        </div>

        <div class="float_right" style="text-align: right;">
            {$moderationoptions}
            {$forumjump}
        </div>
        <br class="clear" />
        {$footer}
        <div id="thread_modes_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}" class="popup_item">{$lang->linear}</a></div><div class="popup_item_container"><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}" class="popup_item">{$lang->threaded}</a></div></div>
        <script type="text/javascript">
        // <!--
            if(use_xmlhttprequest == "1")
            {
                $("#thread_modes").popupMenu();
            }
        // -->
        </script>
        <script type="text/javascript">
            $(".author_avatar img").error(function () {
                $(this).unbind("error").closest('.author_avatar').remove();
            });
        </script>
    </body>
    </html>

    Tell me if it works Wink
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)



    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    D&D Company

    Home · Members · Team · Help · Contact

    © D&D - Powered by MyBB

    Paris, France

    07 53 04 58 86

    business@developement.design

    About the company We are a growing company of web developers & designers, specialized in MyBB plugins & themes. Our work is our propaganda.

    Linear Mode
    Threaded Mode