first post shown in specified forum Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
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 Tue 1 Aug - 15:39

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

    www.vielamort.net


    Last edited by IdaTR on Tue 1 Aug - 21:26; edited 1 time in total
    avatar
    Guest
    Guest


    Solved Re: first post shown in specified forum

    Post by Guest Tue 1 Aug - 16:08

    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 Tue 1 Aug - 18:11

    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 : 51554
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: first post shown in specified forum

    Post by SLGray Tue 1 Aug - 18:14

    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 Tue 1 Aug - 18:18

    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 : 51554
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: first post shown in specified forum

    Post by SLGray Tue 1 Aug - 18:18

    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 Tue 1 Aug - 18:23

    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 : 51554
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: first post shown in specified forum

    Post by SLGray Tue 1 Aug - 18:25

    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 Tue 1 Aug - 18:48

    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 Tue 1 Aug - 18:58

    Nice thanks!! Very Happy
    avatar
    Guest
    Guest


    Solved Re: first post shown in specified forum

    Post by Guest Tue 1 Aug - 19:01

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


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: first post shown in specified forum

    Post by SLGray Tue 1 Aug - 19:14

    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 Tue 1 Aug - 21:26

    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 Wed 2 Aug - 0:14

    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!