News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Advanced Recent Posts / Topics

Started by Marook, January 20, 2008, 11:47:42 PM

Previous topic - Next topic

Marook

Link to Mod

This mod alters the recent posts. Now you will see the message icon, the number of views additional to the standard items (Author, Categorie, Date and Subject).

Update 1.1 (dedicated to BlueDevil ;))
  • Admin can now choose whether to show recent topics or recent posts
  • Also added number of replies
  • Setting enabled by default, can be found at AdminCP -> Features and Options
    -> Layout & Options -> "Show recent topics instead of recent posts"

    Its highly recommended that you uninstall the previous version !
    Sorry for not offering an update but the changes are too much...

    Live demo : Here
SMF Rulez ;) | Meet me home ! | My Mods

FragaCampos


nikiobicata

#2
After i instalet nothnig hapens ? This mod is automatic ? or ?

nick09

Quote from: nikiobicata on January 21, 2008, 08:35:45 AM
After i instalet nothnig hapens ? This mod is automatic ? or ?

look at the data center(stats).

Angelotus

Is there an SSI version as well? Just copy and paste and make a ssi function for it??

Mick.

Is there a way to only display the topic once instead of many times?  I mean...in a TP Recent Block,it shows the topic once even if its been replied numerous times. On SMF recent,it shows numerous times. I'd like to change that.

Am i making any sense?

Labros

how to add in babylon theme ???? :(

Marook

O wow... many many questions ;)
@ BlueDevil : RecentPosts means Posts not Recent Threads ;) I don't know if there is a function to display only topics... wait for the next version, i'll be working on it.
@ Angelotus : There is no SSI function available yet, but its on my todo-list now ;)
@ Labros : Open the install.xml, scroll down until the file BoardIndex.php is opened, Do all the changes to your Boardindex.php from the babylon theme.

If you don't get success, post your Boardindex.php and i will add the changes...
SMF Rulez ;) | Meet me home ! | My Mods

-SyN-

Works for me.

Installed it on my custom theme with ease!

http://www.club-syndicate.net/v3.2/index.php?action=forum

Btw my thanks to the author of this mod.

Marook

SMF Rulez ;) | Meet me home ! | My Mods

Labros

Quote from: Marook on January 21, 2008, 10:50:26 AM
@ Labros : Open the install.xml, scroll down until the file BoardIndex.php is opened, Do all the changes to your Boardindex.php from the babylon theme.

If you don't get success, post your Boardindex.php and i will add the changes...

Τhanks Marook, i dont find the first part of modification. in my Boardindex.php !!!

<table cellpadding="0" cellspacing="0" width="100%" border="0">

nikiobicata

#11
this mod is not working with my smf

nothing happens in stat



my theme is def

Marook

You have to enable the recent post list.. Go to AdminCP -> Current Theme and enter the number of posts to be shown at Number of recent posts to display on board index:
SMF Rulez ;) | Meet me home ! | My Mods

Labros

QuoteIf you don't get success, post your Boardindex.php and i will add the changes...

this is the file Marook,thanks again my friend :)

nikiobicata


Mick.

#15
Thanx Marook.  I installed it and it works flawlessly.


Hehehehe.....

What if instead of showing the number of "views" it shows the number of replies?

Marook

@Labros : http://www.marook-online.de/smf/index.php/id,7c08470600.html
This should work... i've did not test it, because i don't have babyblon theme installed...

@ BlueDevil : i'm working on it ;) just a second...
SMF Rulez ;) | Meet me home ! | My Mods

Marook

@ BlueDevil :

open sourcedir/Recent.php and find :

LEFT(m.body, 384) AS body, m.smileysEnabled, m.icon, t.numViews

and change it to

LEFT(m.body, 384) AS body, m.smileysEnabled, m.icon, t.numReplies


then find

'views' => $row['numViews'],

and change it to

'views' => $row['numReplies'],


That should work...
SMF Rulez ;) | Meet me home ! | My Mods

Mick.

I did exactly as told but it still looks the same with the number of views. Not number of replies.


Labros

Quote from: Marook on January 21, 2008, 12:28:18 PM
@Labros : hxxp:www.marook-online.de/smf/index.php/id,7c08470600.html [nonactive]
This should work... i've did not test it, because i don't have babyblon theme installed...


my friend, it works !!! THANK YOY AGAIN.

Advertisement: