Welcome, Guest. Please Login or Register.
August 29, 2025, 11:10:30 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Question concerning recent posts on boardindex. « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Question concerning recent posts on boardindex.  (Read 415 times)
Jalapeno
Full Member
***
Posts: 158


Peno, Jala Peno...

WWW
Question concerning recent posts on boardindex.
« on: April 25, 2002, 04:36:48 PM »
Reply with quote

I have a rather stupid question. You all know the recent posts function on the board index. Now, in the admin center there's a function which let's you choose from the three options:

  • Disable Recent posts
  • Enable Single Posts
  • Enable Multiple Posts
Now, what do these options do? The first one is obvious, if you chose it, the recent posts are just not shown on the board index. But the other two?

I was hoping that putting it on "Enable Single Post" would give me the good old YaBB Gold layout where it just shows one answer to each topic instead of every single new post. But that doesn't seem to be the case.

It still shows every new post within a topic. I hope you understand what I mean. I want my old YaBB 1 Gold Layout.  
Logged

Too lazy. Way too lazy.
Jalapeno
Full Member
***
Posts: 158


Peno, Jala Peno...

WWW
Re:Question concerning recent posts on boardindex.
« Reply #1 on: April 25, 2002, 04:39:44 PM »
Reply with quote

Let's see what it does here.
Logged

Too lazy. Way too lazy.
Pegleg
Sr. Member
****
Posts: 427


Isn't Beta Testing Fun?

ICQ - 687261
Re:Question concerning recent posts on boardindex.
« Reply #2 on: April 25, 2002, 05:21:48 PM »
Reply with quote

On the bottom of the main page is a section that shows stats, member list etc.

If you disable recent post, no listing will show up for recent posts there.

Enable single will give you a announcement of the LAST post.

Enganle Multiple will give you, I think 3 listing of the last 3 posts on the message board.

QuoteRecent Posts
 [Members] May tourney-Week 1 by Pegleg Today at 12:04:54pm
[The Hangout] Signs Of Woe by Pegleg Today at 12:03:16pm
[OS Records] hawghunter at Bull Shoals - Two New Lake Records by debbie605 Today at 11:43:57am
[Members] May tourney-Week 1 by MOG Today at 11:21:34am
[OS Records] hawghunter at Bull Shoals - Two New Lake Records by Pegleg Today at 09:34:15am
 
Logged

Webmaster - Largest TB4 Club on the planet!
Visit The OutdoorSims Home Site
Jalapeno
Full Member
***
Posts: 158


Peno, Jala Peno...

WWW
Re:Question concerning recent posts on boardindex.
« Reply #3 on: April 25, 2002, 05:47:46 PM »
Reply with quote

Yes, I now know what "Multiple Posts" does. But is there any way that I can do what I described in my first post? In case you even understood what I was talking about, because I didn't describe it very carefully, I'm afraid.  :-\

Here's what I meant. Instead of displaying:



QuoteRecent Posts
 [Members] May tourney-Week 1 by Pegleg Today at 12:04:54pm
...
[Members] May tourney-Week 1 by MOG Today at 11:21:34am

, I only want it to display the first one (12:04 pm).
 
« Last Edit: April 25, 2002, 05:50:02 PM by Jalapeno » Logged

Too lazy. Way too lazy.
Joseph Fung
Global Moderator
YaBB God
*****
Posts: 4512


Keep smiling: it makes others nervous.

WWW
Re:Question concerning recent posts on boardindex.
« Reply #4 on: April 25, 2002, 05:56:41 PM »
Reply with quote

Turn it on to show a single post - I'm not sure what the issue is here...
Logged

Pegleg
Sr. Member
****
Posts: 427


Isn't Beta Testing Fun?

ICQ - 687261
Re:Question concerning recent posts on boardindex.
« Reply #5 on: April 25, 2002, 06:21:14 PM »
Reply with quote

As I said in my previous reply:

Enable single will give you a announcement of the LAST post.

This will give you ONE AS YOU WANT.
Logged

Webmaster - Largest TB4 Club on the planet!
Visit The OutdoorSims Home Site
Jalapeno
Full Member
***
Posts: 158


Peno, Jala Peno...

WWW
Re:Question concerning recent posts on boardindex.
« Reply #6 on: April 25, 2002, 06:37:05 PM »
Reply with quote

No, you still don't get what I mean.When I turn it to single post, I only get one post on the boardindex. But when I click on 10 most recent posts then, it still shows all the new posts to a thread since my last visit. I want it to only show the latest post, even if there are 12 new posts to one particular thread since my last visit. I don't want to see the other 11 new posts in that thread, but just the VERY lastest one.

