Forum

Whether it's a plugin thats causing issues, a theme, or just needed help with styling your site...We can help! Live Person Support for all your Wordpress Needs!

Welcome Guest

Pages: 1
Show new POSTS since your last visit
jcmiltonPostJan 27 2011, 05:59 AM

Newbie
Posts: 20
Registered:
Jan 27 2011, 12:47 AM
Normal topicShow new POSTS since your last visit

Can the link for "Show new topics since your last visit" be modified to "Show new posts since your last visit."

In other words, say there were no new topics added since my last visit, but there were lots of new posts within those topics. I would want to see the latest POST activity. Is that possible?

I read in another post that there is a widget, but my custom theme doesn't really use widgets and I'd just like to see a text link. Preferably not in the header because I like that closed, but perhaps a text link next to "Forum Home / My Profile / Search / New Posts"

I'm VERY impressed with Mingle. I suffered with SimplePress for too long, this is much closer to what I need. Thank you for your work!



Shrink, Track, Share, Control ... Dominate
cartpaujPostJan 27 2011, 11:23 AM

Administrator
Posts: 2976
Registered:
Apr 27 2010, 05:10 PM
Normal topicRe: Show new POSTS since your last visit

You can use the PHP (text in red near bottom) on this page to show the latest "posts": http://cartpauj.com/projects/mingle-forum-plugin/

Cartpauj...it's pronounced (cart.paw.ja) - Donate!
Mingle Forum Video Tutorials

jcmiltonPostJan 27 2011, 11:42 AM

Newbie
Posts: 20
Registered:
Jan 27 2011, 12:47 AM
Normal topicRe: Show new POSTS since your last visit

Awesome. Sorry about that I thought I had read everything! :)

I'm just slightly tech challenged, and I'm not a programmer, but I am comfortable editing files if I have detailed instructions. Can I impose upon you a little more and ask for a few more details? What file does that line of code that goes in, and where in that file should it should go? Perhaps an example or screenshot to help the technologicaly challenged? Thank you for the fantastic forum!

cartpaujPostJan 27 2011, 11:46 AM

Administrator
Posts: 2976
Registered:
Apr 27 2010, 05:10 PM
Normal topicRe: Show new POSTS since your last visit

If your theme supports sidebars then it would go in the sidebar.php file of your theme. I'm assuming you're semi-familiar with HTML? If not then post the contents of your sidebar.php file here and I can tell you where to insert the code.

Cartpauj...it's pronounced (cart.paw.ja) - Donate!
Mingle Forum Video Tutorials

jcmiltonPostJan 27 2011, 03:16 PM

Newbie
Posts: 20
Registered:
Jan 27 2011, 12:47 AM
Normal topicRe: Show new POSTS since your last visit

I have a custom built theme, and the developers dumped a ton of stuff into the sidebar.php file, so I stripped out some of the larger sections. Hopefully this makes sense to you!

<?php
/**
 * @package WordPress
 * @subpackage ispwp
 */
?>
<div class="sidebar">
					
<?php if(is_page("Contact")) { ?>
<h3>We'd love to hear from you!</h3>
<p>You can use the form to the left, or you can use your own email
client and contact us at <a href="mailto:support@ispwp.com">support@ispwp.com</a></p>
				
<?php } ?>

<?php if (is_page()) { ?>
						
<?php
/*
INSTRUCTIONS:
1. Resize and/or crop image to Width: 217px by Height: 142px
2. Log into Wordpress and upload New Image
3. Copy File URL and paste it as the image source below.
*/							
?>

<?php } ?>
						
</div><!-- /.sidebar -->
cartpaujPostJan 27 2011, 03:19 PM

Administrator
Posts: 2976
Registered:
Apr 27 2010, 05:10 PM
Normal topicRe: Show new POSTS since your last visit

Ok that makes sense so all you'd need to do is paste this where you want it to show up in that file:

<h3>Latest forum posts</h3>
<?php latest_activity(5, true); ?>

Cartpauj...it's pronounced (cart.paw.ja) - Donate!
Mingle Forum Video Tutorials

jcmiltonPostJan 27 2011, 03:28 PM

Newbie
Posts: 20
Registered:
Jan 27 2011, 12:47 AM
Normal topicRe: Show new POSTS since your last visit

What if I want the "New Posts" link to show up in the forum itself? I was hoping to create a simple link in one of two possible places:

Under the "Show new topics since your last visit" in the header.... OR

Next to "Forum Home | My Profile | Search" section just below the header.

If I can show a "New Posts" link in one of those two places I'd be a happy camper. Is one of those placements a possibility? Thanks again for being so patient and helpful.

timbambuPostMay 09 2012, 09:31 AM

Newbie
Posts: 1
Registered:
May 09 2012, 03:27 PM
Normal topicRe: Show new POSTS since your last visit

If i want to show the latest activity on the frontpage of forum or where the categories are, where should i insert the php code? It's prob some php file in the mingleforum plugin folder, but which one ?

ivanfraerPostAug 26 2012, 03:44 AM

Newbie
Posts: 8
Registered:
Aug 19 2012, 11:54 AM
Normal topicRe: Show new POSTS since your last visit

Quote from cartpauj on Jan 27 2011, 11:23 AM
You can use the PHP (text in red near bottom) on this page to show the latest "posts": http://cartpauj.com/projects/mingle-forum-plugin/

The link is dead :|
EDIT: NOT ANYMORE ;-)

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.156 seconds.


Shrink, Track, Share, Control ... Dominate