The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    Add topic title when replying to a post

    Guardian-Angel
    Guardian-Angel
    Forumember


    Posts : 755
    Reputation : 15
    Language : English

    Add topic title when replying to a post Empty Add topic title when replying to a post

    Post by Guardian-Angel May 27th 2015, 9:45 pm

    Hello

    When replying to a post, or quoting a post to reply, the message window appears to add a post and you can see previous posts on that page.

    Is it possible to add the topic title somewhere, maybe under Post a Reply or somewhere near the reply box? Often times with the nature of our forum, a post can take several minutes to put together because we are gathering information. Once it's ready to post, there is nothing to double check to make sure it's in the right topic.

    Is this possible?

    Thanks
    brandon_g
    brandon_g
    Manager
    Manager


    Male Posts : 10113
    Reputation : 923
    Language : English
    Location : USA

    Add topic title when replying to a post Empty Re: Add topic title when replying to a post

    Post by brandon_g May 27th 2015, 9:56 pm

    Have you tried using the advanced editor? I think that might show the topic title above the message box.

    -Brandon



    Add topic title when replying to a post Brando10
    Remember to mark your topic Add topic title when replying to a post Solved15 when a solution is found.
    General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

    Add topic title when replying to a post Scre1476
    Team Leader
    Review Section Rules | Request A Review | Sticker Points
    Guardian-Angel
    Guardian-Angel
    Forumember


    Posts : 755
    Reputation : 15
    Language : English

    Add topic title when replying to a post Empty Re: Add topic title when replying to a post

    Post by Guardian-Angel May 27th 2015, 10:17 pm

    I tried it, it doesn't make a difference, thanks for the suggestion though.
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Add topic title when replying to a post Empty Add topic title when replying to a post

    Post by Ange Tuteur May 27th 2015, 10:43 pm

    Hi @Guardian-Angel,

    Go to Administration Panel > Modules > JavaScript codes management > Create a new script

    Placement : In all the pages
    Paste the following code :
    Code:
    $(function() {
      if (!document.post || !document.post.t || document.post.subject.value) return;
     
      $.get('/t' + document.post.t.value + '-', function(d) {
        document.post.subject.value = 'Re: ' + $('.page-title', d).text();
      });
    });

    This should automatically load in the default title of the topic, if it's empty.
    Add topic title when replying to a post Captur54
    Guardian-Angel
    Guardian-Angel
    Forumember


    Posts : 755
    Reputation : 15
    Language : English

    Add topic title when replying to a post Empty Re: Add topic title when replying to a post

    Post by Guardian-Angel May 27th 2015, 11:43 pm

    Hi Ange

    That worked perfectly however it took away my Like Button, reverted back to the default +- bar, and it took away the tool bar and all the options in the quick reply box. It was just a plain white box. 

    However when choosing the post reply button, the tools were all there.

      Current date/time is September 23rd 2024, 1:23 am