I'm sorry if I'm not making myself clear, but I can't think of another way to put it.

[EDIT]Forget that last visit nonsense. Of course it has nothing to do with when I last visited the board. [/EDIT]

Here's a pic to help me make myself clear:



I don't want No 7, 8 and 9 there, just No 10, because that is the latest post in that thread.
« Last Edit: April 25, 2002, 06:45:33 PM by Jalapeno » Logged

Too lazy. Way too lazy.
joshxpcable11
Full Member
***
Posts: 232


Eat my shorts

joshj@pei.eastlink.ca
Re:Question concerning recent posts on boardindex.
« Reply #7 on: April 25, 2002, 07:18:18 PM »
Reply with quote

Im confused...  ???
Logged

Check out my boards: ~~~J-Boards~~~
Jalapeno
Full Member
***
Posts: 158


Peno, Jala Peno...

WWW
Re:Question concerning recent posts on boardindex.
« Reply #8 on: April 25, 2002, 07:23:44 PM »
Reply with quote

I was afraid that I would only make matters worse if I tried explaining it again.  ;D
Logged

Too lazy. Way too lazy.
Joseph Fung
Global Moderator
YaBB God
*****
Posts: 4512


Keep smiling: it makes others nervous.

WWW
Re:Question concerning recent posts on boardindex.
« Reply #9 on: April 25, 2002, 07:27:29 PM »
Reply with quote

The reason people were confused is because you're asking for a modification to Recent.php not baordindex.

Recent.php - change from
$request = mysql_query("SELECT m.smiliesEnabled,m.posterTime,m.ID_MEMBER,m.ID_MSG,m.subject,m.body,m.ID_TOPIC,t.ID_BOARD,b.name as bname,c.name as cname,m.posterName,t.numReplies FROM {$db_prefix}messages as m,{$db_prefix}topics as t,{$db_prefix}boards as b,{$db_prefix}categories as c WHERE (m.ID_TOPIC = t.ID_TOPIC AND t.ID_BOARD = b.ID_BOARD AND b.ID_CAT=c.ID_CAT AND (FIND_IN_SET('$settings[7]',c.memberGroups)!=0 OR c.memberGroups='' OR '$settings[7]'='Administrator' OR '$settings[7]'='Global Moderator')) ORDER BY m.posterTime DESC LIMIT $display");

change to:
$request = mysql_query("SELECT m.smiliesEnabled,m.posterTime,m.ID_MEMBER,m.ID_MSG,m.subject,m.body,m.ID_TOPIC,t.ID_BOARD,b.name as bname,c.name as cname,m.posterName,t.numReplies FROM {$db_prefix}messages as m,{$db_prefix}topics as t,{$db_prefix}boards as b,{$db_prefix}categories as c WHERE (m.ID_MSG = t.ID_LAST_MSG AND t.ID_BOARD = b.ID_BOARD AND b.ID_CAT=c.ID_CAT AND (FIND_IN_SET('$settings[7]',c.memberGroups)!=0 OR c.memberGroups='' OR '$settings[7]'='Administrator' OR '$settings[7]'='Global Moderator')) ORDER BY m.posterTime DESC LIMIT $display");
that *should* work - but I haven't tested it.
« Last Edit: April 25, 2002, 07:27:52 PM by Joseph Fung » Logged

Jalapeno
Full Member
***
Posts: 158


Peno, Jala Peno...

WWW
Re:Question concerning recent posts on boardindex.
« Reply #10 on: April 26, 2002, 05:09:59 AM »
Reply with quote

Quote from: Joseph Fung on April 25, 2002, 07:27:29 PMThe reason people were confused is because you're asking for a modification to Recent.php not baordindex.

D'oh. True. My fault. Too much sitting around in front of a PC can mess up your thought process. Sorry about that.

Your fix worked like a charm, thanks a lot.

Again, sorry about the mess I created and thanks for your patience.

 :D

[EDIT]One other question. How hard would it be to add an option in the admin panel so I can switch between the two ways? I don't know anything about PHP, so I have no idea if that is something you whiz together in 2 Minutes or if it takes longer. Any help appreciated.[/EDIT]
« Last Edit: April 26, 2002, 06:23:00 AM by Jalapeno » Logged

Too lazy. Way too lazy.
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Question concerning recent posts on boardindex. « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.046 seconds with 20 queries.