Ok i made this plugin for my site and for the help section.
I made this plugin because i saw some sites using other forum systems using a plugin that does the same thing. As MyBB does not have one, I made it.
Change Log Wrote:1.1 » 1.1.1
- Fixed a small bug. 1.0 » 1.1
- Removed text setting.
- Removed text formatting.
- Added a Resolved image and a Not Resolved image.
- No need for code edits now! 0.5 » 1.0
Font color, bold.
"Not resolved" setting.
Ability to choose from admin cp wich section is affected by the plugin.
Ability to change the phrase of resolved and not resolved from admin cp.
How does the plugin works?
Simple!
Opened threads are "not resolved".
Closed threads are "resolved".
$db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='resolvedprefix'");$db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='notresolvedprefix'");$db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='forumid'");
removing the rows from the database?
Double post
thk you, do you know isn't this:
PHP Code:
$db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='resolvedprefix'");$db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='notresolvedprefix'");$db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='forumid'");
removing the rows from the database? Well it removes from the "Forum Display" but after deactivated i see the resolved and not resolved in the help section. After removing what i said from the forumdisplay.php it removes the words but im sure the db still have something there.
o i forgot the 'why' lol
do you know "why" isn't this:
$db»query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='resolvedprefix'");
$db»query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='notresolvedprefix'");
$db»query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='forumid'");
removing the rows from the database?