Discuss features as they are added to the new version. Give us your feedback. Don't post bug reports, feature requests, support questions or suggestions here.
Forum rules
Discuss features as they are added to the new version. Give us your feedback. Don't post bug reports, feature requests, support questions or suggestions here. Feature requests are closed.
// As a "service" we will check if any post id is specified and populate the username of the poster id if given
$post_id = request_var('p', 0);
$user_id = request_var('u', 0);
$username = false;
if ($user_id && $user_id <> ANONYMOUS)
{
$sql = 'SELECT username
FROM ' . USERS_TABLE . '
WHERE user_id = ' . $user_id;
$result = $db->sql_query($sql);
$username = (string) $db->sql_fetchfield('username');
$db->sql_freeresult($result);
}
else if ($post_id)
{
$post_info = get_post_data($post_id, 'm_ban');
if (sizeof($post_info) && !empty($post_info[$post_id]))
{
$username = $post_info[$post_id]['username'];
}
}
Is there going to be a ban button in profiles and posts? Or was this thrown in to make life easier for modders?
There is a ban button on all users posts (except your own )
But currently, there is none on the profiles page, but it might be there as an option for template designers.
Highway of Life wrote:
There is a ban button on all users posts (except your own )
But currently, there is none on the profiles page, but it might be there as an option for template designers.
Ah, I've been testing the board out with one account so I didn't see that. With banning made so easy, I'm almost looking forward to spammers now.
There should also (eventually) be a feature for topic starters (admin configurable via ACP) to make people not be able to post reply in their topic (Gaia Online has this feature for topic starters apparently, but I don't know how to use it.)
Danopia: wats wrong with windows server? Iyeru: Everything Danopia: r u another stereotyper? Iyeru: No, I'm not a stereotyper. Iyeru: In fact, I don't think I can type in stereo.