Advertisement:

Author Topic: Advanced Recent Posts  (Read 28056 times)

Offline Afro

  • SMF Hero
  • ******
  • Posts: 1,850
  • Gender: Male
  • http://twitter.com/afrowall
    • AFROWALL COMMUNITY FORUM
Re: Advanced Recent Posts
« Reply #20 on: March 08, 2010, 07:51:51 PM »
ok

Offline Labradoodle-360

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,221
  • Gender: Male
    • matthew.kerle on Facebook
    • Labradoodle-360 on GitHub
    • @matthew_kerle on Twitter
Re: Advanced Recent Posts
« Reply #21 on: March 10, 2010, 01:01:39 PM »
Version 1.1 will be released shortly.

Features
Bugfix - In v1.0, a CSS issue that was overlooked, throws off Posts display. Thank you Afro for pointing this out.
Compatibility - Advanced Recent Posts will be compatible with SMF 2.0 RC3.

Labradoodle-360
Former SMF Developer
My Modifications

Offline Am'

  • Full Member
  • ***
  • Posts: 484
  • Gender: Male
  • En Quête De Sagesse
Re: Advanced Recent Posts
« Reply #22 on: March 10, 2010, 01:13:13 PM »
and icon of post ?
اذا أحس أحد انه لم يخطأ ابدا في حياته, فهذا يعني أنه لم يجرب أي جديد في حياته
My Mods For SMF 2 RC3 : XQuote XCode - Vbulletin Style New Meta Tags

Offline Labradoodle-360

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,221
  • Gender: Male
    • matthew.kerle on Facebook
    • Labradoodle-360 on GitHub
    • @matthew_kerle on Twitter
Re: Advanced Recent Posts
« Reply #23 on: March 10, 2010, 01:14:50 PM »
Additional Features will be added to hopefully the next version.

Right now, I cannot add more features because I am leaving on vacation for about a week tomorrow morning, and am trying to just shoot out RC3 updates and any bugfixes so that they work, and work with the latest version.

This is on my to-do list though,
Labradoodle-360
Former SMF Developer
My Modifications

Offline Afro

  • SMF Hero
  • ******
  • Posts: 1,850
  • Gender: Male
  • http://twitter.com/afrowall
    • AFROWALL COMMUNITY FORUM
Re: Advanced Recent Posts
« Reply #24 on: March 10, 2010, 01:29:47 PM »
Ok mate.
I upgraded to RC3 which of course threw off all mods.

I am waiting to install this mod again when you release the new version.

Offline Labradoodle-360

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,221
  • Gender: Male
    • matthew.kerle on Facebook
    • Labradoodle-360 on GitHub
    • @matthew_kerle on Twitter
Re: Advanced Recent Posts
« Reply #25 on: March 10, 2010, 01:36:07 PM »
Version 1.1 Released!

If you have version 1.0, please uninstall it and reinstall v1.1 as it includes a bugfix, as well as compatibility for RC3, and utf-8 for English.

Enjoy,
Labradoodle-360
Former SMF Developer
My Modifications

Offline A.SK

  • Sophist Member
  • *****
  • Posts: 1,207
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - A Edu Community
Re: Advanced Recent Posts
« Reply #26 on: March 10, 2010, 02:44:16 PM »
Great Work.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens  -  Demo Smf forum : Chat ITAcumens

Offline Afro

  • SMF Hero
  • ******
  • Posts: 1,850
  • Gender: Male
  • http://twitter.com/afrowall
    • AFROWALL COMMUNITY FORUM
Re: Advanced Recent Posts
« Reply #27 on: March 10, 2010, 04:08:29 PM »
Welldone ..

Offline Bruno36

  • Full Member
  • ***
  • Posts: 570
  • Gender: Male
    • Scooter Chinois 4T
Re: Advanced Recent Posts
« Reply #28 on: March 13, 2010, 11:42:08 AM »
Hello!

I just installed the mod and I do not see anything new?
http://www.scooter-chinois-4t.com/forum/
Bruno36 the French
SMF 2.0.9

Offline Labradoodle-360

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,221
  • Gender: Male
    • matthew.kerle on Facebook
    • Labradoodle-360 on GitHub
    • @matthew_kerle on Twitter
Re: Advanced Recent Posts
« Reply #29 on: March 13, 2010, 12:20:11 PM »
Make sure you go to Admin > Configuration > Current Theme and set posts on boardindex to your desired number, by default it's zero which doesn't use my mod.

Labradoodle-360
Former SMF Developer
My Modifications

Offline Afro

  • SMF Hero
  • ******
  • Posts: 1,850
  • Gender: Male
  • http://twitter.com/afrowall
    • AFROWALL COMMUNITY FORUM
Re: Advanced Recent Posts
« Reply #30 on: March 13, 2010, 02:23:15 PM »
Hey buddy ,

can the table columns be removed without resetting the parameters ?

Offline Bruno36

  • Full Member
  • ***
  • Posts: 570
  • Gender: Male
    • Scooter Chinois 4T
Re: Advanced Recent Posts
« Reply #31 on: March 14, 2010, 03:27:55 AM »
thank you Labradoodle-360 it works fine now ;)
Bruno36 the French
SMF 2.0.9

Offline madman71

  • Full Member
  • ***
  • Posts: 652
Re: Advanced Recent Posts
« Reply #32 on: April 09, 2010, 11:00:25 AM »
Thanks Lab :)

Offline technica

  • Semi-Newbie
  • *
  • Posts: 41
    • Technical Discussion Forum
