Welcome, Guest. Please Login or Register.
November 15, 2024, 09:24:13 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  |  Development  |  Mod Ideas and Creation  |  last updated topics « previous next »
Pages: [1] Reply Ignore Print
Author Topic: last updated topics  (Read 618 times)
CyberDruid
Jr. Member
**
Posts: 61


I wanna be a llama!

last updated topics
« on: June 02, 2003, 05:03:14 PM »
Reply with quote

Is there a mod or a possibility to show the "x" last edited topics?

If I show the 10 last messages, they are sometime from ONE Thread. That is pretty crapty on bigger boards.

Anyone an idea?
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:last updated topics
« Reply #1 on: June 03, 2003, 12:17:03 AM »
Reply with quote

there's currently no mods for that

if you have phpMyAdmin, we can give u the query to view that
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
CyberDruid
Jr. Member
**
Posts: 61


I wanna be a llama!

Re:last updated topics
« Reply #2 on: June 04, 2003, 08:26:18 PM »
Reply with quote

Yep.
"Welcome to phpMyAdmin 2.2.6-rc2"

If possible. Give me a detailed "plan" how to view it.
I can hardly use phpMy Admin :(
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:last updated topics
« Reply #3 on: June 04, 2003, 10:23:32 PM »
Reply with quote

SELECT * FROM yabbse_messages WHERE modifiedName != '' ORDER BY posterTime DESC;

change yabbse_ into your forum table prefix
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
CyberDruid
Jr. Member
**
Posts: 61


I wanna be a llama!

Re:last updated topics
« Reply #4 on: June 05, 2003, 08:41:06 AM »
Reply with quote

Sorry. I dont undertsand that. :/

I found: "SELECT * FROM `yabbse_messages` WHERE 1"

What shall I do? How can I add it to my forum?
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:last updated topics
« Reply #5 on: June 05, 2003, 09:59:56 AM »
Reply with quote

just click the textarea where the SELECT... stuff is (like you posted above), delete it, and replace with this code:
SELECT * FROM yabbse_messages WHERE modifiedName != '' ORDER BY posterTime DESC;
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
CyberDruid
Jr. Member
**
Posts: 61


I wanna be a llama!

Re:last updated topics
« Reply #6 on: June 05, 2003, 11:01:56 AM »
Reply with quote

OK. Now I see the latest topics in my admin view.
Is it possible for my board users to viewe this?
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:last updated topics
« Reply #7 on: June 05, 2003, 04:17:36 PM »
Reply with quote

what for? showing the last x edited post is kinda weird...

if you want to do that, you'll have to code it somewhere...

if this is why:
QuoteIf I show the 10 last messages, they are sometime from ONE Thread. That is pretty crapty on bigger boards.
then you can just edit the last 10 topic to show from different topics, not posts from the same topics
i'll give the code later...
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
CyberDruid
Jr. Member
**
Posts: 61


I wanna be a llama!

Re:last updated topics
« Reply #8 on: June 05, 2003, 04:52:03 PM »
Reply with quote

Sorry Stiff.
My english isnt that good. I didnt understood what you said in your last post.

I want my board to show that 10 last editied topics to my users.
Normally it shows the 10 last posts. They normally come from spam posts :/

If it would show the 10 last edited topics some people can search new edited TOPIC threads from there.

Or is it possible to ignore a whole forum ("mod ideas" is a forum - for me) in the last 10 posts page?
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:last updated topics
« Reply #9 on: June 06, 2003, 03:41:27 AM »
Reply with quote

showing the 10 latest edited posts wont solve your problem
a better way to do it is to edit Recent.php, in function RecentPosts() search for:            AND t.ID_TOPIC=m.ID_TOPICand replace it with:            AND m.ID_MSG = t.ID_LAST_MSG
this will remove topic duplicates in 10 recent posts (will not show posts from the same topic)
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
CyberDruid
Jr. Member
**
Posts: 61


I wanna be a llama!

Re:last updated topics
« Reply #10 on: June 06, 2003, 10:10:44 AM »
Reply with quote

yeah! It works!
Thats a lot! That was exactly what I wanted!

* CyberDruid is happy
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  last updated topics « 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.172 seconds with 20 queries.