Jump to content


Welcome to DevFuse Forums


Sign In  Log in with Facebook

Create Account
Welcome to DevFuse Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of DevFuse Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
 
Guest Message by DevFuse

Tutorial info Visit support topic

  • Added on: Oct 28 2010 05:53 AM
  • Views: 1847
 


Recent entries for a specific Blog

How to lock the Recent Entries hook to one specific Blog only

Posted by AndyF on Oct 28 2010 05:53 AM
Its quite easy to lock the 'Recent Entries' hook to a specific Blog if required, although it seems this feature is not well known about. :)

Simply view the Blog you wish to use, and get it's ID:

example.com/forum/blog/123-testers-blog/

123 is the ID in this case. You need to view the Blog as it will not always match the members ID.


Edit conf_global.php and add the following, the best place is to make it the last line, but obviously before the closing ?> tag

define( 'BLOG_RENTRIES_BLOG_ID', '123' );

Change the 123 to the correct ID you wish to use and save.

Powered by Tutorials 1.5.1 © 2016, by Michael McCune