Quote:
One strange thing. My navbar does not show Timeslips it shows Tineslips
|
In your admincp under languages & phrases click "phrase manager" then click the "search in phrases" button. Search for "tineslips".. Then click edit and fix the spelling mistake.
Quote:
Second problem... After completing the Vehicle Profile Data form and clicking "save changes" it takes me to the New Subscribed Threads screen?
|
Thats the main page of your userCP. Thats not an error. Its supposed to go there (goes to the same page after editing your regular profile aswell).. But you can easily change it so that it redirects to somewhere else if you want..
Find this code in profile.php:
Code:
// ############################### start update ###############################
if ($_POST['do'] == 'updatevehicleprofile')
{
if ($bbuserinfo[userid]==0 or $bbuserinfo[tdban]==0)
{
print_no_permission();
}
$userfields = verify_vehiclefields(0);
// insert custom user fields
if (!empty($userfields))
{
$DB_site->query("UPDATE " . TABLE_PREFIX . "userfield SET userid=$bbuserinfo[userid]$userfields WHERE userid=$bbuserinfo[userid]");
}
$url = "usercp.php?$session[sessionurl]";
eval(print_standard_redirect('redirect_updatethanks'));
}
In the code above, find this:
Code:
$url = "usercp.php?$session[sessionurl]";
if you want it to redirect to the timeslip database just replace it with this:
Code:
$url = "timeslips.php?$session[sessionurl]";
..or change it to whatever file that you want to be redirected to.
Quote:
Third, the instructions say this should add a "Vehicle Profile" page to my forum - but I cant find anything
|
Once you've added your ET to the timeslip database, go to the timeslips page (timeslips.php) and click "Details" next to the username and you'll see the vehicle profile page.
Or you can even add a link to your user's vehicle profile from their regular profile. Just put this link in the memberinfo template:
Code:
<a href="member.php?$session[sessionurl]&do=vehicledetails&userid=$userinfo[userid]">Vehicle Profile</a>