MyBB Hacks

Full Version: Close topic
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This was a requested module.

Very simple - like the Stick Thread module, this one allows users to close a topic.

EDIT: Updated
Thank you.
Thanks!

Could you make an icon for it?
I can't make any graphics...  sorry.
lol, who made the Sticky Icon then? Did you just get that from some skin? It's alright dude lol, no worries.
.Paradox Wrote:lol, who made the Sticky Icon then? Did you just get that from some skin? It's alright dude lol, no worries.
Yes I stole it >_>
... from MS Office...
lol! That's ok Smile
this module have a bug
in query you must select closed field no sticky

Code:
$thread = $db->fetch_array($db->simple_select(MY_TABLE_PREFIX.'threads', 'tid,sticky,subject', 'tid = '.$tid));

and in comment

Quote:/*****************************************************************************
*   Stick Thread (/inc/plugins/myplaza/sticky.php)
*     - MyPlaza for MyBB 1.2
*    By ZiNgA BuRgA, 2007-2008
*
* Allows users to stick a thread.
*****************************************************************************/
Ahh, thanks a lot for pointing those out keyvan Smile
Yeah, I was rushing Tongue

Anyways, updated, courtesy of keyvan Biggrin
Reference URL's