24.07.2011, 06:32
Eine neue Erweiterung wurde veröffentlicht: OUGC Default Post Icon
Zitat://Thanks to Edson Ordaz for helping me out with this plugin.
Insert a default post icon to all posts and threads.
Installing:
Upload default_post_icon.php file to your forumpath/inc/plugins/ directory.
To give a default post icon to post/threads created before metallings this plugin, deactivate this plugin and open default_post_icon.php file and find these lines:
//$db->query("UPDATE ".TABLE_PREFIX."threads set icon='1' where icon=''");
//$db->query("UPDATE ".TABLE_PREFIX."posts set icon='1' where icon=''");
Uncomment it like this:
$db->query("UPDATE ".TABLE_PREFIX."threads set icon='1' where icon=''");
$db->query("UPDATE ".TABLE_PREFIX."posts set icon='1' where icon=''");
Change 1 for your default post icon and reactivate it, after this you can delete these lines as there is not any other use for those.