Topic: HOW: User info in posts without e-mail and URL

Hello!

One question : i want to enable options "User info in posts" (to show user location, register date and post count), but without contact links (e-mail and URL).

Is this possibly and how?

Thanks!

Re: HOW: User info in posts without e-mail and URL

Just delete or comment out the following block of code in viewtopic.php:

            // Now let's deal with the contact links (E-mail and URL)
            if (($cur_post['email_setting'] == '0' && !$pun_user['is_guest']) || $pun_user['g_id'] < PUN_GUEST)
                $user_contacts[] = '<a href="mailto:'.$cur_post['email'].'">'.$lang_common['E-mail'].'</a>';
            else if ($cur_post['email_setting'] == '1' && !$pun_user['is_guest'])
                $user_contacts[] = '<a href="misc.php?email='.$cur_post['poster_id'].'">'.$lang_common['E-mail'].'</a>';

            if ($cur_post['url'] != '')
                $user_contacts[] = '<a href="'.pun_htmlspecialchars($cur_post['url']).'">'.$lang_topic['Website'].'</a>';
Looking for a certain modification for your forum? Please take a look here before posting.

Re: HOW: User info in posts without e-mail and URL

works! thanks!