Hurm, this should be easy...
line 300ish in ./include/functions.php
find:
<ul>
?>">Preview</a></li>
<li<?php if ($page == 'essentials') echo ' class="isactive"'; ?>><a href="profile.php?section=essentials&id=<?php echo $id ?>"><?php echo $lang_profile['Section essentials'] ?></a></li>
<li<?php if ($page == 'personal') echo ' class="isactive"'; ?>><a href="profile.php?section=personal&id=<?php echo $id ?>"><?php echo $lang_profile['Section personal'] ?></a></li>
replace with:
<ul>
<li<?php if ($page == 'preview') echo ' class="isactive"'; ?>><a href="profile.php?section=preview&id=<?php echo $id ?>">Preview</a></li>
<li<?php if ($page == 'essentials') echo ' class="isactive"'; ?>><a href="profile.php?section=essentials&id=<?php echo $id ?>"><?php echo $lang_profile['Section essentials'] ?></a></li>
<li<?php if ($page == 'personal') echo ' class="isactive"'; ?>><a href="profile.php?section=personal&id=<?php echo $id ?>"><?php echo $lang_profile['Section personal'] ?></a></li>
Now profile.php line 910ish
find:
// View or edit?
if ($pun_user['id'] != $id &&
($pun_user['g_id'] > PUN_MOD ||
($pun_user['g_id'] == PUN_MOD && $pun_config['p_mod_edit_users'] == '0') ||
($pun_user['g_id'] == PUN_MOD && $user['g_id'] < PUN_GUEST)))
{
replace with:
// View or edit?
if (($pun_user['id'] != $id &&
($pun_user['g_id'] > PUN_MOD ||
($pun_user['g_id'] == PUN_MOD && $pun_config['p_mod_edit_users'] == '0') ||
($pun_user['g_id'] == PUN_MOD && $user['g_id'] < PUN_GUEST)))
|| (!$section || $section == 'preview'))
{
again in profile.php, around line 1050
find:
}
else
{
if (!$section || $section == 'essentials')
{
replace with:
}
else
{
if ($section == 'essentials')
{
Now you default to the preview, and still have all the admin, mod, and personal options
You can visit my website, and sign-up for an account to see this in action, great idea! This bugged me too
echo "deadram"; echo; fortune;