Re: Advanced Recent Posts
« Reply #33 on: April 26, 2010, 10:34:02 PM »
Is there any setting through which we can exclude posts from some boards on the forum from "Recent Topic" page?
Programming and Webmaster Forum - AdSense Revenue Sharing Forum
Online Magazine

Offline 4b11l

  • Jr. Member
  • **
  • Posts: 355
Re: Advanced Recent Posts
« Reply #34 on: June 01, 2010, 06:12:46 AM »
Any chance of having it recent topics instead of posts?
Also, can I set the table width to a certain size?
« Last Edit: June 01, 2010, 06:16:19 AM by 4b11l »

Offline Labradoodle-360

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,221
  • Gender: Male
    • matthew.kerle on Facebook
    • Labradoodle-360 on GitHub
    • @matthew_kerle on Twitter
Re: Advanced Recent Posts
« Reply #35 on: June 01, 2010, 12:42:28 PM »
The recent topics mod, can be integrated into this mod, I believe. But I do not planning on having that option apart of Advanced Recent Posts.

Furthermore, you can change the table width by the following edit.

./Themes/default/BoardIndex.template.php
Code: (Find) [Select]
<table align="center" cellpadding="5" cellspacing="0" width="100%" border="0">
Code: (Replace) [Select]
<table align="center" cellpadding="5" cellspacing="0" width="YOURWIDTH" border="0">Obviously, replacing "YOURWIDTH" with your desired with.

If you wish to change each column individually, you'll need to do some further editing.
./Themes/default/css/index.css
Code: (Find) [Select]
.arppost
{
background-color: #F6F6F6;
width: 20%;
text-align: center;
}
Code: (Replace) [Select]
.arppost
{
background-color: #F6F6F6;
text-align: center;
}

./Themes/default/BoardIndex.template.php
Code: (Find) [Select]
<td class="arppost arppost_hover arp_left">', $post['link'], '</td>
<td class="arppost arppost_hover arp_rest">', $post['poster']['link'], '</td>
<td class="arppost arppost_hover arp_rest">', $post['board']['link'], '</td>
<td class="arppost arppost_hover arp_rest">', $post['time'], '</td>
Code: (Replace) [Select]
<td class="arppost arppost_hover arp_left" style="width: YOURWIDTH;">', $post['link'], '</td>
<td class="arppost arppost_hover arp_rest" style="width: YOURWIDTH;">', $post['poster']['link'], '</td>
<td class="arppost arppost_hover arp_rest" style="width: YOURWIDTH;">', $post['board']['link'], '</td>
<td class="arppost arppost_hover arp_rest" style="width: YOURWIDTH;">', $post['time'], '</td>
Former SMF Developer
My Modifications

Offline C4G-TK

  • Sr. Member
  • ****
  • Posts: 960
  • SHOW others respect & you GET respect in return.
Re: Advanced Recent Posts
« Reply #36 on: June 08, 2010, 06:40:46 PM »
Hey Lab, I changed the colors to suit my theme better, but what do I do in order to get rid of the hover?

NEVERMIND!! I got it!!  I just deleted the area of the index.css for the hover!

Ooops, saw you replied.  Dang you're fast.  OK, gotta do one other change that you had listed.
« Last Edit: June 08, 2010, 06:49:24 PM by C4G-TK »
-img removed-

Offline Labradoodle-360

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,221
  • Gender: Male
    • matthew.kerle on Facebook
    • Labradoodle-360 on GitHub
    • @matthew_kerle on Twitter
Re: Advanced Recent Posts
« Reply #37 on: June 08, 2010, 06:47:03 PM »
Hey C4G-TK! Sorry for the delay on the edits.

Here you go.

./Themes/default/css/index.css
Code: (Find and Remove) [Select]
.arppost_hover:hover,.arppost_hoverHover
{
background: #E0E6E6;
}

./Themes/default/index.template.php
Code: (Find) [Select]
            echo '
               <tr>
                  <td class="arppost arppost_hover arp_left">', $post['link'], '</td>
                  <td class="arppost arppost_hover arp_rest">', $post['poster']['link'], '</td>
                  <td class="arppost arppost_hover arp_rest">', $post['board']['link'], '</td>
                  <td class="arppost arppost_hover arp_rest">', $post['time'], '</td>
               </tr>';
Code: (Replace) [Select]
            echo '
               <tr>
                  <td class="arppost arp_left">', $post['link'], '</td>
                  <td class="arppost arp_rest">', $post['poster']['link'], '</td>
                  <td class="arppost arp_rest">', $post['board']['link'], '</td>
                  <td class="arppost arp_rest">', $post['time'], '</td>
               </tr>';

To be honest, a hover toggle along with input for changing the color of hover "is" in the plan for the next version if I ever get around to updating my mods, as well as writing new ones.

Hope this helps,
Labradoodle-360
Former SMF Developer
My Modifications

Offline C4G-TK

  • Sr. Member
  • ****
  • Posts: 960
  • SHOW others respect & you GET respect in return.
Re: Advanced Recent Posts
« Reply #38 on: June 08, 2010, 06:53:45 PM »
Thanks, I got it.  I had gone back and deleted the css info while you were replying.
I figured I'd take the chance and try it.  I didn't realize you would reply so fast.

Thanks for the help!
-img removed-

Offline Labradoodle-360

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,221
  • Gender: Male
    • matthew.kerle on Facebook
    • Labradoodle-360 on GitHub
    • @matthew_kerle on Twitter
Re: Advanced Recent Posts
« Reply #39 on: June 08, 2010, 06:57:59 PM »
Not a problem, technically removing the CSS "works", but I always remove all traces.

Glad you got it though,
Labradoodle-360
Former SMF Developer
My Modifications