Recent Posts by Siropu

Recent Posts by Siropu [Paid] 1.5.0

No permission to buy (€9.99)
Hello, is it possible to show the original poster(maker of the thread) of a thread in the recent posts area, like next to the node name or something like that? If there was a way to turn it on and off in ACP that would be awesome too. :D

Also the time the thread was made would be useful too. Just like it shows up in the "new posts". If this could be controlled via ACP too that would be great. :) Example below:


Also, when I take off the avatar it moves all the text over to the left, really hard. Is there any way to put a space in there like it does on the "Trending topics" that is pictured below?

Thank you for your time!
 
Last edited:
I will see what I can do about that.
Go to "siropu_recent_posts_forum.css" and replace padding-left: 0 !important; with /* padding-left: 0 !important; */
 
Siropu updated Recent Posts by Siropu with a new update entry:

New Features

"Show More" Button
If enabled, will display a "Show More" button instead of "View All Recent Posts" link, to dynamically load more recent posts using AJAX.

Excluded threads
Allows you to exclude certain threads from recent posts widget, by thread ID.

Display Thread Author
Display the thread author username (Forum list only).

Display Thread Date
Display the thread creation date (Forum list only).

Read the rest of this update entry...
 
Is it possible to center the "show more"?

I just checked and "View all recent posts" is also not centered anymore.

edit: would it be possible to have the "thread preview" popup like it does in the regular XF forums? That would be incredibly awesome. :D
 
Last edited:
I think I have found a bug. When you move a post to an existing thread, it stays marked unread even if you click on it. Someone has to post after that post, for the problem to be fixed.
Just wanted to bump this just in case you forgot it. I had it happen again today.

As for the preview, we'll see.
I really believe this would be the bees knees if you added the preview. :cool:
 
Siropu updated Recent Posts by Siropu with a new update entry:
Fantastic! As I suspected, this would be a hit with the members. This message came in via your awesome chat addon right after I updated recent posts:
preview.webp

Great work Siropu!

@orange7, let me know if you still get that issue after upgrade.
I think I already did one of those merges and the bug was not there. So it might be fixed! I will let you know if if shows back up.

I just had another awesome idea. :D Is it possible to add the moderating to recent posts? If the check box was there, it would make moderating a lot faster for mods. I have found myself wishing it were there a few times.

This is really an awesome addon, my members love it. I would suggest other forum owners to check it out. With the recent thread about "social media vs forums", there were some suggestions to make forums better by having recent posts right on the front page. Well, Siropu's "Recent Posts" addon does this, and does it well. 2 thumbs up! (y)(y)
 
How can I reduce the font size for member name, time and forum title? And how can I move those thing upward so they are to the right of the post excerpt? I have the add-on installed here with Widget Framework https://vulpea.com/

Home_Vulpea.webp
 
Add the following code in EXTRA.css
Code:
.recentPostsList .postMeta {
    font-size: 12px;
}
That will fix the size issue.

The Widget Framework integration is for sidebar so it uses the sidebar template.
Go to "siropu_recent_posts" template and replace:
Code:
{$xenOptions.siropu_recent_posts_position}
With:
Code:
'forum_list_below'

That should display the forum template instead.
 
Thank you @Siropu . That got part of the issue fixed but now the post excerpt text is centered in the widget and I tried adding text-align: left !important; but it isn't doing anything.
 
First, remove this CSS you added:
Code:
.discussionListItem .title a {
    float: left !important;
}
Then add:
Code:
.discussionListItem .titleText {
text-align: left;
}
 
I have suggestion, If you add a feature for displaying multiple recent post form different categories in sidebar it would be awesome.

There are lots of admins who want to show multi categories in separate tabs instead of whole of the forum in 1 box.


Thanks
 
I'm having the following errors after the update.

Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 5 -library/Zend/Db/Statement/Mysqli.php:77
Generated By: member3, Yesterday at 6:11 PM
Stack Trace
#0 /home/niaounet/public_html/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('\r\n\t\t\tSELECT con...')
#1 /home/niaounet/public_html/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '\r\n\t\t\tSELECT con...')
#2 /home/niaounet/public_html/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('\r\n\t\t\tSELECT con...')
#3 /home/niaounet/public_html/library/Zend/Db/Adapter/Abstract.php(734): Zend_Db_Adapter_Abstract->query('\r\n\t\t\tSELECT con...', Array)
#4 /home/niaounet/public_html/library/Siropu/RecentPosts/Model.php(118): Zend_Db_Adapter_Abstract->fetchAll('\r\n\t\t\tSELECT con...', 8)
#5 /home/niaounet/public_html/library/Siropu/RecentPosts/Helper.php(98): Siropu_RecentPosts_Model->getNodePermissions(Array, 8)
#6 /home/niaounet/public_html/library/Siropu/RecentPosts/Listener.php(39): Siropu_RecentPosts_Helper::getPostList()
#7 /home/niaounet/public_html/library/Siropu/RecentPosts/Listener.php(32): Siropu_RecentPosts_Listener::getPostList(Object(XenForo_Template_Public))
#8 /home/niaounet/public_html/library/XenForo/CodeEvent.php(58): Siropu_RecentPosts_Listener::template_hook('forum_list_node...', '\n\t\n\n\n\t<ol class...', Array, Object(XenForo_Template_Public))
#9 /home/niaounet/public_html/library/XenForo/Template/Abstract.php(285): XenForo_CodeEvent::fire('template_hook', Array, 'forum_list_node...')
#10 /home/niaounet/public_html/internal_data/templates/S.12,L.2,forum_list.php(269): XenForo_Template_Abstract->callTemplateHook('forum_list_node...', '\n\t\n\n\n\t<ol class...', Array)
#11 /home/niaounet/public_html/library/XenForo/Template/Abstract.php(260): include('/home/niaounet/...')
#12 /home/niaounet/public_html/library/XenForo/Template/Abstract.php(191): XenForo_Template_Abstract->_renderInternal('/home/niaounet/...', Array)
#13 /home/niaounet/public_html/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#14 /home/niaounet/public_html/library/XenForo/ViewRenderer/HtmlPublic.php(124): XenForo_Template_Public->render()
#15 /home/niaounet/public_html/library/XenForo/FrontController.php(637): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#16 /home/niaounet/public_html/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#17 /home/niaounet/public_html/index.php(13): XenForo_FrontController->run()
#18 {main}
 
Back
Top Bottom