Sunday, 28 September 2008

Latest News MyBB Plugin

Version: 1.2

The Latest News Plugin for Mybb 1.4.x is a plugin that allows users to display the latest threads from a specific forum.

Downloads

Description
The latest news plugin allows you to run a page which will display all of the latest threads from a certain forum and their first posts. You can also change the name of this page from "Home" to "Latest News" as well as change how many threads to display.

NOTE: If you are updating your version of this plugin please deactivate the old plugin before uploading the changes.


Installation:

You will need an update to date version of Mybb 1.4.1 at least to run this plugin.

1. Upload the contents (minus the readme.txt file) to the folder that your forum exists in.
2. Log in on your forum and visit the admin control panel.
3. Once logged in head towards Configuration > Plugins.
4. Hit the activate button on the Latest News Plugin
5. Now head towards the "Settings" area.
6. Select "Latest News Plugin" group
7. Now to configure the settings

Latest News Forum ID:

This if the forum id of the section of your forum that you will want to get news from. This is usually a catergory id of the forum into which all news goes. To get this id, find the catergory in your browser and read the address bar at the top. It will say for example something like:

http://www.youwebsite.com/forum/forumdisplay.php?fid=5.

The 5 is the number you want.

Max Threads:

This is how many threads you want to display on your page. 5 is the default.

Name of Link:

If you notice on your forum there is a new part of your top links area that says "Latest News". This is the top links area and the "Name of Link" setting is what can change the text. You can set this to anything like "Home", "News", "What's New?" etc.

Top Links Image:

The latest news plugin comes with 2 new images as well. The Top links image allows you to change between them. The two images are called "home" and "latestnews" so enter those into the box to have them be displayed. Set it to blank to have them not displayed. You can also enter any name of an image that exists in your images/toplinks/ folder but leave out the file name and make sure its a .gif file.

Click submit on the settings area and your all set up now.

Version 1.1 to Version 1.2
- Added in a function which backs up the original header templates that you already had in place. And then will change them back when the plugin is deactivated.
- Changed the link at the bottom.


Version 1.0 to Version 1.1
- Fixed a php code error when attempting to install the plugin
- Fixed support for bb code.
- Added in the ability to have the page ready any threads from any forum. If you add in ?fid= to the end of the url and then a number it will display all of the latest theads for that forum id. If it is not specified it will just run the one set in the settings.

Bugs

If you find a bug or if you have a suggestion then please either go here: http://www.supacomix.co.uk/forum/forumdisplay.php?fid=95

or email it to info@supacomix.co.uk with the subject: "Latest News MYBB Plugin Bug"

Show your support.

If you have downloaded this file please visit the url below just to help us gather how many have downloaded our file.

Link: http://www.supacomix.co.uk/CCount/click.php?id=23

Special Thanks:
  • lunchmobjr - Thanks for the idea to update and the report of the bug.

0 comments: