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.

first post shown in specified forum

3 posters

Go down

Solved first post shown in specified forum

Post by IdaTR Tue 1 Aug - 17: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 - 23:26; edited 1 time in total
IdaTR
IdaTR
Forumember

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

http://www.vielamort.net

Back to top Go down

Solved Re: first post shown in specified forum

Post by Guest Tue 1 Aug - 18:08

Hi,

Please explain the problem better to help  us understand what you want to do.
avatar
Guest
Guest


Back to top Go down

Solved Re: first post shown in specified forum

Post by IdaTR Tue 1 Aug - 20: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.
IdaTR
IdaTR
Forumember

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

http://www.vielamort.net

Back to top Go down

Solved Re: first post shown in specified forum

Post by SLGray Tue 1 Aug - 20: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.
SLGray
SLGray
Administrator
Administrator

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

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: first post shown in specified forum

Post by IdaTR Tue 1 Aug - 20: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?
IdaTR
IdaTR
Forumember

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

http://www.vielamort.net

Back to top Go down

Solved Re: first post shown in specified forum

Post by SLGray Tue 1 Aug - 20: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.
SLGray
SLGray
Administrator
Administrator

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

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: first post shown in specified forum

Post by IdaTR Tue 1 Aug - 20:23

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

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

http://www.vielamort.net

Back to top Go down

Solved Re: first post shown in specified forum

Post by SLGray Tue 1 Aug - 20: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.
SLGray
SLGray
Administrator
Administrator

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

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: first post shown in specified forum

Post by Guest Tue 1 Aug - 20: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.
avatar
Guest
Guest


Back to top Go down

Solved Re: first post shown in specified forum

Post by IdaTR Tue 1 Aug - 20:58

Nice thanks!! Very Happy
IdaTR
IdaTR
Forumember

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

http://www.vielamort.net

Back to top Go down

Solved Re: first post shown in specified forum

Post by Guest Tue 1 Aug - 21:01

IdaTR wrote:Nice thanks!! Very Happy
Your welcome Super
avatar
Guest
Guest


Back to top Go down

Solved Re: first post shown in specified forum

Post by SLGray Tue 1 Aug - 21: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.
SLGray
SLGray
Administrator
Administrator

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

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: first post shown in specified forum

Post by IdaTR Tue 1 Aug - 23:26

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

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

http://www.vielamort.net

Back to top Go down

Solved Re: first post shown in specified forum

Post by TheCrow Wed 2 Aug - 2: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!
TheCrow
TheCrow
Manager
Manager

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

https://www.inforumgr.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum