MyBB Community Forums

Full Version: Latest Threads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Okay so I'm implementing a news bot to appear in my portal page, but I also have five latest threads above the news. The problem is that whenever the news bot posts it shows up in the latest threads.

What I think would be the best fix for this is to disable the "News Forum" (which is where the news bot posts) from showing up on the latest threads. The problem is that there isn't any option to do this in the ACP.

Site: http://www.thegeneraldiscussion.com
Portal: http://www.thegeneraldiscussion.com/forums/portal.php

Thanks in advanced for help!
You need a plugin for this, the following works if your have xThreads installed:
http://mybbhacks.zingaburga.com/showthread.php?tid=837

(Otherwise you will need to extract the control_object(); function from xThreads and paste it into this one.)
(2012-08-24, 09:46 PM)Omar G. Wrote: [ -> ]You need a plugin for this, the following works if your have xThreads installed:
http://mybbhacks.zingaburga.com/showthread.php?tid=837

(Otherwise you will need to extract the control_object(); function from xThreads and paste it into this one.)

So where would I go about pasting the string if I'm not using xThreads.

I'm using Recent Topics Index Page by vbgamer45. I would switch over to the other plugin, but I have so many setting already it would be too much of a hassle.
Why are you using a plugin if there is a build-in functionality for "Latest Threads" already? The above plugin just modifies the default portal box.
(2012-08-24, 10:25 PM)Omar G. Wrote: [ -> ]Why are you using a plugin if there is a build-in functionality for "Latest Threads" already? The above plugin just modifies the default portal box.

Oh I guess I was using the built in function and had the plugin installed without it being activated. :o

So now I still just need to know how to disable a forum from showing up on the latest threads, built in function.

(Should I go to general support?)
Use the above plugin for it, just insert the control_object(); function inside the file if no using xThreads.

Open ./inc/plugins/xthreads.php and find:
if(!function_exists('control_object')) {
...
}

That paste it in the plugin a posted.