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

    first post shown in specified forum

    IdaTR
    IdaTR
    Forumember


    Female Posts : 547
    Reputation : 1
    Language : Danish, english
    Location : Denmark

    Solved first post shown in specified forum

    Post by IdaTR August 1st 2017, 5:39 pm

    Possible to have a specified forum show the first post, without affecting the other forums? (:

    www.vielamort.net


    Last edited by IdaTR on August 1st 2017, 11:26 pm; edited 1 time in total
    avatar
    Guest
    Guest


    Solved Re: first post shown in specified forum

    Post by Guest August 1st 2017, 6:08 pm

    Hi,

    Please explain the problem better to help  us understand what you want to do.
    IdaTR
    IdaTR
    Forumember


    Female Posts : 547
    Reputation : 1
    Language : Danish, english
    Location : Denmark

    Solved Re: first post shown in specified forum

    Post by IdaTR August 1st 2017, 8:11 pm

    All right: my whole forum is set to not display the first post in a topic. However I want one fora on the website to do excatly that. So when the page switches to second page, the first post is still shown.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: first post shown in specified forum

    Post by SLGray August 1st 2017, 8:14 pm

    You mean first message reminder?



    first post shown in specified forum Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    IdaTR
    IdaTR
    Forumember


    Female Posts : 547
    Reputation : 1
    Language : Danish, english
    Location : Denmark

    Solved Re: first post shown in specified forum

    Post by IdaTR August 1st 2017, 8:18 pm

    No, or perhaps... I want it so, in a specified fora, when i write a topic, the first post in that topic, will be shown in all pages in that topic. dkn if its like a reminder?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: first post shown in specified forum

    Post by SLGray August 1st 2017, 8:18 pm

    There is an option for that, but it will be for the whole forum.

    AP > General > Messages & Emails > Configuration

    Messages Section

    Always show the first post in the topics:



    first post shown in specified forum Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    IdaTR
    IdaTR
    Forumember


    Female Posts : 547
    Reputation : 1
    Language : Danish, english
    Location : Denmark

    Solved Re: first post shown in specified forum

    Post by IdaTR August 1st 2017, 8:23 pm

    I'm aware of that, but thats not what i asked for. I'm asking for it to happen in only one fora.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: first post shown in specified forum

    Post by SLGray August 1st 2017, 8:25 pm

    By default, it is not possible.  Maybe someone else could think of a way.



    first post shown in specified forum Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    Guest
    Guest


    Solved Re: first post shown in specified forum

    Post by Guest August 1st 2017, 8:48 pm

    Hi,

    Add this code with placement on topics:
    Code:
    $(function(){
    var forum=11;
    if(!new RegExp(forum).test($(".crumbs>a").eq(2).attr("href")) || !/t\d+p/.test(location.pathname)) return;
    var p=$(".post").eq(0);
    var ll=location.pathname.match(/\d+/g)[0];
    if(localStorage.getItem(ll)){
    p.before(localStorage.getItem(ll));
    } else {
    $.get("/t"+ll+"-", function(data){
    var d="<div class='post'>"+$(".post", data).eq(0).html()+"</div>";
    localStorage.setItem(ll, d);
    p.before(d);
    })
    }
    })

    You have to modify 11 from
    Code:
    var forum=11;
    to the id of the forum you want the first post to be shown in.
    IdaTR
    IdaTR
    Forumember


    Female Posts : 547
    Reputation : 1
    Language : Danish, english
    Location : Denmark

    Solved Re: first post shown in specified forum

    Post by IdaTR August 1st 2017, 8:58 pm

    Nice thanks!! Very Happy
    avatar
    Guest
    Guest


    Solved Re: first post shown in specified forum

    Post by Guest August 1st 2017, 9:01 pm

    IdaTR wrote:Nice thanks!! Very Happy
    Your welcome Super
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: first post shown in specified forum

    Post by SLGray August 1st 2017, 9:14 pm

    IdaTR wrote:Nice thanks!! Very Happy
    Is this solved?
    Wolfuryo wrote:
    IdaTR wrote:Nice thanks!! Very Happy
    Your welcome Super
    Thanks for the help.



    first post shown in specified forum Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    IdaTR
    IdaTR
    Forumember


    Female Posts : 547
    Reputation : 1
    Language : Danish, english
    Location : Denmark

    Solved Re: first post shown in specified forum

    Post by IdaTR August 1st 2017, 11:26 pm

    Haven't tried it yet, but i can always make it pop up again if need be (:
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: first post shown in specified forum

    Post by TheCrow August 2nd 2017, 2:14 am

    Problem solved & topic archived.
    Please read our forum rules: ESF General Rules



    first post shown in specified forum Thecro10
     Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!

      Current date/time is September 22nd 2024, 8:34 pm